1import{j as o}from"./vendor-motion-D_eWtC2i.js";import{m as n,F as d,I as c,J as l,K as g}from"./index-BB35H7Wo.js";import{P as x}from"./PageHeader-B-h5e2bL.js";import{S as u}from"./StoreDataForm-m2wiNbXd.js";import{L as j}from"./LogoUpload-7qHc5oLw.js";import{u as f}from"./usePartnerData-Cd6SrjRL.js";import{u as h}from"./Parceiro-BNHyC4G8.js";import"./vendor-react-C5-rmG_I.js";import"./vendor-supabase-CfDyWxaF.js";import"./vendor-charts-BzSnLuq2.js";import"./input-ChxEbcIp.js";import"./textarea-B57HOCBF.js";import"./label-BS3ES4Lh.js";import"./badge-Bh_ckV5a.js";import"./select-x5tgiaXZ.js";import"./index-BdQq_4o_.js";import"./index-Bnb-0OWf.js";import"./chevron-up-BItnVi1a.js";import"./useProfile-DcCplDTE.js";import"./masks-CtGf3qEv.js";import"./viacep-CVeq8nfW.js";import"./BusinessHoursEditor-C_Q8DfNq.js";import"./switch-CgOxDqZn.js";import"./alert-DU2qycPJ.js";import"./businessHours-B5AEAeRR.js";import"./info-CqRh3D7w.js";import"./copy-B13V1FNZ.js";import"./circle-check-C7O8bchf.js";import"./lock-OgBxP8kj.js";import"./globe-njR3ySAJ.js";import"./slider-DZyZf67Y.js";import"./zoom-out-DZdzum8I.js";import"./zoom-in-CTX6IbLB.js";import"./rotate-cw-BADngv5G.js";import"./upload-BK7QTj6s.js";import"./trash-2-CBz-PlbU.js";import"./ProtectedComponent-eOqF_vGs.js";import"./breadcrumb-Chm8b2r7.js";import"./AppMenuTrigger-CF53lBez.js";import"./chevron-left-Db_mhCJ-.js";import"./skeleton-BMFUsGhM.js";import"./wallet-BsM7_cpn.js";import"./package-CHH6xLst.js";import"./briefcase-BWDXUg3Z.js";import"./shopping-bag-DgYzBEmT.js";import"./calendar-check-Bgu19-bS.js";import"./message-square-quote-BHIJgb6s.js";import"./truck-DM7P85Uo.js";import"./history-_W092GKo.js";import"./banknote-axFwXUwY.js";import"./checkbox-CK6nSSdh.js";import"./useLegalDocuments-CHaJFLa7.js";import"./useSignatures-D02eg6Wp.js";import"./file-pen-line-sQCZ4xfd.js";import"./index-C83IWVrj.js";const Po=()=>{const{partnerData:r,updatePartnerData:i,isUpdating:a}=f(),{can:m,isLoading:e}=h(),t=e||m("configuracoes","edit"),s=p=>{t&&i({logo:p})};return o.jsxs("div",{className:"space-y-6",children:[o.jsx(x,{title:"Dados da Empresa",description:"Gerencie as informações do seu negócio â loja ou prestador de serviços"}),o.jsxs(n,{children:[o.jsxs(d,{children:[o.jsx(c,{className:"text-base sm:text-lg",children:"Logotipo da loja"}),o.jsx(l,{className:"text-xs sm:text-sm",children:"A logo aparece em Ãcone redondo nos cards de lojas e notificações. Escolha uma imagem nÃtida â você poderá recortar e ajustar o enquadramento antes de salvar."})]}),o.jsx(g,{children:o.jsx(j,{value:r==null?void 0:r.logo,onChange:s,bucket:"site-assets",pathPrefix:"partner-logos",disabled:a||!t})})]}),o.jsx(u,{canEdit:t})]})};export{Po 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.