PageSourceSearch

https://holdmyguns.org/_nuxt/CzKongAP.js

js holdmyguns.org collected 2026-10-03 21:09:43 UTC 4,633 bytes, 1 lines download raw bytes

1import{_}from"./Dl9eJPYs.js";import{L as x,z as f,A as D,m as k,p as i,q as t,E as g,F as d,D as S,n,t as a,y as l,K as y,I as v,x as b,f as C}from"./BolTmDtQ.js";import{u as E}from"./DHsvGgee.js";import{c as L}from"./CrTUV_z9.js";import{_ as U}from"./DlAUqK2U.js";import"./DuAV58dt.js";import"./CpFY9VdM.js";import"./B6hlVYyt.js";const w={class:"section"},M={class:"container"},z={key:0,style:{display:"flex","flex-direction":"column",gap:"var(--space-md)"}},H=["href"],A={class:"event-date-block"},F={class:"event-date-month"},I={class:"event-date-day"},N={class:"event-date-year"},T={style:{color:"var(--text)","margin-bottom":"0.25rem"}},V={style:{"font-size":"0.8125rem",margin:"0"}},G={style:{margin:"0.25rem 0 0","font-size":"0.8125rem",color:"var(--text-secondary)"}},B={class:"btn btn--sm hide-mobile"},O={class:"event-date-block"},$={class:"event-date-month"},q={class:"event-date-day"},P={class:"event-date-year"},j={style:{color:"var(--text)","margin-bottom":"0.25rem"}},J={style:{"font-size":"0.8125rem",margin:"0"}},K={style:{margin:"0.25rem 0 0","font-size":"0.8125rem",color:"var(--text-secondary)"}},Y={class:"btn btn--sm hide-mobile"},Z={key:1,class:"card text-center",style:{padding:"var(--space-2xl)"}},Q=x({__name:"index",async setup(R){let c,p;f({title:"Events - Hold My Guns®",ogTitle:"Events - Hold My Guns®",description:"Find upcoming Hold My Guns® events and community gatherings near you.",ogDescription:"Find upcoming Hold My Guns® events and community gatherings near you."});const{data:m}=([c,p]=D(()=>E("events-index",()=>L("events").where("draft","<>",!0).order("startDate","ASC").all())),c=await c,p(),c);function r(e){const o=new Date(e);return{month:o.toLocaleString("en-US",{month:"short",timeZone:"UTC"}).toUpperCase(),day:String(o.getUTCDate()).padStart(2,"0"),year:String(o.getUTCFullYear())}}const u=C(()=>({"@context":"https://schema.org","@type":"ItemList",itemListElement:(m.value??[]).map((e,o)=>({"@type":"ListItem",position:o+1,item:{"@type":"Event",name:e.title,startDate:new Date(e.startDate).toISOString().slice(0,10),...e.endDate?{endDate:new Date(e.endDate).toISOString().slice(0,10)}:{},eventStatus:"https://schema.org/EventScheduled",...e.image?{image:`https://holdmyguns.org${e.image}`}:{},...e.online?{eventAttendanceMode:"https://schema.org/OnlineEventAttendanceMode",location:{"@type":"VirtualLocation",url:e.registerUrl||`https://holdmyguns.org${e.path}`}}:e.location||e.venue?{location:{"@type":"Place",name:e.venue||e.location,...e.address?{address:e.address}:{}}}:{},...e.description?{description:e.description}:{},url:e.external?e.registerUrl:`https://holdmyguns.org${e.path}`,organizer:{"@id":"https://holdmyguns.org/#organization"}}}))}));return k({script:[{type:"application/ld+json",innerHTML:()=>JSON.stringify(u.value)}]}),(e,o)=>{const h=_;return n(),i("div",null,[o[3]||(o[3]=t("div",{class:"page-header"},[t("div",{class:"container"},[t("h1",null,"Events"),t("p",null,"Find upcoming Hold My Guns® events and community gatherings near you.")])],-1)),t("section",w,[t("div",M,[o[1]||(o[1]=t("h4",null,"Coming Up",-1)),o[2]||(o[2]=t("h2",{style:{"margin-top":"var(--space-sm)","margin-bottom":"var(--space-xl)"}},"Upcoming Events",-1)),g(m).length?(n(),i("div",z,[(n(!0),i(d,null,S(g(m),s=>(n(),i(d,{key:s.path},[s.external?(n(),i("a",{key:0,href:s.registerUrl,target:"_blank",rel:"noopener",class:"card event-card",style:{"text-decoration":"none",display:"grid","grid-template-columns":"80px 1fr auto",gap:"var(--space-lg)","align-items":"center"}},[t("div",A,[t("span",F,a(r(s.startDate).month),1),t("span",I,a(r(s.startDate).day),1),t("span",N,a(r(s.startDate).year),1)]),t("div",null,[t("h3",T,a(s.title),1),t("p",V,[l(a(s.location),1),s.time?(n(),i(d,{key:0},[l(" · "+a(s.time),1)],64)):y("",!0)]),t("p",G,a(s.description),1)]),t("span",B,a(s.cta||"View Event"),1)],8,H)):(n(),v(h,{key:1,to:s.path,class:"card event-card",style:{"text-decoration":"none",display:"grid","grid-template-columns":"80px 1fr auto",gap:"var(--space-lg)","align-items":"center"}},{default:b(()=>[t("div",O,[t("span",$,a(r(s.startDate).month),1),t("span",q,a(r(s.startDate).day),1),t("span",P,a(r(s.startDate).year),1)]),t("div",null,[t("h3",j,a(s.title),1),t("p",J,[l(a(s.location),1),s.time?(n(),i(d,{key:0},[l(" · "+a(s.time),1)],64)):y("",!0)]),t("p",K,a(s.description),1)]),t("span",Y,a(s.cta||"View Event"),1)]),_:2},1032,["to"]))],64))),128))])):(n(),i("div",Z,[...o[0]||(o[0]=[t("p",{style:{margin:"0",color:"var(--text-secondary)"}},"No upcoming events at this time. Check back soon!",-1)])]))])])])}}}),it=U(Q,[["__scopeId","data-v-962162c8"]]);export{it 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.