PageSourceSearch

https://www.growthconf.com.br/assets/ModalInscricao-DF0_YBv5.js

js growthconf.com.br collected 2026-10-04 13:33:41 UTC 18,575 bytes, 1 lines download raw bytes

1import{b as We,r as n,c as Be,j as e}from"./react-daO8XSXc.js";import{u as Q}from"./useFocoInicial-B7rNVo93.js";import{ab as $e,a as qe,b as He,A as Ze,ac as Ke,ad as Je,$ as X,a1 as pe,ae as be,af as ve,ag as je,a6 as Qe,a7 as O,ah as Xe,ai as Ye,aj as ea,ak as Y,n as ee,a0 as ae,al as M,am as aa,an as ra}from"./index-B58ZFblL.js";import{I as P}from"./Input-BllD4-Ae.js";import{S as F}from"./Select-u90BfzQK.js";import{C as we,D as ta,S as sa,a as oa}from"./inscricao-gdpE1a3T.js";import{g as ia,E as V,b as na,c as Ne}from"./pendenteService-CKdgog18.js";import{c as ca,v as la}from"./validacaoDeCadastro-C6n4R1Rr.js";import{A as G,R as U,L as W,m as da,a as ma,e as Ce,C as ua}from"./PecasDoFormulario-BIS-O8Mu.js";import{I as ha}from"./inscricao.pt-DS6Sdim7.js";import{a8 as fa,O as ye,y as re,U as ga,a9 as Ie,aa as xa,a5 as Ee,o as pa,ab as ba,q as va,h as ja,C as wa}from"./lucide-DgiROqw5.js";import"./supabase-CWGMQrOR.js";import"./framer-CJI0BPWU.js";const te=t=>(t??"").trim().toLowerCase().replace(/\s+/g," "),Na=t=>(t??"").replace(/\D/g,""),Ca=t=>[te(t.nome),te(t.sobrenome),Na(t.whatsapp),te(t.email)].join("|"),ya=(t,c)=>`${t}|${Ca(c)}`,se=(t,c,d,l)=>{if(c!=="inscricao"||!ca(d))return null;const b=ya(t,d);return l.has(b)?null:b},L={nome:"",sobrenome:"",email:"",whatsapp:"",cargo:"",departamento:"",descricaoFuncao:"",empresa:"",segmento:"",modeloNegocio:"",colaboradores:"",faturamento:"",interesses:[],linkedin:"",instagram:"",aceiteTermos:!1,optinComunicacoes:!1,optinPatrocinadores:!1,intencao:"",idioma:"pt"},ke=(t,c)=>la({nome:t.nome,sobrenome:t.sobrenome,whatsapp:t.whatsapp,email:t.email,cargo:t.cargo,departamento:t.departamento,empresa:t.empresa,segmento:t.segmento,colaboradores:t.colaboradores,aceite:t.aceiteTermos},c),oe=(t,c)=>{if(!t)return null;const d=c.trim().toLowerCase();if(!d)return null;const l={...L,...t,aceiteTermos:!1};if(String(l.email).trim().toLowerCase()!==d)return null;const b=ke(l);
1return delete b.aceite,Object.keys(b).length?null:l},Ia=t=>"https://wa.me/+551151944911?text="+encodeURIComponent(t),B=(t,c)=>t.map((d,l)=>({value:d,label:c[l]??d})),Ea=(t,c,d)=>c[t.indexOf(d)]??d,Ae=60,Re=({href:t,children:c})=>e.jsx("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-white",children:c}),Se=({marcado:t,erro:c,aoMudar:d,frase:l,termos:b})=>e.jsxs("div",{className:"border-t border-white/5 pt-5",children:[e.jsxs(ua,{id:"aceite-termos",marcada:t,aoMudar:d,idDoErro:c?"aceite-termos-erro":void 0,children:[e.jsxs("span",{className:"sm:hidden",children:[l.curto[0],e.jsx(Re,{href:b,children:l.curto[1]}),l.curto[2]]}),e.jsxs("span",{className:"hidden sm:inline",children:[l.longo[0],e.jsx(Re,{href:b,children:l.longo[1]}),l.longo[2]]})]}),c&&e.jsx("p",{id:"aceite-termos-erro",className:"mt-1.5 text-[10px] font-medium text-red-500",children:c})]}),Va=({isOpen:t,onClose:c,modoInicial:d="inscricao",intencao:l=""})=>{const b=We(),x=$e(),a=qe(ha),v=He(),ie=Ze("/termos-e-politicas",v),ne=n.useRef(x);ne.current=x;const $=n.useRef({destino:Ke,substituir:!1}),_=()=>{Ye(v),b($.current.destino,{replace:$.current.substituir})},ce=n.useRef(()=>{});ce.current=()=>{_(),c()};const[h,le]=n.useState(d),[Te,q]=n.useState(!1),[j,f]=n.useState(0),De=Q(j==="codigo"),Pe=Q(j===0&&h==="inscricao"),_e=Q(h==="entrar"&&j!=="codigo"),[s,R]=n.useState(L),[g,w]=n.useState({}),[C,m]=n.useState(""),[de,A]=n.useState(""),[y,p]=n.useState(!1),[me,S]=n.useState(""),[T,H]=n.useState(0),[I,z]=n.useState(null),ue=n.useRef(null),D=n.useRef(new Set),he=n.useRef({dados:s,modo:h});n.useEffect(()=>{he.current={dados:s,modo:h}});const Z=n.useRef((r,o,i)=>{D.current.add(i),ia(o,r).then(u=>{u||D.current.delete(i)})}),fe=n.useRef(()=>{const{dados:r,modo:o}=he.current,i=se(V,o,r,D.current);i&&Z.current(V,r,i)});n.useEffect(()=>{if(!t)return;const r=()=>{document.visibilityState==="hidden"&&fe.current()};return document.addEventListener("visibilitychange",r),()=>{document.removeEventListener("visibilitychange",r),fe.current()}},[t]),n.useEffect(()=>{if(!t)return;le(d),$.current=Je(window.location.search);const r=X()??{},o=l||(r.intencao==="indicar-palestrante"?"indicar-palestrante":"");o&&r.intencao!==o&&pe({...r,intencao:o});const i=be();ne.current.logado?(f("conferindo"),R({...L,...r,intencao:o,idioma:v})):i?(R({...L,...r,email:i,intencao:o,idioma:v}),f("codigo")):(f(0),R({...L,...r,intencao:o,idioma:v})),D.current.clear(),z(null),w({}),m(""),A(""),S(""),p(!1)},[t,d,l,v]),n.useEffect(()=>{if(!t||!x.logado||x.conferindo)return;let r=!1;return(async()=>{const o=x.userId;if(!o){r||f(0);return}const i=await ve(o);if(r)return;if(i&&l&&await je(o,l)){r||ce.current();return}if(r)return;if(i!==!1){f(0);return}z({userId:o,email:x.email.trim().toLowerCase()});const E=oe(X(),x.email)??oe(await na(),x.email);if(!r){if(E){R({...E,idioma:v}),f("resgate");return}f(0)}})(),()=>{r=!0}},[t,x.logado,x.conferindo,x.userId,x.email,v,l]),n.useEffect(()=>{if(T<=0)return;const r=setTimeout(()=>H(o=>o-1),1e3);return()=>clearTimeout(r)},[T]);const ge=n.useRef(!0);n.useEffect(()=>{var r;if(ge.current){ge.current=!1;return}(r=ue.current)==null||r.scrollIntoView({block:"start"})},[j,h]);const xe=r=>R(o=>({...o,aceiteTermos:r,optinComunicacoes:r,optinPatrocinadores:r})),N=(r,o)=>{R(i=>{const u={...i,[r]:o};return pe({...u,aceiteTermos:!1,optinComunicacoes:!1,optinPatrocinadores:!1}),u}),g[r]&&w(i=>({...i,[r]:""}))},K=async(r,o=!1)=>{m(""),A(""),q(!1),p(!0);const i=await aa(s.email,r,v);if(p(!1),i==="ok")return M(o?"codigo_reenviado":"codigo_pedido",{modo:h}),ra(s.email.trim()),S(""),f("codigo"),H(Ae),!0;if(i==="sem-inscricao")m(a.avisos.semInscricao),q(!0);else if(i==="limite"){if(be())return S(""),f("codigo"),A(a.avisos.codigoRecente),H(Ae),!0;m(a.avisos.limite)}else m(a.avisos.semEnvio);return!1},ze=r=>{const o=Object.keys(r)[0];o&&requestAnimationFrame(()=>{const i=document.getElementById(`inscricao-${o}`);i instanceof HTMLElement&&(i.focus({preventScroll:!0}),i.scrollIntoView({block:"nearest"}))})},Le=async r=>{if(r.preventDefault(),typeof j!="number")return;const o=se(V,h,s,D.current);o&&Z.current(V,s,o);const i=ke(s,a.validacao);if(w(i),Object.keys(i).length){ze(i);return}const u=se(Ne,h,s,D.current);if(u&&Z.current(Ne,s,u),I){p(!0);const E=await Y(I.userId,s);if(p(!1),!E){ee(new Error("Sessão aberta, mas o perfil não foi gravado"),{etapa:"salvarParticipante",modo:"sessao"}),m(a.avisos.naoSalvou);return}ae(),M("inscricao_concluida"),_(),c();return}await K(!0)},Oe=async r=>{if(r.preventDefault(),!Ce(s.email)){w({email:a.avisos.emailInvalido});return}w({}),await K(!1)},Me=async r=>{r.preventDefault();const o=me.replace(/\D/g,"");if(o.length<6){m(a.avisos.codigoIncompleto);return}m(""),p(!0);const i=s.email.trim().toLowerCase();let u=(I==null?void 0:I.email)===i?I.userId:null;if(!u){const k=await ea(s.email,o);if(!k.ok){p(!1),m(k.motivo==="invalido"?a.avisos.codigoInvalido:k.motivo==="limite"?a.avisos.limite:a.avisos.semValidar);return}u=k.userId,z({userId:u,email:i})}if(h==="entrar"){const k=oe(X(),i);if(k&&await ve(u)===!1){R({...k,idioma:v}),w({}),m(""),A(""),p(!1),f("resgate");return}}const E=h==="inscricao"||!!(s.aceiteTermos&&s.nome);if(E&&!await Y(u,s)){p(!1),ee(new Error("Inscrição validada, mas o perfil não foi gravado"),{etapa:"salvarParticipante",modo:h}),m(a.avisos.acessoSemSalvar);return}!E&&s.intencao&&await je(u,s.intencao),E&&ae(),M(E?"inscricao_concluida":"acesso_concluido"),_(),c()},Fe=async r=>{if(r.preventDefault(),!s.aceiteTermos){w({aceiteTermos:a.avisos.aceiteNoResgate});return}if(I){if(w({}),m(""),p(!0),!await Y(I.userId,s)){p(!1),ee(new Error("Resgate validado, mas o perfil não foi gravado"),{etapa:"salvarParticipante",modo:"resgate"}),m(a.avisos.resgateSemSalvar);return}ae(),M("inscricao_concluida"),_(),c()}},Ve=()=>{_(),c()},Ge=async()=>{T>0||y||await K(h==="inscricao",!0)&&A(a.avisos.novoCodigo)},J=r=>{le(r),q(!1),f(0),S(""),z(null),w({}),m(""),A("")},Ue=h==="inscricao"&&typeof j=="number";return Be.createPortal(e.jsx(Qe,{isOpen:t,onClose:c,size:"md",className:"p-0 overflow-hidden border border-white/10 sm:!max-w-xl",children:e.jsxs("div",{ref:ue,className:"w-full relative bg-[#050505]",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-crimson/10 via-trans
1parent to-blue-900/10 opacity-60 pointer-events-none"}),e.jsxs("div",{className:"p-6 sm:p-8 md:p-10 relative z-10",children:[j==="codigo"&&e.jsxs("form",{onSubmit:Me,noValidate:!0,children:[e.jsxs("div",{className:"text-center mb-7",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full border border-white/10 bg-white/5 text-crimson",children:e.jsx(fa,{size:22})}),e.jsx("h2",{className:"text-2xl font-bold text-white mb-2 tracking-tight",children:a.codigo.titulo}),e.jsxs("p",{className:"text-gray-400 text-sm font-light leading-relaxed",children:[a.codigo.enviamosPara," ",e.jsx("span",{className:"text-white font-medium break-all",children:s.email.trim()}),"."]})]}),e.jsxs("div",{className:"mb-6 rounded-xl border border-white/5 bg-white/[0.02] p-3.5 text-[11px] leading-relaxed text-gray-500",children:[a.codigo.naoChegou[0]," ",e.jsx("span",{className:"text-gray-300 break-all",children:"[email protected]"})," ",a.codigo.naoChegou[1]," ",a.codigo.validade," ",e.jsx("a",{href:Ia(a.ajudaNoWhatsapp),target:"_blank",rel:"noopener noreferrer",className:"text-white underline underline-offset-4 hover:text-crimson transition-colors",children:a.codigo.ajuda}),"."]}),C&&e.jsx(G,{children:C}),de&&!C&&e.jsx("p",{className:"mb-5 text-center text-xs text-emerald-400",children:de}),e.jsx("label",{htmlFor:"codigo-acesso",className:"sr-only",children:a.codigo.campo}),e.jsx("input",{ref:De,id:"codigo-acesso",value:me,onChange:r=>{S(r.target.value.replace(/\D/g,"").slice(0,8)),m("")},inputMode:"numeric",autoComplete:"one-time-code",placeholder:"000000",className:"w-full bg-[#0A0A0A] border border-white/10 rounded-xl py-4 text-center text-2xl font-mono tracking-[0.5em] text-white placeholder:text-gray-800 focus:outline-none focus:border-crimson/50 focus:ring-1 focus:ring-crimson/50"}),e.jsx(O,{type:"submit",variant:"primary",fullWidth:!0,isLoading:y,className:"mt-6 shadow-[0_0_20px_rgba(255,0,0,0.15)]",children:I?a.codigo.salvarDeNovo:a.codigo.validar}),e.jsxs(U,{logo:W,children:[e.jsx("button",{type:"button",onClick:Ge,disabled:T>0||y,className:"text-gray-400 hover:text-white underline underline-offset-4 transition-colors disabled:no-underline disabled:text-gray-600 disabled:cursor-default",children:T>0?a.codigo.reenviarEm(T):a.codigo.reenviar}),e.jsx("button",{type:"button",onClick:()=>{Xe(),f(0),S(""),z(null),m(""),A("")},className:"text-gray-500 hover:text-white transition-colors",children:a.codigo.outroEmail})]})]}),j==="conferindo"&&e.jsxs("div",{className:"py-14 text-center",role:"status","aria-live":"polite",children:[e.jsx("div",{className:"mx-auto mb-5 h-8 w-8 animate-spin rounded-full border-2 border-white/20 border-t-white"}),e.jsx("p",{className:"text-sm font-light text-gray-400",children:a.conferindo})]}),j==="resgate"&&e.jsxs("form",{onSubmit:Fe,noValidate:!0,children:[e.jsxs("div",{className:"text-center mb-7",children:[e.jsx("div",{className:"mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full border border-white/10 bg-white/5 text-crimson",children:e.jsx(ye,{size:22})}),e.jsx("h2",{className:"text-2xl font-bold text-white mb-2 tracking-tight",children:a.resgate.titulo}),e.jsxs("p",{className:"text-gray-400 text-sm font-light leading-relaxed",children:[a.resgate.texto[0],s.nome.trim()&&e.jsxs(e.Fragment,{children:[", ",s.nome.trim()]}),a.resgate.texto[1]]})]}),e.jsx("dl",{className:"mb-6 space-y-1.5 rounded-xl border border-white/5 bg-white/[0.02] p-4 text-[11px] leading-relaxed",children:[[a.resgate.campos.email,s.email.trim()],[a.resgate.campos.whatsapp,s.whatsapp.trim()],[a.resgate.campos.empresa,s.empresa.trim()],[a.resgate.campos.cargo,Ea(we,a.opcoes.cargos,s.cargo.trim())]].map(([r,o])=>e.jsxs("div",{className:"flex gap-2",children:[e.jsx("dt",{className:"w-20 shrink-0 text-gray-500",children:r}),e.jsx("dd",{className:"min-w-0 break-words text-gray-300",children:o})]},r))}),C&&e.jsx(G,{children:C}),e.jsx(Se,{marcado:s.aceiteTermos,erro:g.aceite,aoMudar:xe,frase:a.aceite,termos:ie}),e.jsx(O,{type:"submit",variant:"primary",fullWidth:!0,isLoading:y,className:"mt-7 shadow-[0_0_20px_rgba(255,0,0,0.15)]",rightIcon:!y&&e.jsx(re,{size:14}),children:a.resgate.concluir}),e.jsx(U,{logo:W,children:e.jsx("button",{type:"button",onClick:Ve,className:"text-gray-500 hover:text-white transition-colors",children:a.resgate.depois})})]}),Ue&&e.jsxs("form",{onSubmit:Le,noValidate:!0,children:[e.jsxs("div",{className:"mb-6",children:[e.jsxs("h2",{className:"mb-1.5 flex items-center gap-2 text-2xl font-bold tracking-tight text-white",children:[e.jsx(ga,{size:24,className:"shrink-0 text-crimson","aria-hidden":!0}),e.jsx("span",{className:"sm:hidden",children:a.cabecalho[l].tituloCurto}),e.jsx("span",{className:"hidden sm:inline",children:a.cabecalho[l].titulo})]}),e.jsx("p",{className:"hidden sm:block text-[13px] font-light text-gray-400",children:a.cabecalho[l].subtitulo})]}),C&&e.jsx(G,{children:C}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[e.jsx(P,{label:a.ficha.nome,"aria-label":a.ficha.nome,value:s.nome,id:"inscricao-nome",onChange:r=>N("nome",r.target.value),error:g.nome,icon:e.jsx(Ie,{size:16}),ref:Pe,autoComplete:"given-name"}),e.jsx(P,{label:a.ficha.sobrenome,"aria-label":a.ficha.sobrenome,value:s.sobrenome,id:"inscricao-sobrenome",onChange:r=>N("sobrenome",r.target.value),error:g.sobrenome,icon:e.jsx(Ie,{size:16}),autoComplete:"family-name"})]}),e.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[e.jsx(P,{label:a.ficha.whatsapp,"aria-label":a.ficha.whatsapp,type:"tel",inputMode:"tel",placeholder:a.ficha.whatsappExemplo,value:s.whatsapp,id:"inscricao-whatsapp",onChange:r=>N("whatsapp",a.ficha.whatsappInternacional?da(r.target.value):ma(r.target.value)),error:g.whatsapp,icon:e.jsx(xa,{size:16}),autoComplete:a.ficha.whatsappInternacional?"tel":"tel-national"}),e.jsx(P,{label:a.ficha.email,"aria-label":a.ficha.email,type:"email",placeholder:a.ficha.emailExemplo,value:s.email,id:"inscricao-email",onChange:r=>N("email",r.target.value),error:g.email,icon:e.jsx(Ee,{size:16}),autoComplete:"email"})]}),e.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[e.jsx(F,{label:a.ficha.cargo,"aria-label":a.ficha.cargo,options:B(we,a.opcoes.cargos),placeholder:a.ficha.selecione,value:s.cargo,id:"inscricao-cargo",onChange:r=>N("cargo",r.target.value),error:g.cargo,icon:e.jsx(pa,{size:16})}),e.jsx(F,{label:a.ficha.departamento,"aria-label":a.ficha.departamento,options:B(ta,a.opcoes.departamentos),placeholder:a.ficha.selecione,value:s.departamento,id:"inscricao-departamento",onChange:r=>N("departamento",r.target.value),error:g.departamento,icon:e.jsx(ye,{size:16})})]}),e.jsx(P,{label:a.ficha.empresa,"aria-label":a.ficha.empresa,value:s.empresa,id:"inscricao-empresa",onChange:r=>N("empresa",r.target.value),error:g.empresa,icon:e.jsx(ba,{size:16}),autoComplete:"organization"}),e.jsxs("div",{className:"grid gap-3 sm:grid-cols-2",children:[e.jsx(F,{label:a.ficha.segmento,"aria-label":a.ficha.segmento,options:B(sa,a.opcoes.segmentos),placeholder:a.ficha.selecione,value:s.segmento,id:"inscricao-segmento",onChange:r=>N("segmento",r.target.value),error:g.segmento,icon:e.jsx(va,{size:16})}),e.jsx(F,{label:a.ficha.colaboradores,"aria-label":a.ficha.colaboradoresExtenso,options:B(oa,a.opcoes.colaboradores),placeholder:a.ficha.selecione,value:s.colaboradores,id:"inscricao-colaboradores",onChange:r=>
1N("colaboradores",r.target.value),error:g.colaboradores,icon:e.jsx(ja,{size:16})})]}),e.jsx(Se,{marcado:s.aceiteTermos,erro:g.aceite,aoMudar:xe,frase:a.aceite,termos:ie})]}),e.jsx(O,{type:"submit",variant:"primary",fullWidth:!0,isLoading:y,className:"mt-8 shadow-[0_0_20px_rgba(255,0,0,0.15)]",rightIcon:!y&&e.jsx(re,{size:14}),children:a.ficha.acessar}),e.jsxs("p",{className:"mt-3 text-center text-xs text-gray-500",children:[e.jsx("span",{className:"sm:hidden",children:a.ficha.codigoCurto}),e.jsx("span",{className:"hidden sm:inline",children:a.ficha.codigoLongo})]}),e.jsx(U,{logo:W,logoMenorNoCelular:!0,children:e.jsxs("p",{className:"text-xs text-gray-500",children:[e.jsx("span",{className:"hidden sm:inline",children:a.ficha.jaInscrito}),e.jsxs("button",{type:"button",onClick:()=>J("entrar"),className:"text-white underline underline-offset-4 hover:text-crimson transition-colors",children:[e.jsx("span",{className:"sm:hidden",children:a.ficha.jaInscritoCurto}),e.jsx("span",{className:"hidden sm:inline",children:a.ficha.acessarComCodigo})]})]})})]}),h==="entrar"&&j!=="codigo"&&e.jsxs("form",{onSubmit:Oe,noValidate:!0,children:[e.jsxs("div",{className:"text-center mb-7",children:[e.jsxs("h2",{className:"mb-2 flex items-center justify-center gap-2 text-2xl font-bold tracking-tight text-white",children:[e.jsx(wa,{size:24,className:"shrink-0 text-crimson","aria-hidden":!0}),a.entrar.titulo]}),e.jsx("p",{className:"text-gray-400 text-sm font-light leading-relaxed",children:a.entrar.texto})]}),e.jsx(P,{label:a.ficha.email,"aria-label":a.ficha.email,type:"email",placeholder:a.ficha.emailExemplo,value:s.email,id:"inscricao-email",onChange:r=>N("email",r.target.value),error:g.email,icon:e.jsx(Ee,{size:16}),ref:_e,autoComplete:"email"}),e.jsx(O,{type:"submit",variant:"primary",fullWidth:!0,isLoading:y,className:"mt-6 shadow-[0_0_20px_rgba(255,0,0,0.15)]",rightIcon:!y&&e.jsx(re,{size:14}),children:a.entrar.receberCodigo}),C&&e.jsxs(G,{className:"mt-4",children:[C,Te&&e.jsxs(e.Fragment,{children:[" ",e.jsx("button",{type:"button",onClick:()=>J("inscricao"),className:"font-medium text-white underline underline-offset-4 transition-colors hover:text-crimson",children:a.entrar.facaInscricao})," ",a.entrar.paraEntrar]})]}),e.jsx("button",{type:"button",onClick:()=>{if(!Ce(s.email)){w({email:a.avisos.emailDaInscricao});return}m(""),A(""),S(""),f("codigo")},className:"mt-3 w-full text-center text-xs text-gray-500 underline underline-offset-4 transition-colors hover:text-white",children:a.entrar.jaTenhoCodigo}),e.jsx(U,{logo:W,children:e.jsxs("p",{className:"text-xs text-gray-500",children:[a.entrar.aindaNao," ",e.jsx("button",{type:"button",onClick:()=>J("inscricao"),className:"text-white underline underline-offset-4 hover:text-crimson transition-colors",children:a.entrar.inscricaoGratuita})]})})]})]})]})}),document.body)};export{Va 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.