import{j as a,X as l,d9 as n,a1 as i,I as c}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f10.js";import{s as m}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f23.js";import{u as p}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f19.js";import{d}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f154.js";import{V as x}from"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f18.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f4.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f8.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f5.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f7.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f6.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f9.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f2.js";import"./v_7_4_2_15_728248e3-b235-44ed-9cd5-d3199fba8c4f3.js";const h="/assets/png/Gabarito.chunk.png";function D(){const{label:o}=m(),{language:s}=p(),e=async()=>{try{const r=await fetch(`${x.backend_utils}api/XLSX/gabarito`);if(!r.ok)throw new Error("Erro ao buscar gabarito");const t=await r.json();d(t.XLSXbase64,`${o.name}_gabarito.xlsx`)}catch(r){console.error("Erro ao baixar gabarito:",r),c({type:"Error",message:s.erroDownload,position:"top-right"})}};return a.jsxs("div",{className:"w-[800px] p-2 px-4",children:[a.jsxs("div",{className:"flex gap-2 items-center",children:[a.jsx(l,{children:s.modeloDeImportacao}),a.jsxs("button",{className:"ml-3 btn-daisy !btn-xs !bg-[var(--primaria)] pulse !text-[var(--letra)]",onClick:e,children:[a.jsx(n,{size:14}),s.baixarModelo]})]}),a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsxs("div",{className:"pt-2",children:[a.jsx(i,{weight:"600",children:s.sigaAsInstrucoesAbaixo}),a.jsxs("ul",{className:"list-decimal grid gap-2 px-6",children:[a.jsx("li",{children:s.abraUmArquivoExcelBranco}),a.jsxs("li",{children:[a.jsx("span",{children:s.posicioneContatosFormatacao}),a.jsx("span",{children:a.jsx("img",{src:chrome.runtime.getURL(`content/${h}`),alt:"gabrito",className:"h-[96px] w-full rounded-md"})})]}),a.jsx("li",{children:s.aposConcluirSalveImporte})]})]}),a.jsxs("div",{className:"pt-2",children:[a.jsx(i,{weight:"600",children:s.dicasIndinspensaveis}),a.jsxs("ul",{className:"list-decimal grid gap-2 px-6",children:[a.jsxs("li",{children:[s.importanteContatosTenham," ",a.jsx("strong",{className:"text-[var(--primaria)]",children:s.dDDS}),s.respectivos]}),a.jsxs("li",{children:[a.jsx("span",{children:s.QueiraImportarContatos}),a.jsx("a",{className:"link text-[var(--primaria)]",href:"https://contacts.google.com",target:"_blank",children:"Google Contacts"}),a.jsxs("span",{children:[" ",s.downloadPlanilhaEImportacao]})]})]})]})]})]})}export{D as default};
