PageSourceSearch

https://cdn-cyclops.adventuretravel.biz/v2/1789401960/BRVjB3JF.js

js adventuretravel.biz collected 2026-10-02 02:56:33 UTC 12,403 bytes, 2 lines download raw bytes

1const __vite__fileDeps=["./Cf7EEajr.js","./D2SiY9GF.js","./DqjsD8ap.js","./entry.x_rLfnzW.css","./SocialShare.nJIiMIxV.css","./dn0wfL3H.js","./CzTatBh2.js","./Ebh8Ioaz.js","./BXoeqsOg.js","./OUn09BB5.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2import{ae as Te,v as j,ax as de,d as pe,p as h,o as a,i as n,m as s,z as E,F as y,r as N,h as e,b as $e,w as Le,e as ue,c as Ne,s as Ee,b7 as Re,g as ze,aS as me,j as L,l as I,x as A,t as _,k as c,q as f,n as Be,an as Me,b8 as De,X as U,b9 as Se,_ as Ie,V as Y,aq as Ue,W as Z}from"./DqjsD8ap.js";import{_ as Ve}from"./Ebh8Ioaz.js";import{_ as Oe}from"./BXoeqsOg.js";import{_ as Pe}from"./DV3LegfZ.js";import{_ as He}from"./CX2XP0dI.js";import{u as qe}from"./BhoEqp3N.js";import{q as Fe}from"./Clu05LVc.js";import"./BOXap3ox.js";const _e="atta_lang",ge=Te("translation",{state:()=>({lang:null,cookieOptions:{maxAge:60*60*24*30*12,path:"/",sameSite:"none",secure:!0,domain:j().public.cookieDomain},cookieAltOptions:{maxAge:60*60*24*30*12,path:"/",sameSite:"none",secure:!0,domain:j().public.altCookieDomain}}),getters:{getLang:i=>i.lang},actions:{setTranslation(i){let p=this.cookieOptions;window&&window.location.hostname.indexOf(this.cookieAltOptions.domain)>=0&&(p=this.cookieAltOptions);const b=de(_e,p);b.value=null,i!=="EN"&&(b.value=i),this.lang=i},getTranslation(){const i=de(_e);return i.value&&(this.lang=i.value),this.lang}}}),je={key:0,class:"grid gap-2 grid-cols-6 items-center"},Ye=["onClick"],Ze=["src","alt"],We={key:1},Ge=s("p",{class:"text-black pb-0 mb-0"}," Translation is disabled for this article ",-1),Xe=[Ge],Je=pe({__name:"Translation",props:{callback:{type:Function,default:()=>{}},disabled:{type:Boolean,default:!1}},setup(i){const p=i,b=h([{code:"EN",name:"English"},{code:"ES",name:"Spanish"},{code:"ZH",name:"Chinese"},{code:"FR",name:"French"},{code:"DE",name:"German"},{code:"PT",name:"Portuguese"}]);function v(u){ge().setTranslation(u),p.callback&&p.callback(u)}return(u,R)=>(a(),n("div",{class:E(["border-2 rounded-lg px-3",{"border-primary bg-primary-100 pb-3":!u.disabled,"border-gray-600 bg-gray-200 opacity-80 py-2":u.disabled}])},[s("p",{class:E(["uppercase font-semibold tracking-wider",{"text-primary-700":!u.disabled,"text-gray-800":u.disabled}])}," Translate ",2),u.disabled?(a(),n("div",We,Xe)):(a(),n("div",je,[(a(!0),n(y,null,N(e(b),x=>(a(),n("button",{key:x.code,onClick:C=>v(x.code)},[s("img",{class:E({grayscale:u.disabled}),src:`/images/flags/${x.code}.svg`,alt:`Translate to ${x.name}`},null,10,Ze)],8,Ye))),128))]))],2))}}),Ke=Y(()=>Z(()=>import("./Cf7EEajr.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(i=>i.default||i)),Qe=Y(()=>Z(()=>import("./dn0wfL3H.js"),__vite__mapDeps([5,6,2,3,7,8]),import.meta.url).then(i=>i.default||i)),et=Y(()=>Z(()=>import("./OUn09BB5.js"),__vite__mapDeps([9,2,3]),import.meta.url).then(i=>i.default||i)),tt={key:1,class:"relative mx-auto w-full max-w-screen-xl px-6 py-6 z-20 bg-white bg-opacity-90"},at={class:"lg:w-5/6 w-full"},st={class:"mb-2"},nt={class:"article-title h1 text-primary-500 tracking-wide text-3xl md:text-5xl"},ot={class:"inline-flex items-center space-x-4 border-t-2 border-gray-400 border-opacity-50 pt-3 mt-2 px-1"},lt=["src","alt"],it={class:"flex-grow"},rt={key:0},ct={key:1,class:"font-semibold tracking-wide leading-none text-gray-700 block"},dt={class:"font-medium text-sm tracking-wide leading-none text-gray-700 block pt-1"},ut={key:0,class:"mx-auto w-full max-w-screen-xl px-6 pt-2"},mt={class:"flex-grow px-0 lg:pb-0 pb-10"},_t={key:0,class:"flex justify-start items-center flex-wrap space-x-4 mb-6"},pt=["href"],gt=["innerHTML"],ht={key:2,class:"text-xl text-center py-12"},ft=s("h2",{class:"h4 text-gray-500 text-center"}," Translating... ",-1),bt=[ft],vt=s("div",{class:"clearfix"},null,-1),yt=s("p",{class:"italic"}," Contributing members are responsible for the accuracy of content contributed to the Member News section of AdventureTravelNews. ",-1),xt=s("div",{class:"clearfix"},null,-1),kt={key:4,class:"pt-24"},wt=s("h2",{class:"h4 text-primary-500 mb-4 flex items-center space-x-2"},[s("span",null,"Related Articles"),s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
2currentColor",class:"size-5"},[s("path",{"fill-rule":"evenodd",d:"M9 4.5a.75.75 0 0 1 .721.544l.813 2.846a3.75 3.75 0 0 0 2.576 2.576l2.846.813a.75.75 0 0 1 0 1.442l-2.846.813a3.75 3.75 0 0 0-2.576 2.576l-.813 2.846a.75.75 0 0 1-1.442 0l-.813-2.846a3.75 3.75 0 0 0-2.576-2.576l-2.846-.813a.75.75 0 0 1 0-1.442l2.846-.813A3.75 3.75 0 0 0 7.466 7.89l.813-2.846A.75.75 0 0 1 9 4.5ZM18 1.5a.75.75 0 0 1 .728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 0 1 0 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 0 1-1.456 0l-.258-1.036a2.625 2.625 0 0 0-1.91-1.91l-1.036-.258a.75.75 0 0 1 0-1.456l1.036-.258a2.625 2.625 0 0 0 1.91-1.91l.258-1.036A.75.75 0 0 1 18 1.5ZM16.5 15a.75.75 0 0 1 .712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 0 1 0 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 0 1-1.422 0l-.395-1.183a1.5 1.5 0 0 0-.948-.948l-1.183-.395a.75.75 0 0 1 0-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0 1 16.5 15Z","clip-rule":"evenodd"})])],-1),At={key:0,class:"grid gap-8 gap-y-16 grid-cols-2 sm:grid-cols-3"},Ct={class:"mt-24"},Tt=s("h2",{class:"h4 text-primary-500 mb-0 pb-0 md:mb-4"}," Comments ",-1),$t={class:"lg:w-96 w-full flex-shrink-0 lg:pl-10 xl:pl-20 px-0","aria-label":"Sidebar"},Lt={key:0,class:"border-b border-black/10 pb-6 mb-6"},Nt=s("h2",{class:"text-xl font-semibold tracking-wide mb-2"}," Upcoming Related Events ",-1),Et={class:"grid gap-y-6 gap-x-6 grid-cols-1 sm:grid-cols-2 lg:grid-cols-1"},Rt=["href"],zt={class:"absolute bottom-0 left-0 right-0 px-2 py-1 bg-white/75 backdrop-blur-sm"},Bt=["textContent"],Mt=["textContent"],Dt=["textContent"],St=s("span",{class:"sr-only"},"Learn More",-1),jt=pe({__name:"[slug]",async setup(i){var ee,te,ae,se,ne,oe,le,ie;let p,b;const v=j(),{params:u,query:R}=$e(),{$text:x,$images:C,$api:V,$datetime:W}=Be(),{getTranslation:G}=ge(),X=h(!1),he=R.lang||G()||"";async function J(r="",d=!1){const o=await V.news.getArticle(u.slug,r.toUpperCase(),d);return{status:o._res.status,data:o.body}}const{data:k,error:K}=([p,b]=Le(()=>qe("article",()=>J(he,!1))),p=await p,b(),p);if(K.value)throw K.value.statusCode===404?ue({statusCode:404}):ue({statusCode:500});const t=h(k.value.data||null);(ee=k.value)!=null&&ee.data&&((te=k.value)!=null&&te.data.categories)&&((ae=k.value)==null||ae.data.categories.forEach(r=>{r.id===11&&(X.value=!0)}));const g=h([]),O=h(!1);function fe(){var o;if(!((o=t.value)!=null&&o.authors)||t.value.authors.length===0)return;const r=`${v.public.directoryURL}/api/v1/ids`,d={ids:t.value.authors};O.value=!0,Me.get(r,{params:d}).then(m=>{g.value=m.data}).catch(()=>{}).finally(()=>{O.value=!1})}const be=h(((se=k.value)==null?void 0:se.status)===202),z=h(((ne=k.value)==null?void 0:ne.status)===202);function P(r=""){z.value=!0;const d=r||R.lang||G()||"";J(d,!0).then(o=>{t.value=o.data}).catch(o=>{console.log("Error getting translation")}).finally(()=>{z.value=!1,Q()})}const H=h([]);function ve(){var d;if(!((d=t.value)!=null&&d.events))return;const r={count:10,tense:De.Upcoming,published:!0};r.types=t.value.events.map(o=>o.event_type_id).filter(o=>typeof o=="number"),V.events.list(r).then(o=>{H.value=o.data}).catch(o=>{console.error(o)})}const T=h([]),q=h(!1);function ye(){V.news.getRecommendations(u.slug).then(r=>{T.value=r}).catch(()=>{}).finally(()=>{q.value=!1})}function Q(){const r=['.atn-article-content iframe[src*="youtube.com"]','.atn-article-content iframe[src*="vimeo.com"]'],d=document.querySelectorAll(r.join(","));if(d.length)for(let o=0;o<d.length;o++){const m=d[o],B=m.getAttribute("width"),M=m.getAttribute("height");if(B===null||M===null)continue;const D=parseInt(M)/parseInt(B),$=m.parentNode;if($===null)continue;const w=document.createElement("div");w.className="fitVids-wrapper",w.style.paddingBottom=D*100+"%",$.insertBefore(w,m),m.remove(),w.appendChild(m),m.removeAttribute("height"),m.removeAttribute("width")}}const xe=Ne(()=>{if(!t.value)return null;const r=new U.CommentBlockDefaults;return r.placement_key=`atn-${t.value.id}`,r});let F=null;return Ee(()=>{be.value&&P(),Q(),F=setTimeout(()=>{document.hidden||navigator.webdriver||ye()},1e4),fe(),ve()}),Re(()=>{F&&clearTimeout(F)}),ze(Fe(((oe=t.value)==null?void 0:oe.title)||"AdventureTravelNews",(le=t.value)!=null&&le.content?x.cleanPreview(t.value.content,120):"",(ie=t.value)!=null&&ie.image?C.checkImage(t.value.image,"large",v.public.cdnURL):"")),(r,d)=>{var re,ce;const o=Se,m=Ve,B=Ke,M=Ie,D=Je,$=Oe,w=Qe,ke=Ue,we=et,Ae=Pe,Ce=He;return a(),n("div",null,[s("div",{class:E(["relative flex flex-col justify-center overflow-hidden md:py-6",{"article-hero-image":e(t)&&e(t).layout===e(U.NewsLayout).HeroImage}])},[e(t)&&e(t).layout===e(U.NewsLayout).HeroImage?(a(),n("div",{key:0,class:"relative h-80 md:absolute md:inset-0 md:h-auto bg-cover bg-center z-10",style:me(`background-image: url('${(re=e(C))==null?void 0:re.checkImage(e(t).image,"hero",e(v).public.cdnURL)}')`)},[e(t).hero_caption?(a(),L(o,{key:0},{default:I(()=>[A(_(e(t).hero_caption),1)]),_:1})):c("",!0)],4)):c("",!0),e(t)?(a(),n("div",tt,[s("div",at,[s("div",st,[f(m,{article:e(t)},null,8,["article"])]),s("h1",nt,_(e(t).title),1),f(B,{text:e(t).title},null,8,["text"]),s("div",ot,[e(g)&&e(g).length===1?(a(),n("img",{key:0,src:e(C).checkImage(e(g)[0].photo,"thumbnail",e(v).public.directoryCDNURL),class:"rounded-full w-14","aria-hidden":"true",alt:`${e(g)[0].first_name} ${e(g)[0].last_name}`},null,8,lt)):c("",!0),s("div",it,[e(O)&&e(t).authors&&e(t).authors.length>0?(a(),n("div",rt)):c("",!0),e(g)&&e(g).length>0?(a(),n("div",ct,[A(" By "),(a(!0),n(y,null,N(e(g),(l,S)=>(a(),n("span",{key:l.id},[f(M,{to:`/author/${l.id}`},{default:I(()=>[A(_(l.first_name)+" "+_(l.last_name),1)]),_:2},1032,["to"]),A(" "+_(S+1!==e(g).length?", ":""),1)]))),128))])):c("",!0),s("span",dt,_(e(W).formatDateWithFormat(e(t).publish_date,"D MMMM YYYY",!1,!1)),1)])])])])):c("",!0)],2),e(t)?(a(),n("div",ut,[s("div",{class:E(["flex mb-12 flex-col lg:flex-row",{"lg:mt-12":e(t).layout===e(U.NewsLayout).HeroImage}])},[s("div",mt,[f(D,{class:"mb-6 mt-4 block lg:hidden max-w-lg mx-auto",callback:P,disabled:e(t).disable_translation},null,8,["disabled"]),((ce=e(t).companies)==null?void 0:ce.length)>0?(a(),n("div",_t,[(a(!0),n(y,null,N(e(t).companies,l=>(a(),n(y,{key:l.id},[l.active_member?(a(),n("a",{key:0,class:"hover:opacity-75",href:`https://membership.adventuretravel.biz/directory/${l.public_id}`,target:"_blank"},[f($,{size:"md"},{default:I(()=>[A(_(l.name),1)]),_:2},1024)],8,pt)):(a(),L($,{key:1,class:"cursor-not-allowed",color:"disabled",size:"md",title:"Non-Member"},{default:I(()=>[A(_(l.name),1)]),_:2},1024))],64))),128))])):c("",!0),e(z)?(a(),n("article",ht,bt)):(a(),n("article",{key:1,class:"atn-article-content text-lg leading-relaxed text-gray-700",innerHTML:e(t).content},null,8,gt)),vt,e(X)&&!e(z)?(a(),n(y,{key:3},[yt,xt],64)):c("",!0),e(T).length>0||e(q)?(a(),n("div",kt,[wt,e(T)&&e(T).length>0?(a(),n("div",At,[(a(!0),n(y,null,N(e(T),l=>(a(),L(w,{key:l.id,article:l,"with-categories":!0,"atn-internal":!0},null,8,["article"]))),128))])):c("",!0),e(q)?(a(),L(ke,{key:1,"full-cover":!1,class:"w-24 py-6 mx-auto"})):c("",!0)])):c("",!0),s("div",Ct,[Tt,f(we,{data:e(xe)},null,8,["data"])])]),s("aside",$t,[f(D,{class:"mb-6 hidden lg:block",callback:P,disabled:e(t).disable_translation},null,8,["disabled"]),e(H).length>0?(a(),n("div",Lt,[Nt,s("div",Et,[(a(!0),n(y,null,N(e(H),l=>{var S;return a(),n("a",{key:l.id,href:l.homepage_url,target:"_blank",class:"block relative bg-cover bg-center aspect-video overflow-hidden rounded-lg opacity-100 hover:opacity-80 transition-all text-black no-underline",style:me(`background-image: url('${(S=e(C))==null?void 0:S.checkImage(l.image,"large",e(v).public.cdnURL)}')`)},[s("div",zt,[s("span",{class:"leading-none text-sm",textContent:_(e(W).formatDateRange(l.start_date,l.end_date))},null,8,Bt),s("h3",{class:"text-lg font-semibold mb-0 pb-0 leading-none",textContent:_(l.event_type.name)}
2,null,8,Mt),s("span",{class:"leading-none text-sm",textContent:_(l.location)},null,8,Dt)]),St],12,Rt)}),128))])])):c("",!0),f(Ae)])],2)])):c("",!0),e(t)&&e(t).id?(a(),L(Ce,{key:1,path:`/news/articles/${e(t).id}`},null,8,["path"])):c("",!0)])}}});export{jt 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.