1import{l as e,n as t,o as n,r,t as i}from"./check-BGaK8UAu.js";import{C as a}from"./main-DPRxyUBy.js";import{t as o}from"./arrow-right-sLXHCmzK.js";import{n as s,t as c}from"./message-circle--6tUbLBS.js";import{t as l}from"./chart-column-DhuTu7kG.js";import{t as u}from"./circle-check-B-sNuZo0.js";import{t as d}from"./download-C848IcmT.js";import{a as f,i as p,n as m,o as h,r as g,t as _}from"./user-round-BdDtW9yO.js";import{t as v}from"./loader-circle-DQIzzmT5.js";import{t as y}from"./shield-check-DRUC6MMO.js";import{n as b,t as x}from"./x-Bso2QBuw.js";import{n as S}from"./downloadPro-BKaIuIXM.js";var C=t(`badge-check`,[[`path`,{d:`M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z`,key:`3c2336`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),w=t(`log-in`,[[`path`,{d:`m10 17 5-5-5-5`,key:`1bsop3`}],[`path`,{d:`M15 12H3`,key:`6jk70r`}],[`path`,{d:`M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4`,key:`u53s6r`}]]),T=t(`mail`,[[`path`,{d:`m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7`,key:`132q7q`}],[`rect`,{x:`2`,y:`4`,width:`20`,height:`16`,rx:`2`,key:`izxlao`}]]),ee=t(`mic`,[[`path`,{d:`M12 19v3`,key:`npa21l`}],[`path`,{d:`M19 10v2a7 7 0 0 1-14 0v-2`,key:`1vc78b`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`13`,rx:`3`,key:`s6n7sd`}]]),E=t(`minus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}]]),D=t(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),O=t(`shield-alert`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]]),te=t(`star`,[[`path`,{d:`M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z`,key:`r04s7s`}]]),ne=t(`wifi`,[[`path`,{d:`M12 20h.01`,key:`zekei9`}],[`path`,{d:`M2 8.82a15 15 0 0 1 20 0`,key:`dnpr2z`}],[`path`,{d:`M5 12.859a10 10 0 0 1 14 0`,key:`1x1e6c`}],[`path`,{d:`M8.5 16.429a5 5 0 0 1 7 0`,key:`1bycff`}]]),k=e(n(),1),A=`R$ 67/mês`;Object.freeze({monthly:Object.freeze({id:`monthly`,label:`Mensal`,suffix:`/mês`}),annual:Object.freeze({id:`annual`,label:`Anual`,suffix:`/ano`})});var j=Object.freeze([Object.freeze({plano:1,dispositivos:1,monthly:Object.freeze({precoCents:6700,preco:`R$ 67`,checkoutUrl:`https://pay.cakto.com.br/3cpesd8`}),annual:Object.freeze({precoCents:67e3,preco:`R$ 670`,checkoutUrl:`https://pay.cakto.com.br/36v9g5p`})}),Object.freeze({plano:2,dispositivos:2,monthly:Object.freeze({precoCents:9700,preco:`R$ 97`,checkoutUrl:`https://pay.cakto.com.br/z6cpe3x`}),annual:Object.freeze({precoCents:97e3,preco:`R$ 970`,checkoutUrl:`https://pay.cakto.com.br/ykimv22`})}),Object.freeze({plano:4,dispositivos:4,monthly:Object.freeze({precoCents:15700,preco:`R$ 157`,checkoutUrl:`https://pay.cakto.com.br/4ai3k34`}),annual:Object.freeze({precoCents:157e3,preco:`R$ 1.570`,checkoutUrl:`https://pay.cakto.com.br/389n8jy`})})]),M=e=>j.find(t=>String(t.plano)===String(e))||j[0],re=(e,t=`monthly`)=>{let n=M(e),r=t===`annual`?`annual`:`monthly`;return{...n,periodo:r,...n[r]}},N=`https://chromewebstore.google.com/detail/tks-pro-%E2%80%94-assistente-de-l/apeckodfolohphngpcmbepfgamppndnb`,P={nota:`4,8`,avaliacoes:12,usuarios:`+300`},ie=`551931991859`,F=`Ola! Vim pelo site do TKS PRO e queria tirar uma duvida antes de comprar.`,ae=`[email protected]`,oe=[{href:`#recursos`,label:`Recursos`},{href:`#celular`,label:`Celular`},{href:`#comprar`,label:`Preço`},{href:`#duvidas`,label:`Dúvidas`}],I={pill:`Extensão para lives do TikTok Shop`,titulo1:`Você na câmera.`,titulo2:`O TKS PRO no painel.`,sub:`Enquanto você conversa com quem está assistindo, a extensão mantém o produto fixado, renova a oferta relâmpago, responde o chat e avisa cada venda, no computador e no celular.`,secundario:`Ver o painel funcionando`},se=[{t:`21:04:12`,tipo:`venda`,txt:`Nova venda · Ana · 1à Regata Feminina · R$ 35,39`},{t:`21:04:13`,tipo:`chat`,txt:`Agradecimento enviado · âMuito obrigado pela compra, Ana!â`},{t:`21:04:31`,tipo:`pin`,txt:`AutoFixar · nº 1 renovado no celular`},{t:`21:04:47`,tipo:`chat`,txt:`Resposta automática · palavra-chave âpreçoâ`},{t:`21:05:00`,tipo:`pin`,txt:`Oferta relâmpago renovada`},{t:`21:05:22`,tipo:`meta`,txt:`Sub-meta alcançada · 50% da meta`},{t:`21:05:40`,tipo:`venda`,txt:`Interesse no carrinho · Larissa Melo, nº 1`}
1,{t:`21:06:05`,tipo:`chat`,txt:`Comentário programado enviado`},{t:`21:06:18`,tipo:`alerta`,txt:`Alerta de moderação · palavra marcada no chat`},{t:`21:06:30`,tipo:`venda`,txt:`Venda avisada no celular · R$ 49,90`}],L={eyebrow:`O problema`,titulo:`Numa live, você faz cinco trabalhos ao mesmo tempo.`,lead:`Apresentar é só um deles. Enquanto fala com a câmera, você ainda fixa produto, recria oferta, responde o chat, confere a meta e vigia os avisos da plataforma. Cada olhada para o painel esfria a conversa.`,fecho:`O TKS PRO assume quatro deles. Você fica com o que ninguém faz melhor: apresentar.`,itens:[{id:`apresentar`,nome:`Apresentar`,desc:`Mostrar o produto, tirar dúvidas e manter a conversa viva.`,tks:null},{id:`vitrine`,nome:`Cuidar da vitrine`,desc:`Manter o produto certo fixado e recriar a oferta relâmpago quando ela acaba.`,tks:`AutoFixar e ofertas`},{id:`chat`,nome:`Atender o chat`,desc:`Responder âqual o preço?â pela décima vez e agradecer cada compra.`,tks:`Respostas e agradecimentos`},{id:`numeros`,nome:`Acompanhar os números`,desc:`Saber quanto vendeu, o ticket médio e quanto falta para a meta.`,tks:`Painel ao vivo e meta`},{id:`conta`,nome:`Proteger a conta`,desc:`Encerrar no horário e reagir rápido a um aviso de restrição.`,tks:`Timer e proteção`}]},ce={eyebrow:`Recursos`,titulo:`Do primeiro minuto ao encerramento.`,lead:`Tudo acontece no painel lateral do Chrome, ao lado da transmissão. Você escolhe quais automações ligar.`},le=[{id:`produto`,tempo:`00:01`,momento:`Entrou no ar`,titulo:`O produto certo, sempre fixado.`,texto:`Escolha qual item fica em destaque. Se ele sair do ar, o AutoFixar coloca de volta sozinho, e a oferta relâmpago que termina é renovada automaticamente.`,itens:[`AutoFixar com escolha do produto, ou o nº 1 da lista`,`Fixação de cupons disponÃveis no Gerenciador`,`Renovação automática da oferta relâmpago`,`Termômetro de cliques, carrinhos e vendas por produto`]},{id:`vendas`,tempo:`00:07`,momento:`Primeira venda`,titulo:`Cada venda aparece na hora, com som.`,texto:`O mural mostra quem comprou, o quê e quanto. O faturamento acompanha o GMV oficial do TikTok, e a meta avisa quando cada marco é batido.`,itens:[`Mural de compras com o nome, quando identificado`,`GMV, vendas, ticket médio e vendas por hora`,`Meta de GMV com marcos e comemoração`,`Projeção de faturamento e exportação em CSV`]},{id:`chat`,tempo:`00:23`,momento:`Chat lotado`,titulo:`O chat responde enquanto você apresenta.`,texto:`Cadastre palavras-chave e as respostas saem na hora. Quem compra recebe um agradecimento com o próprio nome, e comentários programados mantêm o chat ativo.`,itens:[`Respostas automáticas por palavra-chave`,`Agradecimento de compra personalizado`,`Comentários cadastrados em intervalos`,`Alertas e moderação por palavras que você define`]},{id:`protecao`,tempo:`01:30`,momento:`Hora de encerrar`,titulo:`A live termina na hora certa, mesmo se você esquecer.`,texto:`Defina a duração e o TKS PRO encerra a transmissão no horário, com opção de estender ou cancelar. Com a proteção ligada, a live também é encerrada quando aparece um aviso de restrição.`,itens:[`Timer de encerramento com contagem regressiva`,`Estender ou cancelar a qualquer momento`,`Encerramento ao detectar aviso de restrição, se ativado`,`Status de cada proteção sempre visÃvel no painel`]}],R={eyebrow:`Longe do PC`,titulo:`Sua live no bolso.`,texto:`Conecte o celular pelo QR Code da extensão e acompanhe de onde estiver: status da transmissão, espectadores, produto em destaque, faturamento e cada venda. Dá até para trocar o produto fixado e ligar ou desligar automações.`,itens:[`Notificação de venda no Android e no iPhone`,`Várias vendas seguidas viram um aviso só`,`Troca e fixação de produto pelo celular`,`Controle de AutoFixar, respostas, agradecimentos, sons e ofertas`],nota:`O computador precisa ficar com o Chrome aberto no Gerenciador de LIVE. No iPhone, adicione o painel à Tela de InÃcio para receber as notificações.`},z={eyebrow:`Antes e depois`,titulo:`A mesma live, com e sem o TKS PRO.`,linhas:[[`O produto saiu do destaque`,`Você só percebe quando alguém pergunta no chat`,`O AutoFixar coloca de volta sozinho`],[`A oferta relâmpago acabou`,`Você recria n
1a mão, no meio da fala`,`Renovada automaticamente`],[`âQual o preço?â pela décima vez`,`Você para de apresentar e digita`,`Resposta automática por palavra-chave`],[`Alguém comprou`,`Você descobre no fim da live`,`Som, nome e valor na hora`],[`A meta do dia`,`Conta de cabeça`,`Barra de progresso e projeção`],[`Um aviso de restrição`,`Pode passar despercebido`,`Live encerrada automaticamente, se ativado`],[`Saiu de perto do computador`,`Fica sem notÃcia da live`,`Vendas e controles no celular`]]},B={eyebrow:`Como começar`,titulo:`Pronto antes da próxima live.`,lead:`Não tem programa para instalar. O TKS PRO é uma extensão do Chrome.`,itens:[{titulo:`Assine com seu e-mail`,texto:`Escolha o plano. O acesso é liberado no e-mail usado na compra assim que o pagamento é confirmado.`,chip:`[email protected]`},{titulo:`Instale pela Chrome Web Store`,texto:`Adicione a extensão e entre com a sua conta. As atualizações chegam sozinhas.`,link:!0},{titulo:`Abra o Gerenciador de LIVE`,texto:`O painel aparece ao lado da transmissão. Se quiser, conecte o celular pelo QR Code.`,chip:`shop.tiktok.com/streamer`}]},V={eyebrow:`Preço`,titulo:`Um plano. Todas as funções.`,lead:`Muda só o número de computadores. Não existe plano básico nem recurso travado.`,incluso:[[`Produto`,`AutoFixar, cupons, oferta relâmpago e termômetro`],[`Vendas`,`Mural, som de venda, GMV, meta, projeção e CSV`],[`Chat`,`Respostas, agradecimentos, comentários e moderação`],[`Proteção`,`Timer de encerramento e encerramento por restrição`],[`Celular`,`Painel, notificações de venda e controle remoto`],[`Atualizações`,`IncluÃdas enquanto a assinatura estiver ativa`]],vitalicia:`Já tem a licença vitalÃcia? Ela continua valendo, sem mensalidade.`},H=[[`Como funciona a assinatura?`,`Você escolhe cobrança mensal ou anual. A assinatura renova automaticamente e pode ser cancelada. O acesso acompanha o perÃodo pago e o status da assinatura.`],[`Já comprei a licença vitalÃcia. Vou pagar mensalidade?`,`Não. Quem já tinha uma licença válida antes das assinaturas continua com acesso vitalÃcio, sem mensalidade e sem precisar comprar de novo.`],[`Funciona em quantos computadores?`,`Você escolhe um plano para 1, 2 ou 4 computadores. Se trocar de máquina, libere o computador antigo no painel da conta e ative no novo.`],[`Preciso instalar algum programa?`,`Não. O TKS PRO é uma extensão do Chrome, instalada pela Chrome Web Store, que roda direto no Gerenciador de LIVE do TikTok Shop.`],[`Faço live pelo celular. Funciona para mim?`,`Funciona se um computador ficar com o Gerenciador de LIVE aberto no Chrome durante a transmissão. à nele que o painel, o som de venda e o AutoFixar trabalham. Sem um computador por perto durante a live, a extensão não vai te atender.`],[`Os números batem com os do TikTok?`,`O faturamento é ancorado no GMV oficial do TikTok. Vendas novas aparecem na hora como âconfirmandoâ e são absorvidas quando o TikTok atribui o valor. Projeções são estimativas, não garantia de faturamento.`],[`O celular recebe notificação no iPhone?`,`Recebe. No iPhone, adicione o painel à Tela de InÃcio e permita as notificações. A extensão traz o guia para Android e iPhone. A entrega depende da conexão e das permissões do aparelho.`],[`O funcionamento depende do TikTok?`,`Sim. A extensão usa as informações e os controles disponÃveis no seu Gerenciador de LIVE, então mudanças do TikTok podem afetar a captura de dados e as automações. Respostas e agradecimentos interagem com o chat quando ativados. Use a ferramenta de acordo com as regras da plataforma.`],[`E se eu não gostar?`,`Você tem 7 dias corridos para desistir da compra e receber 100% do valor, sem precisar justificar. à o direito de arrependimento do Código de Defesa do Consumidor. Basta pedir pelo suporte. Depois desse prazo, avaliamos caso a caso, principalmente se a ferramenta não funcionar como descrito.`]],U={titulo1:`Na próxima live,`,titulo2:`olhe para a câmera.`,texto:`O TKS PRO cuida do produto, do chat e de cada venda.`},ue={tagline:`Assistente de LIVE para o TikTok Shop`,legal:`A extensão funciona no Chrome do computador com o Gerenciador de LIVE aberto. Dados e automações depen
1dem das informações e dos controles disponibilizados pelo TikTok. Projeções são estimativas, não garantia de faturamento.`},de=new Intl.NumberFormat(`pt-BR`,{style:`currency`,currency:`BRL`}),fe=e=>de.format(e).replace(/ /g,` `);function pe(){let[e,t]=(0,k.useState)(()=>typeof window<`u`&&window.matchMedia?window.matchMedia(`(prefers-reduced-motion: reduce)`).matches:!1);return(0,k.useEffect)(()=>{if(!window.matchMedia)return;let e=window.matchMedia(`(prefers-reduced-motion: reduce)`),n=()=>t(e.matches);return e.addEventListener?.(`change`,n),()=>e.removeEventListener?.(`change`,n)},[]),e}function W(e={}){let t=(0,k.useRef)(null),[n,r]=(0,k.useState)(!1),{rootMargin:i=`0px`,threshold:a=.2,once:o=!1}=e;return(0,k.useEffect)(()=>{let e=t.current;if(!e||typeof IntersectionObserver>`u`){r(!0);return}let n=new IntersectionObserver(([e])=>{e.isIntersecting?(r(!0),o&&n.disconnect()):o||r(!1)},{rootMargin:i,threshold:a});return n.observe(e),()=>n.disconnect()},[i,a,o]),[t,n]}function me(){let[e,t]=(0,k.useState)(()=>typeof document>`u`||document.visibilityState!==`hidden`);return(0,k.useEffect)(()=>{let e=()=>t(document.visibilityState!==`hidden`);return document.addEventListener(`visibilitychange`,e),()=>document.removeEventListener(`visibilitychange`,e)},[]),e}function he(e,{duration:t=700,reduced:n=!1}={}){let[r,i]=(0,k.useState)(e),a=(0,k.useRef)(e),o=(0,k.useRef)(e);return(0,k.useEffect)(()=>{if(n||typeof requestAnimationFrame>`u`){o.current=e,i(e);return}a.current=o.current;let r=a.current,s=performance.now(),c,l=n=>{let a=Math.min(1,(n-s)/t),u=1-(1-a)**3,d=r+(e-r)*u;o.current=d,i(d),a<1&&(c=requestAnimationFrame(l))};return c=requestAnimationFrame(l),()=>cancelAnimationFrame(c)},[e,t,n]),r}function ge(e,t){(0,k.useEffect)(()=>{let n=e.current;if(!n||!t||typeof IntersectionObserver>`u`)return;n.classList.add(`tl-js`);let r=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(t.target.setAttribute(`data-in`,``),r.unobserve(t.target))},{rootMargin:`0px 0px -8% 0px`,threshold:.12});return n.querySelectorAll(`[data-reveal]`).forEach(e=>r.observe(e)),()=>{r.disconnect(),n.classList.remove(`tl-js`)}},[e,t])}function _e(e){(0,k.useEffect)(()=>{let t=e.current;if(!t)return;let n=0,r=()=>{n=0;let e=document.documentElement.scrollHeight-window.innerHeight,r=e>0?Math.min(1,Math.max(0,window.scrollY/e)):0;t.style.setProperty(`--p`,r.toFixed(4))},i=()=>{n||=requestAnimationFrame(r)};return r(),window.addEventListener(`scroll`,i,{passive:!0}),window.addEventListener(`resize`,i),()=>{window.removeEventListener(`scroll`,i),window.removeEventListener(`resize`,i),n&&cancelAnimationFrame(n)}},[e])}var ve=`.tksr-scope{text-align:left;flex-direction:column;height:100%;display:flex;overflow:hidden}.tksr-scope .tksr-body{flex:1;min-height:0}.tksr-scope{--tk-bg:#0b0b0d;--tk-s1:#141417;--tk-s2:#1b1b1f;--tk-s3:#232328;--tk-line:#26262b;--tk-line2:#34343b;--tk-t1:#f3f3f5;--tk-t2:#b6b6be;--tk-t3:#8e8e98;--tk-cy:#25f4ee;--tk-cyink:#03211f;--tk-cysoft:#25f4ee1a;--tk-cyline:#25f4ee59;--tk-live:#ff3b5c;--tk-ok:#3dd68c;--tk-oksoft:#3dd68c1f;--tk-warn:#f5b83d;--tk-warnsoft:#f5b83d1f;--tk-err:#ff6b7d;--tk-errsoft:#ff6b7d1f;--tk-ui:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;--tk-num:"IBM Plex Mono",ui-monospace,Consolas,monospace;background:var(--tk-bg);color:var(--tk-t1);font:500 13px/1.45 var(--tk-ui);-webkit-font-smoothing:antialiased}.tksr-scope,.tksr-scope *{box-sizing:border-box}:where(.tksr-scope button){appearance:none;color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;margin:0;padding:0}:where(.tksr-scope input,.tksr-scope select,.tksr-scope textarea){font:inherit;color:inherit}.tksr-scope a{color:var(--tk-cy);text-decoration:none}.tksr-scope a:hover{text-decoration:underline}.tksr-scope .tksr-flex{flex:1}.tksr-scope .tksr-oculto{display:none}.tksr-scope .tksr-ciano{color:var(--tk-cy)}.tksr-scope .tksr-ambar{color:var(--tk-warn)}.tksr-scope .tksr-verde{color:var(--tk-ok)}.tksr-scope .tksr-rosa{color:var(--tk-err)}.tksr-scope svg{flex:none}.tksr-scope :is(button,a,input,select,textarea,[role=switch]):focus-visible{outline:2px solid var(--tk-cy);outline-offset:2px;border-radius:8px}.tksr-scope :is(.tksr-input,.tksr-select,.tksr-textarea):is(:focus,:focus-visible){outline:none}.tksr-scope .tksr-input-wrap:focus-within,.tksr-scope :is(.tksr-select,.tksr-textarea):focus{border-color:var(--tk-cy);box-shadow:0 0 0 3px #25f4ee29}.tksr-scope .tksr-input-wrap button:focus-visible{outline-offset:-2px;border-radius:0}.tksr-scope .tksr-input[type=number]{appearance:textfield}.tksr-scope .tksr-input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tksr-scope .tksr-input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tksr-scope [data-tom=ok]{color:#9be9c3}.tksr-scope [data-tom=wait]{color:#f8d489}.tksr-scope [data-tom=bad]{color:#ffb0ba}.tksr-scope [data-tom=info]{color:#8ff3ef}.tksr-scope [data-tom=off]{color:var(--tk-t3)}.tksr-head{background:var(--tk-bg);border-bottom:1px solid var(--tk-line);flex:none;align-items:center;gap:8px;height:56px;padding:0 10px 0 16px;display:flex}.tksr-brand{flex:none;align-items:center;gap:6px;display:flex}.tksr-pro{font:800 9px/1 var(--tk-ui);letter-spacing:.12em;color:var(--tk-cyink);background:var(--tk-cy);border-radius:4px;padding:3px 5px}.tksr-timer{background:var(--tk-s2);height:26px;color:var(--tk-t2);font:700 11px/1 var(--tk-ui);letter-spacing:.04em;white-space:nowrap;font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:6px;padding:0 10px;display:inline-flex}.tksr-timer:before{content:"";background:var(--tk-t3);border-radius:50%;flex:none;width:7px;height:7px}.tksr-timer[data-estado=live]{color:#ff8a9c;font-family:var(--tk-num);letter-spacing:.02em;background:#ff3b5c1f;font-weight:600}.tksr-timer[data-estado=live]:before{background:var(--tk-live);box-shadow:0 0 0 3px #ff3b5c40}.tksr-timer[data-estado=fim]{color:var(--tk-t3)}.tksr-icobtn{width:36px;height:36px;color:var(--tk-t2);border-radius:10px;flex:none;place-items:center;display:grid;position:relative}.tksr-icobtn:hover{background:var(--tk-s2);
1color:var(--tk-t1)}.tksr-alerta-dupla{background:var(--tk-errsoft);color:#ffc2ca;font:500 12.5px/1.45 var(--tk-ui);border:1px solid #ff6b7d73;border-radius:12px;align-items:flex-start;gap:10px;margin:12px 12px 0;padding:12px;display:flex}.tksr-alerta-dupla b{color:#ffd0d6;font-weight:700}.tksr-alerta-ico{color:var(--tk-err);padding-top:1px}.tksr-body{flex-direction:column;flex:1;min-height:0;display:flex}.tksr-topo{background:var(--tk-bg);flex:none}.tksr-hero{flex-direction:column;gap:9px;padding:12px 16px;display:flex}.tksr-hero-top{justify-content:space-between;align-items:center;gap:10px;min-height:16px;display:flex}.tksr-hero-lbl{font:700 11px/1.2 var(--tk-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--tk-t3);align-items:center;gap:6px;display:flex}.tksr-dica{color:#6e6e78;cursor:help;display:inline-flex}.tksr-espec{color:var(--tk-t2);white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.tksr-espec b{font:600 12px/1 var(--tk-num);color:var(--tk-t1)}.tksr-espec span{font:500 11.5px/1 var(--tk-ui);color:var(--tk-t3)}.tksr-gmv{font:600 30px/1 var(--tk-num);letter-spacing:-.02em;color:var(--tk-t1);font-variant-numeric:tabular-nums}.tksr-metarow{flex-direction:column;gap:8px;display:flex}.tksr-track{background:var(--tk-s3);border-radius:999px;
1height:6px;overflow:hidden}.tksr-fill{background:linear-gradient(90deg,#25f4ee,#7cf9f5);border-radius:999px;width:0%;height:100%;transition:width .4s}.tksr-fill.tksr-fill-ok{background:linear-gradient(90deg,#3dd68c,#8bebb9)}.tksr-metatop{justify-content:space-between;align-items:center;gap:8px;min-height:15px;display:flex}.tksr-metapct{font:500 12px/1.2 var(--tk-ui);color:var(--tk-t2)}.tksr-metapct b{font:600 12px/1 var(--tk-num);color:var(--tk-t1)}.tksr-pend{font:600 12px/1 var(--tk-ui);color:var(--tk-warn);white-space:nowrap;font-variant-numeric:tabular-nums;align-items:center;gap:5px;display:inline-flex}.tksr-pend:before{content:"";background:currentColor;flex:none;width:13px;height:13px;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") 50%/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") 50%/contain no-repeat}.tksr-kpis{border:1px solid var(--tk-line);background:var(--tk-s1);border-radius:10px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.tksr-kpi{flex-direction:column;gap:4px;min-width:0;padding:8px 10px;display:flex}.tksr-kpi+.tksr-kpi{border-left:1px solid var(--tk-line)}.tksr-kpi-v{font:600 15px/1 var(--tk-num);color:var(--tk-t1);white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;overflow:hidden}.tksr-kpi-l{font:500 11.5px/1.1 var(--tk-ui);color:var(--tk-t3);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tksr-autos{border-top:1px solid var(--tk-line);justify-content:space-between;align-items:center;gap:6px;min-height:38px;padding:0 16px;display:flex;overflow:hidden}.tksr-scope .tksr-auto{min-width:0;font:600 11.5px/1 var(--tk-ui);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;padding:4px 0;display:inline-flex}.tksr-scope .tksr-auto:before{content:"";background:#55555e;border-radius:50%;flex:none;width:7px;height:7px}.tksr-scope .tksr-auto[data-tom=ok]{color:var(--tk-t2)}.tksr-scope .tksr-auto[data-tom=ok]:before{background:var(--tk-ok)}.tksr-scope .tksr-auto[data-tom=wait]{color:var(--tk-t2)}.tksr-scope .tksr-auto[data-tom=wait]:before{background:var(--tk-warn)}.tksr-scope .tksr-auto[data-tom=bad]{color:#ffb0ba}.tksr-scope .tksr-auto[data-tom=bad]:before{background:var(--tk-err)}.tksr-scope .tksr-auto[data-tom=off]{color:var(--tk-t3)}.tksr-scope .tksr-auto:hover{color:var(--tk-t1)}.tksr-aviso{font:600 12.5px/1.35 var(--tk-ui);background:var(--tk-s2);border:1px solid var(--tk-line2);border-radius:10px;margin:0 12px 10px;padding:9px 12px}.tksr-aviso[data-tom=ok]{background:var(--tk-oksoft);border-color:#3dd68c59}.tksr-aviso[data-tom=wait]{background:var(--tk-warnsoft);border-color:#f5b83d66}.tksr-aviso[data-tom=bad]{background:var(--tk-errsoft);border-color:#ff6b7d73}.tksr-aviso[data-tom=info]{background:var(--tk-cysoft);border-color:var(--tk-cyline)}.tksr-abas{border-top:1px solid var(--tk-line);border-bottom:1px solid var(--tk-line);background:var(--tk-bg);display:flex}.tksr-aba{min-width:0;height:52px;font:600 11.5px/1 var(--tk-ui);color:var(--tk-t3);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:4px;transition:color .15s;display:flex;position:relative}.tksr-aba:hover{color:var(--tk-t2)}.tksr-aba-ic{display:flex}.tksr-aba-ic svg{width:18px;height:18px}.tksr-aba-t{white-space:nowrap}.tksr-aba.tksr-on{color:var(--tk-cy)}.tksr-aba.tksr-on:after{content:"";background:var(--tk-cy);border-radius:2px;height:2px;position:absolute;bottom:-1px;left:14px;right:14px}.tksr-ponto{background:var(--tk-warn);width:7px;height:7px;box-shadow:0 0 0 2px var(--tk-bg);border-radius:50%;display:none;position:absolute;top:8px;right:calc(50% - 16px)}.tksr-scope.tksr-compacto .tksr-hero{flex-direction:row;align-items:center;gap:10px;padding:8px 16px}.tksr-scope.tksr-compacto .tksr-hero-top,.tksr-scope.tksr-compacto .tksr-pend{display:none}.tksr-scope.tksr-compacto .tksr-gmv{flex:none;font-size:17px}.tksr-scope.tksr-compacto .tksr-kpis{background:0 0;border:0;border-radius:0;flex:none;order:2;display:flex}.tksr-scope.tksr-compacto .tksr-kpi{flex-direction:row;align-items:baseline;gap:4px;padding:0}
1.tksr-scope.tksr-compacto .tksr-kpi+.tksr-kpi{display:none}.tksr-scope.tksr-compacto .tksr-kpi-v{font-size:13px}.tksr-scope.tksr-compacto .tksr-kpi-l{font-size:12px}.tksr-scope.tksr-compacto .tksr-metarow{flex-direction:column-reverse;flex:1;order:3;gap:4px;min-width:72px}.tksr-scope.tksr-compacto .tksr-metatop{justify-content:flex-end;min-height:0}.tksr-scope.tksr-compacto .tksr-metapct{white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.tksr-scope.tksr-compacto .tksr-track{height:4px}.tksr-panes{scrollbar-width:thin;scrollbar-color:#34343b transparent;flex-direction:column;flex:1;gap:12px;min-height:0;padding:14px 12px 16px;display:flex;overflow:hidden auto}.tksr-panes::-webkit-scrollbar{width:8px}.tksr-panes::-webkit-scrollbar-track{background:0 0}.tksr-panes::-webkit-scrollbar-thumb{background:#34343b padding-box content-box;border:2px solid #0000;border-radius:8px}.tksr-pane{flex-direction:column;gap:12px;display:none}.tksr-pane.tksr-on{display:flex}.tksr-grupo{font:700 11px/1.2 var(--tk-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--tk-t3);margin:4px 4px -4px}.tksr-card{background:var(--tk-s1);border:1px solid var(--tk-line);border-radius:12px;flex:none;overflow:hidden}.tksr-card-h{align-items:center;gap:10px;min-height:56px;padding:10px 12px 10px 14px;display:flex}.tksr-ci{background:var(--tk-s2);width:30px;height:30px;color:var(--tk-t2);border-radius:8px;flex:none;place-items:center;display:grid}.tksr-ci-cy{color:var(--tk-cy);background:var(--tk-cysoft)}.tksr-ci-am{color:var(--tk-warn);background:var(--tk-warnsoft)}.tksr-ci-rd{color:var(--tk-err);background:var(--tk-errsoft)}.tksr-card-tt{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tksr-card-t{font:700 14px/1.2 var(--tk-ui);color:var(--tk-t1);align-items:center;gap:6px;min-width:0;display:flex}.tksr-card-sub{font:500 12px/1.25 var(--tk-ui);color:var(--tk-t3);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-st{font:500 12px/1.25 var(--tk-ui);color:var(--tk-t3);white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;min-width:0;display:flex;overflow:hidden}.tksr-st:before{content:"";opacity:.95;background:currentColor;border-radius:50%;flex:none;width:7px;height:7px}.tksr-st[data-tom=off]:before{background:#55555e}.tksr-st>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-beta{font:700 9.5px/1 var(--tk-ui);letter-spacing:.08em;color:var(--tk-warn);border:1px solid #f5b83d73;border-radius:4px;flex:none;padding:2px 4px}.tksr-card-b{border-top:1px solid var(--tk-line);flex-direction:column;gap:12px;padding:12px 14px 14px;display:flex}.tksr-card-b-so{border-top:0}.tksr-scope .tksr-sw{cursor:pointer;background:#3a3a42;border-radius:999px;flex:none;width:44px;height:26px;transition:background .15s;position:relative}.tksr-scope .tksr-sw .tksr-knob{pointer-events:none;background:#fff;border-radius:50%;width:20px;height:20px;transition:left .15s,background .15s;position:absolute;top:3px;left:3px}.tksr-scope .tksr-sw[aria-checked=true]{background:var(--tk-cy)}.tksr-scope .tksr-sw[aria-checked=true] .tksr-knob{background:var(--tk-cyink);left:21px}.tksr-status-linha{font:500 12px/1.4 var(--tk-ui);color:var(--tk-t2);align-items:center;gap:7px;min-width:0;display:flex}.tksr-status-linha:empty{display:none}.tksr-dot{background:var(--tk-ok);border-radius:50%;flex:none;width:7px;height:7px}.tksr-ajuda{font:500 12px/1.45 var(--tk-ui);color:var(--tk-t3);margin:0}.tksr-ajuda:empty{display:none}.tksr-ajuda-topo{margin-top:-2px}.tksr-campo{flex-direction:column;gap:6px;display:flex}.tksr-lbl{font:600 12px/1.2 var(--tk-ui);color:var(--tk-t2);flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tksr-lbl-dica{color:var(--tk-t3);font-weight:500}.tksr-select{border:1px solid var(--tk-line2);background-color:var(--tk-s2);width:100%;height:42px;color:var(--tk-t1);font:500 13px/1.2 var(--tk-ui);cursor:pointer;appearance:none;text-overflow:ellipsis;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B6B6BE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;background-size:16px 16px;border-radius:10px;padding:0 34px 0 12px}.tksr-select:focus{border-color:var(--tk-cy);outline:none}.tksr-input-wrap{border:1px solid var(--tk-line2);background:var(--tk-s2);border-radius:10px;align-items:stretch;min-height:42px;display:flex;overflow:hidden}.tksr-input-wrap:focus-within{border-color:var(--tk-cy)}
1.tksr-input-curto{max-width:200px}.tksr-input{min-width:0;color:var(--tk-t1);font:500 13px/1 var(--tk-num);font-variant-numeric:tabular-nums;background:0 0;border:0;flex:1;padding:0 12px}.tksr-input[type=text],.tksr-input[type=email],.tksr-input[type=password]{font-family:var(--tk-ui)}.tksr-input:focus{outline:none}.tksr-input::placeholder{color:#6e6e78}.tksr-prefixo,.tksr-sufixo{color:var(--tk-t3);font:600 12px/1 var(--tk-ui);flex:none;justify-content:center;align-items:center;padding:0 12px;display:flex}.tksr-prefixo{padding-right:0}.tksr-scope button.tksr-sufixo{border-left:1px solid var(--tk-line2);color:var(--tk-t2);font-weight:700}.tksr-scope button.tksr-sufixo:hover{color:var(--tk-cy)}.tksr-textarea{border:1px solid var(--tk-line2);background:var(--tk-s2);width:100%;min-height:72px;color:var(--tk-t1);font:500 12.5px/1.55 var(--tk-ui);resize:vertical;border-radius:10px;padding:10px 12px}.tksr-textarea:focus{border-color:var(--tk-cy);outline:none}.tksr-textarea::placeholder{color:#6e6e78}.tksr-check{min-height:28px;font:500 13px/1.3 var(--tk-ui);color:var(--tk-t1);cursor:pointer;align-items:center;gap:10px;display:flex}.tksr-check input{width:18px;height:18px;accent-color:var(--tk-cy);cursor:pointer;flex:none;margin:0}.tksr-resp-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:-4px;display:flex}.tksr-mini{font:500 11.5px/1.3 var(--tk-ui);color:var(--tk-t3)}.tksr-preview{background:var(--tk-s2);border:1px dashed var(--tk-line2);font:500 12.5px/1.45 var(--tk-ui);color:var(--tk-t2);border-radius:10px;padding:10px 12px}.tksr-scope .tksr-btn{border:1px solid var(--tk-line2);background:var(--tk-s2);height:36px;color:var(--tk-t1);font:700 12.5px/1 var(--tk-ui);white-space:nowrap;border-radius:10px;flex:none;justify-content:center;align-items:center;gap:7px;padding:0 12px;display:inline-flex}.tksr-scope .tksr-btn:hover{background:var(--tk-s3);border-color:#4a4a52}.tksr-scope .tksr-btn-sm{border-radius:8px;height:32px;padding:0 10px;font-size:12px}.tksr-scope .tksr-btn-ico{width:36px;height:36px;padding:0}.tksr-linha{align-items:center;gap:12px;min-width:0;display:flex}.tksr-linha-t{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tksr-linha-t b{font:700 13.5px/1.25 var(--tk-ui);color:var(--tk-t1)}.tksr-linha-t span{font:500 12px/1.35 var(--tk-ui);color:var(--tk-t3)}.tksr-linha-card{border-top:1px solid var(--tk-line);min-height:60px;padding:10px 12px 10px 14px}.tksr-linha-primeira{border-top:0}.tksr-linha-meta{border-top:1px solid var(--tk-line);padding-top:12px}.tksr-burst{background:var(--tk-oksoft);color:#9be9c3;font:700 12.5px/1.25 var(--tk-ui);border:1px solid #3dd68c59;border-radius:10px;align-items:center;gap:8px;margin:0 12px 10px;padding:9px 12px;display:flex}.tksr-mural{scrollbar-width:thin;scrollbar-color:#34343b transparent;flex-direction:column;max-height:330px;display:flex;overflow:hidden auto}.tksr-mural:empty{display:none}.tksr-venda{border-top:1px solid var(--tk-line);align-items:center;gap:10px;min-width:0;padding:9px 12px;display:flex}.tksr-venda-nova{background:linear-gradient(90deg,#3dd68c1a,#0000 70%)}.tksr-av{width:32px;height:32px;font:700 11px/1 var(--tk-ui);color:#dadae0;background:var(--tk-s3);border-radius:50%;flex:none;place-items:center;display:grid}.tksr-av[data-cor="0"]{color:#a5f0e3;background:#1e3a36}.tksr-av[data-cor="1"]{color:#c9bff5;background:#2b2540}.tksr-av[data-cor="2"]{color:#f5cf9e;background:#3a2b1c}.tksr-av[data-cor="3"]{color:#afcbf2;background:#1d2c40}.tksr-av[data-cor="4"]{color:#f2b3c3;background:#3a1f28}.tksr-av[data-cor="5"]{color:#bce6b2;background:#243622}.tksr-venda-mid{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tksr-venda-n{font:700 13px/1.2 var(--tk-ui);color:var(--tk-t1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-venda-n.tksr-prov{color:var(--tk-t2)}.tksr-venda-n.tksr-anon{color:var(--tk-t3);font-weight:600}.tksr-venda-p{font:500 12px/1.2 var(--tk-ui);color:var(--tk-t3);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-qtd{font:700 11px/1 var(--tk-num);color:var(--tk-cy);background:var(--tk-cysoft);border-radius:4px;margin-right:5px;padding:2px 5px;display:inline-block}.tksr-qtd-est{color:var(--tk-warn);background:var(--tk-warnsoft)}.tksr-venda-r{flex-direction:column;flex:none;align-items:flex-end;
1gap:3px;display:flex}.tksr-venda-r b{font:600 13px/1.2 var(--tk-num);color:var(--tk-ok);font-variant-numeric:tabular-nums}.tksr-venda-r span{font:500 11.5px/1.2 var(--tk-num);color:var(--tk-t3)}.tksr-vazio{color:var(--tk-t3);font:500 12.5px/1.45 var(--tk-ui);border-top:1px solid var(--tk-line);padding:14px}.tksr-inter-l{flex-direction:column;display:flex}.tksr-linha-lista{border-top:1px solid var(--tk-line);align-items:center;gap:10px;min-width:0;padding:9px 12px 9px 14px;display:flex}.tksr-linha-mid{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tksr-linha-n{font:700 13px/1.2 var(--tk-ui);color:var(--tk-t1);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-linha-n.tksr-anon{color:var(--tk-t2);font-weight:600}.tksr-linha-d{font:500 12px/1.2 var(--tk-ui);color:var(--tk-t3);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-linha-hora{font:500 11.5px/1 var(--tk-num);color:var(--tk-t3);white-space:nowrap;flex:none}.tksr-cupom-chip{border:1px solid var(--tk-line);background:var(--tk-s1);font:500 12.5px/1.3 var(--tk-ui);color:var(--tk-t2);border-radius:12px;align-items:center;gap:8px;padding:10px 14px;display:flex}.tksr-cupom-chip b{color:var(--tk-warn);font-weight:700}.tksr-porproduto{flex-direction:column;display:flex}.tksr-prod{border-top:1px solid var(--tk-line);flex-direction:column;gap:6px;padding:10px 0;display:flex}.tksr-prod:first-child{border-top:0;padding-top:0}.tksr-prod-l{align-items:baseline;gap:8px;min-width:0;display:flex}.tksr-prod-n{min-width:0;font:600 13px/1.2 var(--tk-ui);color:var(--tk-t1);text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.tksr-prod-l b{font:600 13px/1 var(--tk-num);color:var(--tk-t1);white-space:nowrap}.tksr-prod-fixo .tksr-prod-n{color:var(--tk-cy)}.tksr-prod-anon .tksr-prod-n{color:var(--tk-t3)}.tksr-prod-sub{font:500 12px/1.2 var(--tk-ui);color:var(--tk-t3);justify-content:space-between;gap:8px;display:flex}.tksr-mini-bar{background:var(--tk-s3);border-radius:999px;
1height:4px;overflow:hidden}.tksr-mini-bar i{background:var(--tk-cy);border-radius:999px;height:100%;display:block}.tksr-audit{font:500 12px/1.45 var(--tk-ui);color:var(--tk-t3)}.tksr-dicabox{background:var(--tk-cysoft);border:1px solid var(--tk-cyline);color:#bffcfa;font:600 12.5px/1.4 var(--tk-ui);border-radius:10px;padding:10px 12px}.tksr-dicabox b{color:#fff}.tksr-mais{border-top:1px solid var(--tk-line);flex-direction:column;display:flex}.tksr-mais-l{border-top:1px solid var(--tk-line);justify-content:space-between;align-items:center;gap:10px;min-height:44px;padding:0 14px;display:flex}.tksr-mais-l:first-child{border-top:0}.tksr-mais-l span{font:500 12.5px/1.3 var(--tk-ui);color:var(--tk-t2)}.tksr-mais-l b{font:600 13px/1 var(--tk-num);color:var(--tk-t1);white-space:nowrap}.tksr-termo-linha{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.tksr-termo-tempo{font:500 12px/1.3 var(--tk-ui);color:var(--tk-t3)}.tksr-termo-resumo{font:500 12px/1.3 var(--tk-ui);color:var(--tk-t2)}.tksr-termo-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.tksr-tile{border:1px solid var(--tk-line);background:var(--tk-s2);text-align:center;border-radius:10px;flex-direction:column;align-items:center;gap:5px;padding:9px 6px;display:flex}.tksr-tile-v{font:600 17px/1 var(--tk-num);color:var(--tk-t1);font-variant-numeric:tabular-nums}.tksr-tile small{font:500 11px/1 var(--tk-ui);color:var(--tk-t3)}.tksr-track-termo{height:6px}.tksr-fill-termo{background:#55555e;border-radius:999px;width:0%;height:100%;transition:width .35s}.tksr-fill-termo[data-tom=ok]{background:var(--tk-ok)}.tksr-fill-termo[data-tom=wait]{background:var(--tk-warn)}.tksr-fill-termo[data-tom=bad]{background:var(--tk-err)}.tksr-fill-termo[data-tom=info]{background:var(--tk-cy)}.tksr-funil{font:500 12px/1.45 var(--tk-ui);color:var(--tk-t3)}.tksr-veredito{background:var(--tk-s2);border:1px solid var(--tk-line);font:600 12.5px/1.4 var(--tk-ui);color:var(--tk-t2);border-radius:10px;padding:10px 12px}.tksr-veredito[data-tom=ok]{background:var(--tk-oksoft);border-color:#3dd68c59}.tksr-veredito[data-tom=wait]{background:var(--tk-warnsoft);border-color:#f5b83d66}.tksr-veredito[data-tom=bad]{background:var(--tk-errsoft);border-color:#ff6b7d73}.tksr-veredito[data-tom=info]{background:var(--tk-cysoft);border-color:var(--tk-cyline)}.tksr-hist{flex-direction:column;gap:6px;display:flex}.tksr-hist:empty{display:none}.tksr-hist-l{font:500 11.5px/1.4 var(--tk-num);color:var(--tk-t3);justify-content:space-between;gap:8px;display:flex}.tksr-hist-n{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tksr-hist-v{white-space:nowrap}.tksr-badge{background:var(--tk-errsoft);color:#ffb0ba;min-width:24px;height:22px;font:600 11.5px/20px var(--tk-num);text-align:center;border:1px solid #ff6b7d66;border-radius:999px;flex:none;padding:0 7px}.tksr-flaglist{color:#ffb0ba;max-height:140px;font:500 12px/1.7 var(--tk-ui);overflow:auto}.tksr-flaglist:empty{display:none}.tksr-timer-previewbox{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.tksr-timer-previewbox span{font:600 12px/1.2 var(--tk-ui);color:var(--tk-t2)}.tksr-timer-previewbox strong{font:600 22px/1 var(--tk-num);color:var(--tk-t1);letter-spacing:.02em;font-variant-numeric:tabular-nums}.tksr-timer-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.tksr-scope .tksr-timer-presets button{border:1px solid var(--tk-line2);background:var(--tk-s2);height:34px;color:var(--tk-t2);font:700 12px/1 var(--tk-num);border-radius:8px}.tksr-scope .tksr-timer-presets button:hover{color:var(--tk-t1)}.tksr-scope .tksr-timer-presets button.tksr-on{border-color:var(--tk-cy);color:var(--tk-cy);background:var(--tk-cysoft)}.tksr-timer-manual{margin-top:12px;margin-bottom:6px}.tksr-timer-running{background:var(--tk-warnsoft);border:1px solid #f5b83d66;border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex}.tksr-timer-running-head{font:700 11px/1.2 var(--tk-ui);letter-spacing:.08em;text-transform:uppercase;color:#f8d489;justify-content:space-between;align-items:center;gap:8px;display:flex}.tksr-timer-running-head b{font:700 10px/1 var(--tk-ui);letter-spacing:.06em;color:#f8d489;border:1px solid #f5b83d73;border-radius:5px;padding:3px 6px}.tksr-timer-running-head b[data-tom=bad]{color:#ffb0ba;border-color:#ff6b7d80}
1[id$=ap-timer-left]{font:600 26px/1 var(--tk-num);color:#ffe2a6;letter-spacing:.02em;font-variant-numeric:tabular-nums;display:block}[id$=ap-timer-left][data-tom=bad]{color:#ffb0ba}.tksr-timer-track{background:#00000059;border-radius:999px;height:6px;overflow:hidden}.tksr-timer-track span{background:var(--tk-warn);border-radius:999px;width:100%;height:100%;transition:width .5s linear;display:block}.tksr-timer-track span[data-tom=bad]{background:var(--tk-err)}.tksr-timer-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:2px;display:grid}.tksr-scope .tksr-timer-actions button{border:1px solid var(--tk-line2);height:36px;color:var(--tk-t1);font:700 12.5px/1 var(--tk-ui);background:#00000040;border-radius:8px}.tksr-scope .tksr-timer-actions [id$=ap-timer-cancel]{background:var(--tk-errsoft);color:#ffb0ba;border-color:#ff6b7d66}.tksr-rodape{justify-content:center;align-items:center;gap:12px;padding:6px 0 2px;display:flex}.tksr-reportar{color:var(--tk-t2);font:500 12px/1 var(--tk-ui);cursor:pointer;align-items:center;gap:6px;display:flex}.tksr-reportar:hover{color:var(--tk-t1)}.tksr-sep{background:var(--tk-line2);width:1px;height:12px}.tksr-versao{color:var(--tk-t3);font:500 11.5px/14px var(--tk-num)}.tksr-versao-janela{height:14px;display:block;overflow:hidden}.tksr-versao-linha{height:14px;display:block}@keyframes apFooterLoop{0%,38%{transform:translateY(0)}48%,88%{transform:translateY(-14px)}98%,to{transform:translateY(0)}}[id$=ap-footer-track]{will-change:transform;animation:7s ease-in-out infinite apFooterLoop;display:block}@media (prefers-reduced-motion:reduce){[id$=ap-footer-track]{animation:none}}.tksr-scope.tksr-recolhida{width:46px!important}.tksr-scope.tksr-recolhida .tksr-body,.tksr-scope.tksr-recolhida [id$=ap-dupla],.tksr-scope.tksr-recolhida .tksr-timer,.tksr-scope.tksr-recolhida .tksr-pro{display:none}.tksr-scope.tksr-recolhida .tksr-brand{margin-bottom:2px;transform:scale(.62)}.tksr-scope.tksr-recolhida .tksr-head{flex-direction:column;padding:10px 0}.tksr-scope .sp-account-btn,.tksr-scope .sp-mobile-btn{color:var(--tk-t2)!important}.tksr-scope .sp-account-btn:hover,.tksr-scope .sp-account-btn[aria-expanded=true],.tksr-scope .sp-mobile-btn:hover,.tksr-scope .sp-mobile-btn[aria-expanded=true]{color:var(--tk-t1)!important;background:var(--tk-s2)!important}.tksr-scope .sp-avatar{background:var(--tk-s3);border:1px solid var(--tk-line2);width:32px;height:32px;color:var(--tk-t1);font:700 11px/1 var(--tk-ui);border-radius:50%;place-items:center;display:grid}`,ye=`<div id="ap-head" class="tksr-head"><div class="tksr-brand"><svg viewBox="0 0 1085 330" width="56" height="17" style="display:block;width:56px;height:17px" aria-label="TKS"><path fill="#fff" d="M15.52,0h404.19l-15.52,76.64h-236.35l55.01,16.46-47.49,236.02h-109.55l50.31-252.48H0L15.52,0Z"/><path fill="#fff" d="M516.71,195.59l-97.32,75.7,49.37-24.45-16.46,82.28h-98.74L419.39,0h98.74l-23.51,118.01L655.41,0h115.19l-177.72,136.82,128.36,192.3h-115.19l-89.33-133.53Z"/><path fill="#fb1b48" d="M767.31,256.71l5.17-26.33h98.74l-1.88,8.93c-.63,3.45.15,6.51,2.35,9.17,2.19,2.67,5.01,4,8.46,4h185.25l-55.01-16.46,5.17-25.39c.62-3.45-.16-6.5-2.35-9.17-2.2-2.66-5.02-4-8.46-4h-152.33c-9.4,0-18.18-2.04-26.33-6.11-8.15-4.07-14.89-9.4-20.22-15.99-5.33-6.58-9.17-14.26-11.52-23.04-2.35-8.77-2.59-17.87-.71-27.27l15.04-76.64c2.82-14.11,9.79-25.7,20.92-34.79,11.12-9.09,23.9-13.63,38.32-13.63h217.22c9.4,0,18.17,2.04,26.33,6.11,8.15,4.08,14.88,9.4,20.22,15.99,5.33,6.58,9.24,14.19,11.75,22.8,2.5,8.62,2.82,17.63.94,27.04l-5.64,26.8h-98.73l1.88-8.93c.62-3.45-.16-6.5-2.35-9.17-2.2-2.66-5.02-4-8.46-4h-187.13l54.54,16.46-3.76,19.75c-.63,3.45.15,6.51,2.35,9.17,2.19,2.67,5.01,4,8.46,4h147.63l8.93.47c9.09.63,17.32,3.06,24.68,7.29,7.36,4.23,13.55,9.64,18.57,16.22,5.01,6.58,8.62,14.03,10.81,22.33,2.19,8.31,2.35,17.01.47,26.09l-16.46,82.28c-2.82,14.1-9.8,25.7-20.92,34.79-11.13,9.09-23.91,13.63-38.32,13.63h-214.87c-9.4,0-18.18-2.04-26.33-6.11-8.15-4.07-14.89-9.4-20.22-15.99-5.33-6.58-9.17-14.26-11.52-23.04-2.35-8.77-2.59-17.87-.71-27.27Z"/></svg><span class="tksr-pro">PRO</span></div>
1<div id="ap-timer" class="tksr-timer" data-estado="off" title="A transmissão está desligada">OFFLINE</div><span class="tksr-flex"></span><button id="sp-mobile-btn" type="button" class="tksr-icobtn sp-mobile-btn" title="Conectar celular" aria-label="Conectar celular ao TKS PRO"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10 18h4"/></svg></button><button id="sp-account-btn" type="button" class="tksr-icobtn sp-account-btn" title="Minha conta" aria-label="Abrir conta TKS PRO"><span class="sp-avatar" aria-hidden="true">LE</span></button></div><div id="ap-body" class="tksr-body"><div class="tksr-topo"><div id="ap-resumo-fixo" class="tksr-hero"><div class="tksr-hero-top"><div class="tksr-hero-lbl"><span>Faturamento da LIVE</span><span class="tksr-dica" title="Ancorado no GMV oficial do TikTok. Vendas novas aparecem na hora como confirmando e são absorvidas quando o TikTok atribui (~30s)."><svg viewBox="0 0 24 24" width="11" height="11" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></span></div><span id="ap-espec-slot" class="tksr-espec-slot"><span id="ap-espectadores" class="tksr-espec" style="display:none"></span></span></div><div id="ap-total" class="tksr-gmv">R$ 0,00</div><div id="ap-meta-row" class="tksr-metarow"><div class="tksr-track"><div id="ap-bar" class="tksr-fill"></div></div><div class="tksr-metatop"><span id="ap-metapct" class="tksr-metapct"></span><span id="ap-pend" class="tksr-pend" style="display:none"></span></div></div><div id="ap-metricas-fixas" class="tksr-kpis"><div class="tksr-kpi"><b class="tksr-kpi-v" id="ap-vendas">0</b><span class="tksr-kpi-l">vendas</span></div><div class="tksr-kpi"><b class="tksr-kpi-v" id="ap-ticket">â</b><span class="tksr-kpi-l">ticket médio</span></div><div class="tksr-kpi"><b class="tksr-kpi-v" id="ap-vh">0</b><span class="tksr-kpi-l">vendas por hora</span></div></div></div><div id="ap-autos" class="tksr-autos" role="group" aria-label="Automações"><button id="ap-auto-fix" type="button" class="tksr-auto" data-tom="off" title="Abrir AutoFixar">AutoFixar</button><button id="ap-auto-oferta" type="button" class="tksr-auto" data-tom="off" title="Abrir Oferta relâmpago">Oferta</button><button id="ap-auto-resp" type="button" class="tksr-auto" data-tom="off" title="Abrir Respostas automáticas">Respostas</button><button id="ap-auto-enc" type="button" class="tksr-auto" data-tom="off" title="Abrir Encerramento automático">Encerramento</button></div><div id="ap-aviso" class="tksr-aviso" role="status" data-tom="off" style="display:none"></div><div class="tksr-abas" role="tablist"><button class="tksr-aba" data-aba="live" role="tab"><span class="tksr-aba-ic"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"/><path d="M3 6h18"/><path d="M16 10a4 4 0 0 1-8 0"/></svg></span><span class="tksr-aba-t">Vendas</span></button><button class="tksr-aba" data-aba="produto" role="tab"><span class="tksr-aba-ic"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M12 17v5"/><path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg></span><span class="tksr-aba-t">Produtos</span></button><button class="tksr-aba" data-aba="chat" role="tab"><span class="tksr-aba-ic"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M21 11.5a8 8 0 0 1-8 8H4l2.3-2.7A8 8 0 1 1 21 11.5z"/></svg></span><span class="tksr-aba-t">
1Chat</span></button><button class="tksr-aba" data-aba="ajustes" role="tab"><span class="tksr-aba-ic"><svg viewBox="0 0 24 24" width="18" height="18" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><line x1="21" y1="6" x2="14" y2="6"/><line x1="10" y1="6" x2="3" y2="6"/><line x1="21" y1="12" x2="12" y2="12"/><line x1="8" y1="12" x2="3" y2="12"/><line x1="21" y1="18" x2="16" y2="18"/><line x1="12" y1="18" x2="3" y2="18"/><circle cx="12" cy="6" r="2"/><circle cx="10" cy="12" r="2"/><circle cx="14" cy="18" r="2"/></svg></span><span class="tksr-aba-t">Ajustes</span><span id="ap-aba-ponto" class="tksr-ponto"></span></button></div></div><div id="ap-ux-secoes" class="tksr-panes"><section id="ap-ux-compras" class="tksr-pane" data-aba="live"><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z"/><path d="M3 6h18"/><path d="M16 10a4 4 0 0 1-8 0"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Compras desta LIVE</div><small id="ap-mural-cnt" class="tksr-card-sub">nenhuma compra ainda</small></div><button id="ap-csv" type="button" class="tksr-btn tksr-btn-sm" title="Baixar todas as compras desta live em CSV (abre no Excel)"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="7 10 12 15 17 10"/><line x1="12" y1="15" x2="12" y2="3"/></svg><span>CSV</span></button></div><div id="ap-burst" class="tksr-burst" style="display:none"></div><div id="ap-mural" class="tksr-mural"></div></div><div id="ap-interessados" class="tksr-card tksr-inter"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-am"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><circle cx="8" cy="21" r="1"/><circle cx="19" cy="21" r="1"/><path d="M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Interesse no carrinho</div><small id="ap-interessados-cont" class="tksr-card-sub">Ninguém no carrinho ainda</small></div></div><div id="ap-interessados-lista" class="tksr-inter-l"><div class="tksr-vazio">Aguardando adições ao carrinhoâ¦</div></div></div><div id="ap-cupom-wrap" class="tksr-cupom-chip" style="display:none"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2z"/><path d="M13 5v14"/></svg><span>Cupom: <b id="ap-cupom-chip">â</b></span></div><div id="ap-porproduto-wrap" class="tksr-card" style="display:none"><div class="tksr-card-h"><span class="tksr-ci"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z"/><path d="m3.3 7 8.7 5 8.7-5"/><path d="M12 22V12"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Vendas por produto</div><small class="tksr-card-sub">Itens atribuÃdos pelo TikTok</small></div></div><div class="tksr-card-b"><div id="ap-porproduto" class="tksr-porproduto"></div><div id="ap-porproduto-audit" class="tksr-audit" style="display:none"></div><div id="ap-dica" class="tksr-dicabox" style="display:none"></div></div></div><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><polyline points="22 7 13.5 15.5 8.5 10.5 2 17"/><polyline points="16 7 22 7 22 13"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Mais números</div><small class="tksr-card-sub">Projeção, itens e entradas desta LIVE</small></div></div><div class="tksr-mais"><div class="tksr-mais-l"><span title="Ritmo atual (vendas/h à ticket médio) projetado para a duração configurada da LIVE.">Projeção de faturamento</span><b id="ap-projecao">â</b></div><div class="tksr-mais-l"><span>Itens atribuÃdos</span><b id="ap-itens">â</b></div><div class="tksr-mais-l"><span title="Pessoas únicas observadas nos avisos de entrada do TikTok desde o inÃcio da captura.">Entraram na LIVE</span><b id="ap-entraram">0</b></div></div></div></section><section id="ap-ux-produto" class="tksr-pane" data-aba="produto"><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M12 17v5"/><path d="M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7
1a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">AutoFixar</div><span id="ap-ux-produto-resumo" class="tksr-st" data-tom="ok">Ligado</span></div><button id="ap-toggle" type="button" role="switch" aria-checked="false" aria-label="AutoFixar" class="tksr-sw" title="Ligar/desligar o AutoFixar"><span id="ap-knob" class="tksr-knob"></span></button></div><div class="tksr-card-b" id="ap-config-wrap"><div class="tksr-campo"><label class="tksr-lbl" for="ap-produto">Produto que fica fixado</label><select id="ap-produto" class="tksr-select"></select><div class="tksr-status-linha"><span id="ap-dot" class="tksr-dot"></span><span id="ap-status">ativado</span></div></div><div class="tksr-campo"><label class="tksr-lbl" for="ap-cupom">Cupom junto do produto <span class="tksr-dica" title="A fixação do cupom também cai sozinha durante a live. Escolha um cupom aqui e o assistente o refixa toda vez que cair. Precisa estar na aba Cupom do painel do TikTok para ele enxergar."><svg viewBox="0 0 24 24" width="11" height="11" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><circle cx="12" cy="12" r="10"/><path d="M12 16v-4"/><path d="M12 8h.01"/></svg></span></label><select id="ap-cupom" class="tksr-select"></select><div id="ap-cupom-status" class="tksr-ajuda"></div></div></div></div><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M8 6h13"/><path d="M8 12h13"/><path d="M8 18h13"/><path d="M3 6h.01"/><path d="M3 12h.01"/><path d="M3 18h.01"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Fixar a lista de produtos</div><span id="ap-list-pin-summary" class="tksr-st" data-tom="off">Desligado</span></div><button id="ap-list-pin-toggle" type="button" role="switch" aria-checked="false" aria-label="Fixar a lista de produtos" class="tksr-sw" title="Manter fixado o botão geral da lista de produtos nesta LIVE"><span id="ap-list-pin-knob" class="tksr-knob"></span></button></div><div class="tksr-card-b"><div id="ap-list-pin-status" class="tksr-status-linha">desativado</div><div class="tksr-ajuda">Mantém fixada a lista inteira pelo botão âLista de produtos nesta LIVEâ. Não mexe na fixação de cada produto.</div></div></div></section><section id="ap-ux-flash" class="tksr-pane" data-aba="produto"><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-am"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M13 2 3 14h9l-1 8 10-12h-9l1-8z"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Oferta relâmpago</div><span id="ap-flash-resumo" class="tksr-st" data-tom="off">Desligado</span></div><button id="ap-flash-toggle" type="button" role="switch" aria-checked="false" aria-label="Oferta relâmpago automática" class="tksr-sw" title="Repetir automaticamente a oferta quando ela terminar"><span id="ap-flash-knob" class="tksr-knob"></span></button></div><div class="tksr-card-b"><div id="ap-flash-status" class="tksr-status-linha">Renovação automática desligada.</div><div class="tksr-ajuda">Quando o TikTok confirmar que a oferta terminou, o TKS duplica, inicia e confirma outra igual.</div></div></div></section><section id="ap-ux-termometro" class="tksr-pane" data-aba="produto"><div id="ap-termometro" class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-am"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M14 4v10.54a4 4 0 1 1-4 0V4a2 2 0 0 1 4 0z"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Termômetro<small class="tksr-beta">BETA</small></div><span class="tksr-st" data-tom="info"><span id="ap-termo-produto">aguardando produto fixadoâ¦</span></span></div><button id="ap-termo-reset" type="button" class="tksr-btn tksr-btn-ico" title="Testar agora: reinicia a medição do produto fixado" aria-label="Testar agora"><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M21 12a9 9 0 1 1-6.219-8.56"/><polyline points="21 3 21 8 16 8"/></svg></button></div><div class="tksr-card-b"><div class="tksr-termo-linha"><span id="ap-termo-tempo" class="tksr-termo-tempo"></span><span id="ap-ux-termo-resumo" class="tksr-termo-resumo">0 cliques</span></div><div class="tksr-termo-tiles"><div class="tksr-tile"><b id="ap-termo-vendo" class="tksr-tile-v tksr-ciano">0</b><small>vendo</small></div><div class="tksr-tile"><b id="ap-termo-cliques" class="tksr-tile-v">0</b><small>cliques</small></div><div class="tksr-tile"><b id="ap-termo-carrinhos" class="tksr-tile-v tksr-ambar">0</b><small>carrinhos</small></div><div class="tksr-tile"><b id="ap-termo-vendas" class="tksr-tile-v tksr-verde">0</b><small>vendas</small></div></div><div class="tksr-track tksr-track-termo"><div id="ap-termo-bar" class="tksr-fill-termo"></div></div><div id="ap-termo-funil" class="tksr-funil">coletando dados do produto fixadoâ¦</div><div id="ap-termo-veredito" class="tksr-veredito">Dados insuficientes</div><div id="ap-termo-historico" class="tksr-hist"></div></div></div></section><section id="ap-ux-respostas" class="tksr-pane" data-aba="chat"><div id="ap-resp-keyword-card" class="tksr-card" role="region" aria-labelledby="ap-resp-keyword-title"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M8 9h8"/>
1<path d="M8 13h5"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t"><span id="ap-resp-keyword-title">Respostas automáticas</span><small class="tksr-beta">BETA</small></div><span id="ap-resp-resumo" class="tksr-st" data-tom="off">Desligado</span></div><button id="ap-resp-keyword" type="button" role="switch" aria-checked="false" aria-label="Respostas automáticas" class="tksr-sw"><span class="tksr-knob"></span></button></div><div class="tksr-card-b"><div class="tksr-ajuda tksr-ajuda-topo">Responde às perguntas do chat com as palavras e respostas que você cadastrar.</div><label for="ap-resp-regras" class="tksr-lbl">Regras <span class="tksr-lbl-dica">palavras = resposta, uma por linha</span></label><textarea id="ap-resp-regras" class="tksr-textarea" rows="6" maxlength="5000" placeholder="vidro, material = Sim! Os potes são de vidro. 2frete, entrega = O frete é calculado no checkout. 3tamanho, medida = O kit tem potes de 370 ml."></textarea><div class="tksr-resp-row"><span id="ap-resp-count" class="tksr-mini">0 regras</span><span class="tksr-mini">confere o chat a cada 2 s · responde a cada 5 s ou mais</span></div><label class="tksr-check"><input id="ap-resp-nome" type="checkbox"> Marcar @pessoa na resposta</label><label for="ap-resp-teste-q" class="tksr-lbl">Testar uma pergunta</label><div class="tksr-input-wrap"><input id="ap-resp-teste-q" type="text" maxlength="100" class="tksr-input" placeholder="é de vidro mesmo?"><button id="ap-resp-teste" type="button" class="tksr-sufixo tksr-sufixo-txt">Testar</button></div><div id="ap-resp-preview" class="tksr-preview" style="display:none"></div><div id="ap-resp-keyword-status" role="status" class="tksr-status-linha"></div></div></div><div id="ap-resp-thank-card" class="tksr-card" role="region" aria-labelledby="ap-resp-thank-title"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t"><span id="ap-resp-thank-title">Agradecer compras</span></div><span id="ap-resp-thank-resumo" class="tksr-st" data-tom="off">Desligado</span></div><button id="ap-resp-thank" type="button" role="switch" aria-checked="false" aria-label="Agradecer compras" class="tksr-sw"><span class="tksr-knob"></span></button></div><div class="tksr-card-b"><div class="tksr-ajuda tksr-ajuda-topo">Agradece no chat cada compra com o nome identificado. Funciona separado das respostas automáticas.</div><label for="ap-resp-thank-frases" class="tksr-lbl">Frases <span class="tksr-lbl-dica">uma por linha · {usuario} vira o nome de quem comprou</span></label><textarea id="ap-resp-thank-frases" class="tksr-textarea" rows="3" maxlength="2000" placeholder="Muito obrigado pela compra, {usuario}!"></textarea><div id="ap-resp-thank-status" role="status" class="tksr-status-linha"></div></div></div></section><section id="ap-ux-comentarios" class="tksr-pane" data-aba="chat"><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M22 2 11 13"/><path d="M22 2 15 22l-4-9-9-4z"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Comentários automáticos</div><span id="ap-coment-resumo" class="tksr-st" data-tom="off">Desligado</span></div><button id="ap-coment-btn" type="button" role="switch" aria-checked="false" aria-label="Comentários automáticos" class="tksr-sw"><span class="tksr-knob"></span></button></div><div class="tksr-card-b"><div class="tksr-ajuda tksr-ajuda-topo">Envia seus comentários na LIVE, um por vez, em ordem aleatória, sem repetir o mesmo seguido.</div><label for="ap-coment-msgs" class="tksr-lbl">Comentários <span class="tksr-lbl-dica">um por linha</span></label><textarea id="ap-coment-msgs" class="tksr-textarea" rows="5" maxlength="4000" placeholder="Sejam bem-vindos! Tirem dúvidas sobre os produtos! 4Toca no carrinho e garante o seu! 5Frete grátis só hoje!"></textarea><div class="tksr-campo"><label class="tksr-lbl" for="ap-coment-int">Um comentário a cada</label><div class="tksr-input-wrap tksr-input-curto"><input id="ap-coment-int" type="number" min="10" max="3600" class="tksr-input"><span class="tksr-sufixo tksr-sufixo-txt">segundos</span></div></div><div id="ap-coment-status" role="status" class="tksr-status-linha"></div></div></div></section><section id="ap-ux-alertas" class="tksr-pane" data-aba="chat"><div class="tksr-card"><div id="ap-alertas-head" class="tksr-card-h"><span class="tksr-ci tksr-ci-rd"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Alertas do chat</div><small class="tksr-card-sub">Palavras que você não quer na LIVE</small></div><span id="ap-flag" class="tksr-badge" title="Alertas nesta LIVE">0</span><span id="ap-alertas-tog" class="tksr-oculto">
5â¸</span></div><div id="ap-alertas-wrap" class="tksr-card-b"><div class="tksr-linha"><div class="tksr-linha-t"><b>Palavras vigiadas</b><span>Avisa quando alguém comenta uma delas</span></div><button id="ap-palavras" type="button" class="tksr-btn tksr-btn-sm"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M21.17 6.81a1 1 0 0 0-3.99-3.99L3.84 16.17a2 2 0 0 0-.5.83l-1.32 4.35a.5.5 0 0 0 .62.62l4.35-1.32a2 2 0 0 0 .83-.5z"/><path d="m15 5 4 4"/></svg><span>Editar</span></button></div><div class="tksr-linha"><div class="tksr-linha-t"><b>Bloquear automaticamente</b><span id="ap-autobloq-txt">Desligado · só avisa</span></div><button id="ap-autobloq" type="button" role="switch" aria-checked="false" aria-label="Bloquear automaticamente quem comentar uma palavra vigiada" class="tksr-sw"><span class="tksr-knob"></span></button></div><div id="ap-flaglist" class="tksr-flaglist"></div></div></div></section><section id="ap-ux-meta" class="tksr-pane" data-aba="ajustes"><h3 class="tksr-grupo">Meta</h3><div class="tksr-card"><div class="tksr-card-b tksr-card-b-so"><div class="tksr-campo"><label class="tksr-lbl" for="ap-meta">Meta de faturamento desta LIVE</label><div class="tksr-input-wrap"><span class="tksr-prefixo">R$</span><input id="ap-meta" type="number" min="0" class="tksr-input"></div><div class="tksr-ajuda">Usada na barra do topo e na projeção de faturamento.</div></div><div class="tksr-linha tksr-linha-meta"><div class="tksr-linha-t"><b>Comemorar ao chegar em</b><span id="ap-pcts-txt">50%, 75% e 100% da meta</span></div><button id="ap-pcts" type="button" class="tksr-btn tksr-btn-sm" title="Sub-metas de celebração em %"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><line x1="19" y1="5" x2="5" y2="19"/><circle cx="6.5" cy="6.5" r="2.5"/><circle cx="17.5" cy="17.5" r="2.5"/></svg><span>Editar</span></button></div></div></div><h3 class="tksr-grupo">Encerramento automático</h3><div class="tksr-card"><div class="tksr-card-h"><span class="tksr-ci tksr-ci-am"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg></span><div class="tksr-card-tt"><div class="tksr-card-t">Encerrar a LIVE sozinho</div><span id="ap-ux-meta-resumo" class="tksr-st" data-tom="off">Desligado</span></div><button id="ap-auto-encerrar" type="button" role="switch" aria-checked="false" aria-label="Encerrar a LIVE sozinho" class="tksr-sw"><span class="tksr-knob"></span></button></div><div class="tksr-card-b"><div id="ap-timer-idle"><div class="tksr-timer-previewbox"><span>Encerrar depois de</span><strong id="ap-timer-preview">04:00:00</strong></div><div id="ap-timer-presets" class="tksr-timer-presets"><button id="ap-timer-preset-60" type="button" data-min="60">1h</button><button id="ap-timer-preset-120" type="button" data-min="120">2h</button><button id="ap-timer-preset-240" type="button" data-min="240">4h</button><button id="ap-timer-preset-360" type="button" data-min="360">6h</button><button id="ap-timer-preset-480" type="button" data-min="480">8h</button></div><label class="tksr-lbl tksr-timer-manual" for="ap-duracao-projecao">Ou digite em minutos</label><div class="tksr-input-wrap tksr-input-curto"><input id="ap-duracao-projecao" type="number" min="1" max="720" step="1" class="tksr-input"><span class="tksr-sufixo tksr-sufixo-txt">min</span></div></div><div id="ap-timer-run" style="display:none"><div class="tksr-timer-running"><div class="tksr-timer-running-head"><span>Encerra em</span><b id="ap-timer-badge">ARMADO</b></div><strong id="ap-timer-left">â</strong><div class="tksr-timer-track"><span id="ap-timer-bar"></span></div><div class="tksr-timer-actions"><button id="ap-timer-extend" type="button">+30 min</button><button id="ap-timer-cancel" type="button">Cancelar</button></div></div></div><div id="ap-auto-encerrar-status" role="status" class="tksr-status-linha"></div><div class="tksr-ajuda">Continua armado se a página do TikTok recarregar (F5).</div></div><div class="tksr-linha tksr-linha-card"><span class="tksr-ci tksr-ci-rd"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"/></svg></span><div class="tksr-linha-t"><b>Encerrar se o TikTok aplicar restrição</b><span id="ap-encerrar-violacao-status" role="status">Desligado</span></div><button id="ap-encerrar-violacao" type="button" role="switch" aria-checked="false" aria-label="Encerrar se o TikTok aplicar restrição" class="tksr-sw"><span class="tksr-knob"></span></button></div></div><h3 class="tksr-grupo">Sons</h3><div class="tksr-card"><div class="tksr-linha tksr-linha-card tksr-linha-primeira"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9"/><path d="M10.3 21a1.94 1.94 0 0 0 3.4 0"/></svg></span><div class="tksr-linha-t"><b>Som de venda</b>
5<span id="ap-som-txt">Toca a cada compra</span></div><button id="ap-teste" type="button" class="tksr-btn tksr-btn-ico" title="Testar o som de venda" aria-label="Testar o som de venda"><svg viewBox="0 0 24 24" width="15" height="15" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M6 4l14 8-14 8z"/></svg></button><button id="ap-som" type="button" role="switch" aria-checked="false" aria-label="Som de venda" class="tksr-sw"><span class="tksr-knob"></span></button></div><div class="tksr-linha tksr-linha-card"><span class="tksr-ci"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><path d="M21 11.5a8 8 0 0 1-8 8H4l2.3-2.7A8 8 0 1 1 21 11.5z"/></svg></span><div class="tksr-linha-t"><b>Som de nova mensagem</b><span id="ap-alerta-chat-status" role="status">Desligado</span></div><button id="ap-alerta-chat" type="button" role="switch" aria-checked="false" aria-label="Som de nova mensagem" class="tksr-sw"><span class="tksr-knob"></span></button></div></div><h3 class="tksr-grupo">Celular</h3><div class="tksr-card"><div class="tksr-linha tksr-linha-card tksr-linha-primeira"><span class="tksr-ci tksr-ci-cy"><svg viewBox="0 0 24 24" width="17" height="17" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><rect x="6" y="2" width="12" height="20" rx="2"/><path d="M10 18h4"/></svg></span><div class="tksr-linha-t"><b>Avisos de venda no celular</b><span id="ap-pwa-status" role="status">verificandoâ¦</span></div><button id="ap-pwa-conectar" type="button" class="tksr-btn tksr-btn-sm">Conectar</button></div></div></section><div id="ap-reportar-wrap" class="tksr-rodape"><span id="ap-reportar" class="tksr-reportar" title="Abre o formulário de suporte com os dados técnicos já preenchidos"><svg viewBox="0 0 24 24" width="13" height="13" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" style="display:block;flex:none"><circle cx="12" cy="12" r="10"/><circle cx="12" cy="12" r="4"/><line x1="4.93" y1="4.93" x2="9.17" y2="9.17"/><line x1="14.83" y1="14.83" x2="19.07" y2="19.07"/><line x1="14.83" y1="9.17" x2="19.07" y2="4.93"/><line x1="4.93" y1="19.07" x2="9.17" y2="14.83"/></svg><span>Reportar problema</span></span><span class="tksr-sep"></span><span id="ap-versao" class="tksr-versao"><span class="tksr-versao-janela"><span id="ap-footer-track"><span id="ap-versao-texto" class="tksr-versao-linha">TKS PRO · v6.3.2.13</span><span class="tksr-versao-linha"><a href="https://tkspro.com.br" target="_blank" rel="noopener noreferrer">tkspro.com.br</a></span></span></span></span></div></div></div>`,G=e=>`R$ `+(Number(e)||0).toLocaleString(`pt-BR`,{minimumFractionDigits:2,maximumFractionDigits:2}),be=e=>`R$ `+(Number(e)||0).toLocaleString(`pt-BR`,{minimumFractionDigits:0,maximumFractionDigits:2}),K=e=>String(e).padStart(2,`0`),xe=e=>{let t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600);t-=n*3600;let r=Math.floor(t/60);return K(n)+`:`+K(r)+`:`+K(t-r*60)},q=e=>String(e).replace(/[<>&"]/g,e=>({"<":`<`,">":`>`,"&":`&`,'"':`"`})[e]),Se=e=>e[Math.floor(Math.random()*e.length)],J=e=>Math.round(e*100)/100,Y=(e,t,n)=>e+` `+(e===1?t:n),Ce={"#35c98a":`ok`,"#83e6a5":`ok`,"#7ee7a1":`ok`,"#3dd68c":`ok`,"#f0b32c":`wait`,"#ffd479":`wait`,"#f6cc6e":`wait`,"#ff9a9a":`bad`,"#ff7a94":`bad`,"#ff9ab0":`bad`,"#fb1b48":`bad`,"#ff4d4f":`bad`,"#25f4ee":`info`,"#8ffbf7":`info`,"#7edfe0":`info`,"#7fe9e5":`info`},we=(e,t)=>Ce[String(e||``).trim().toLowerCase()]||t||`off`;function Te(e,t){e&&e.getAttribute(`data-tom`)!==(t||`off`)&&e.setAttribute(`data-tom`,t||`off`)}function Ee(e,t){if(!e)return;let n=t?`true`:`false`;e.getAttribute(`aria-checked`)!==n&&e.setAttribute(`aria-checked`,n),e.classList.toggle(`tksr-on`,!!t)}function De(e){let t=String(e||``).replace(/[^\p{L}\p{N}\s]/gu,` `).trim().split(/\s+/).filter(Boolean);return t.length?((t[0][0]||``)+(t.length>1?t[t.length-1][0]:t[0][1]||``)).toLocaleUpperCase(`pt-BR`):`?`}function Oe(e){let t=0;for(let n of String(e||``))t=t*31+n.codePointAt(0)>>>0;return String(t%6)}var X=[{numero:`1`,nome:`Regata Feminina Premium`,preco:`R$ 35,39`,valor:35.39},{numero:`2`,nome:`Cropped Canelado Básico`,preco:`R$ 29,90`,valor:29.9}
5,{numero:`3`,nome:`Short Alfaiataria Cintura Alta`,preco:`R$ 49,90`,valor:49.9},{numero:`4`,nome:`Kit 3 Meias Cano Alto`,preco:`R$ 19,90`,valor:19.9}],Z=e=>X.find(t=>t.numero===String(e))||X[0],ke=[`Ana Paula`,`Bia`,`Carla`,`Duda`,`Fernanda`,`Gabi`,`Helena`,`Isa`,`Júlia`,`Larissa Melo`,`Manu`,`Nat`,`Paula`,`Rafa`,`Sofia`,`Tati`,`Vivi`,`Jéssica`,`Priscila`,`Camila`],Ae=[{id:`c1`,rotulo:`R$ 5 OFF acima de R$ 49`},{id:`c2`,rotulo:`10% OFF na 2ª peça`}],je=72e3,Me=[100],Ne=[`ð Sejam bem-vindos! Tirem dúvidas sobre os produtos!`,`ðï¸ Toca no carrinho e garante o seu!`,`â Siga a loja para ver a próxima oferta!`],Pe=[[`preço, valor, quanto`,`A Regata Feminina sai por R$ 35,39. Toque no carrinho!`],[`tamanho, medida, veste`,`Temos do P ao GG. A tabela está na descrição.`],[`frete, entrega`,`O frete aparece no carrinho antes de pagar.`]],Fe=[`Muito obrigado pela compra, {usuario}! ð`,`Valeu demais, {usuario}! Seu pedido já está garantido.`],Ie={hero:{aba:`live`,ritmo:[4200,8400],primeira:2200,pin:[14,55],oferta:[30,70],carrinho:23},produto:{aba:`produto`,ritmo:[8e3,12e3],primeira:6e3,pin:[3,16],oferta:[9,16]},vendas:{aba:`live`,ritmo:[1100,1800],primeira:800,meta:1200,submetas:[50,75,100],carrinho:7,reinicia:!0},chat:{aba:`chat`,ritmo:[9e3,12e3],primeira:7e3,chat:!0},protecao:{aba:`ajustes`,ritmo:null,protecao:!0},celular:{aba:`produto`,ritmo:[5200,8200],primeira:1600}};function Le(e){let t=4128,n=[[3320,2,`Ana Paula`,1,`1`],[2890,0,``,1,`2`],[2410,2,`Carla`,1,`3`],[1930,1,`Fernanda`,2,`1`],[1510,2,`Júlia`,1,`1`],[1120,0,``,2,`4`],[790,2,`Helena`,2,`3`],[430,2,`Sofia`,1,`2`],[160,1,`Bia`,1,`1`],[46,2,`Manu`,2,`1`]].map(([e,n,r,i,a],o)=>({id:`m`+o,ts:t-e,cert:n,nome:r,qtd:i,num:a,valor:J(Z(a).valor*i)})),r={},i=0,a=0;return n.forEach(e=>{let t=r[e.num]||{qtd:0,total:0};r[e.num]={qtd:t.qtd+e.qtd,total:J(t.total+e.valor)},i=J(i+e.valor),a+=e.qtd}),{aba:e.aba,t:0,online:!0,encerradaAte:0,seg:t,viewers:284,gmv:i,pendentes:[],itens:a,entraram:187,meta:e.meta||1e3,submetas:e.submetas||Me,metasBatidas:(e.submetas||Me).filter(t=>100*i/(e.meta||1e3)>=t),duracaoMin:120,mural:n,carrinho:[{nome:`Larissa Melo`,numero:`1`,ts:4058},{nome:`Duda`,numero:`3`,ts:3868}],porProduto:r,aviso:null,autofixar:!0,fixado:`1`,status:`nº 1 no celular â`,statusAte:0,listaFix:!1,listaFase:`off`,listaAte:0,listaStatus:`desativado`,cupomAlvo:`c1`,oferta:!0,ofertaStatus:`Monitorando a oferta atual.`,ofertaTom:`ok`,termo:{numero:`1`,nome:`Regata Feminina Premium`,preco:35.39,segundos:192,vendo:48,cliques:18,carrinhos:4,vendas:2},termoHist:[{numero:`3`,nome:`Short Alfaiataria Cintura Alta`,av:{score:62,cor:`#7edfe0`}},{numero:`2`,nome:`Cropped Canelado Básico`,av:{semNota:!0,cor:`#ffd479`}}],coment:!!e.chat,comentInt:120,comentStatus:e.chat?`Enviado: "${Ne[2].slice(0,30)}" · 21:07:12`:``,respKw:!0,respKwMsg:null,respThank:!0,thankMsg:null,flags:e.chat?[`user_8812: comentário com palavra marcada`]:[],flagged:+!!e.chat,autoBloq:!1,timer:!0,timerRest:null,timerTentando:!1,timerMsg:null,violacao:!0,violacaoMsg:null,alertaChat:!1,som:!1,pwa:null}}function Re(e,t){let n=e.cliques>0?e.carrinhos/e.cliques:0,r=e.carrinhos>0?e.vendas/e.carrinhos:0,i=e.vendas*3600/Math.max(60,e.segundos),a=Math.round(Math.min(25,e.cliques*1.25)+Math.min(35,n*140)+Math.min(30,r*75)+Math.min(10,i*2));if(a=Math.max(0,Math.min(100,a)),t){let t=Math.min(100,Math.round(e.cliques*10));if(e.cliques<5){let n=e.cliques===1?`clique`:`cliques`,r=e.carrinhos===1?`carrinho`:`carrinhos`,i=e.carrinhos>0?`Amostra insuficiente: `+e.cliques+` `+n+`, mas houve interesse (`+e.carrinhos+` `+r+`) e nenhuma venda. Repita o teste e reforce oferta/cupom.`:`Amostra insuficiente: somente `+e.cliques+` `+n+` em 10 min. Repita o teste com mais tráfego antes de decidir.`;return{score:a,semNota:!0,confianca:t,texto:i,cor:`#ffd479`,fundo:`#3a2d10`}}return e.vendas>=2&&(e.carrinhos===0||r>=.15)?{score:Math.max(a,75),texto:`Validado â escale e dê mais tempo de tela`,cor:`#25f4ee`,fundo:`#10302f`}:e.vendas>=1?{score:Math.max(a,60),texto:`Venda confirmada â sinal positivo; repita para aumentar a confiança`,cor:`#7ee7a1`,fundo:`#173321`}:e.carrinhos>=3?{score:a,texto:`Interesse sem compra â revise preço, frete e cupom antes de repetir`,cor:`#ffd479`,fundo:`#3a2d10`}:e.carrinhos>0?{score:a,provisoria:e.cliques<10,texto:`Houve interesse, mas nenhuma venda â ajuste a oferta e repita o teste`,cor:`#ffd479`,fundo:`#3a2d10`}:e.cliques>=10?{score:Math.min(a,39),texto:`Muitos cliques, nenhum carrinho â revise preço e oferta`,cor:`#ff9ab0`,fundo:`#2b1520`}:{score:a,provisoria:!0,texto:`Baixa resposta â repita com mais tráfego ou teste outro produto`,cor:`#ff9ab0`,fundo:`#2b1520`}}return e.segundos<120||e.cliques<5?{score:Math.min(a,49),texto:`Coletando dados â mantenha o produto fixado`,cor:`#8C8C8C`,fundo:`#1b1b1b`}:e.vendas>=2&&(e.carrinhos===0||r>=.15)?{score:Math.max(a,75),texto:`Validado â escale e dê mais tempo de tela`,cor:`#25f4ee`,fundo:`#10302f`}:e.carrinhos>=3&&e.vendas===0?{score:a,texto:`Carrinho parado â use cupom, urgência ou prova social`,cor:`#ffd479`,fundo:`#3a2d10`}:e.cliques>=10&&e.carrinhos===0?{score:Math.min(a,39),texto:`Muitos cliques, nenhum carrinho â revise preço e oferta`,cor:`#ff9ab0`,fundo:`#2b1520`}:e.segundos>=600&&e.cliques<5?{score:Math.min(a,29),texto:`Baixa atração â teste outro produto ou abordagem`,cor:`#ff9ab0`,fundo:`#2b1520`}:{score:a,texto:`Promissor â continue o teste antes de decidir`,cor:`#7edfe0`,fundo:`#10292b`}}var ze=null;function Be(e,t,n){try{if(ze||=document.createElement(`canvas`).getContext(`2d`),ze.font=`500 13px Manrope, sans-serif`,ze.measureText(e+t+n).width<=226)return t;let r=t;for(;r.length>1&&ze.measureText(e+r+`â¦`+n).width>226;)r=r.slice(0,-1);return r.trimEnd()+`â¦`}catch{return t.length>34?t.slice(0,33)+`â¦`:t}}var Ve={"ap-auto-fix":`ap-ux-produto`,"ap-auto-oferta":`ap-ux-flash`,"ap-auto-resp":`ap-ux-respostas`,"ap-auto-enc":`ap-ux-meta`},He={"ap-ux-compras":`live`,"ap-ux-produto":`produto`,"ap-ux-flash":`produto`,"ap-ux-termometro":`produto`,"ap-ux-respostas":`chat`,"ap-ux-comentarios":`chat`,"ap-ux-alertas":`chat`,"ap-ux-meta":`ajustes`};function Ue(e,{prefixo:t=`d-`,cenario:n=`hero`,aoVenda:r,aoEvento:i,aoSom:a,aoTestarSom:o}={}){let s=Ie[n]||Ie.hero;e.innerHTML=ye.replace(/ id="(ap|sp)-/g,` id="${t}$1-`).replace(/ for="ap-/g,` for="${t}ap-`).replace(/ aria-labelledby="ap-/g,` aria-labelledby="${t}ap-`);let c=n=>e.querySelector(`#`+t+n),l=(e,t)=>
5{let n=c(e);n&&n.textContent!==String(t)&&(n.textContent=t)},u=(e,t)=>{let n=c(e);n&&n.innerHTML!==t&&(n.innerHTML=t)},d=(e,t)=>{let n=c(e);n&&(n.style.display=t?``:`none`)},f=(e,t)=>Te(c(e),t),p=(e,t)=>Ee(c(e),t),m=Le(s),h=``,g=``,_=[],v=!1,y=0,b=!0,x=!1,S=(e,t)=>{let n=setTimeout(()=>{_=_.filter(e=>e!==n),e()},t);return _.push(n),n},C=(e,t)=>{try{i&&i(e,t)}catch{}},w=e=>{let t=(je+e)%86400;return K(Math.floor(t/3600))+`:`+K(Math.floor(t%3600/60))},T=(e,t)=>{m.status=e,m.statusAte=m.t+Math.ceil(t/1e3)},ee=(e,t=`info`,n=9)=>{m.aviso={texto:e,tom:t,ate:m.t+n}};function E(){let e=c(`ap-produto`);e&&(e.innerHTML=[`<option value="">Automático (nº 1 da lista)</option>`].concat(X.map(e=>{let t=(e.numero===m.fixado?`â `:``)+`nº `+e.numero+` · `,n=` · `+e.preco;return`<option value="${e.numero}">${q(t+Be(t,e.nome,n)+n)}</option>`})).join(``),e.value=m.fixado);let t=c(`ap-cupom`);t&&(t.innerHTML=[`<option value="">Nenhum (não fixar cupom)</option>`].concat(Ae.map(e=>`<option value="${e.id}">${(e.id===m.cupomAlvo?`â `:``)+q(e.rotulo)}</option>`)).join(``),t.value=m.cupomAlvo);let n={"ap-meta":String(m.meta),"ap-duracao-projecao":String(m.duracaoMin),"ap-coment-int":String(m.comentInt)};Object.entries(n).forEach(([e,t])=>{let n=c(e);n&&(n.value=t)});let r={"ap-coment-msgs":Ne.join(` 6`),"ap-resp-regras":Pe.map(([e,t])=>e+` = `+t).join(` 7`),"ap-resp-thank-frases":Fe.join(` 8`)};Object.entries(r).forEach(([e,t])=>{let n=c(e);n&&(n.value=t)});let i=c(`ap-resp-nome`);i&&(i.checked=!0);let a=m.submetas.map(e=>String(e).replace(`.`,`,`)+`%`);l(`ap-pcts-txt`,a.length===1?a[0]+` da meta`:a.slice(0,-1).join(`, `)+` e `+a[a.length-1]+` da meta`)}function D(){if(!b)return;let n=Math.max(m.seg/3600,1/60),r=J(m.pendentes.reduce((e,t)=>e+t.v,0)),i=m.itens+m.pendentes.reduce((e,t)=>e+t.q,0),a=c(`ap-timer`);if(a){let[e,t,n]=m.online?[`AO VIVO `+xe(m.seg),`live`,`Transmissão ao vivo`]:m.t<m.encerradaAte?[`ENCERRADA`,`fim`,`A transmissão está desligada`]:[`OFFLINE`,`off`,`A transmissão está desligada`];a.textContent!==e&&(a.textContent=e),a.getAttribute(`data-estado`)!==t&&a.setAttribute(`data-estado`,t),a.title=n}let o=c(`ap-espectadores`);o&&(m.online?(o.getAttribute(`data-v`)!==String(m.viewers)&&(o.innerHTML=`<svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="display:block;flex:none"><path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z"/><circle cx="12" cy="12" r="3"/></svg><b>`+m.viewers.toLocaleString(`pt-BR`)+`</b><span>assistindo</span>`,o.setAttribute(`data-v`,String(m.viewers))),o.style.display=``):o.style.display=`none`),l(`ap-total`,G(m.gmv));let s=c(`ap-pend`);s&&(r>0?(s.style.display=``,l(`ap-pend`,`+ `+G(r)+` confirmando`)):s.style.display=`none`);let _=m.meta>0?Math.min(100,100*m.gmv/m.meta):0;m.meta>0?u(`ap-metapct`,`<b>`+_.toFixed(0)+`%</b> da meta de `+be(m.meta)):l(`ap-metapct`,`Defina a meta em Ajustes`);let v=c(`ap-bar`);v&&(v.style.width=_+`%`,v.classList.toggle(`tksr-fill-ok`,_>=100)),l(`ap-vendas`,i),l(`ap-vh`,(i/n).toFixed(1).replace(`.`,`,`)),l(`ap-itens`,m.itens),l(`ap-entraram`,m.entraram),l(`ap-ticket`,i?G(m.gmv/i):`â`);let y=i/n,x=i?m.gmv/i:0,S=Math.max(m.gmv,y*x*Math.max(n,m.duracaoMin/60));l(`ap-projecao`,i?G(S)+(S>m.gmv+.01?` â`:``):`â`);let C=c(`ap-aviso`);if(C){let e=m.aviso&&m.t<m.aviso.ate?m.aviso:null;e?(l(`ap-aviso`,e.texto),Te(C,e.tom),C.style.display=``):C.style.display=`none`}let T=m.mural.slice(-60).reverse(),ee=T.map(e=>e.id+(m.seg-e.ts<12?`*`:``)).join(`|`);ee!==h&&(h=ee,u(`ap-mural`,T.length?T.map(e=>{let t=e.cert>=2,n=e.cert===1,r=t?q(e.nome):n?q(e.nome)+` â correlação provável pelo avatar`:`não identificado â o TikTok não expôs o nome desta compra`,i=t?q(e.nome):n?`~ `+q(e.nome):`cliente não identificado`,a=q(Z(e.num).nome),o=e.qtd>1?`<span class="tksr-qtd">`+e.qtd+`Ã</span>`:``;return`<div class="tksr-venda`+(m.seg-e.ts<12?` tksr-venda-nova`:``)+`"><span class="tksr-av" data-cor="`+(t||n?Oe(e.nome):`x`)+`">`+(t||n?q(De(e.nome)):`?`)+`</span><span class="tksr-venda-mid"><span class="tksr-venda-n`+(t?``:n?` tksr-prov`:` tksr-anon`)+`" title="`+r+`">`+i+`</span><span class="tksr-venda-p" title="`+a+`">`+o+`nº `+q(e.num)+` · `+a+`</span></span><span class="tksr-venda-r"><b>`+G(e.valor)+`</b><span>`+w(e.ts)+`</span></span></div>`}).join(``):`<div class="tksr-vazio">As compras aparecem aqui, uma por linha.</div>`));let E=new Set(m.mural.filter(e=>e.cert>=1).map(e=>e.nome)).size+m.mural.filter(e=>e.cert===0).length;l(`ap-mural-cnt`,m.mural.length?Y(m.mural.length,`compra`,`compras`)+(E&&E!==m.mural.length?` · `+Y(E,`pessoa`,`pessoas`):``):`nenhuma compra ainda`);let D=c(`ap-burst`);if(D){let e=m.mural.filter(e=>m.seg-e.ts<90);if(e.length>=3){let t=Math.max(1,Math.round(e[e.length-1].ts-e[0].ts));u(`ap-burst`,`<svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.9" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" style="display:block;flex:none"><path d="M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.07-2.14-.22-4.05 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.15.43-2.29 1-3a2.5 2.5 0 0 0 2.5 2.5z"/></svg><span>`+e.length+` compras em `+t+(t===1?` segundo`:` segundos`)+`</span>`),D.style.display=``}else D.style.display=`none`}let O=m.carrinho.length;l(`ap-interessados-cont`,O?Y(O,`pessoa no carrinho`,`pessoas no carrinho`)+`, sem pagar ainda`:`Ninguém no carrinho ainda`),u(`ap-interessados-lista`,O?m.carrinho.slice(0,4).map(e=>{let t=Math.max(0,Math.floor((m.seg-e.ts)/60)),n=Z(e.numero);return`<div class="tksr-linha-lista"><span class="tksr-av" data-cor="`+Oe(e.nome)+`">`+q(De(e.nome))+`</span><div class="tksr-linha-mid"><b class="tksr-linha-n">`+q(e.nome)+`</b><span class="tksr-linha-d" title="`+q(n.nome)+`">nº `+n.numero+` · `+q(n.nome)+`</span></div><span class="tksr-linha-hora">`+(t<1?`agora`:t+` min`)+`</span></div>`}).join(``):`<div class="tksr-vazio">Aguardando adições ao carrinhoâ¦</div>`);let te=Ae.find(e=>e.id===m.cupomAlvo);d(`ap-cupom-wrap`,!!m.cupomAlvo);let ne=c(`ap-cupom-chip`);ne&&(l(`ap-cupom-chip`,m.cupomAlvo?te.rotulo+` · no ar â`:`â`),ne.style.color=te?`#F8D489`:`#8E8E98`),l(`ap-cupom-status`,m.cupomAlvo?`No ar â â se cair, o assistente refixa sozinho.`:Ae.length+` cupons disponÃveis`);let k=Object.keys(m.porProduto);if(d(`ap-porproduto-wrap`,k.length>
80),k.length){let e=k.map(e=>({n:e,...m.porProduto[e]})).sort((e,t)=>t.total-e.total||t.qtd-e.qtd),t=e.reduce((e,t)=>e+t.total,0);u(`ap-porproduto`,e.map(e=>{let n=e.n===m.fixado,r=t>0?Math.round(100*e.total/t):0,i=Z(e.n).nome;return`<div class="tksr-prod`+(n?` tksr-prod-fixo`:``)+`"><div class="tksr-prod-l"><span class="tksr-prod-n">nº `+e.n+` · `+q(i.length>44?i.slice(0,43)+`â¦`:i)+`</span><b>`+G(e.total)+`</b></div><div class="tksr-prod-sub"><span>`+Y(e.qtd,`item`,`itens`)+(n?` · fixado agora`:``)+`</span><span>`+r+`%</span></div><div class="tksr-mini-bar"><i style="width:`+r+`%"></i></div></div>`}).join(``));let n=e[0],r=m.porProduto[m.fixado],i=n&&n.n!==m.fixado&&n.qtd>=3&&n.total>(r?.total||0)*1.5;d(`ap-dica`,i),i&&u(`ap-dica`,`O <b>nº `+n.n+`</b> está vendendo mais que o fixado. Dá para trocar em Produtos ⺠AutoFixar.`)}let A=m.termo,j=A.segundos>=600,M=Re(A,j);l(`ap-termo-produto`,`nº `+A.numero+` · `+A.nome),l(`ap-termo-tempo`,j?`concluÃdo · 10:00`:`teste atual · `+Math.floor(A.segundos/60)+`:`+K(A.segundos%60)),f(`ap-termo-tempo`,j?`ok`:`off`),l(`ap-termo-vendo`,A.vendo),l(`ap-termo-cliques`,A.cliques),l(`ap-termo-carrinhos`,A.carrinhos),l(`ap-termo-vendas`,A.vendas);let re=A.cliques?Math.round(100*A.carrinhos/A.cliques):0,N=A.carrinhos?Math.round(100*A.vendas/A.carrinhos):0;l(`ap-termo-funil`,A.cliques+` cliques â `+A.carrinhos+` carrinhos (`+re+`%) â `+A.vendas+` vendas (`+N+`%) · `+G(A.preco*A.vendas/Math.max(1,A.segundos/60))+`/min`);let P=c(`ap-termo-bar`);P&&(P.style.width=(M.semNota?M.confianca:M.score)+`%`,Te(P,we(M.cor,`off`)),P.title=M.semNota?`Confiança da amostra: `+M.confianca+`%`:`Nota: `+M.score+`/100`);let ie=j?M.semNota?`ConcluÃdo · `:M.provisoria?`ConcluÃdo · Nota provisória `+M.score+`/100 · `:`ConcluÃdo · Nota `+M.score+`/100 · `:/^Coletando dados/.test(M.texto)?``:`Nota `+M.score+`/100 · `;l(`ap-termo-veredito`,ie+M.texto),f(`ap-termo-veredito`,we(M.cor,`off`));let F=c(`ap-termo-reset`);if(F){let e=j?`Testar novamente`:`Testar agora`;F.getAttribute(`aria-label`)!==e&&(F.setAttribute(`aria-label`,e),F.title=e+`: reinicia a medição do produto fixado`)}let ae=m.termoHist.map(e=>e.numero+(e.av.score||``)).join(`|`);ae!==g&&(g=ae,u(`ap-termo-historico`,m.termoHist.map(e=>`<div class="tksr-hist-l"><span class="tksr-hist-n">nº `+q(e.numero)+` · `+q(e.nome)+`</span><span class="tksr-hist-v" data-tom="`+we(e.av.cor,`off`)+`">`+(e.av.semNota?`amostra baixa`:e.av.score+`/100`)+`</span></div>`).join(``))),l(`ap-ux-termo-resumo`,Y(A.cliques,`clique`,`cliques`)+` · `+Y(A.carrinhos,`carrinho`,`carrinhos`)),p(`ap-toggle`,m.autofixar);let oe=c(`ap-dot`);oe&&(oe.style.background=m.autofixar?`#3DD68C`:`#FF6B7D`);let I=m.autofixar?m.status:`desativado`;l(`ap-status`,I),l(`ap-ux-produto-resumo`,m.autofixar?`Ligado · `+I:`Desligado · o produto pode sair do ar`),f(`ap-ux-produto-resumo`,m.autofixar?`ok`:`off`),p(`ap-list-pin-toggle`,m.listaFix),l(`ap-list-pin-summary`,m.listaFix?`Ligado`:`Desligado`),f(`ap-list-pin-summary`,m.listaFix?`ok`:`off`),l(`ap-list-pin-status`,m.listaFix?m.listaStatus:`desativado`),d(`ap-list-pin-status`,m.listaFix),p(`ap-flash-toggle`,m.oferta);let se=m.oferta?m.ofertaTom===`ok`?`ok`:m.ofertaTom===`aviso`?`wait`:m.ofertaTom===`erro`?`bad`:`off`:`off`;l(`ap-flash-status`,m.oferta?m.ofertaStatus:`Renovação automática desligada.`),f(`ap-flash-status`,se),l(`ap-flash-resumo`,m.oferta?m.ofertaTom===`aviso`?`Ligado · renovando a ofertaâ¦`:m.ofertaTom===`erro`?`Ligado · precisa de atenção`:`Ligado · renova quando terminar`:`Desligado`),f(`ap-flash-resumo`,m.oferta?se===`off`?`ok`:se:`off`),p(`ap-coment-btn`,m.coment);let L=m.coment?m.comentStatus:``;l(`ap-coment-status`,L),f(`ap-coment-status`,/^(Escreva|Não enviei)/.test(L)?`bad`:/^Aguardando/.test(L)?`wait`:m.coment?`ok`:`off`),l(`ap-coment-resumo`,m.coment?`Ligado · um a cada ${m.comentInt} s`:`Desligado`),f(`ap-coment-resumo`,m.coment?`ok`:`off`);let ce=c(`ap-resp-keyword`);p(`ap-resp-keyword`,m.respKw),ce?.setAttribute(`aria-pressed`,String(m.respKw)),l(`ap-resp-keyword-status`,m.respKw?m.respKwMsg||`Monitorando a cada 2 s. Responde por trechos de palavra; ignora o Host e comentários anteriores à ativação.`:`Desligado. Ao recarregar a página, começa desligado.`),f(`ap-resp-keyword-status`,m.respKw?`ok`:`off`),l(`ap-resp-resumo`,m.respKw?`Ligado · respondendo o chat`:`Desligado`),f(`ap-resp-resumo`,m.respKw?`ok`:`off`);let le=(c(`ap-resp-regras`)?.value||``).split(` 9`).filter(e=>/^(.+?)\s*(?:=>|â|=)\s*(.+)$/.test(e)&&!e.trim().startsWith(`#`)).length;l(`ap-resp-count`,Y(le,`regra`,`regras`)),f(`ap-resp-count`,le?`ok`:`off`);let R=c(`ap-resp-thank`);p(`ap-resp-thank`,m.respThank),R?.setAttribute(`aria-pressed`,String(m.respThank)),l(`ap-resp-thank-status`,m.respThank?m.thankMsg||`Ligado · aguardando novas compras com o nome identificado.`:`Desligado · não agradece compras no chat.`),f(`ap-resp-thank-status`,m.respThank?`ok`:`off`),l(`ap-resp-thank-resumo`,m.respThank?`Ligado · agradece cada compra`:`De
9sligado`),f(`ap-resp-thank-resumo`,m.respThank?`ok`:`off`),l(`ap-flag`,m.flagged),p(`ap-autobloq`,m.autoBloq),l(`ap-autobloq-txt`,m.autoBloq?`Ligado · bloqueia quem comentar uma palavra vigiada`:`Desligado · só avisa`),f(`ap-autobloq-txt`,m.autoBloq?`bad`:`off`),u(`ap-flaglist`,m.flags.map(e=>`<div>⢠`+q(e)+`</div>`).join(``));let z=m.duracaoMin*60,B=m.timerRest==null?Math.max(0,z-m.seg):m.timerRest,V=m.timerRest==null?z:m.seg+m.timerRest,H=m.timer&&m.online,U=B<=60?`bad`:`wait`;d(`ap-timer-idle`,!m.timer),d(`ap-timer-run`,m.timer),l(`ap-timer-preview`,xe(z)),e.querySelectorAll(`#${t}ap-timer-presets [data-min]`).forEach(e=>e.classList.toggle(`tksr-on`,Number(e.dataset.min)===m.duracaoMin)),l(`ap-timer-left`,xe(H?B:z)),f(`ap-timer-left`,H?U:`wait`);let ue=c(`ap-timer-bar`);ue&&(ue.style.width=Math.max(0,Math.min(100,B/z*100))+`%`,Te(ue,H?U:`wait`)),l(`ap-timer-badge`,m.timerTentando?`ENCERRANDO`:H?`ARMADO`:`AGUARDANDO A LIVE`),f(`ap-timer-badge`,m.timerTentando?`wait`:H?U:`wait`),p(`ap-auto-encerrar`,m.timer);let[de,fe]=m.timerMsg||(m.timer?H?[`Encerra automaticamente em `+xe(B)+`.`,B<=300?`#ffd479`:`#8ffbf7`]:[`Aguardando a LIVE começar.`,`#8C8C8C`]:[`A LIVE não será encerrada pelo TKS.`,``]);l(`ap-auto-encerrar-status`,de),f(`ap-auto-encerrar-status`,we(fe,m.timer?`wait`:`off`));let pe=`Desligado`,W=`off`;m.timer&&(m.timerTentando?(pe=`Encerrando a LIVEâ¦`,W=`wait`):m.online?(pe=`Armado · encerra à s `+w(V),W=B<=60?`bad`:`wait`):(pe=`Armado · aguardando a LIVE começar`,W=`wait`)),l(`ap-ux-meta-resumo`,pe),f(`ap-ux-meta-resumo`,W);let me=c(`ap-ux-meta-resumo`);me&&(me.title=`Meta: R$ `+m.meta.toLocaleString(`pt-BR`)+` · duração planejada: `+m.duracaoMin+` min`);let he=c(`ap-aba-ponto`);he&&(he.style.display=m.timer?`inline-block`:`none`,he.style.background=W===`bad`?`#FF6B7D`:`#F5B83D`),p(`ap-encerrar-violacao`,m.violacao);let[ge,_e]=m.violacaoMsg||[m.violacao?`Ligado · vigiando alertas de restrição do TikTok`:`Desligado`,``];l(`ap-encerrar-violacao-status`,ge),f(`ap-encerrar-violacao-status`,we(_e,m.violacao?`ok`:`off`)),p(`ap-som`,m.som),l(`ap-som-txt`,m.som?`Ligado · toca a cada compra`:`Desligado`),f(`ap-som-txt`,m.som?`ok`:`off`),p(`ap-alerta-chat`,m.alertaChat),l(`ap-alerta-chat-status`,m.alertaChat?`Ligado · no máximo 1 som a cada 2,5 s`:`Desligado`),f(`ap-alerta-chat-status`,m.alertaChat?`ok`:`off`),l(`ap-pwa-status`,m.pwa?`Ãltimo envio (`+m.pwa+`): aceito pelo serviço de notificações`:`Aguardando a primeira venda`),f(`ap-pwa-status`,m.pwa?`ok`:`off`),[[`ap-auto-fix`,m.autofixar?`ok`:`off`,`AutoFixar`,m.autofixar?`AutoFixar ligado`:`AutoFixar desligado`],[`ap-auto-oferta`,m.oferta?m.ofertaTom===`erro`?`bad`:m.ofertaTom===`aviso`?`wait`:`ok`:`off`,`Oferta`,m.oferta?`Oferta relâmpago automática ligada`:`Oferta relâmpago automática desligada`],[`ap-auto-resp`,m.respKw?`ok`:`off`,`Respostas`,m.respKw?`Respostas automáticas ligadas`:`Respostas automáticas desligadas`],[`ap-auto-enc`,m.timer?`wait`:`off`,m.timer&&m.timerTentando?`Encerrandoâ¦`:m.timer&&m.online?`Encerra `+w(V):`Encerramento`,m.timer?`Encerramento automático armado`:`Encerramento automático desligado`]].forEach(([e,t,n,r])=>{l(e,n),f(e,t);let i=c(e);i&&(i.title=r)}),e.querySelectorAll(`.tksr-aba`).forEach(e=>e.classList.toggle(`tksr-on`,e.dataset.aba===m.aba)),e.querySelectorAll(`.tksr-pane`).forEach(e=>e.classList.toggle(`tksr-on`,e.dataset.aba===m.aba))}function O(t){let n=t.target;if(!n||!n.classList||!n.classList.contains(`tksr-panes`))return;let r=n.scrollTop,i=x?r>8:r>120;i!==x&&(x=i,e.classList.toggle(`tksr-compacto`,i))}function te(e){let t=c(e);if(!t)return;m.aba=He[e]||`live`,D();let n=c(`ap-ux-secoes`);
9if(n)try{let e=n.getBoundingClientRect().height/(n.offsetHeight||1)||1,r=(t.getBoundingClientRect().top-n.getBoundingClientRect().top)/e;n.scrollTop=Math.max(0,n.scrollTop+r-8)}catch{}}function ne(e){let t=(je+e)%86400,n=new Date;return K(n.getDate())+`/`+K(n.getMonth()+1)+`/`+n.getFullYear()+`, `+K(Math.floor(t/3600))+`:`+K(Math.floor(t%3600/60))}function k(e){if(!m.online)return null;let t=Math.random()<.6?X[0]:Se(X.slice(1)),n=Math.random()<.86?1:2,i=Math.random(),a=i<.72?2:+(i<.84),o=a?Se(ke):``,c=J(t.valor*n);y+=1;let l={id:`v`+y,ts:m.seg,cert:a,nome:o,qtd:n,num:t.numero,valor:c};m.mural=[...m.mural,l].slice(-60),m.gmv=J(m.gmv+c),m.pendentes=[...m.pendentes,{v:c,q:n,ate:m.seg+5}];let u=m.porProduto[t.numero]||{qtd:0,total:0};m.porProduto={...m.porProduto,[t.numero]:{qtd:u.qtd+n,total:J(u.total+c)}},t.numero===m.termo.numero&&(m.termo={...m.termo,vendas:m.termo.vendas+1,carrinhos:Math.max(m.termo.carrinhos,m.termo.vendas+1)}),m.pwa=ne(m.seg);let d=m.itens+m.pendentes.reduce((e,t)=>e+t.q,0),f={...l,produto:t.nome,gmv:m.gmv,vendas:d,identificado:a>=2,forcada:!!e,push:{titulo:`ð° Nova venda na live!`,corpo:`ð ${a>=2?o:`Cliente`} comprou ${n}à ${t.nome} â R$ ${c.toFixed(2).replace(`.`,`,`)}\nâ¡ GMV da live: R$ ${m.gmv.toFixed(2).replace(`.`,`,`)} · ${d} vendas`}};if(m.respThank&&a>=1){let e=Fe[y%Fe.length].replace(/\{usuario\}/gi,o);S(()=>{m.thankMsg=`Agradeci ${o} no chat.`,D(),C(`agradecimento`,{nome:o,texto:e})},2600)}D();try{r&&r(f)}catch{}C(`venda`,f);let p=100*m.gmv/m.meta;return m.submetas.forEach(e=>{p>=e&&!m.metasBatidas.includes(e)&&(m.metasBatidas=[...m.metasBatidas,e],ee(`Chegou a `+e+`% da meta!`,`ok`),C(`meta`,{pct:e,gmv:m.gmv}),e>=100&&s.reinicia&&S(A,5200))}),D(),f}function A(){m={...Le(s),som:m.som,aba:m.aba},h=``,g=``,E(),D(),C(`reinicio`)}function j(){!m.autofixar||!m.online||(m.status=`reciclando bannerâ¦`,m.statusAte=m.t+6,D(),C(`pin`,{estado:`caiu`}),S(()=>C(`pin`,{estado:`refixando`}),1500),S(()=>{m.status=`nº `+m.fixado+` renovado no celular â`,m.statusAte=m.t+5,D(),C(`pin`,{estado:`refixado`})},4e3),S(()=>C(`pin`,{estado:`on`}),8e3))}function M(){!m.oferta||!m.online||([[`Oferta encerrada â preparando a renovaçãoâ¦`,`aviso`,`fim`],[`Duplicada â aguardando confirmaçãoâ¦`,`aviso`,`renovando`],[`Confirmando a nova ofertaâ¦`,`aviso`,`renovando`],[`Oferta relâmpago renovada com sucesso.`,`ok`,`nova`]].forEach(([e,t,n],r)=>S(()=>{m.ofertaStatus=e,m.ofertaTom=t,D(),C(`oferta`,{fase:n})},r*1400)),S(()=>{m.ofertaStatus=`Monitorando a oferta atual.`,m.ofertaTom=`ok`,D(),C(`oferta`,{fase:`on`})},8200))}function re(){m={...Le(s),som:m.som,timerRest:312},h=``,E(),D(),C(`protecao`,{fase:`contando`});let e=setInterval(()=>{m.timerRest!=null&&m.online&&(m.timerRest=Math.max(0,m.timerRest-1),D())},110);_.push({intervalo:e}),S(()=>{c(`ap-timer-extend`)?.classList.add(`tl-press`),C(`protecao`,{fase:`estender`})},2800),S(()=>{c(`ap-timer-extend`)?.classList.remove(`tl-press`),m.duracaoMin+=30,m.timerRest+=1800,E(),D()},3200),S(()=>{m.violacaoMsg=[`â Restrição detectada â encerrando a LIVE⦠(aviso de restrição na LIVE)`,`#ff9a9a`],D(),C(`protecao`,{fase:`restricao`})},6400),S(()=>{m.online=!1,m.encerradaAte=m.t+2,m.violacaoMsg=[`LIVE encerrada pela proteção de restrição.`,`#83e6a5`],D(),C(`protecao`,{fase:`encerrada`})},8600),S(()=>{m.timer=!1,m.timerRest=null,m.timerMsg=[`LIVE encerrada. Timer desarmado.`,`#83e6a5`],D()},9600),S(()=>{clearInterval(e),re()},14500)}function N(){let e=[{autor:`juliana.s`,texto:`qual o preço dessa regata?`,regra:0},{autor:`lu.mendes`,texto:`tem tamanho G?`,regra:1},{autor:`carol_rs`,texto:`quanto é o frete pra SP?`,regra:2}],t=0,n=2,r=()=>{let n=e[t%e.length];t+=1,C(`chat`,{tipo:`pergunta`,autor:n.autor,texto:n.texto}),S(()=>{let e=`@`+n.autor+` `+Pe[n.regra][1];m.respKwMsg=`Resposta enviada pelo campo do chat.`,D(),C(`chat`,{tipo:`resposta`,texto:e,palavra:Pe[n.regra][0].split(`,`)[0].trim()})},2100),t%3==0&&S(()=>{m.flagged+=1,m.flags=[`user_`+(8812+m.flagged)+`: comentário com palavra marcada`,...m.flags].slice(0,3),D(),C(`chat`,{tipo:`alerta`,autor:`user_`+(8812+m.flagged)})},4300),S(r,6200)},i=()=>{n=(n+1)%Ne.length;let e=Ne[n];m.comentStatus=`Enviado: "${e.slice(0,30)}" · ${w(m.seg)}:${K(m.seg%60)}`,D(),C(`chat`,{tipo:`comentario`,texto:e}),S(i,11e3)};S(r,1200),S(i,8800)}function P(){if(v||!b)return;v=!0;let e=setInterval(()=>{if(m.t+=1,m.online){if(m.seg+=1,m.t%3==0&&(m.viewers=Math.max(180,Math.min(420,m.viewers+Math.round((Math.random()-.42)*9)))),Math.random()<.3&&(m.entraram+=1),m.pendentes.length){let e=m.pendentes.filter(e=>m.seg>=e.ate);e.length&&(m.itens+=e.reduce((e,t)=>
9e+t.q,0),m.pendentes=m.pendentes.filter(e=>m.seg<e.ate))}m.t%6==0&&m.termo.segundos<600&&(m.termo={...m.termo,segundos:Math.min(600,m.termo.segundos+6),cliques:m.termo.cliques+ +(Math.random()<.7),vendo:Math.max(20,m.termo.vendo+Math.round((Math.random()-.45)*6))}),m.t%17==0&&Math.random()<.6&&m.termo.segundos<600&&(m.termo={...m.termo,carrinhos:m.termo.carrinhos+1}),s.carrinho&&m.t%s.carrinho===0&&(m.carrinho=[{nome:Se(ke),numero:Se(X).numero,ts:m.seg},...m.carrinho].slice(0,4));let[e,t]=s.pin||[0,0];t&&m.t>=e&&(m.t-e)%t===0&&j();let[n,r]=s.oferta||[0,0];r&&m.t>=n&&(m.t-n)%r===0&&M(),m.autofixar&&m.t>=m.statusAte&&(m.status=`nº `+m.fixado+` no celular â`),m.listaFix&&m.t>=m.listaAte&&(m.listaFase===`procurando`?(m.listaFase=`enviada`,m.listaAte=m.t+2,m.listaStatus=`solicitação enviada â confirmando fixaçãoâ¦`):m.listaFase===`enviada`&&(m.listaFase=`fixada`,m.listaStatus=`lista fixada â`))}D(),C(`tick`,{seg:m.seg,viewers:m.viewers,online:m.online,gmv:m.gmv,vendas:m.itens+m.pendentes.reduce((e,t)=>e+t.q,0)})},1e3);if(_.push({intervalo:e}),s.ritmo){let e=t=>S(()=>{k(!1),e(s.ritmo[0]+Math.random()*(s.ritmo[1]-s.ritmo[0]))},t);e(s.primeira)}s.protecao&&re(),s.chat&&N()}function ie(){v=!1,_.forEach(e=>e&&e.intervalo?clearInterval(e.intervalo):clearTimeout(e)),_=[],c(`ap-timer-extend`)?.classList.remove(`tl-press`)}let F={"ap-toggle":()=>{m.autofixar=!m.autofixar},"ap-list-pin-toggle":()=>{m.listaFix=!m.listaFix,m.listaFase=m.listaFix?`procurando`:`off`,m.listaAte=m.t+1,m.listaStatus=m.listaFix?`procurando a listaâ¦`:`desativado`},"ap-flash-toggle":()=>{m.oferta=!m.oferta,m.ofertaStatus=`Monitorando a oferta atual.`,m.ofertaTom=`ok`},"ap-som":()=>{m.som=!m.som,a&&a(m.som)},"ap-teste":()=>{o&&o()},"ap-coment-btn":()=>{m.coment=!m.coment,m.coment&&!m.comentStatus&&(m.comentStatus=`Enviado: "${Ne[0].slice(0,30)}" · ${w(m.seg)}:${K(m.seg%60)}`)},"ap-resp-keyword":()=>{m.respKw=!m.respKw,m.respKwMsg=null},"ap-resp-thank":()=>{m.respThank=!m.respThank,m.thankMsg=null},"ap-encerrar-violacao":()=>{m.violacao=!m.violacao,m.violacaoMsg=null},"ap-alerta-chat":()=>{m.alertaChat=!m.alertaChat},"ap-autobloq":()=>{m.autoBloq=!m.autoBloq},"ap-timer-extend":()=>{m.duracaoMin=Math.min(720,m.duracaoMin+30),E()},"ap-timer-cancel":()=>{m.timer=!1,m.timerMsg=null},"ap-auto-encerrar":()=>{m.timer=!m.timer,m.timerMsg=null},"ap-termo-reset":()=>{m.termo={...m.termo,segundos:1,cliques:0,carrinhos:0,vendas:0}}};function ae(n){let r=n.target.closest(`button,[role="switch"],.tksr-aba,[data-min]`);if(!r||!e.contains(r))return;if(r.classList.contains(`tksr-aba`)){m.aba=r.dataset.aba,D(),C(`aba`,{aba:m.aba});return}if(r.dataset&&r.dataset.min){m.duracaoMin=Number(r.dataset.min),E(),D();return}let i=(r.id||``).slice(t.length);if(Ve[i]){n.preventDefault(),te(Ve[i]),C(`aba`,{aba:m.aba});return}F[i]&&(n.preventDefault(),F[i](),D())}function oe(e){let n=(e.target.id||``).slice(t.length);if(n===`ap-produto`){let t=e.target.value||`1`;m.fixado=t,T(`trocando p/ nº `+t+`â¦`,1500),D(),E(),m.termo={numero:t,nome:Z(t).nome,preco:Z(t).valor,segundos:1,vendo:m.termo.vendo,cliques:0,carrinhos:0,vendas:0},C(`produto`,{numero:t})}n===`ap-cupom`&&(m.cupomAlvo=e.target.value,E(),D()),n===`ap-meta`&&(m.meta=Math.max(0,parseFloat(e.target.value)||0),D()),n===`ap-duracao-projecao`&&(m.duracaoMin=Math.min(720,Math.max(1,parseInt(e.target.value,10)||240)),E(),D()),n===`ap-coment-int`&&(m.comentInt=Math.min(3600,Math.max(10,parseInt(e.target.value,10)||120)),E(),D())}let I=e=>{(e.target.id||``).endsWith(`ap-resp-regras`)&&D()};e.addEventListener(`click`,ae),e.addEventListener(`change`,oe),e.addEventListener(`input`,I),e.addEventListener(`scroll`,O,!0),E(),D();try{document.fonts&&document.fonts.ready.then(()=>{b&&(E(),D())})}catch{}return{rodar(e){e?P():ie()},venda:()=>k(!0),setSom(e){m.som!==e&&(m.som=e,D())},setAba(e){m.aba=e,D()},fixar(e){let t=Z(e);m.fixado=t.numero,m.termo={numero:t.numero,nome:t.nome,preco:t.valor,segundos:1,vendo:m.termo.vendo,cliques:0,carrinhos:0,vendas:0},T(`comando do celular: fixando nº `+e+`â¦`,2e3),E(),D(),S(()=>{T(`nº `+e+` no ar â`,2e3),D(),C(`produto`,{numero:String(e),confirmado:!0})},1800)},estado:()=>({seg:m.seg,viewers:m.viewers,gmv:m.gmv,vendas:m.itens+m.pendentes.reduce((e,t)=>
9e+t.q,0),fixado:m.fixado,online:m.online}),destruir(){b=!1,ie(),e.removeEventListener(`click`,ae),e.removeEventListener(`change`,oe),e.removeEventListener(`input`,I),e.removeEventListener(`scroll`,O,!0)}}}var Q=r(),We=` 10:host{display:block;position:relative;color-scheme:dark;-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto;text-rendering:auto;letter-spacing:normal} 11.sp-doc{position:absolute;inset:0;overflow:hidden;background:#0B0B0D} 12.tl-press{position:relative;border-color:#25F4EE!important;color:#EAEAEA!important;background:rgba(37,244,238,.12)!important;transform:scale(.96);transition:transform .15s} 13.tl-press::after{content:'';position:absolute;left:50%;top:50%;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:2px solid rgba(37,244,238,.85);animation:tl-toque .6s ease-out both;pointer-events:none} 14@keyframes tl-toque{from{transform:scale(.3);opacity:1}to{transform:scale(1.6);opacity:0}} 15@media (prefers-reduced-motion:reduce){*{transition-duration:.001ms!important;animation-duration:.001ms!important}} 16`;function Ge({size:e=16}){let t=(0,k.useId)().replace(/:/g,``);return(0,Q.jsxs)(`svg`,{viewBox:`0 0 128 128`,width:e,height:e,"aria-hidden":`true`,className:`tl-ext-icon`,children:[(0,Q.jsx)(`defs`,{children:(0,Q.jsxs)(`linearGradient`,{id:`g${t}`,x1:`0`,y1:`0`,x2:`1`,y2:`1`,children:[(0,Q.jsx)(`stop`,{offset:`0%`,stopColor:`#f1204a`}),(0,Q.jsx)(`stop`,{offset:`100%`,stopColor:`#a3102f`})]})}),(0,Q.jsx)(`rect`,{width:`128`,height:`128`,rx:`30`,ry:`30`,fill:`url(#g${t})`}),(0,Q.jsxs)(`g`,{transform:`translate(64,64) scale(3.4) translate(-12,-12)`,fill:`none`,stroke:`#fff`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,Q.jsx)(`path`,{d:`M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91 0z`}),(0,Q.jsx)(`path`,{d:`m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z`}),(0,Q.jsx)(`path`,{d:`M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0`}),(0,Q.jsx)(`path`,{d:`M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5`})]})]})}var Ke=400;function qe(e,t){let n=t.getBoundingClientRect().height/(t.offsetHeight||1)||1;return(e.getBoundingClientRect().top-t.getBoundingClientRect().top)/n+t.scrollTop}var $=(0,k.forwardRef)(function({cenario:e=`hero`,prefixo:t=`d-`,rodar:n=!1,som:r,interativo:i=!0,className:o=``,rotulo:s,onVenda:c,onEvento:l,onSom:u,onTestarSom:d},f){let m=(0,k.useRef)(null),h=(0,k.useRef)(null),g=(0,k.useRef)(null),_=(0,k.useRef)(null),v=(0,k.useRef)(0),y=(0,k.useRef)({});return y.current={onVenda:c,onEvento:l,onSom:u,onTestarSom:d},(0,k.useEffect)(()=>{let n=m.current;if(!n)return;let r=n.shadowRoot||n.attachShadow({mode:`open`});r.innerHTML=`<style>${ve}\n${We}</style><div class="sp-doc"><div class="tksr-scope"></div></div>`,_.current=r.querySelector(`.sp-doc`);let i=Ue(r.querySelector(`.tksr-scope`),{prefixo:t,cenario:e,aoVenda:e=>y.current.onVenda?.(e),aoEvento:(e,t)=>y.current.onEvento?.(e,t),aoSom:e=>y.current.onSom?.(e),aoTestarSom:()=>y.current.onTestarSom?.()});return g.current=i,()=>{clearTimeout(v.current),i.destruir(),g.current=null,_.current=null,r.innerHTML=``}},[e,t]),(0,k.useEffect)(()=>{g.current?.rodar(!!n)},[n,e,t]),(0,k.useEffect)(()=>{r!=null&&g.current?.setSom(!!r)},[r]),(0,k.useEffect)(()=>{let e=m.current;e&&(i?e.removeAttribute(`inert`):e.setAttribute(`inert`,``))},[i]),(0,k.useImperativeHandle)(f,()=>({venda:()=>g.current?.venda(),fixar:e=>g.current?.fixar(e),setAba:e=>g.current?.setAba(e),estado:()=>g.current?.estado(),rolar(e,{suave:n=!0,folga:r=12,alinhar:i=`inicio`}={}){let a=_.current?.querySelector(`#`+t+`ap-ux-secoes`);
16if(!a)return;let o=()=>{if(!e)return 0;let n=a.querySelector(`#`+t+e);if(!n)return null;let o=qe(n,a);return i===`fim`?o+n.offsetHeight-a.clientHeight+r:o-r},s=e=>{let t=o();if(t!=null&&(t=Math.max(0,Math.min(t,a.scrollHeight-a.clientHeight)),!(Math.abs(t-a.scrollTop)<2)))try{a.scrollTo({top:t,behavior:e?`smooth`:`auto`})}catch{a.scrollTop=t}};s(n),clearTimeout(v.current),i===`fim`&&(v.current=setTimeout(()=>s(n),n?700:60))}}),[t]),(0,k.useLayoutEffect)(()=>{let e=h.current;if(!e)return;let t=()=>{let t=Math.min(1,Math.max(.5,e.clientWidth/Ke));e.parentElement.style.setProperty(`--k`,t.toFixed(4))};if(t(),typeof ResizeObserver>`u`)return;let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,Q.jsxs)(`div`,{className:`tl-sp ${o}`,children:[(0,Q.jsxs)(`div`,{className:`tl-sp__bar`,"aria-hidden":`true`,children:[(0,Q.jsxs)(`span`,{className:`tl-sp__name`,children:[(0,Q.jsx)(Ge,{size:16}),(0,Q.jsx)(`span`,{children:`TKS PRO â Assistente de LIVE`}),(0,Q.jsx)(a,{size:14})]}),(0,Q.jsxs)(`span`,{className:`tl-sp__acts`,children:[(0,Q.jsx)(p,{size:15}),(0,Q.jsx)(x,{size:17})]})]}),(0,Q.jsx)(`div`,{className:`tl-sp__vp`,ref:h,children:(0,Q.jsx)(`div`,{className:`tl-sp__doc`,ref:m,role:i?`region`:void 0,"aria-label":i?s||`Painel do TKS PRO, demonstração com dados fictÃcios`:void 0,"aria-hidden":i?void 0:`true`})})]})}),Je=``+new URL(`tks-app-icon-rjBkUaBL.png`,import.meta.url).href,Ye={id:`exemplo`,titulo:`ð° Nova venda na live!`,corpo:`ð Manu comprou 2à Regata Feminina Premium â R$ 70,78 17â¡ GMV da live: R$ 497,03 · 14 vendas`};function Xe({push:e,ocultarApos:t=0,className:n=``}){let[r,i]=(0,k.useState)(!!e);if((0,k.useEffect)(()=>{if(!e){i(!1);return}if(i(!0),!t)return;let n=setTimeout(()=>i(!1),t);return()=>clearTimeout(n)},[e,t]),!e)return null;let[a,o]=String(e.corpo||``).split(` 18`);return(0,Q.jsxs)(`div`,{className:`tl-push${r?` is-on`:``} ${n}`,"aria-hidden":`true`,children:[(0,Q.jsx)(`img`,{className:`tl-push__icon`,src:Je,alt:``,width:`38`,height:`38`}),(0,Q.jsxs)(`div`,{className:`tl-push__txt`,children:[(0,Q.jsxs)(`div`,{className:`tl-push__top`,children:[(0,Q.jsx)(`b`,{children:`TKS PRO`}),(0,Q.jsx)(`small`,{children:`agora`})]}),(0,Q.jsx)(`b`,{className:`tl-push__title`,children:e.titulo}),(0,Q.jsxs)(`p`,{className:`tl-push__body`,children:[(0,Q.jsx)(`span`,{children:a}),o&&(0,Q.jsx)(`span`,{children:o})]})]})]},e.id)}function Ze(e){let t=(0,k.useRef)(null);return(0,k.useCallback)(()=>{try{t.current||(t.current=new Audio(e),t.current.volume=.55);let n=t.current;n.currentTime=0;let r=n.play();r&&r.catch&&r.catch(()=>{})}catch{}},[e])}function Qe({reduced:e,som:t,setSom:n,soundUrl:r,ativa:i,preco:a,onPrimary:s}){let[c,l]=W({threshold:.15}),u=me(),d=(0,k.useRef)(null),[f,p]=(0,k.useState)(Ye),m=Ze(r),h=(0,k.useRef)(t);h.current=t;let g=(0,k.useCallback)(e=>{p({id:e.id,...e.push}),h.current&&m()},[m]),_=(0,k.useCallback)(e=>{n(e),e&&m()},[n,m]),v=()=>{d.current?.setAba(`live`),d.current?.rolar(null,{suave:!1}),d.current?.venda()};return(0,Q.jsxs)(`section`,{className:`tl-hero`,"aria-labelledby":`tl-hero-title`,children:[(0,Q.jsx)(`div`,{className:`tl-hero__glow`,"aria-hidden":`true`}),(0,Q.jsxs)(`div`,{className:`tl-wrap tl-hero__grid`,children:[(0,Q.jsxs)(`div`,{className:`tl-hero__copy`,children:[(0,Q.jsxs)(`p`,{className:`tl-pill`,"data-reveal":!0,style:{"--d":`0ms`},children:[(0,Q.jsx)(`span`,{className:`tl-dot`,"aria-hidden":`true`}),I.pill]}),(0,Q.jsxs)(`h1`,{id:`tl-hero-title`,className:`tl-h1 tl-hero__title`,children:[(0,Q.jsx)(`span`,{className:`tl-hero__l1`,"data-reveal":!0,style:{"--d":`80ms`},children:I.titulo1}),(0,Q.jsx)(`span`,{className:`tl-hero__l2`,"data-reveal":!0,style:{"--d":`220ms`},children:I.titulo2})]}),(0,Q.jsx)(`p`,{className:`tl-lead tl-hero__sub`,"data-reveal":!0,style:{"--d":`340ms`},children:I.sub}),(0,Q.jsxs)(`div`,{className:`tl-hero__ctas`,"data-reveal":!0,style:{"--d":`440ms`},children:[(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--primary tl-btn--lg`,onClick:s,children:[i?`Instalar no Chrome`:`Assinar por ${a}`,(0,Q.jsx)(o,{size:18,"aria-hidden":`true`})]}),(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--ghost tl-btn--lg`,onClick:()=>{document.getElementById(`demo-atual`)?.scrollIntoView({behavior:e?`auto`:`smooth`,block:`center`}),setTimeout(v,e?0:650)},children:[(0,Q.jsx)(D,{size:16,"aria-hidden":`true`}),I.secundario]})]}),(0,Q.jsxs)(`ul`,{className:`tl-trust`,"data-reveal":!0,style:{"--d":`540ms`},children:[(0,Q.jsx)(`li`,{children:(0,Q.jsxs)(`a`,{href:N,target:`_blank`,rel:`noopener noreferrer`,children:[(0,Q.jsx)(`span`,{className:`tl-stars`,"aria-hidden":`true`,children:[0,1,2,3,4].map(e=>(0,Q.jsx)(te,{size:13},e))}),(0,Q.jsx)(`b`,{children:P.nota}),` na Chrome Web Store`]})}),(0,Q.jsxs)(`li`,{children:[(0,Q.jsx)(b,{size:15,"aria-hidden":`true`}),(0,Q.jsx)(`b`,{children:P.usuarios}),` usuários`]}),(0,Q.jsxs)(`li`,{children:[(0,Q.jsx)(y,{size:15,"aria-hidden":`true`}),(0,Q.jsx)(`b`,{children:`7 dias`}),` de garantia`]})]})]}),(0,Q.jsxs)(`div`,{className:`tl-stage`,id:`demo-atual`,ref:c,"data-reveal":!0,style:{"--d":`200ms`},children:[(0,Q.jsx)(Xe,{push:f,className:`tl-stage__push`}),(0,Q.jsx)($,{ref:d,className:`tl-stage__sp`,cenario:`hero`,prefixo:`h-`,rodar:l&&u&&!e,s
18om:t,onVenda:g,onSom:_,onTestarSom:m,rotulo:`Painel do TKS PRO funcionando com dados fictÃcios. Você pode trocar as abas e mexer nos controles.`})]})]})]})}function $e({rodar:e,reduced:t}){let n=(0,k.useRef)(null),r=(0,k.useCallback)((e,t)=>{e===`pin`&&t.estado===`caiu`&&n.current?.rolar(`ap-ux-produto`),e===`oferta`&&t.fase===`fim`&&n.current?.rolar(`ap-ux-flash`,{alinhar:`fim`}),e===`oferta`&&t.fase===`on`&&n.current?.rolar(null)},[]);return(0,k.useEffect)(()=>{t&&n.current?.rolar(`ap-ux-produto`,{suave:!1})},[t]),(0,Q.jsx)($,{ref:n,className:`tl-cena__sp`,cenario:`produto`,prefixo:`cp-`,rodar:e&&!t,interativo:!1,onEvento:r})}function et({pct:e,saindo:t}){return(0,Q.jsxs)(`div`,{className:`tl-festa${t?` is-out`:``}`,"aria-hidden":`true`,children:[(0,Q.jsxs)(`div`,{className:`tl-festa__h`,children:[(0,Q.jsxs)(`svg`,{viewBox:`0 0 24 24`,width:`16`,height:`16`,fill:`none`,stroke:`#35C98A`,strokeWidth:`2.2`,strokeLinecap:`round`,strokeLinejoin:`round`,children:[(0,Q.jsx)(`circle`,{cx:`12`,cy:`12`,r:`10`}),(0,Q.jsx)(`path`,{d:`m9 12 2 2 4-4`})]}),(0,Q.jsx)(`span`,{children:e>=100?`Meta de GMV batida`:`Sub-meta alcançada`})]}),(0,Q.jsx)(`div`,{className:`tl-festa__t`,children:e>=100?`Meta batida!`:e+`% da meta`})]})}function tt({rodar:e,reduced:t}){let[n,r]=(0,k.useState)(null),i=(0,k.useCallback)((e,t)=>{e===`meta`?r({pct:t.pct,id:Date.now()}):e===`reinicio`&&r(null)},[]);return(0,k.useEffect)(()=>{if(!n||t||n.saindo)return;let e=setTimeout(()=>r(e=>e&&e.id===n.id?{...e,saindo:!0}:e),4e3);return()=>clearTimeout(e)},[n,t]),(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)($,{className:`tl-cena__sp`,cenario:`vendas`,prefixo:`cv-`,rodar:e&&!t,interativo:!1,onEvento:i}),n&&(0,Q.jsx)(et,{pct:n.pct,saindo:n.saindo},n.id)]})}function nt({rodar:e,reduced:t}){let n=(0,k.useRef)(null),r=(0,k.useCallback)((e,t)=>{e===`chat`&&t.tipo===`resposta`&&n.current?.rolar(`ap-resp-keyword-status`,{alinhar:`fim`,folga:64}),e===`chat`&&t.tipo===`comentario`&&n.current?.rolar(`ap-coment-status`,{alinhar:`fim`,folga:16}),e===`chat`&&t.tipo===`alerta`&&n.current?.rolar(`ap-flaglist`,{alinhar:`fim`,folga:24}),e===`agradecimento`&&n.current?.rolar(`ap-resp-thank-status`,{alinhar:`fim`,folga:64})},[]);return(0,k.useEffect)(()=>{t&&n.current?.rolar(`ap-resp-keyword-status`,{suave:!1,alinhar:`fim`,folga:64})},[t]),(0,Q.jsx)($,{ref:n,className:`tl-cena__sp`,cenario:`chat`,prefixo:`cc-`,rodar:e&&!t,interativo:!1,onEvento:r})}function rt({rodar:e,reduced:t}){let n=(0,k.useRef)(null),r=(0,k.useCallback)((e,t)=>{e===`protecao`&&t.fase===`contando`&&n.current?.rolar(`ap-ux-meta-resumo`,{folga:64})},[]);return(0,k.useEffect)(()=>{n.current?.rolar(`ap-ux-meta-resumo`,{suave:!1,folga:64})},[]),(0,Q.jsx)($,{ref:n,className:`tl-cena__sp`,cenario:`protecao`,prefixo:`cs-`,rodar:e&&!t,interativo:!1,onEvento:r})}var it={produto:$e,vendas:tt,chat:nt,protecao:rt};function at({c:e,i:t,reduced:n}){let[r,a]=W({threshold:.25}),o=me(),s=it[e.id];return(0,Q.jsxs)(`article`,{className:`tl-chapter${t%2?` is-flip`:``}`,ref:r,"aria-labelledby":`tl-cap-${e.id}`,children:[(0,Q.jsxs)(`div`,{className:`tl-chapter__copy`,"data-reveal":!0,children:[(0,Q.jsxs)(`p`,{className:`tl-time`,children:[(0,Q.jsx)(`span`,{className:`tl-time__dot`,"aria-hidden":`true`}),(0,Q.jsx)(`b`,{children:e.tempo}),e.momento]}),(0,Q.jsx)(`h3`,{className:`tl-h3`,id:`tl-cap-${e.id}`,children:e.titulo}),(0,Q.jsx)(`p`,{className:`tl-chapter__text`,children:e.texto}),(0,Q.jsx)(`ul`,{className:`tl-checks`,children:e.itens.map(e=>(0,Q.jsxs)(`li`,{children:[(0,Q.jsx)(i,{size:16,"aria-hidden":`true`}),e]},e))})]}),(0,Q.jsxs)(`figure`,{className:`tl-chapter__demo`,"data-reveal":!0,style:{"--d":`120ms`},children:[(0,Q.jsx)(`div`,{className:`tl-cena tl-cena--${e.id}`,"aria-hidden":`true`,children:(0,Q.jsx)(s,{rodar:a&&o,reduced:n})}),(0,Q.jsxs)(`figcaption`,{className:`tl-cena__legenda`,children:[(0,Q.jsx)(`span`,{children:`Exemplo`}),`Painel real da extensão, com dados fictÃcios`]})]})]})}function ot({reduced:e}){let t=(0,k.useRef)(null);return(0,k.useEffect)(()=>{let n=t.current;if(!n||e)return;let r=0,i=()=>{r=0;let e=n.getBoundingClientRect(),t=(window.innerHeight*.55-e.top)/e.height;n.style.setProperty(`--rail`,Math.min(1,Math.max(0,t)).toFixed(4))},a=()=>{r||=requestAnimationFrame(i)};return i(),window.addEventListener(`scroll`,a,{passive:!0}),window.addEventListener(`resize`,a),()=>{window.removeEventListener(`scroll`,a),window.removeEventListener(`resize`,a),r&&c
18ancelAnimationFrame(r)}},[e]),(0,Q.jsx)(`section`,{id:`recursos`,className:`tl-sec tl-chapters`,"aria-labelledby":`tl-recursos-title`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap`,children:[(0,Q.jsxs)(`header`,{className:`tl-sec-head`,"data-reveal":!0,children:[(0,Q.jsx)(`p`,{className:`tl-eyebrow`,children:ce.eyebrow}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-recursos-title`,children:ce.titulo}),(0,Q.jsx)(`p`,{className:`tl-lead`,children:ce.lead})]}),(0,Q.jsxs)(`div`,{className:`tl-chapters__list`,ref:t,style:e?{"--rail":1}:void 0,children:[(0,Q.jsx)(`span`,{className:`tl-rail`,"aria-hidden":`true`,children:(0,Q.jsx)(`i`,{})}),le.map((t,n)=>(0,Q.jsx)(at,{c:t,i:n,reduced:e},t.id))]})]})})}var st=[[`#fff`,`M8.04,0h209.33l-8.04,39.69h-122.4l28.49,8.52-24.59,122.23h-56.73L60.14,39.69H0L8.04,0Z`],[`#fff`,`M267.6,101.29l-50.4,39.2,25.57-12.66-8.52,42.61h-51.13L217.2,0h51.13l-12.18,61.12L339.43,0h59.66l-92.04,70.86,66.47,99.59h-59.66l-46.26-69.15Z`],[`#fb1b48`,`M397.38,132.95l2.68-13.64h51.13l-.97,4.63c-.33,1.79.08,3.37,1.22,4.75,1.13,1.38,2.6,2.07,4.38,2.07h95.94l-28.49-8.52,2.68-13.15c.32-1.78-.08-3.37-1.22-4.75-1.14-1.38-2.6-2.07-4.38-2.07h-78.89c-4.87,0-9.42-1.05-13.64-3.17-4.22-2.11-7.71-4.87-10.47-8.28-2.76-3.41-4.75-7.39-5.97-11.93-1.22-4.54-1.34-9.25-.37-14.12l7.79-39.69c1.46-7.31,5.07-13.31,10.84-18.02,5.76-4.71,12.38-7.06,19.84-7.06h112.5c4.87,0,9.41,1.06,13.64,3.17,4.22,2.11,7.71,4.87,10.47,8.28,2.76,3.41,4.79,7.35,6.09,11.81,1.3,4.47,1.46,9.13.49,14l-2.92,13.88h-51.13l.97-4.63c.32-1.78-.08-3.37-1.22-4.75-1.14-1.38-2.6-2.07-4.38-2.07h-96.91l28.25,8.52-1.95,10.23c-.33,1.79.08,3.37,1.22,4.75,1.13,1.38,2.59,2.07,4.38,2.07h76.46l4.63.24c4.71.33,8.97,1.58,12.78,3.77,3.81,2.19,7.02,4.99,9.62,8.4,2.6,3.41,4.46,7.27,5.6,11.57,1.13,4.3,1.22,8.81.24,13.51l-8.52,42.61c-1.46,7.3-5.08,13.31-10.84,18.02-5.76,4.71-12.38,7.06-19.84,7.06h-111.28c-4.87,0-9.42-1.05-13.64-3.17-4.22-2.11-7.71-4.87-10.47-8.28-2.76-3.41-4.75-7.39-5.97-11.93-1.22-4.54-1.34-9.25-.37-14.12Z`]],ct=[[`#1df4ee`,`M710.9,51.86c-3.63-2.13-8.18-3.2-13.66-3.2h-30.2l-12.14,73.12h17.67l3.79-22.71h11.96c5.62,0,10.64-1.03,15.07-3.09,4.43-2.06,8.05-4.97,10.87-8.75,2.82-3.77,4.63-8.19,5.44-13.26.83-5.02.48-9.43-1.05-13.23-1.54-3.8-4.12-6.76-7.75-8.89ZM701.38,73.98c-.36,2.26-1.13,4.22-2.32,5.89-1.19,1.67-2.77,2.96-4.73,3.89-1.96.93-4.29,1.39-6.98,1.39h-8.67l3.71-22.24h8.71c2.64,0,4.79.45,6.44,1.36,1.65.91,2.8,2.18,3.45,3.84.64,1.65.77,3.61.39,5.87Z`],[`#1df4ee`,`M776.45,51.61c-3.65-1.96-8.22-2.95-13.69-2.95h-30.2l-12.14,73.12h17.67l4.17-25.03h9.02l9.22,25.03h19.28l-10.56-27.85c4.34-1.86,7.91-4.53,10.7-8.03,2.81-3.52,4.62-7.82,5.43-12.89.83-5,.47-9.32-1.09-12.98-1.56-3.65-4.17-6.46-7.82-8.43ZM747.9,62.91h8.71c2.62,0,4.77.37,6.44,1.12,1.68.75,2.86,1.87,3.53,3.36.68,1.49.83,3.36.45,5.62-.36,2.28-1.11,4.14-2.27,5.57-1.15,1.43-2.69,2.49-4.61,3.2-1.92.7-4.21,1.05-6.87,1.05h-8.71l3.32-19.92Z`],[`#1df4ee`,`M861.35,65.39c-2.23-5.77-5.79-10.17-10.69-13.19-4.9-3.02-10.71-4.53-17.42-4.53s-12.41,1.41-18.01,4.23c-5.61,2.82-10.35,6.96-14.25,12.42-3.89,5.46-6.48,12.12-7.77,19.98-1.36,8.21-.92,15.17,1.3,20.89,2.23,5.71,5.8,10.07,10.73,13.08,4.93,3.01,10.76,4.52,17.49,4.52,6.38,0,12.35-1.39,17.9-4.18,5.56-2.78,10.28-6.88,14.17-12.3,3.89-5.41,6.5-12.06,7.84-19.94,1.36-8.21.92-15.2-1.3-20.97ZM844.94,84.3c-.81,4.9-2.21,9.07-4.21,12.5-2,3.43-4.47,6.03-7.41,7.82-2.94,1.79-6.27,2.68-9.98,2.68-3.28,0-6-.78-8.14-2.34-2.14-1.56-3.61-3.89-4.39-7-.79-3.11-.76-6.97.07-11.59.79-4.9,2.18-9.09,4.18-12.55,2-3.46,4.49-6.11,7.48-7.93,2.99-1.82,6.34-2.73,10.05-2.73,3.36,0,6.07.8,8.16,2.41,2.08,1.61,3.49,3.99,4.21,7.14.73,3.15.72,7.02-.02,11.59Z`]];function lt({height:e=26,pro:t=!0,className:n=``,title:r=`TKS PRO`}){let i=t?901.02:574;return(0,Q.jsxs)(`svg`,{className:n,viewBox:`0 0 ${i} 170.45`,height:e,width:e*i/170.45,role:`img`,"aria-label":r,children:[st.map(([e,t],n)=>(0,Q.jsx)(`path`,{fill:e,d:t},n)),t&&(0,Q.jsxs)(`g`,{children:[(0,Q.jsx)(`rect`,{fill:`#0e2f31`,x:`617.3`,y:`10.64`,width:`283.72`,height:`149.17`,rx:`32`,ry:`32`}),ct.map(([e,t],n)=>(0,Q.jsx)(`path`,{fill:e,d:t},n))]})]})}var ut=[{id:`autoFix`,nome:`AutoFixar produto`,descricao:`Mantém o produto escolhido no ar.`}
18,{id:`saleSound`,nome:`Som de venda`,descricao:`Toca o sino no computador a cada compra.`},{id:`chatSound`,nome:`Som de nova mensagem`,descricao:`Avisa quando chegar um comentário novo.`},{id:`flashOffer`,nome:`Renovar oferta relâmpago`,descricao:`Recria a oferta quando ela terminar.`},{id:`keywordReplies`,nome:`Respostas automáticas`,descricao:`Responde à s palavras-chave cadastradas.`},{id:`purchaseThanks`,nome:`Agradecer compras`,descricao:`Agradece no chat usando o nome confirmado.`}],dt={autoFix:!0,saleSound:!0,chatSound:!1,flashOffer:!0,keywordReplies:!0,purchaseThanks:!0},ft=`Loja Exemplo`,pt=72e3,mt=e=>Number(e||0).toLocaleString(`pt-BR`,{style:`currency`,currency:`BRL`}),ht=e=>String(e).padStart(2,`0`),gt=e=>{let t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600);t-=n*3600;let r=Math.floor(t/60);return[n,r,t-r*60].map(ht).join(`:`)},_t=e=>{let t=(pt+Math.floor(e/5)*5)%86400;return ht(Math.floor(t/3600))+`:`+ht(Math.floor(t%3600/60))+`:`+ht(t%60)},vt=(0,k.forwardRef)(function({seg:e,viewers:t,gmv:n,vendas:r,fixado:i=`1`,escolhido:o,comando:s,pressionado:c,rolagem:l=0},u){let d=Z(i),f=Z(o||i),m=s===`pending`||s===`claimed`,y=Number(r||0);return(0,Q.jsxs)(`div`,{className:`tl-pwa`,ref:u,children:[(0,Q.jsxs)(`header`,{className:`tl-pwa__top`,children:[(0,Q.jsx)(lt,{height:22}),(0,Q.jsxs)(`span`,{className:`tl-pwa__pill`,children:[`AO VIVO `,gt(e)]})]}),(0,Q.jsxs)(`div`,{className:`tl-pwa__main`,style:{transform:`translateY(${-l}px)`},children:[(0,Q.jsxs)(`section`,{className:`tl-pwa__card`,children:[(0,Q.jsxs)(`div`,{className:`tl-pwa__hero-top`,children:[(0,Q.jsx)(`span`,{className:`tl-pwa__eyebrow`,children:`FATURAMENTO DA LIVE`}),(0,Q.jsxs)(`span`,{className:`tl-pwa__espec`,children:[(0,Q.jsx)(h,{size:15,"aria-hidden":`true`}),(0,Q.jsx)(`b`,{children:Number(t).toLocaleString(`pt-BR`)}),` assistindo`]})]}),(0,Q.jsx)(`b`,{className:`tl-pwa__gmv`,children:mt(n)}),(0,Q.jsxs)(`p`,{className:`tl-pwa__estado`,children:[`Atualizado à s `,_t(e),` · `,ft]}),(0,Q.jsxs)(`dl`,{className:`tl-pwa__kpis`,children:[(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`dt`,{children:`Vendas da LIVE`}),(0,Q.jsx)(`dd`,{children:y.toLocaleString(`pt-BR`)})]}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`dt`,{children:`Ticket médio`}),(0,Q.jsx)(`dd`,{children:y>0?mt(Number(n||0)/y):`â`})]})]})]}),(0,Q.jsxs)(`section`,{className:`tl-pwa__card`,"data-ancora":`produto`,children:[(0,Q.jsx)(`span`,{className:`tl-pwa__eyebrow`,children:`CONTROLE REMOTO`}),(0,Q.jsx)(`h2`,{className:`tl-pwa__h2`,children:`Produto no ar`}),(0,Q.jsxs)(`div`,{className:`tl-pwa__noar`,children:[(0,Q.jsx)(`span`,{className:`tl-pwa__ic`,children:(0,Q.jsx)(p,{size:16,"aria-hidden":`true`})}),(0,Q.jsxs)(`div`,{children:[(0,Q.jsxs)(`small`,{children:[`No ar agora · nº `,d.numero]}),(0,Q.jsx)(`b`,{children:d.nome})]})]}),(0,Q.jsx)(`p`,{className:`tl-pwa__sub`,children:`Escolha um produto e o TKS PRO fará a troca no computador conectado.`}),(0,Q.jsxs)(`div`,{className:`tl-pwa__campo`,children:[(0,Q.jsx)(`span`,{className:`tl-pwa__label`,children:`Produto para fixar`}),(0,Q.jsxs)(`div`,{className:`tl-pwa__select${o&&o!==i&&!s?` is-focus`:``}${m?` is-off`:``}`,children:[(0,Q.jsxs)(`span`,{children:[`nº `,f.numero,` · `,f.nome,` · `,f.preco,f.numero===i?` · NO AR`:``]}),(0,Q.jsx)(a,{size:18,"aria-hidden":`true`})]}),f.numero!==i&&(0,Q.jsxs)(`p`,{className:`tl-pwa__escolhido`,children:[(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`small`,{children:`Vai para o ar`}),`nº `,f.numero,` · `,f.nome]}),(0,Q.jsx)(`b`,{children:f.preco})]}),(0,Q.jsxs)(`div`,{className:`tl-pwa__btn${c?` is-press`:``}${m?` is-off`:``}`,children:[m?(0,Q.jsx)(v,{size:18,"aria-hidden":`true`}):(0,Q.jsx)(p,{size:18,"aria-hidden":`true`}),m?`Aguardando o computadorâ¦`:`Fixar este produto`]})]}),s===`claimed`&&(0,Q.jsx)(`p`,{className:`tl-pwa__msg`,"data-tom":`wait`,children:`O computador está executando a trocaâ¦`}),s===`succeeded`&&(0,Q.jsx)(`p`,{className:`tl-pwa__msg`,"data-tom":`ok`,children:`Produto confirmado no ar pelo computador.`})]}),(0,Q.jsxs)(`section`,{className:`tl-pwa__card`,children:[(0,Q.jsx)(`span`,{className:`tl-pwa__eyebrow`,children:`CENTRAL DE CONTROLE REMOTO`}),(0,Q.jsx)(`h2`,{className:`tl-pwa__h2`,children:`Automações da extensão`}),(0,Q.jsx)(`p`,{className:`tl-pwa__sub`,children:`Ligue ou desligue recursos no computador conectado. A mudança só aparece como concluÃda depois da confirmação da extensão.`}),(0,Q.jsx)(`ul`,{className:`tl-pwa__lista`,children:ut.map(e=>{let t=dt[e.id];return(0,Q.jsxs)(`li`,{className:`tl-pwa__linha`,children:[(0,Q.jsxs)(`div`,{className:`tl-pwa__linha-t`,children:[(0,Q.jsx)(`h3`,{children:e.nome}),(0,Q.jsx)(`span`,{className:`tl-pwa__st`,"data-tom":t?`ok`:`off`,children:t?`Ligado`:`Desligado`}),(0,Q.jsx)(`p`,{children:e.descricao})]}),(0,Q.jsx)(`span`,{className:`tl-pwa__chave${t?` is-on`:``}`,children:(0,Q.jsx)(`span`,{})})]},e.id)})})]})]}),(0,Q.jsxs)(`nav`,{className:`tl-pwa__nav`,children:[(0,Q.jsxs)(`span`,{className:`is-on`,children:[(0,Q.jsxs)(`span`,{className:`tl-pwa__nav-ic`,children:[(0,Q.jsx)(g,{size:22,"aria-hidden":`true`}),(0,Q.jsx)(`i`,{})]}),`Minha live`]}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`span`,{className:`tl-pwa__nav-ic`,children:(0,Q.jsx)(b,{size:22,"aria-hidden":`true`})}),`Comunidade`]}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`span`,{className:`tl-pwa__nav-ic`,children:(0,Q.jsx)(_,{size:22,"aria-hidden":`true`})}),`Perfil`]})]})]})}),yt=278/390,bt={seg:4128,viewers:284,gmv:497.03,vendas:14};function xt({live:e,fixado:t,escolhido:n,comando:r,pressionado:i,push:a,fixo:o,rolagem:s,appRef:c}){return(0,Q.jsx)(`div`,{className:`tl-phone`,"aria-hidden":`true`,children:(0,Q.jsxs)(`div`,{className:`tl-phone__screen`,children:[(0,Q.jsxs)(`div`,{className:`tl-phone__status`,children:[(0,Q.jsx)(`span`,{children:`21:09`}),(0,Q.jsx)(`span`,{className:`tl-phone__island`}),(0,Q.jsxs)(`span`,{className:`tl-phone__sig`,children:[(0,Q.jsx)(ne,{size:12}),(0,Q.jsx)(`i`,{})]})]}),(0,Q.jsx)(`div`,{className:`tl-phone__app`,children:(0,Q.jsx)(`div`,{className:`tl-phone__scroll`,style:{transform:`scale(${yt})`,height:`${100/yt}%`},children:(0,Q.jsx)(vt,{ref:c,...e,fixado:t,escolhido:n,comando:r,pressionado:i,rolagem:s})})}),(0,Q.jsx)(Xe,{push:a,ocultarApos:o?0:4600,className:`tl-phone__push`}),(0,Q.jsx)(`span`,{className:`tl-phone__home`})]})})}function St({reduced:e}){let[t,n]=W({threshold:.25}
18),r=me(),a=n&&r&&!e,o=(0,k.useRef)(null),s=(0,k.useRef)(null),[c,l]=(0,k.useState)(bt),[u,d]=(0,k.useState)(null),[p,h]=(0,k.useState)(`1`),[g,_]=(0,k.useState)({escolhido:null,comando:null,pressionado:!1,rolagem:0}),v=(0,k.useRef)(`1`),y=(0,k.useCallback)((e,t)=>{e===`tick`?l({seg:t.seg,viewers:t.viewers,gmv:t.gmv,vendas:t.vendas}):e===`produto`&&t.confirmado&&(v.current=t.numero,h(t.numero),_(e=>({...e,comando:`succeeded`})))},[]),b=(0,k.useCallback)(e=>d({id:e.id,...e.push}),[]);return(0,k.useEffect)(()=>{o.current?.rolar(`ap-ux-produto`,{suave:!1,folga:8})},[]),(0,k.useEffect)(()=>{e&&d(Ye)},[e]),(0,k.useEffect)(()=>{if(!a)return;let e=o.current?.estado()?.fixado;e&&(v.current=e,h(e)),_({escolhido:null,comando:null,pressionado:!1,rolagem:0});let t=[],n=(e,n)=>t.push(setTimeout(n,e)),r=()=>{let e=s.current?.querySelector(`[data-ancora="produto"]`);return e?Math.max(0,e.offsetTop-67):280},i=()=>{let e=v.current===`1`?`3`:`1`;n(5200,()=>_(e=>({...e,rolagem:r()}))),n(6600,()=>_(t=>({...t,escolhido:e}))),n(7900,()=>_(e=>({...e,pressionado:!0}))),n(8200,()=>_(e=>({...e,pressionado:!1,comando:`pending`}))),n(9e3,()=>{_(e=>({...e,comando:`claimed`})),o.current?.fixar(e)}),n(14e3,()=>_(e=>({...e,rolagem:0}))),n(17500,()=>{_({escolhido:null,comando:null,pressionado:!1,rolagem:0}),i()})};return i(),()=>t.forEach(clearTimeout)},[a]),(0,Q.jsx)(`section`,{id:`celular`,className:`tl-sec tl-mobile`,"aria-labelledby":`tl-celular-title`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap tl-mobile__grid`,children:[(0,Q.jsxs)(`div`,{className:`tl-mobile__copy`,"data-reveal":!0,children:[(0,Q.jsxs)(`p`,{className:`tl-time`,children:[(0,Q.jsx)(`span`,{className:`tl-time__dot`,"aria-hidden":`true`}),(0,Q.jsx)(m,{size:14,"aria-hidden":`true`}),R.eyebrow]}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-celular-title`,children:R.titulo}),(0,Q.jsx)(`p`,{className:`tl-lead`,children:R.texto}),(0,Q.jsx)(`ul`,{className:`tl-checks`,children:R.itens.map(e=>(0,Q.jsxs)(`li`,{children:[(0,Q.jsx)(i,{size:16,"aria-hidden":`true`}),e]},e))}),(0,Q.jsx)(`p`,{className:`tl-note`,children:R.nota})]}),(0,Q.jsxs)(`figure`,{className:`tl-mobile__visual`,ref:t,"data-reveal":!0,style:{"--d":`120ms`},children:[(0,Q.jsx)(`div`,{className:`tl-mobile__halo`,"aria-hidden":`true`}),(0,Q.jsx)(xt,{live:c,fixado:p,escolhido:g.escolhido,comando:g.comando,pressionado:g.pressionado,push:u,fixo:e,rolagem:g.rolagem,appRef:s}),(0,Q.jsxs)(`div`,{className:`tl-mobile__pc`,children:[(0,Q.jsxs)(`span`,{className:`tl-mobile__label`,children:[(0,Q.jsx)(f,{size:13,"aria-hidden":`true`}),`No computador`]}),(0,Q.jsx)($,{ref:o,className:`tl-mobile__sp`,cenario:`celular`,prefixo:`cm-`,rodar:a,interativo:!1,onEvento:y,onVenda:b})]}),(0,Q.jsx)(`figcaption`,{className:`tl-mobile__legenda`,children:`Exemplo com dados fictÃcios · tela do painel no celular e painel lateral no computador`})]})]})})}function Ct({icone:e,titulo:t,texto:n}){return(0,Q.jsxs)(`div`,{className:`tl-state`,children:[(0,Q.jsx)(`div`,{className:`tl-state__icon`,children:e}),(0,Q.jsx)(`h3`,{children:t}),n&&(0,Q.jsx)(`p`,{children:n})]})}function wt({plano:e,setPlano:t,periodo:n,setPeriodo:r,comprar:i,processando:a,erro:s,token:c,navegar:l,preview:u,reduced:d}){let f=re(e,n),p=f.precoCents/100,m=he(p,{duration:520,reduced:d}),h=n===`annual`,g=e===1?`computador`:`computadores`,_=a?`Abrindo pagamentoâ¦`:`Assinar agora · ${f.preco}`;return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`div`,{className:`tl-price__head`,children:[(0,Q.jsx)(`p`,{className:`tl-price__plan`,children:`Plano PRO`}),(0,Q.jsx)(`span`,{className:`tl-price__tag`,children:`Preço de lançamento`})]}),(0,Q.jsxs)(`div`,{className:`tl-seg${h?` is-annual`:``}`,role:`radiogroup`,"aria-label":`Forma de cobrança`,children:[(0,Q.jsx)(`span`,{className:`tl-seg__thumb`,"aria-hidden":`true`}),(0,Q.jsx)(`button`,{type:`button`,role:`radio`,"aria-checked":!h,onClick:()=>r(`monthly`),children:`Mensal`}),(0,Q.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":h,onClick:()=>r(`annual`),children:[`Anual `,(0,Q.jsx)(`span`,{className:`tl-seg__badge`,children:`Economize 2 meses`})]})]}),(0,Q.jsx)(`p`,{className:`tl-price__label`,id:`tl-pcs-label`,children:`Em quantos computadores?`}),(0,Q.jsx)(`div`,{className:`tl-pcs`,role:`radiogroup`,"aria-labelledby":`tl-pcs-label`,children:j.map(r=>
18{let i=r[n],a=i.precoCents/100/r.dispositivos,o=e===r.plano;return(0,Q.jsxs)(`button`,{type:`button`,role:`radio`,"aria-checked":o,className:`tl-pc${o?` is-on`:``}`,onClick:()=>t(r.plano),children:[(0,Q.jsxs)(`b`,{children:[r.dispositivos,` `,r.dispositivos===1?`PC`:`PCs`]}),(0,Q.jsx)(`span`,{children:i.preco}),(0,Q.jsx)(`small`,{children:r.plano===1?h?`por ano`:`por mês`:`${fe(a)} por PC${h?`/ano`:``}`})]},r.plano)})}),(0,Q.jsxs)(`div`,{className:`tl-price__big`,"aria-live":`polite`,children:[(0,Q.jsx)(`span`,{className:`tl-price__cur`,children:`R$`}),(0,Q.jsx)(`span`,{className:`tl-price__num`,children:Math.round(m).toLocaleString(`pt-BR`)}),(0,Q.jsxs)(`span`,{className:`tl-price__per`,children:[`/`,h?`ano`:`mês`]})]}),(0,Q.jsxs)(`p`,{className:`tl-price__day`,children:[h?`10 mensalidades por 12 meses · ${fe(p/12)} por mês`:`Cerca de ${fe(p/30)} por dia`,` · `,e,` `,g]}),u?(0,Q.jsxs)(`a`,{className:`tl-btn tl-btn--primary tl-btn--xl`,href:f.checkoutUrl,target:`_blank`,rel:`noopener noreferrer`,children:[_,(0,Q.jsx)(o,{size:18,"aria-hidden":`true`})]}):(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--primary tl-btn--xl`,onClick:i,disabled:a,children:[a&&(0,Q.jsx)(v,{size:18,className:`tl-spin`,"aria-hidden":`true`}),_,!a&&(0,Q.jsx)(o,{size:18,"aria-hidden":`true`})]}),(0,Q.jsxs)(`p`,{className:`tl-price__guarantee`,children:[(0,Q.jsx)(y,{size:15,"aria-hidden":`true`}),`7 dias de garantia. Não gostou, devolvemos 100%.`]}),!c&&(0,Q.jsx)(`p`,{className:`tl-price__note`,children:`No pagamento, use o e-mail que você vai usar no TKS PRO. O acesso é vinculado a ele automaticamente.`}),s&&(0,Q.jsx)(`div`,{className:`tl-price__err`,role:`alert`,children:s}),!c&&(0,Q.jsxs)(`button`,{type:`button`,className:`tl-price__login`,onClick:()=>l(`/entrar?modo=login`),children:[(0,Q.jsx)(w,{size:15,"aria-hidden":`true`}),`Já comprei, entrar na minha conta`]}),(0,Q.jsx)(`p`,{className:`tl-price__foot`,children:`Pagamento processado pela Cakto. Acesso liberado após a confirmação.`})]})}function Tt({licenca:e,user:t,processando:n,liberarDispositivo:r,navegar:i,instalarPro:a,erro:s}){let c=e.devices||[],l=e.devices?.length??+!!e.device,p=e.maxDevices||1;return(0,Q.jsxs)(`div`,{className:`tl-active`,children:[(0,Q.jsx)(Ct,{icone:(0,Q.jsx)(u,{size:40,"aria-hidden":`true`}),titulo:`Licença PRO ativa`,texto:`Tudo certo, ${t?.name?.split(` `)[0]||`criador`}! Instale pela Chrome Web Store e entre com esta mesma conta.`}),(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--primary tl-btn--xl`,onClick:a,children:[(0,Q.jsx)(d,{size:18,"aria-hidden":`true`}),`Instalar no Chrome`]}),(0,Q.jsx)(`p`,{className:`tl-price__note tl-center`,children:`A instalação é só pela loja do Google, assim as atualizações chegam sozinhas, sem você precisar baixar nada de novo.`}),(0,Q.jsxs)(`div`,{className:`tl-devices`,children:[(0,Q.jsxs)(`div`,{className:`tl-devices__h`,children:[(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(f,{size:15,"aria-hidden":`true`}),`Computadores`]}),(0,Q.jsxs)(`b`,{children:[l,`/`,p]})]}),c.length?(0,Q.jsx)(`ul`,{children:c.map(e=>(0,Q.jsxs)(`li`,{children:[(0,Q.jsxs)(`span`,{children:[e.label||`Dispositivo`,` · desde `,new Date(e.boundAt).toLocaleDateString(`pt-BR`)]}),(0,Q.jsx)(`button`,{type:`button`,disabled:n,onClick:()=>r(e.id),children:`liberar`})]},e.id))}):(0,Q.jsx)(`p`,{children:`Nenhum computador ativado ainda. O primeiro login na extensão vincula esta licença à máquina.`}),p>1&&(0,Q.jsxs)(`p`,{className:`tl-devices__max`,children:[`Sua licença permite `,p,` computadores.`]})]}),s&&(0,Q.jsx)(`div`,{className:`tl-price__err`,role:`alert`,children:s}),(0,Q.jsx)(`a`,{className:`tl-price__link`,href:`/tutorial`,onClick:e=>{e.preventDefault(),i(`/tutorial`)},children:`Ver o passo a passo de instalação`}),(0,Q.jsxs)(`button`,{type:`button`,className:`tl-affiliate`,onClick:()=>i(`/afiliados`),children:[(0,Q.jsx)(`b`,{children:`Ganhe 20% indicando o TKS PRO`}),(0,Q.jsx)(`span`,{children:`Afilie-se pela Cakto, gere seu link oficial e acompanhe vendas, saldo e pagamentos diretamente por lá.`}),(0,Q.jsxs)(`em`,{children:[`Quero ser afiliado `,(0,Q.jsx)(o,{size:13,"aria-hidden":`true`})]})]})]})}function Et({claimInfo:e,novoNome:t,setNovoNome:n,novaSenha:r,setNovaSenha:i,ativarConta:a,processando:o,erro:s,navegar:c}){return e.hasAccount||e.used?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Ct,{icone:(0,Q.jsx)(u,{size:40,"aria-hidden":`true`}),titulo:`Pagamento confirmado!`,texto:(0,Q.jsxs)(Q.Fragment,{children:[`A licença foi liberada para `,(0,Q.jsx)(`b`,{children:e.email}),`. Esse e-mail já tem conta. Entre com sua senha para baixar a extensão.`]})}),(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--primary tl-btn--xl`,onClick:()=>c(`/entrar?modo=login`),children:[(0,Q.jsx)(w,{size:18,"aria-hidden":`true`}),`Fazer login`]})]}):(0,Q.jsxs)(`form`,{className:`tl-claim`,onSubmit:e=>{e.preventDefault(),r.length>=8&&a()},children:[(0,Q.jsx)(Ct,{icone:(0,Q.jsx)(u,{size:40,"aria-hidden":`true`}),titulo:`Pagamento confirmado!`,texto:(0,Q.jsxs)(Q.Fragment,{children:[`Ãltimo passo: crie a senha da sua conta `,(0,Q.jsx)(`b`,{children:e.email}),`, é com ela que você entra na extensão.`]})}),(0,Q.jsxs)(`label`,{className:`tl-field`,htmlFor:`tl-claim-nome`,children:[(0,Q.jsx)(`span`,{children:`Seu nome`}),(0,Q.jsx)(`input`,{id:`tl-claim-nome`,placeholder:`Como devemos te chamar?`,value:t,onChange:e=>n(e.target.value),autoComplete:`name`})]}),(0,Q.jsxs)(`label`,{className:`tl-field`,htmlFor:`tl-claim-senha`,children:[(0,Q.jsx)(`span`,{children:`Crie uma senha`}),(0,Q.jsx)(`input`,{id:`tl-claim-senha`,type:`password`,placeholder:`mÃnimo 8 caracteres`,value:r,onChange:e=>i(e.target.value),autoComplete:`new-password`})]}),(0,Q.jsx)(`button`,{type:`submit`,className:`tl-btn tl-btn--primary tl-btn--xl`,disabled:o||r.length<8,children:o?`Ativandoâ¦`:`Ativar minha conta`}),s&&(0,Q.jsx)(`div`,{className:`tl-price__err`,role:`alert`,children:s}),(0,Q.jsx)(`p`,{className:`tl-price__foot`,children:`Ao ativar, você concorda com os Termos de Uso e a PolÃtica de Privacidade.`})]})}function Dt(e){let{aguardandoPgto:t,token:n,claimToken:r,claimInfo:i,licenca:a,ativa:o}=e,s;return s=t?(0,Q.jsx)(Ct,{icone:(0,Q.jsx)(v,{size:40,className:`tl-spin`,"aria-hidden":`true`}),titulo:`Confirmando seu pagamentoâ¦`,texto:`Assim que a operadora confirmar, sua licença é liberada automaticamente. Isso costuma levar poucos segundos.`}):!n&&r&&i?.paid?(0,Q.jsx)(Et,{...e}):a===null?(0,Q.jsx)(Ct,{icone:(0,Q.jsx)(v,{size:40,className:`tl-spin`,"aria-hidden":`true`}),titulo:`Carregandoâ¦`}):o?(0,Q.jsx)(Tt,{...e}):(0,Q.jsx)(wt,{...e}),(0,Q.jsxs)(`section`,{className:`tl-sec tl-pricing`,"aria-labelledby":`tl-preco-title`,children:[(0,Q.jsx)(`div`,{className:`tl-pricing__glow`,"aria-hidden":`true`}),(0,Q.jsxs)(`div`,{className:`tl-wrap`,children:[(0,Q.jsxs)(`header`,{className:`tl-sec-head tl-sec-head--center`,"data-reveal":!0,children:[(0,Q.jsx)(`p`,{className:`tl-eyebrow`,children:V.eyebrow}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-preco-title`,children:V.titulo}),(0,Q.jsx)(`p`,{className:`tl-lead`,children:V.lead})]}),(0,Q.jsxs)(`div`,{className:`tl-price`,id:`comprar`,"data-reveal":!0,style:{"--d":`100ms`},children:[(0,Q.jsx)(`div`,{className:`tl-price__main`,children:s}),(0,Q.jsxs)(`aside`,{className:`tl-price__side`,"aria-label":`O que está incluÃdo`,children:[(0,Q.jsx)(`h3`,{children:`Tudo incluÃdo`}),(0,Q.jsx)(`dl`,{className:`tl-incl`,children:V.incluso.map(([e,t])=>(0,Q.jsxs)(`div`,{children:[(0,Q.jsx)(`dt`,{children:e}),(0,Q.jsx)(`dd`,{children:t})]},e))}),(0,Q.jsxs)(`div`,{className:`tl-seal`,children:[(0,Q.jsxs)(`span`,{className:`tl-seal__n`,"aria-hidden":`true`,children:[`7`,(0,Q.jsx)(`small`,{children:`dias`})]}),(0,Q.jsxs)(`p`,{children:[(0,Q.jsx)(`b`,{children:`Garantia de 7 dias.`}),` Use numa live de verdade. Se não gostar, devolvemos 100% do valor, sem precisar justificar.`]})]}),(0,Q.jsxs)(`p`,{className:`tl-price__vit`,children:[(0,Q.jsx)(C,{size:15,"aria-hidden":`true`}),V.vitalicia]})]})]})]})]})}function Ot({token:e,ativa:t,preco:n,navegar:r,irParaCompra:i,onAnchor:a}){let o=(0,k.useRef)(null);return _e(o),(0,Q.jsxs)(`header`,{className:`tl-header`,ref:o,children:[(0,Q.jsxs)(`div`,{className:`tl-wrap tl-header__in`,children:[(0,Q.jsx)(`a`,{href:`/`,className:`tl-header__logo`,onClick:e=>{e.preventDefault(),window.scrollTo({top:0,behavior:`smooth`})},"aria-label":`TKS PRO, voltar ao inÃcio`,children:(0,Q.jsx)(lt,{height:24})}),(0,Q.jsx)(`nav`,{className:`tl-nav`,"aria-label":`Seções da página`,children:oe.map(e=>(0,Q.jsx)(`a`,{href:e.href,onClick:t=>a(t,e.href),children:e.label},e.href))}),(0,Q.jsxs)(`div`,{className:`tl-header__right`,children:[e?(0,Q.jsx)(`a`,{href:`/`,className:`tl-header__login`,onClick:e=>{e.preventDefault(),r(`/`)},children:`Meu painel`}):(0,Q.jsx)(`a`,{href:`/entrar`,className:`tl-header__login`,onClick:e=>{e.preventDefault(),r(`/entrar?modo=login`)},children:`Entrar`}),(0,Q.jsx)(`button`,{type:`button`,className:`tl-btn tl-btn--primary tl-btn--sm`,onClick:i,children:t?`Baixar extensão`:(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsxs)(`span`,{className:`tl-only-wide`,children:[`Assinar · `,n]}),(0,Q.jsx)(`span`,{className:`tl-only-narrow`,children:`Assinar`})]})})]})]}),(0,Q.jsx)(`span`,{className:`tl-progress`,"aria-hidden":`true`})]})}function kt(){let e=se.map((e,t)=>(0,Q.jsxs)(`li`,{className:`is-${e.tipo}`,children:[(0,Q.jsx)(`span`,{className:`tl-ticker__t`,children:e.t}),e.txt]},t));return(0,Q.jsxs)(`div`,{className:`tl-ticker`,role:`region`,"aria-label":`Exemplo de registro de uma live`,children:[(0,Q.jsxs)(`p`,{className:`tl-ticker__label`,children:[(0,Q.jsx)(`span`,{className:`tl-dot`,"aria-hidden":`true`}),`Registro de uma live · exemplo`]}),(0,Q.jsx)(`div`,{className:`tl-ticker__view`,children:(0,Q.jsxs)(`ul`,{className:`tl-ticker__track`,children:[e,se.map((e,t)=>(0,Q.jsxs)(`li`,{className:`is-${e.tipo}`,"aria-hidden":`true`,children:[(0,Q.jsx)(`span`,{className:`tl-ticker__t`,children:e.t}),e.txt]},`b`+t))]})})]})}var At={apresentar:ee,vitrine:p,chat:c,numeros:l,conta:O};function jt({reduced:e}){let[t,n]=W({threshold:.3,once:!0}),[r,a]=(0,k.useState)(4);return(0,k.useEffect)(()=>
18{if(!n||e)return;a(0);let t=[1,2,3,4].map(e=>setTimeout(()=>a(e),500+e*480));return()=>t.forEach(clearTimeout)},[n,e]),(0,Q.jsx)(`section`,{className:`tl-sec tl-roles`,"aria-labelledby":`tl-roles-title`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap`,children:[(0,Q.jsxs)(`header`,{className:`tl-sec-head`,"data-reveal":!0,children:[(0,Q.jsx)(`p`,{className:`tl-eyebrow`,children:L.eyebrow}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-roles-title`,children:L.titulo}),(0,Q.jsx)(`p`,{className:`tl-lead`,children:L.lead})]}),(0,Q.jsx)(`ol`,{className:`tl-roles__grid`,ref:t,children:L.itens.map((e,t)=>{let n=At[e.id],a=e.tks&&r>=t;return(0,Q.jsxs)(`li`,{className:`tl-role${e.tks?``:` is-you`}${a?` is-tks`:``}`,"data-reveal":!0,style:{"--d":`${t*70}ms`},children:[(0,Q.jsx)(n,{size:20,"aria-hidden":`true`,className:`tl-role__icon`}),(0,Q.jsx)(`h3`,{children:e.nome}),(0,Q.jsx)(`p`,{children:e.desc}),(0,Q.jsx)(`div`,{className:`tl-role__who`,children:e.tks?a?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(i,{size:14,"aria-hidden":`true`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`b`,{children:`TKS PRO`}),e.tks]})]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(E,{size:14,"aria-hidden":`true`}),`Com você`]}):(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(`span`,{className:`tl-dot`,"aria-hidden":`true`}),`Fica com você`]})})]},e.id)})}),(0,Q.jsx)(`p`,{className:`tl-roles__close`,"data-reveal":!0,children:L.fecho})]})})}function Mt(){return(0,Q.jsx)(`section`,{className:`tl-sec tl-compare`,"aria-labelledby":`tl-compare-title`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap`,children:[(0,Q.jsxs)(`header`,{className:`tl-sec-head`,"data-reveal":!0,children:[(0,Q.jsx)(`p`,{className:`tl-eyebrow`,children:z.eyebrow}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-compare-title`,children:z.titulo})]}),(0,Q.jsxs)(`div`,{className:`tl-compare__table`,role:`table`,"aria-label":`Comparação de uma live com e sem o TKS PRO`,"data-reveal":!0,children:[(0,Q.jsxs)(`div`,{className:`tl-compare__head`,role:`row`,children:[(0,Q.jsx)(`span`,{role:`columnheader`,children:`Na live`}),(0,Q.jsx)(`span`,{role:`columnheader`,children:`Sem o TKS`}),(0,Q.jsx)(`span`,{role:`columnheader`,children:(0,Q.jsx)(lt,{height:15})})]}),z.linhas.map(([e,t,n])=>(0,Q.jsxs)(`div`,{className:`tl-compare__row`,role:`row`,children:[(0,Q.jsx)(`span`,{role:`rowheader`,className:`tl-compare__sit`,children:e}),(0,Q.jsxs)(`span`,{role:`cell`,className:`tl-compare__sem`,children:[(0,Q.jsx)(x,{size:15,"aria-hidden":`true`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`em`,{className:`tl-sr`,children:`Sem o TKS: `}),t]})]}),(0,Q.jsxs)(`span`,{role:`cell`,className:`tl-compare__com`,children:[(0,Q.jsx)(i,{size:15,"aria-hidden":`true`}),(0,Q.jsxs)(`span`,{children:[(0,Q.jsx)(`em`,{className:`tl-sr`,children:`Com o TKS PRO: `}),n]})]})]},e))]})]})})}function Nt(){return(0,Q.jsx)(`section`,{id:`como-funciona`,className:`tl-sec tl-steps`,"aria-labelledby":`tl-steps-title`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap`,children:[(0,Q.jsxs)(`header`,{className:`tl-sec-head`,"data-reveal":!0,children:[(0,Q.jsx)(`p`,{className:`tl-eyebrow`,children:B.eyebrow}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-steps-title`,children:B.titulo}),(0,Q.jsx)(`p`,{className:`tl-lead`,children:B.lead})]}),(0,Q.jsx)(`ol`,{className:`tl-steps__list`,children:B.itens.map((e,t)=>(0,Q.jsxs)(`li`,{className:`tl-step`,"data-reveal":!0,style:{"--d":`${t*90}ms`},children:[(0,Q.jsx)(`span`,{className:`tl-step__n`,"aria-hidden":`true`,children:t+1}),(0,Q.jsx)(`h3`,{children:e.titulo}),(0,Q.jsx)(`p`,{children:e.texto}),e.chip&&(0,Q.jsx)(`span`,{className:`tl-step__chip`,children:e.chip}),e.link&&(0,Q.jsxs)(`a`,{className:`tl-step__link`,href:`https://chromewebstore.google.com/detail/tks-pro-%E2%80%94-assistente-de-l/apeckodfolohphngpcmbepfgamppndnb`,target:`_blank`,rel:`noopener noreferrer`,children:[`Abrir na Chrome Web Store `,(0,Q.jsx)(s,{size:15,"aria-hidden":`true`})]})]},e.titulo))})]})})}function Pt({p:e,r:t,aberta:n,onToggle:r}){let i=(0,k.useId)();return(0,Q.jsxs)(`li`,{className:`tl-faq__item${n?` is-open`:``}`,children:[(0,Q.jsx)(`h3`,{children:(0,Q.jsxs)(`button`,{type:`button`,"aria-expanded":n,"aria-controls":i,onClick:r,children:[(0,Q.jsx)(`span`,{children:e}),(0,Q.jsx)(a,{size:18,"aria-hidden":`true`})]})}),(0,Q.jsx)(`div`,{className:`tl-faq__a`,id:i,role:`region`,"aria-hidden":!n,children:(0,Q.jsx)(`div`,{children:(0,Q.jsx)(`p`,{children:t})})})]})}function Ft({abrirWhatsApp:e}){let[t,n]=(0,k.useState)(0);return(0,Q.jsx)(`section`,{id:`duvidas`,className:`tl-sec tl-faq`,"aria-labelledby":`tl-faq-title`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap tl-faq__grid`,children:[(0,Q.jsxs)(`div`,{className:`tl-faq__side`,"data-reveal":!0,children:[(0,Q.jsx)(`p`,{className:`tl-eyebrow`,children:`Dúvidas`}),(0,Q.jsx)(`h2`,{className:`tl-h2`,id:`tl-faq-title`,children:`Perguntas frequentes`}),(0,Q.jsx)(`p`,{className:`tl-faq__help`,children:`Ficou alguma dúvida sobre a sua operação?`}),(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--ghost`,onClick:()=>e(`landing-faq`),children:[(0,Q.jsx)(c,{size:17,"aria-hidden":`true`}),`Falar no WhatsApp`]}),(0,Q.jsxs)(`p`,{className:`tl-faq__mail`,children:[(0,Q.jsx)(T,{size:14,"aria-hidden":`true`}),(0,Q.jsx)(`span`,{children:`ou escreva para`}),(0,Q.jsx)(`b`,{children:ae})]})]}),(0,Q.jsx)(`ul`,{className:`tl-faq__list`,"data-reveal":!0,style:{"--d":`100ms`},children:H.map(([e,r],i)=>(0,Q.jsx)(Pt,{p:e,r,aberta:t===i,onToggle:()=>n(t===i?-1:i)},e))})]})})}function It({preco:e,ativa:t,onPrimary:n,abrirWhatsApp:r}){return(0,Q.jsx)(`section`,{className:`tl-final`,"aria-labelledby":`tl-final-title`,children:(0,Q.jsx)(`div`,{className:`tl-wrap`,children:(0,Q.jsxs)(`div`,{className:`tl-final__frame`,"data-reveal":!0,children:[(0,Q.jsx)(`span`,{className:`tl-final__corner`,"aria-hidden":`true`}),(0,Q.jsx)(`span`,{className:`tl-final__corner`,"aria-hidden":`true`}),(0,Q.jsx)(`span`,{className:`tl-final__corner`,"aria-hidden":`true`}),(0,Q.jsx)(`span`,{className:`tl-final__corner`,"aria-hidden":`true`}),(0,Q.jsxs)(`p`,{className:`tl-final__rec`,"aria-hidden":`true`,children:[(0,Q.jsx)(`span`,{className:`tl-dot`}),`AO VIVO`]}),(0,Q.jsxs)(`h2`,{className:`tl-h1 tl-final__title`,id:`tl-final-title`,children:[U.titulo1,(0,Q.jsx)(`br`,{}),(0,Q.jsx)(`span`,{className:`tl-final__accent`,children:U.titulo2})]}),(0,Q.jsxs)(`p`,{className:`tl-lead tl-final__text`,children:[U.texto,` `,t?`Sua licença já está ativa.`:`A partir de ${e}, com 7 dias de garantia.`]}),(0,Q.jsxs)(`div`,{className:`tl-final__ctas`,children:[(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--primary tl-btn--lg`,onClick:n,children:[t?`Instalar no Chrome`:`Assinar o TKS PRO`,(0,Q.jsx)(o,{size:18,"aria-hidden":`true`})]}),(0,Q.jsxs)(`button`,{type:`button`,className:`tl-btn tl-btn--ghost tl-btn--lg`,onClick:()=>r(`landing-final`),children:[(0,Q.jsx)(c,{size:17,"aria-hidden":`true`}),`Tirar dúvidas no WhatsApp`]})]})]})})})}function Lt({navegar:e,token:t}){let n=(t,n)=>(0,Q.jsx)(`a`,{href:t,onClick:n=>{n.preventDefault(),e(t)}
18,children:n});return(0,Q.jsx)(`footer`,{className:`tl-footer`,children:(0,Q.jsxs)(`div`,{className:`tl-wrap`,children:[(0,Q.jsxs)(`div`,{className:`tl-footer__top`,children:[(0,Q.jsxs)(`div`,{className:`tl-footer__brand`,children:[(0,Q.jsx)(lt,{height:22}),(0,Q.jsx)(`p`,{children:ue.tagline})]}),(0,Q.jsxs)(`nav`,{className:`tl-footer__links`,"aria-label":`Links do rodapé`,children:[n(`/novidades`,`Novidades`),n(`/suporte`,`Suporte`),n(`/termos`,`Termos de Uso`),n(`/privacidade`,`Privacidade`),t?n(`/`,`Meu painel`):n(`/entrar?modo=login`,`Entrar`)]})]}),(0,Q.jsx)(`p`,{className:`tl-footer__legal`,children:ue.legal}),(0,Q.jsxs)(`p`,{className:`tl-footer__copy`,children:[(0,Q.jsx)(y,{size:13,"aria-hidden":`true`}),`Pagamento processado pela Cakto · TKS PRO é um produto TKS Metrics · `,ae]})]})})}function Rt({preco:e,irParaCompra:t}){let[n,r]=(0,k.useState)(!1);return(0,k.useEffect)(()=>{let e=document.querySelector(`.tl-hero__ctas`),t=document.getElementById(`comprar`);if(typeof IntersectionObserver>`u`){r(!0);return}let n=!0,i=!1,a=()=>r(!n&&!i),o=new IntersectionObserver(r=>{for(let a of r)a.target===e&&(n=a.isIntersecting),a.target===t&&(i=a.isIntersecting);a()});return e&&o.observe(e),t&&o.observe(t),()=>o.disconnect()},[]),(0,Q.jsxs)(`div`,{className:`tl-sticky${n?` is-on`:``}`,"aria-hidden":!n,children:[(0,Q.jsxs)(`div`,{className:`tl-sticky__price`,children:[(0,Q.jsx)(`b`,{children:e}),(0,Q.jsx)(`small`,{children:`7 dias de garantia`})]}),(0,Q.jsx)(`button`,{type:`button`,className:`tl-btn tl-btn--primary`,onClick:t,tabIndex:n?0:-1,children:`Assinar agora`})]})}var zt=``+new URL(`cash-WFYIJrCG.mp3`,import.meta.url).href;function Bt(e){try{window.gtag&&window.gtag(`event`,`contato_whatsapp`,{origem:e||`landing`})}catch{}let t=`https://wa.me/`+ie+`?text=`+encodeURIComponent(F);window.open(t,`_blank`,`noopener,noreferrer`)}function Vt(e){try{if(sessionStorage.getItem(`tks_purchase_ok`))return;sessionStorage.setItem(`tks_purchase_ok`,`1`),window.gtag&&window.gtag(`event`,`purchase`,{transaction_id:`tks-`+Date.now(),value:67,currency:`BRL`,items:[{item_id:`tks-pro`,item_name:`TKS PRO (assinatura)`,price:67,quantity:1}],origem:e||`desconhecida`}),window.oaiq&&window.oaiq(`measure`,`order_created`,{type:`contents`,amount:67,currency:`BRL`})}catch{}}var Ht=()=>{try{return localStorage.getItem(`livelytics_token`)}catch{return null}},Ut=()=>{try{return JSON.parse(localStorage.getItem(`livelytics_user`))}catch{return null}},Wt=e=>{try{return new URLSearchParams(window.location.search).get(e)}catch{return null}};function Gt({preview:e=!1,soundUrl:t=zt}){let n=(0,k.useRef)(null),r=pe();ge(n,!r);let[i]=(0,k.useState)(()=>e?null:Ht()),[a]=(0,k.useState)(()=>e?null:Ut()),[o,s]=(0,k.useState)(null),[c,l]=(0,k.useState)(!1),[u,d]=(0,k.useState)(1),[f,p]=(0,k.useState)(`monthly`),[m,h]=(0,k.useState)(``),[g,_]=(0,k.useState)(()=>!e&&Wt(`pago`)===`1`),[v]=(0,k.useState)(()=>e?``:Wt(`claim`)||``),[y,b]=(0,k.useState)(null),[x,C]=(0,k.useState)(``),[w,T]=(0,k.useState)(``),[ee,E]=(0,k.useState)(!1),D=(0,k.useCallback)(t=>{e||(window.history.pushState({},``,t),window.dispatchEvent(new Event(`popstate`)))},[e]),O=(0,k.useCallback)(async()=>{if(!i)return s({hasLicense:!1,semLogin:!0}),null;try{let e=await(await fetch(`/api/license`,{headers:{Authorization:`Bearer ${i}`}})).json();return s(e),e}catch{return s({hasLicense:!1,erro:!0}),null}},[i]);(0,k.useEffect)(()=>{O()},[O]),(0,k.useEffect)(()=>{if(!g||!i)return;let e=0,t=setInterval(async()=>{e++;let n=await O();n&&n.hasLicense&&n.status===`active`?(clearInterval(t),Vt(`logado`),_(!1),window.history.replaceState({},``,`/pro`)):e>=15&&(clearInterval(t),_(!1),window.history.replaceState({},``,`/pro`))},3e3);return()=>clearInterval(t)},[g,i,O]),(0,k.useEffect)(()=>{g&&!i&&!v&&_(!1)},[g,i,v]),(0,k.useEffect)(()=>{if(!g||i||!v)return;let e=!1,t=async()=>{try{let t=await(await fetch(`/api/license?acao=claim&token=`+encodeURIComponent(v))).json();if(e)return;t.valid?(b(t),t.paid&&(Vt(`sem-conta`),_(!1))):_(!1)}catch{}};t();let n=setInterval(t,3e3);return()=>{e=!0,clearInterval(n)}},[g,i,v]);let te=async()=>{h(``),l(!0);try{let e=await fetch(`/api/license`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({action:`claim`,token:v,password:x,name:w})}),t=await e.json();if(!e.ok){t.code===`HAS_ACCOUNT`?h(`Este e-mail já tem conta. Entre com sua senha de sempre. A licença já está vinculada.`):h(t.error||`Não foi possÃvel ativar.`);return}localStorage.setItem(`livelytics_token`,t.token),localStorage.setItem(`livelytics_user`,JSON.stringify(t.user)),window.location.replace(`/pro`)}catch{h(`Falha de conexão. Tente novamente.`)}finally{l(!1)}},ne=async()=>{h(``),l(!0);try{try{window.gtag&&window.gtag(`event`,`begin_checkout`,{value:re(u,f).prec
18oCents/100,currency:`BRL`,plano:u,periodo:f})}catch{}let e=await fetch(`/api/checkout/create`,{method:`POST`,headers:{"Content-Type":`application/json`,...i?{Authorization:`Bearer ${i}`}:{}},body:JSON.stringify({plano:u,periodo:f})}),t=await e.json();if(!e.ok||!t.url)throw Error(t.error||`Não foi possÃvel iniciar o pagamento.`);window.location.href=t.url}catch(e){h(e.message),l(!1)}},j=async e=>{if(window.confirm(`Isso desconecta a extensão desse computador. Você poderá ativar em outro. Continuar?`)){l(!0);try{let t=await fetch(`/api/license`,{method:`POST`,headers:{"Content-Type":`application/json`,Authorization:`Bearer ${i}`},body:JSON.stringify({action:`reset-device`,deviceId:e})}),n=await t.json();if(!t.ok)throw Error(n.error||`Falha ao liberar.`);await O()}catch(e){h(e.message)}finally{l(!1)}}},M=!!(o?.hasLicense&&o?.status===`active`),N=(0,k.useCallback)(()=>{document.getElementById(`comprar`)?.scrollIntoView({behavior:r?`auto`:`smooth`,block:`center`})},[r]),P=M?S:N,ie=(e,t)=>{if(e.preventDefault(),t===`#comprar`)return N();document.querySelector(t)?.scrollIntoView({behavior:r?`auto`:`smooth`,block:`start`})},F=!M&&!g;return(0,Q.jsxs)(`div`,{className:`tl${F?` has-sticky`:``}`,ref:n,children:[(0,Q.jsx)(`a`,{className:`tl-skip`,href:`#tl-main`,children:`Pular para o conteúdo`}),(0,Q.jsx)(Ot,{token:i,ativa:M,preco:A,navegar:D,irParaCompra:N,onAnchor:ie}),(0,Q.jsxs)(`main`,{id:`tl-main`,children:[(0,Q.jsx)(Qe,{reduced:r,som:ee,setSom:E,soundUrl:t,ativa:M,preco:A,onPrimary:P}),(0,Q.jsx)(kt,{}),(0,Q.jsx)(jt,{reduced:r}),(0,Q.jsx)(ot,{reduced:r}),(0,Q.jsx)(St,{reduced:r}),(0,Q.jsx)(Mt,{}),(0,Q.jsx)(Nt,{}),(0,Q.jsx)(Dt,{preview:e,reduced:r,token:i,user:a,licenca:o,ativa:M,aguardandoPgto:g,claimToken:v,claimInfo:y,novaSenha:x,setNovaSenha:C,novoNome:w,setNovoNome:T,ativarConta:te,processando:c,erro:m,plano:u,setPlano:d,periodo:f,setPeriodo:p,comprar:ne,liberarDispositivo:j,navegar:D,instalarPro:S}),(0,Q.jsx)(Ft,{abrirWhatsApp:Bt}),(0,Q.jsx)(It,{preco:A,ativa:M,onPrimary:M?S:N,abrirWhatsApp:Bt})]}),(0,Q.jsx)(Lt,{navegar:D,token:i}),F&&(0,Q.jsx)(Rt,{preco:`R$ 67/mês`,irParaCompra:N})]})}export{Gt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.