PageSourceSearch

https://alphafm.com.br/assets/useViverBem-vRaGxqj6.js

js alphafm.com.br collected 2026-10-02 11:19:27 UTC 865 bytes, 1 lines download raw bytes

1import{t as e}from"./client-CM42Hlll.js";import{gt as t}from"./index-C7hKX0Nv.js";import{t as n}from"./useBranchFilter-C5B9h4x_.js";import{u as r}from"./useWpPosts-DCOU2R3C.js";async function i(t){let n=e.from(`viver_bem_articles`).select(`*`).eq(`published`,!0).order(`display_order`,{ascending:!0});t&&(n=n.contains(`branch_ids`,[t]));let{data:r,error:i}=await n;return i?(console.error(`[useViverBem] Erro ao buscar viver bem:`,i.message),[]):r||[]}function a(){let{branchId:e,branchKey:t}=n();return r([`viver-bem`,t],()=>i(e))}async function o(t){let{data:n,error:r}=await e.from(`viver_bem_articles`).select(`*`).eq(`slug`,t).eq(`published`,!0).maybeSingle();return r?(console.error(`[useViverBemBySlug] Erro:`,r.message),null):n||null}function s(e){return t({queryKey:[`viver-bem`,`slug`,e],queryFn:()=>o(e),enabled:!!e,staleTime:3e5})}export{s as n,a as t};

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.