PageSourceSearch

https://xterraplanet.com/_nuxt/7uogH6FA.js

js xterraplanet.com collected 2026-10-02 06:30:38 UTC 2,901 bytes, 1 lines download raw bytes

1import{_ as E,a as I}from"./CyRBQCFl.js";import{_ as L}from"./CXn8bYBE.js";import{_ as T}from"./__F4BOzN.js";import{d as U,Z as N,K as B,s as V,x as F,y as G,e as j,j as H,c as l,f as t,k as u,w as h,l as i,b as n,g as x,P as O,h as v,o as a,t as k,F as X,r as z,i as D,z as w}from"./BLop4L-3.js";import{d as K}from"./9Sj_QenJ.js";import{u as Z}from"./DPY_42TG.js";import{u as q}from"./CJ0NfzUD.js";import{g as J}from"./CgZKYZWZ.js";import{c as Q}from"./DkiqH2WO.js";import{u as W}from"./XT0yznvY.js";import"./DlAUqK2U.js";import"./Bm5F1oka.js";import"./2vTpK-ny.js";import"./Cj5tJpKd.js";import"./CIn-wLIJ.js";const Y={class:"pt-28"},ee={class:"text-4xl lg:text-6xl leading-1.15 font-display font-extrabold text-slate-800 mb-1"},te={class:"text-gray-500 text-lg"},oe=["innerHTML"],se={class:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4 max-h-700 overflow-y-auto mt-16 mb-4"},ne=["onClick"],ae={key:0,class:"text-slate-800 mb-8"},re=["href"],Ce=U({__name:"[slug]",async setup(le){let d,p;K({accessType:N.respectsUser});const _=Z(),b=B(),{init:C,disconnect:A}=q(),e=w(()=>_?.currentAnnouncement),g=w(()=>(e.value?.gallery_images||[]).map(o=>o.src).filter(o=>!!o)),c=v(!1),m=v(0),M=o=>{c.value=!0,m.value=o},f=J(b.params.slug)||"";try{[d,p]=V(async()=>Q(`announcement_${f}`,async()=>{await _.fetchCurrent(f)},{mode:"navigation"})),await d,p()}catch(o){if(F(o))throw G(o)}return W({title:()=>`${e.value?.title} | XTERRA`,description:()=>e.value?.description||"",ogImage:()=>e.value?.social_sharing_image||""}),j(C),H(A),(o,s)=>{const y=E,P=L,S=T,$=I;return a(),l("div",{key:(o._.provides[O]||o.$route).fullPath},[t(e)?(a(),u(y,{key:0},{default:h(()=>[n("div",Y,[s[2]||(s[2]=n("p",{class:"bg-xt-red text-white px-2 py-1 rounded-md font-display w-fit mb-1"}," Announcement ",-1)),n("h1",ee,k(t(e)?.title),1),n("p",te," XTERRA | "+k(t(e)?.complete_date),1)])]),_:1})):i("",!0),n("div",{innerHTML:t(e)?.body,class:"article-content max-w-820 mx-auto px-6 md:px-12 duration-1000 transition-all font-sans text-lg font-light","data-usher-from":"opacity-0 translate-y-[1%]","data-usher-to":"opacity-100 translate-y-0"},null,8,oe),x(y,null,{default:h(()=>[n("div",se,[(a(!0),l(X,null,z(t(g),(r,R)=>(a(),l("div",{key:r,onClick:ie=>M(R),class:"relative group"},[x(P,{src:r,class:"w-full h-full object-cover cursor-pointer lg:h-36 lg:w-48"},null,8,["src"])],8,ne))),128))]),t(e)?.gallery_link?(a(),l("div",ae,[s[3]||(s[3]=D(" Images available for download ",-1)),n("a",{href:t(e)?.gallery_link||"/",target:"_blank",class:"text-xt-red hover:underline"},"here",8,re)])):i("",!0)]),_:1}),t(e)?.gallery_images?.length?(a(),u(S,{key:1,isShow:t(c),onClose:s[0]||(s[0]=r=>c.value=!1),onOnClick:s[1]||(s[1]=r=>m.value=r),currentIndex:t(m),imgList:t(g)},null,8,["isShow","currentIndex","imgList"])):i("",!0),t(e)?.is_published?i("",!0):(a(),u($,{key:2,title:"Unpublished Announcement"}))])}}});export{Ce 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.