1import{k as t,G as r}from"./index-DIyBAkHf.js";async function n(){try{return await t.get("/home-config")}catch(a){return w()}}async function i(a){await t.put("/home-config",a)}async function u(){try{return await t.get("/autor-destaque/ativo")}catch(a){return h()}}async function l(){try{return await t.get("/autor-destaque")}catch(a){return _()}}async function f(a){if(a.id){const{id:e,...s}=a;return t.patch("/autor-destaque/".concat(e),s)}return t.post("/autor-destaque",a)}async function p(a){await t.delete("/autor-destaque/".concat(a))}async function d(a){await t.put("/autor-destaque/".concat(a,"/ativar"))}async function v(a){try{return await t.get("/caca-palavras".concat(a?"?mes=".concat(encodeURIComponent(a)):""))}catch(e){return x(a)}}async function m(a){var s;const e={...a,palavra:(s=a.palavra)==null?void 0:s.toUpperCase()};if(e.id){const{id:o,...c}=e;return t.patch("/caca-palavras/".concat(o),c)}return t.post("/caca-palavras",e)}async function y(a){await t.post("/caca-palavras/lote",{itens:a})}async function C(a){await t.delete("/caca-palavras/".concat(a))}async function A(a){await t.delete("/caca-palavras/mes/".concat(encodeURIComponent(a)))}async function g(){try{return await t.get("/assine-carousel")}catch(a){return P()}}async function q(a){if(a.id){const{id:e,...s}=a;return t.patch("/assine-carousel/".concat(e),s)}return t.post("/assine-carousel",a)}async function b(a){await t.delete("/assine-carousel/".concat(a))}async function w(){const{data:a,error:e}=await r.from("home_config").select("*").limit(1).maybeSingle();if(e)throw e;return a}async function h(){const{data:a,error:e}=await r.from("autor_destaque").select("*, autor:autores(*)").eq("ativo",!0).order("created_at",{ascending:!1}).limit(1).maybeSingle();if(e)throw e;return a}async function _(){const{data:a,error:e}=await r.from("autor_destaque").select("*, autor:autores(*)").order("created_at",{ascending:!1});if(e)throw e;return a!=null?a:[]}async function x(a){let e=r.from("caca_palavras").select("*").order("dificuldade").order("created_at");a&&(e=e.eq("mes",a));const{data:s,error:o}=await e;if(o)throw o;return s!=null?s:[]}async function P(){const{data:a,error:e}=await r.from("assine_carousel").select("*").order("ordem");if(e)throw e;return a!=null?a:[]}const D=n,I=i,$=u,L=l,H=f,z=p,R=d,E=v,O=m,U=y,k=C,F=A,M=g,S=q,j=b,B={eyebrow:"Chamada editorial",prazo:"fluxo contÃnuo · sem prazo",titulo:"colabore",lede:"Cada nova voz traz uma dimensão única à nossa biblioteca de ideias. Compartilhe sua voz com a Pernambuco Revista.\n\nâBuscamos novas perspectivas, ensaios e projetos culturais que enriqueçam o diálogo sobre a literatura brasileira contemporânea.â",chips:["Ensaios, contos e resenhas","Poesia","Sugestão de pauta","Fale com a redação"],cta_texto:"Quero colaborar",cta_link:"/colabore",cor_fundo:"#0a0a0a",cor_destaque:"#f2e205",cor_texto:"#ffffff",cor_botao_fundo:"#f2e205",cor_botao_texto:"#0a0a0a",legal:"As opiniões e os conteúdos expressos nos textos desta seção são de exclusiva responsabilidade de seus autores e não refletem, necessariamente, a opinião ou o posicionamento institucional da Revista Pernambuco."};export{B as D,E as a,$ as b,L as c,D as d,R as e,z as f,j as g,F as h,U as i,k as j,H as k,M as l,S as m,O as n,I as s};
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.