1import{f as S,K as ce,L as E,M as ue,N as de,O as fe,H as W,P as he,Q as pe,R as me,x as Z,S as K,U as be,E as xe,u as N,V as ge,W as T,X as ae,s as ee,Y as ye,Z as ve,A as we,z as _e,e as Y,o as _,c as C,a as d,b as G,w as k,F as j,d as z,t as A,r as J,j as O,C as se,m as X,y as De,$ as Ce,h as re,q as $e,g as U,v as R}from"./Bv6qjeVY.js";import{u as Be}from"./CjeL65ZF.js";import{_ as Q}from"./C_pVUJaS.js";function Ae(r){return typeof r=="string"?`'${r}'`:new Se().serialize(r)}const Se=(function(){class r{#e=new Map;compare(e,a){const s=typeof e,l=typeof a;return s==="string"&&l==="string"?e.localeCompare(a):s==="number"&&l==="number"?e-a:String.prototype.localeCompare.call(this.serialize(e,!0),this.serialize(a,!0))}serialize(e,a){if(e===null)return"null";switch(typeof e){case"string":return a?e:`'${e}'`;case"bigint":return`${e}n`;case"object":return this.$object(e);case"function":return this.$function(e)}return String(e)}serializeObject(e){const a=Object.prototype.toString.call(e);if(a!=="[object Object]")return this.serializeBuiltInType(a.length<10?`unknown:${a}`:a.slice(8,-1),e);const s=e.constructor,l=s===Object||s===void 0?"":s.name;if(l!==""&&globalThis[l]===s)return this.serializeBuiltInType(l,e);if(typeof e.toJSON=="function"){const n=e.toJSON();return l+(n!==null&&typeof n=="object"?this.$object(n):`(${this.serialize(n)})`)}return this.serializeObjectEntries(l,Object.entries(e))}serializeBuiltInType(e,a){const s=this["$"+e];if(s)return s.call(this,a);if(typeof a?.entries=="function")return this.serializeObjectEntries(e,a.entries());throw new Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,a){const s=Array.from(a).sort((n,o)=>this.compare(n[0],o[0]));let l=`${e}{`;for(let n=0;n<s.length;n++){const[o,g]=s[n];l+=`${this.serialize(o,!0)}:${this.serialize(g)}`,n<s.length-1&&(l+=",")}return l+"}"}$object(e){let a=this.#e.get(e);return a===void 0&&(this.#e.set(e,`#${this.#e.size}`),a=this.serializeObject(e),this.#e.set(e,a)),a}$function(e){const a=Function.prototype.toString.call(e);return a.slice(-15)==="[native code] }"?`${e.name||""}()[native]`:`${e.name}(${e.length})${a.replace(/\s*\n\s*/g,"")}`}$Array(e){let a="[";for(let s=0;s<e.length;s++)a+=this.serialize(e[s]),s<e.length-1&&(a+=",");return a+"]"}$Date(e){try{return`Date(${e.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(",")}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((a,s)=>this.compare(a,s)))}`}$Map(e){return this.serializeObjectEntries("Map",e.entries())}}
1for(const t of["Error","RegExp","URL"])r.prototype["$"+t]=function(e){return`${t}(${e})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])r.prototype["$"+t]=function(e){return`${t}[${e.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])r.prototype["$"+t]=function(e){return`${t}[${e.join("n,")}${e.length>0?"n":""}]`};return r})(),Te=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Oe=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ee="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",P=[];class Pe{_data=new M;_hash=new M([...Te]);_nDataBytes=0;_minBufferSize=0;finalize(t){t&&this._append(t);const e=this._nDataBytes*8,a=this._data.sigBytes*8;return this._data.words[a>>>5]|=128<<24-a%32,this._data.words[(a+64>>>9<<4)+14]=Math.floor(e/4294967296),this._data.words[(a+64>>>9<<4)+15]=e,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(t,e){const a=this._hash.words;let s=a[0],l=a[1],n=a[2],o=a[3],g=a[4],h=a[5],u=a[6],y=a[7];for(let m=0;m<64;m++){if(m<16)P[m]=t[e+m]|0;else{const $=P[m-15],f=($<<25|$>>>7)^($<<14|$>>>18)^$>>>3,c=P[m-2],p=(c<<15|c>>>17)^(c<<13|c>>>19)^c>>>10;P[m]=f+P[m-7]+p+P[m-16]}const b=g&h^~g&u,i=s&l^s&n^l&n,v=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),x=(g<<26|g>>>6)^(g<<21|g>>>11)^(g<<7|g>>>25),w=y+x+b+Oe[m]+P[m],D=v+i;y=u,u=h,h=g,g=o+w|0,o=n,n=l,l=s,s=w+D|0}a[0]=a[0]+s|0,a[1]=a[1]+l|0,a[2]=a[2]+n|0,a[3]=a[3]+o|0,a[4]=a[4]+g|0,a[5]=a[5]+h|0,a[6]=a[6]+u|0,a[7]=a[7]+y|0}_append(t){typeof t=="string"&&(t=M.fromUtf8(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_process(t){let e,a=this._data.sigBytes/64;t?a=Math.ceil(a):a=Math.max((a|0)-this._minBufferSize,0);const s=a*16,l=Math.min(s*4,this._data.sigBytes);if(s){for(let n=0;n<s;n+=16)this._doProcessBlock(this._data.words,n);e=this._data.words.splice(0,s),this._data.sigBytes-=l}return new M(e,l)}}class M{words;sigBytes;constructor(t,e){t=this.words=t||[],this.sigBytes=e===void 0?t.length*4:e}static fromUtf8(t){const e=unescape(encodeURIComponent(t)),a=e.length,s=[];for(let l=0;l<a;l++)s[l>>>2]|=(e.charCodeAt(l)&255)<<24-l%4*8;return new M(s,a)}toBase64(){const t=[];for(let e=0;e<this.sigBytes;e+=3){const a=this.words[e>>>2]>>>24-e%4*8&255,s=this.words[e+1>>>2]>>>24-(e+1)%4*8&255,l=this.words[e+2>>>2]>>>24-(e+2)%4*8&255,n=a<<16|s<<8|l;for(let o=0;o<4&&e*8+o*6<this.sigBytes*8;o++)t.push(Ee.charAt(n>>>6*(3-o)&63))}return t.join("")}concat(t){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let e=0;e<t.sigBytes;e++){const a=t.words[e>>>2]>>>24-e%4*8&255;this.words[this.sigBytes+e>>>2]|=a<<24-(this.sigBytes+e)%4*8}else for(let e=0;e<t.sigBytes;e+=4)this.words[this.sigBytes+e>>>2]=t.words[e>>>2];this.sigBytes+=t.sigBytes}}function je(r){return new Pe().finalize(r).toBase64()}function F(r){return je(Ae(r))}const Fe={trailing:!0};function Me(r,t=25,e={}){if(e={...Fe,...e},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let a,s,l=[],n,o;const g=(y,m)=>(n=Ne(r,y,m),n.finally(()=>{if(n=null,e.trailing&&o&&!s){const b=g(y,o);return o=null,b}}),n),h=function(...y){return e.trailing&&(o=y),n||new Promise(m=>{const b=!s&&e.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const i=e.leading?a:g(this,y);o=null;for(const v of l)v(i);l=[]},t),b?(a=g(this,y),m(a)):l.push(m)})},u=y=>{y&&(clearTimeout(y),s=null)};return h.isPending=()=>
1!!s,h.cancel=()=>{u(s),l=[],o=null},h.flush=()=>{if(u(s),!o||n)return;const y=o;return o=null,g(this,y)},h}async function Ne(r,t,e){return await r.apply(t,e)}const ke=Symbol.for("nuxt:client-only"),ze=r=>r==="defer"||r===!1;function Le(...r){const t=typeof r[r.length-1]=="string"?r.pop():void 0;Ue(r[0],r[1])&&r.unshift(t);let[e,a,s={}]=r,l=!1;const n=S(()=>T(e));if(typeof n.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof a!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const o=ce();s.server??=!0,s.default??=Ve,s.getCachedData??=ie,s.lazy??=!1,s.immediate??=!0,s.deep??=E.deep,s.dedupe??="cancel",s._functionName,o._asyncData[n.value];function g(){const i={cause:"initial",dedupe:s.dedupe};return o._asyncData[n.value]?._init||(i.cachedData=s.getCachedData(n.value,o,{cause:"initial"}),o._asyncData[n.value]=ne(o,n.value,a,s,i.cachedData)),()=>o._asyncData[n.value].execute(i)}const h=g(),u=o._asyncData[n.value];u._deps++;const y=s.server!==!1&&o.payload.serverRendered;{let i=function(f){const c=o._asyncData[f];c?._deps&&(c._deps--,c._deps===0&&c?._off())};const v=pe();if(v&&y&&s.immediate&&!v.sp&&(v.sp=[]),v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const f=v._nuxtOnBeforeMountCbs;ue(()=>{f.forEach(c=>{c()}),f.splice(0,f.length)}),de(()=>f.splice(0,f.length))}const x=v&&(v._nuxtClientOnly||fe(ke,!1));y&&o.isHydrating&&(u.error.value||u.data.value!=null)?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):v&&(!x&&o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?v._nuxtOnBeforeMountCbs.push(h):s.immediate&&h();const w=me(),D=W(n,(f,c)=>{if((f||c)&&f!==c){l=!0;const p=o._asyncData[c]?.data.value!==E.value,B=o._asyncDataPromises[c]!==void 0,L={cause:"initial",dedupe:s.dedupe};if(!o._asyncData[f]?._init){let I;c&&p?I=o._asyncData[c].data.value:(I=s.getCachedData(f,o,{cause:"initial"}),L.cachedData=I),o._asyncData[f]=ne(o,f,a,s,I)}o._asyncData[f]._deps++,c&&i(c),(s.immediate||p||B)&&o._asyncData[f].execute(L),ae(()=>{l=!1})}},{flush:"sync"}),$=s.watch?W(s.watch,()=>{l||(o._asyncData[n.value]?._execute.isPending()&&ae(()=>{o._asyncData[n.value]?._execute.flush()}),o._asyncData[n.value]?._execute({cause:"watch",dedupe:s.dedupe}))}):()=>{};w&&he(()=>{D(),$(),i(n.value)})}const m={data:q(()=>o._asyncData[n.value]?.data),pending:q(()=>o._asyncData[n.value]?.pending),status:q(()=>o._asyncData[n.value]?.status),error:q(()=>o._asyncData[n.value]?.error),refresh:(...i)=>o._asyncData[n.value]?._init?o._asyncData[n.value].execute(...i):g()(),execute:(...i)=>m.refresh(...i),clear:()=>{const i=o._asyncData[n.value];if(i?._abortController)try{i._abortController.abort(new DOMException("AsyncData aborted by user.","AbortError"))}finally{i._abortController=void 0}oe(o,n.value)}},b=Promise.resolve(o._asyncDataPromises[n.value]).then(()=>m);return Object.assign(b,m),Object.defineProperties(b,{then:{enumerable:!0,value:b.then.bind(b)},catch:{enumerable:!0,value:b.catch.bind(b)},finally:{enumerable:!0,value:b.finally.bind(b)}}),b}function q(r){return S({get(){return r()?.value},set(t){const e=r();e&&(e.value=t)}})}function Ue(r,t){return!(typeof r=="string"||typeof r=="object"&&r!==null||typeof r=="function"&&typeof t=="function")}function oe(r,t){t in r.payload.data&&(r.payload.data[t]=void 0),t in r.payload._errors&&(r.payload._errors[t]=E.errorValue),r._asyncData[t]&&(r._asyncData[t].data.value=void 0,r._asyncData[t].error.value=E.errorValue,r._asyncData[t].pending.value=!1,r._asyncData[t].status.value="idle"),t in r._asyncDataPromises&&(r._asyncDataPromises[t]=void 0)}function Re(r,t){const e={};for(const a of t)e[a]=r[a];return e}function ne(r,t,e,a,s){r.payload._errors[t]??=E.errorValue;const l=a.getCachedData!==ie,n=e,o=a.deep?Z:K,g=s!=null,h=r.hook("app:data:refresh",async y=>{(!y||y.includes(t))&&await u.execute({cause:"refresh:hook"})}),u={data:o(g?s:a.default()),pending:K(!g),error:ge(r.payload._errors,t),status:K("idle"),execute:(...y)=>{const[m,b=void 0]=y,i=m&&b===void 0&&typeof m=="object"?m:{};if(r._asyncDataPromises[t]&&ze(i.dedupe??a.dedupe))return r._asyncDataPromises[t];if(i.cause==="initial"||r.isHydrating){const w="cachedData"in i?i.cachedData:a.getCachedData(t,r,{cause:i.cause??"refresh:manual"});if(w!=null)return r.payload.data[t]=u.data.value=w,u.error.value=E.error
1Value,u.status.value="success",Promise.resolve(w)}u.pending.value=!0,u._abortController&&u._abortController.abort(new DOMException("AsyncData request cancelled by deduplication","AbortError")),u._abortController=new AbortController,u.status.value="pending";const v=new AbortController,x=new Promise((w,D)=>{try{const $=i.timeout??a.timeout,f=We([u._abortController?.signal,i?.signal],v.signal,$);if(f.aborted){const c=f.reason;D(c instanceof Error?c:new DOMException(String(c??"Aborted"),"AbortError"));return}return f.addEventListener("abort",()=>{const c=f.reason;D(c instanceof Error?c:new DOMException(String(c??"Aborted"),"AbortError"))},{once:!0,signal:v.signal}),Promise.resolve(n(r,{signal:f})).then(w,D)}catch($){D($)}}).then(async w=>{if(r._asyncDataPromises[t]!==x)return;let D=w;a.transform&&(D=await a.transform(w)),a.pick&&(D=Re(D,a.pick)),r.payload.data[t]=D,u.data.value=D,u.error.value=E.errorValue,u.status.value="success"}).catch(w=>{if(r._asyncDataPromises[t]!==x||u._abortController?.signal.aborted)return r._asyncDataPromises[t];if(typeof DOMException<"u"&&w instanceof DOMException&&w.name==="AbortError")return u.status.value="idle",r._asyncDataPromises[t];u.error.value=xe(w),u.data.value=N(a.default()),u.status.value="error"}).finally(()=>{v.abort(),r._asyncDataPromises[t]===x&&(u.pending.value=!1,delete r._asyncDataPromises[t])});return r._asyncDataPromises[t]=x,r._asyncDataPromises[t]},_execute:Me((...y)=>u.execute(...y),0,{leading:!0}),_default:a.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{h(),r._asyncData[t]?._init&&(r._asyncData[t]._init=!1),l||be(()=>{r._asyncData[t]?._init||(oe(r,t),u.execute=()=>Promise.resolve(),u.data.value=E.value)})}};return u}const Ve=()=>E.value,ie=(r,t,e)=>{if(t.isHydrating)return t.payload.data[r];if(e.cause!=="refresh:manual"&&e.cause!=="refresh:hook")return t.static.data[r]};function We(r,t,e){const a=r.filter(n=>!!n);if(typeof e=="number"&&e>=0){const n=AbortSignal.timeout?.(e);n&&a.push(n)}if(AbortSignal.any)return AbortSignal.any(a);const s=new AbortController;for(const n of a)if(n.aborted){const o=n.reason??new DOMException("Aborted","AbortError");try{s.abort(o)}catch{s.abort()}return s.signal}const l=()=>{const o=a.find(g=>g.aborted)?.reason??new DOMException("Aborted","AbortError");try{s.abort(o)}catch{s.abort()}};for(const n of a)n.addEventListener?.("abort",l,{once:!0,signal:t});return s.signal}function te(r,t,e){const[a={},s]=typeof t=="string"?[{},t]:[t,e],l=S(()=>T(r)),n=S(()=>T(a.key)||"$f"+F([s,typeof l.value=="string"?l.value:"",...Ie(a)]));if(!a.baseURL&&typeof l.value=="string"&&l.value[0]==="/"&&l.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:o,lazy:g,default:h,transform:u,pick:y,watch:m,immediate:b,getCachedData:i,deep:v,dedupe:x,timeout:w,...D}=a,$=ee({...ye,...D,cache:typeof a.cache=="boolean"?void 0:a.cache}),f={server:o,lazy:g,default:h,transform:u,pick:y,immediate:b,getCachedData:i,deep:v,dedupe:x,timeout:w,watch:m===!1?[]:[...m||[],$]};if(!b){let p=function(){f.immediate=!0};W(n,p,{flush:"sync",once:!0}),W([...m||[],$],p,{flush:"sync",once:!0})}return Le(m===!1?n.value:n,(p,{signal:B})=>(a.$fetch||globalThis.$fetch)(l.value,{signal:B,...$}),f)}function Ie(r){const t=[T(r.method)?.toUpperCase()||"GET",T(r.baseURL)];for(const e of[r.query||r.params]){const a=T(e);if(!a)continue;const s={};for(const[l,n]of Object.entries(a))s[T(l)]=T(n);t.push(s)}if(r.body){const e=T(r.body);if(!e)t.push(F(e));else if(e instanceof ArrayBuffer)t.push(F(Object.fromEntries([...new Uint8Array(e).entries()].map(([a,s])=>[a,s.toString()]))));else if(e instanceof FormData){const a=[];for(const s of e.entries()){const[l,n]=s;a.push([l,n instanceof File?`${n.name}:${n.size}:${n.lastModified}`:n])}t.push(F(a))}else if(ve(e))t.push(F(ee(e)));else try{t.push(F(e))}catch{console.warn("[useFetch] Failed to hash body",e)}}return t}async function le(r){const{data:t}=await te(`/api/content/page/${r}`,{key:`page-content-${r}`,default:()=>null},"$KprQYD2jPo");function e(s,l,n=""){const h=t.value?.page?.sections?.find(u=>u.key===s)?.fields?.find(u=>u.key===l)?.value;return h==null||h===""?n:h}function a(s,l,n=[]){const o=e(s,l,null);return Array.isArray(o)&&o.length?o:n}return{page:t,field:e,list:a}}
1const qe={class:"sticky top-0 z-50 w-full border-b border-[#E5E7EB] bg-white/95 backdrop-blur"},He={class:"mx-auto flex h-[72px] w-full max-w-[1280px] items-center justify-between gap-[16px] px-[20px] xl:px-[32px]"},Ge=["src"],Qe={class:"text-[17px] font-bold tracking-[-0.3px] text-[#101828]"},Ye={class:"text-[#7CB342]"},Je={class:"hidden items-center gap-[22px] xl:flex"},Ke=["href","onClick"],Xe={class:"flex items-center gap-[12px]"},Ze=["href"],et=["aria-expanded"],tt={key:0,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},at={key:1,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},st={key:0,class:"max-h-[calc(100vh-72px)] overflow-y-auto border-t border-[#E5E7EB] bg-white px-[20px] pb-[20px] xl:hidden"},rt=["href","onClick"],nt=["href"],Tt={__name:"SiteNav",async setup(r){let t,e;const a=Z(!1),s=we(),l=Be("activeAnchor",()=>"");_e(()=>{window.location.hash&&(l.value=window.location.hash)}),W(()=>s.path,f=>{f!=="/"&&(l.value="")});function n(f){return f.includes("#")?s.path==="/"&&l.value===f.slice(f.indexOf("#")):f==="/"?s.path==="/"&&!l.value:s.path===f||s.path.startsWith(f+"/")}let o=null;function g(f){o?.();const c=()=>document.querySelector(f);c()?.scrollIntoView({behavior:"smooth"});const p=new ResizeObserver(()=>c()?.scrollIntoView({behavior:"auto"})),B=()=>{p.disconnect(),window.removeEventListener("wheel",B),window.removeEventListener("touchstart",B),clearTimeout(L),o=null};p.observe(document.body),window.addEventListener("wheel",B,{passive:!0}),window.addEventListener("touchstart",B,{passive:!0});const L=setTimeout(B,4e3);o=B}async function h(f,c){f.preventDefault(),a.value=!1;const p=c.slice(c.indexOf("#"));l.value=p,s.path!=="/"&&(await De("/"),await new Promise(B=>setTimeout(B,400))),g(p),history.replaceState(null,"","/"+p)}const u=[{label:"Home",href:"/"},{label:"More Free Tools",href:"/more-free-tools"},{label:"About",href:"/about"},{label:"Pastors",href:"/pastors"},{label:"FAQ",href:"/#faq"},{label:"Media Kit",href:"/media-kit"},{label:"Broadcasts",href:"/broadcasts"},{label:"Contact",href:"/contact"}],{data:y}=([t,e]=Y(()=>te("/api/content/menu",{key:"site-menu",default:()=>null},"$wJ7nolvjA2")),t=await t,e(),t),m=S(()=>{const f=(y.value?.menu?.length?y.value.menu:u).filter(c=>c.href!=="/blog");return f.some(c=>c.href==="/contact")?f:[...f,{label:"Contact",href:"/contact"}]}),{field:b}=([t,e]=Y(()=>le("header")),t=await t,e(),t),i=S(()=>b("branding","logoImage","")),v=S(()=>b("branding","logoText","ShareTheTruthNOW")),x=S(()=>{const f=b("branding","logoAccent","NOW");return v.value.endsWith(f)?f:""}),w=S(()=>x.value?v.value.slice(0,v.value.length-x.value.length):v.value),D=S(()=>b("cta","label","PLEASE DONATE")),$=S(()=>b("cta","href","/#donate"));return(f,c)=>(_(),C("header",qe,[d("nav",He,[G(N(Q),{to:"/",class:"flex shrink-0 items-center gap-[6px]","aria-label":"ShareTheTruthNOW home"},{default:k(()=>[i.value?(_(),C("img",{key:0,src:i.value,alt:"ShareTheTruthNOW",class:"h-[44px] w-auto"},null,8,Ge)):(_(),C(j,{key:1},[c[4]||(c[4]=d("span",{class:"flex h-[38px] w-[38px] items-center justify-center rounded-[10px] bg-[#7CB342]"},[d("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M12 3v18M5 9h14",stroke:"white","stroke-width":"2.6","stroke-linecap":"round"})])],-1)),d("span",Qe,[z(A(w.value),1),d("span",Ye,A(x.value),1)])],64))]),_:1}),d("div",Je,[(_(!0),C(j,null,J(m.value,p=>(_(),C(j,{key:p.label},[p.href.includes("#")?(_(),C("a",{key:0,href:p.href,class:O(["whitespace-nowrap pb-[4px] text-[14px] transition-colors",n(p.href)?"border-b-2 border-[#7CB342] font-bold text-[#101828]":"border-b-2 border-transparent font-medium text-[#4A5565] hover:text-[#101828]"]),onClick:B=>h(B,p.href)},A(p.label),11,Ke)):(_(),se(N(Q),{key:1,to:p.href,class:O(["whitespace-nowrap pb-[4px] text-[14px] transition-colors",n(p.href)?"border-b-2 border-[#7CB342] font-bold text-[#101828]":"border-b-2 border-transparent font-medium text-[#4A5565] hover:text-[#101828]"]),onClick:c[0]||(c[0]=B=>l.value="")},{default:k(()=>[z(A(p.label),1)]),_:2},1032,["to","class"]))],64))),128))]),d("div",Xe,[d("a",{href:$.value,class:"btn-shine btn-lift pulse-glow hidden h-[44px] items-center justify-center whitespace-nowrap rounded-[10px] bg-[#7CB342] px-[20px] text-[14px] font-bold text-white hover:bg-[#6aaa32] sm:flex"},A(D.value),9,Ze),d("button",{type:"button",class:"flex h-[44px] w-[44px] items-center justify-center rounded-[10px] text-[#101828] xl:hidden","aria-expanded":a.value,"aria-label":"Toggle menu",onClick:c[1]||(c[1]=p=>
1a.value=!a.value)},[a.value?(_(),C("svg",at,[...c[6]||(c[6]=[d("path",{d:"M6 6l12 12M18 6L6 18",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)])])):(_(),C("svg",tt,[...c[5]||(c[5]=[d("path",{d:"M4 7h16M4 12h16M4 17h16",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)])]))],8,et)])]),a.value?(_(),C("div",st,[(_(!0),C(j,null,J(m.value,p=>(_(),C(j,{key:p.label},[p.href.includes("#")?(_(),C("a",{key:0,href:p.href,class:O(["block border-b border-[#F3F4F6] py-[14px] text-[16px]",n(p.href)?"font-bold text-[#7CB342]":"font-medium text-[#4A5565]"]),onClick:B=>h(B,p.href)},A(p.label),11,rt)):(_(),se(N(Q),{key:1,to:p.href,class:O(["block border-b border-[#F3F4F6] py-[14px] text-[16px]",n(p.href)?"font-bold text-[#7CB342]":"font-medium text-[#4A5565]"]),onClick:c[2]||(c[2]=B=>{a.value=!1,l.value=""})},{default:k(()=>[z(A(p.label),1)]),_:2},1032,["to","class"]))],64))),128)),d("a",{href:$.value,onClick:c[3]||(c[3]=p=>a.value=!1),class:"mt-[16px] flex h-[48px] items-center justify-center rounded-[10px] bg-[#7CB342] text-[16px] font-bold text-white"},A(D.value),9,nt)])):X("",!0)]))}};function ot(r){let t=String(r||"").replace(/\D/g,"");return t.length===11&&t.startsWith("1")&&(t=t.slice(1)),t=t.slice(0,10),t.length?t.length<=3?`(${t}`:t.length<=6?`(${t.slice(0,3)}) ${t.slice(3)}`:`(${t.slice(0,3)}) ${t.slice(3,6)}-${t.slice(6)}`:""}let H=null;function it(r){return H||(H=new Promise((t,e)=>{if(window.grecaptcha?.execute)return t();const a=document.createElement("script");a.src=`https://www.google.com/recaptcha/api.js?render=${r}`,a.async=!0,a.defer=!0,a.onload=()=>t(),a.onerror=()=>e(new Error("Failed to load reCAPTCHA")),document.head.appendChild(a)}),H)}function lt(){const r=Ce().public.recaptchaSiteKey;async function t(e="submit"){if(!r)return"";try{await it(r);const a=window.grecaptcha;return await new Promise(s=>a.ready(s)),await a.execute(r,{action:e})}catch{return""}}return{execute:t}}const ct={class:"w-full border-t border-white/10 bg-[#0a1020]"},ut={class:"mx-auto w-full max-w-[1200px] px-[24px] py-[64px] lg:px-[32px]"},dt={class:"grid grid-cols-1 gap-[40px] md:grid-cols-2 lg:grid-cols-4"},ft={class:"mt-[14px] max-w-[280px] text-[13px] leading-[21px] text-[#667085]"},ht={"aria-label":"Site"},pt={class:"mt-[16px] flex flex-col gap-[10px]"},mt=["href"],bt={"aria-label":"Partner ministries"},xt={class:"mt-[16px] flex flex-col gap-[10px]"},gt=["href"],yt=["value"],vt=["disabled"],wt={key:0,class:"text-[13px] leading-[20px] text-[#7CB342]"},_t={key:1,class:"text-[13px] leading-[20px] text-[#F97066]"},Dt={class:"mt-[48px] border-t border-white/10 pt-[28px]"},Ct={class:"mt-[22px] flex flex-col items-center justify-between gap-[14px] text-[13px] text-[#667085] sm:flex-row"},$t={class:"flex gap-[20px]"},V="h-[46px] rounded-[10px] border border-white/15 bg-white/5 px-[14px] text-[14px] text-white placeholder:text-[#667085] focus:border-[#7CB342] focus:outline-none",Ot={__name:"SiteFooter",async setup(r){let t,e;const{field:a,list:s}=([t,e]=Y(()=>le("footer")),t=await t,e(),t),l=S(()=>s("links","items",[{title:"TrueLife.org",text:"https://truelife.org"},{title:"AmericasRevival.org",text:"https://americasrevival.org"},{title:"GiveSendGo Charities",text:"https://givesendgo.com"},{title:"Truth Network",text:"https://truthnetwork.com"}])),n=[{label:"Home",href:"/"},{label:"More Free Tools",href:"/more-free-tools"},{label:"About",href:"/about"},{label:"Pastors",href:"/pastors"},{label:"FAQ",href:"/#faq"},{label:"Media Kit",href:"/media-kit"},{label:"Broadcasts",href:"/broadcasts"},{label:"Contact",href:"/contact"}],{data:o}=([t,e]=Y(()=>te("/api/content/menu",{key:"site-menu",default:()=>null},"$xsQTKTFgvv")),t=await t,e(),t),g=S(()=>{const b=(o.value?.menu?.length?o.value.menu:n).filter(i=>i.href!=="/blog");return b.some(i=>i.href==="/contact")?b:[...b,{label:"Contact",href:"/contact"}]}),h=ee({name:"",email:"",phone:"",subject:"",orderNumber:"",comment:""}),u=Z("idle"),{execute:y}=lt();async function m(){u.value="sending";try{const b=await y("contact");await $fetch("/api/contact",{method:"POST",body:{...h,recaptchaToken:b}}
1),u.value="success",Object.assign(h,{name:"",email:"",phone:"",subject:"",orderNumber:"",comment:""})}catch{u.value="error"}}return(b,i)=>{const v=Q;return _(),C("footer",ct,[d("div",ut,[d("div",dt,[d("div",null,[G(v,{to:"/",class:"flex items-center gap-[6px]","aria-label":"ShareTheTruthNOW home"},{default:k(()=>[...i[6]||(i[6]=[d("span",{class:"flex h-[36px] w-[36px] items-center justify-center rounded-[10px] bg-[#7CB342]"},[d("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none"},[d("path",{d:"M12 3v18M5 9h14",stroke:"white","stroke-width":"2.6","stroke-linecap":"round"})])],-1),d("span",{class:"text-[17px] font-bold tracking-[-0.3px] text-white"},[z(" ShareTheTruth"),d("span",{class:"text-[#7CB342]"},"NOW")],-1)])]),_:1}),i[7]||(i[7]=re('<address class="mt-[16px] flex flex-col gap-[6px] text-[14px] not-italic leading-[23px] text-[#9CA3AF]"><a href="mailto:[email protected]" class="transition-colors hover:text-white">[email protected]</a><a href="tel:+18773346773" class="transition-colors hover:text-white">1-877-33-GOSPEL</a><span>PO Box 62, Goode, VA 24556</span></address><p class="mt-[10px] max-w-[280px] text-[13px] leading-[21px] text-[#667085]"> ShareTheTruthNOW.com is a non-profit organization. For tax-deductible gifts, contact <a href="mailto:[email protected]" class="font-semibold text-[#7CB342] hover:underline">[email protected]</a>. </p>',2)),d("p",ft,A(N(a)("about","projectLine","AmericasRevival.org is a project of ShareTheTruthNOW.com")),1),i[8]||(i[8]=d("div",{class:"mt-[18px]"},[d("p",{class:"text-[13px] font-semibold text-[#99A1AF]"},"TrueLife.org"),d("a",{href:"mailto:[email protected]",class:"text-[14px] text-[#9CA3AF] transition-colors hover:text-white"},"[email protected]")],-1))]),d("nav",ht,[i[10]||(i[10]=d("p",{class:"text-[13px] font-bold uppercase tracking-[1.5px] text-[#99A1AF]"},"Menu",-1)),d("ul",pt,[(_(!0),C(j,null,J(g.value,x=>(_(),C("li",{key:x.href},[d("a",{href:x.href,class:"text-[15px] text-[#9CA3AF] transition-colors hover:text-white"},A(x.label),9,mt)]))),128)),i[9]||(i[9]=d("li",null,[d("a",{href:"/#donate",class:"text-[15px] text-[#9CA3AF] transition-colors hover:text-white"},"Donate")],-1))])]),d("nav",bt,[i[11]||(i[11]=d("p",{class:"text-[13px] font-bold uppercase tracking-[1.5px] text-[#99A1AF]"},"Partners",-1)),d("ul",xt,[(_(!0),C(j,null,J(l.value,x=>(_(),C("li",{key:x.title},[d("a",{href:x.text,target:"_blank",rel:"noopener",class:"text-[15px] text-[#9CA3AF] transition-colors hover:text-white"},A(x.title),9,gt)]))),128))])]),d("div",null,[i[12]||(i[12]=d("p",{class:"text-[13px] font-bold uppercase tracking-[1.5px] text-[#99A1AF]"},"Send us a message",-1)),d("form",{class:"mt-[16px] flex flex-col gap-[12px]",onSubmit:$e(m,["prevent"])},[U(d("input",{"onUpdate:modelValue":i[0]||(i[0]=x=>h.name=x),type:"text",name:"name",autocomplete:"name",required:"",placeholder:"Full Name","aria-label":"Full Name",class:O(V)},null,512),[[R,h.name,void 0,{trim:!0}]]),U(d("input",{"onUpdate:modelValue":i[1]||(i[1]=x=>h.email=x),type:"email",name:"email",autocomplete:"email",required:"",placeholder:"Email Address","aria-label":"Email Address",class:O(V)},null,512),[[R,h.email,void 0,{trim:!0}]]),d("input",{value:h.phone,type:"tel",name:"phone",autocomplete:"tel",placeholder:"Phone","aria-label":"Phone",maxlength:"14",class:O(V),onInput:i[2]||(i[2]=x=>h.phone=("formatUsPhone"in b?b.formatUsPhone:N(ot))(x.target.value))},null,40,yt),U(d("input",{"onUpdate:modelValue":i[3]||(i[3]=x=>h.subject=x),type:"text",name:"subject",required:"",placeholder:"Subject","aria-label":"Subject",class:O(V)},null,512),[[R,h.subject,void 0,{trim:!0}]]),U(d("input",{"onUpdate:modelValue":i[4]||(i[4]=x=>h.orderNumber=x),type:"text",name:"order_number",placeholder:"Order Number (if about an order)","aria-label":"Order Number",class:O(V)},null,512),[[R,h.orderNumber,void 0,{trim:!0}]]),U(d("textarea",{"onUpdate:modelValue":i[5]||(i[5]=x=>h.comment=x),name:"comment",required:"",placeholder:"Comment","aria-label":"Comment",rows:"3",class:"rounded-[10px] border border-white/15 bg-white/5 px-[14px] py-[10px] text-[14px] text-white placeholder:text-[#667085] focu
1s:border-[#7CB342] focus:outline-none"},null,512),[[R,h.comment,void 0,{trim:!0}]]),d("button",{type:"submit",disabled:u.value==="sending",class:"flex h-[46px] items-center justify-center rounded-[10px] bg-[#7CB342] text-[15px] font-bold text-white transition-colors hover:bg-[#6aaa32] disabled:opacity-60"},A(u.value==="sending"?"Sendingâ¦":"SEND"),9,vt),u.value==="success"?(_(),C("p",wt," Thank you for contacting us. We will get back to you as soon as possible. ")):X("",!0),u.value==="error"?(_(),C("p",_t," Oops, there was an error sending your message. Please try again later. ")):X("",!0)],32)])]),d("div",Dt,[i[15]||(i[15]=re('<p class="flex max-w-[720px] items-start gap-[9px] text-[13px] leading-[21px] text-[#99A1AF]"><svg class="mt-[3px] shrink-0" width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="#7CB342" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3l7 3v6c0 4.4-3 8-7 9-4-1-7-4.6-7-9V6l7-3z"></path><path d="M9.5 12l1.8 1.8L15 10"></path></svg><span><strong class="font-semibold text-white">We do not sell your data.</strong> We will not share your mobile information with third parties for marketing purposes. Your information is used only to ship your cards and keep you updated on the mission. </span></p>',1)),d("div",Ct,[d("p",null,"© "+A(new Date().getFullYear())+" All Rights Reserved | ShareTheTruthNOW.com | GiveSendGo Charities DBA Share The Truth NOW",1),d("div",$t,[G(v,{to:"/terms-of-use",class:"transition-colors hover:text-white"},{default:k(()=>[...i[13]||(i[13]=[z("Terms of Use",-1)])]),_:1}),G(v,{to:"/privacy-policy",class:"transition-colors hover:text-white"},{default:k(()=>[...i[14]||(i[14]=[z("Privacy Policy",-1)])]),_:1})])])])])])}}};export{Tt as _,Ot as a,lt as b,le as c,ot as f,te as u};
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.