PageSourceSearch

https://cheerdaily.com/assets/cheer-awards-settings-D0I3gSMF.js

js cheerdaily.com collected 2026-10-09 21:25:40 UTC 1,381 bytes, 1 lines download raw bytes

1import{a as e}from"./jsx-runtime-CMgEUHpv.js";import{t}from"./react-DEJ-sB-V.js";import{n}from"./client-DBK1qpi9.js";import{t as r}from"./useQuery-DHxB_cAx.js";var i=e(t(),1),a=`lovable.cheer_awards_preview`;function o(){if(typeof window>`u`)return null;try{let e=new URL(window.location.href).searchParams.get(`cheerawardspreview`);return e===`off`&&sessionStorage.setItem(a,`off`),e===`clear`&&sessionStorage.removeItem(a),sessionStorage.getItem(a)===`off`?`off`:null}catch{return null}}function s(e){typeof window>`u`||(e===`off`?sessionStorage.setItem(a,`off`):sessionStorage.removeItem(a),window.dispatchEvent(new Event(`cheer-awards-preview-change`)))}function c(){let[e,t]=(0,i.useState)(null);return(0,i.useEffect)(()=>{t(o());let e=()=>t(o());return window.addEventListener(`cheer-awards-preview-change`,e),window.addEventListener(`storage`,e),()=>{window.removeEventListener(`cheer-awards-preview-change`,e),window.removeEventListener(`storage`,e)}},[]),e}var l={ctas_enabled:!0};function u(e){return{...l,...e??{}}}async function d(){let{data:e}=await n.from(`site_settings`).select(`value`).eq(`key`,`cheer_awards_settings`).maybeSingle();return u(e?.value??null)}function f(){let e=c(),{data:t}=r({queryKey:[`cheer-awards-ctas-enabled`],queryFn:async()=>(await d()).ctas_enabled,staleTime:300*1e3});return e===`off`?!1:t??!0}export{c as a,s as i,u as n,f as r,l 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.