PageSourceSearch

https://junglebosstours.com/_nuxt/search.38362c45.js

js junglebosstours.com collected 2026-10-02 20:07:58 UTC 9,019 bytes, 1 lines download raw bytes

1import W from"./SearchInput.7736aba3.js";import X from"./Close.def56c8d.js";import ee from"./Blog.6682792b.js";import{_ as te,c as se,u as oe,a as ae,b as ne,r as c,K as I,e as r,f as t,t as o,j as i,Y as le,h as s,Z as re,n as T,z as p,F as P,i as B,k as A,l as F,Q as E,p as ie,q as n,J as M,s as ce,v as de,x as ue}from"./entry.3e24fff4.js";import pe from"./Tour.8d8221ff.js";import _e from"./Hand.e3b05d0b.js";import me from"./EmailSignup.49cab7a9.js";import he from"./SocialMeta.9f74c5e4.js";import{u as j}from"./useApi.e5970d59.js";import"./DPicture.291331c1.js";import"./index.0c461a16.js";import"./index.90e2068c.js";import"./site.25e21301.js";import"./nuxt-link.b2663a23.js";import"./useLang.e4eb6ce7.js";import"./leaf-top-right.5f66ae76.js";import"./leaf-bottom-left.44023ab8.js";import"./Star.259455b4.js";import"./useTrack.e788edaa.js";const ge=""+globalThis.__publicAssetsURL("images/search-not-found.png");const D=g=>(ce("data-v-6dedfbe9"),g=g(),de(),g),fe={class:"container"},ve={class:"hidden"},ye={class:"grid grid-cols-12 md:gap-x-6 xl:gap-x-8"},xe={class:"col-span-full space-y-4 lg:col-span-8 lg:col-start-3 md:col-span-10 md:col-start-2"},we={class:"flex gap-x-1 justify-center items-center px-3 py-2 mx-auto w-full bg-gray-50 rounded-2xl xl:py-3 xl:px-6 md:px-4"},be=["placeholder","value"],ke={class:"text-gray-900 label-1"},$e={key:0},Fe={class:"text-primary"},Se={key:1},Ne={key:0},qe={key:0,class:"mt-4 space-y-6 xl:space-y-12 md:space-y-8 xl:mt-8 md:mt-6"},Ce={key:0,class:"container"},Ie={class:"mb-4 uppercase headline-1 text-text-500"},Te={class:"grid md:grid-cols-2 grid-cols-1 lg:grid-cols-3 xl:gap-x-4 md:gap-x-3 gap-x-[6px] xl:gap-y-8 md:gap-y-6 gap-y-4"},Pe={key:0,class:"flex justify-center mt-8"},Be={key:1,class:"container"},je={class:"mb-4 uppercase headline-1 text-text-500"},Le={class:"grid md:grid-cols-2 grid-cols-1 lg:grid-cols-3 xl:gap-x-4 md:gap-x-3 gap-x-[6px] xl:gap-y-8 md:gap-y-6 gap-y-4"},ze={key:0,class:"flex justify-center mt-8"},Ke={key:1,class:"mt-4"},Re={class:"container"},Ve={class:"grid grid-cols-12 md:gap-x-6 xl:gap-x-8"},Ae={class:"col-span-full lg:col-span-8 lg:col-start-3 md:col-span-10 md:col-start-2"},Ee={class:"p-6 space-y-2 w-full rounded-2xl border border-gray-100 xl:space-y-4 md:space-y-3 xl:p-12 md:p-8"},Me={class:"text-gray-900 title-3"},De=D(()=>t("hr",{class:"w-full h-px bg-gray-100"},null,-1)),He={class:"justify-between items-start space-y-5 md:gap-x-8 md:flex md:space-y-0"},Je={class:"text-gray-700 body-1"},Qe={class:"space-y-2"},Ue={class:"flex gap-x-2 items-center"},Ye={class:"text-primary"},Ze={class:"flex gap-x-2 items-center"},Ge={class:"text-primary"},Oe={class:"flex gap-x-2 items-center"},We={class:"text-primary"},Xe={class:"flex gap-x-2 items-center"},et={class:"text-primary"},tt=D(()=>t("div",{class:"md:my-auto max-sm:flex max-sm:items-center max-sm:justify-center"},[t("img",{src:ge,alt:"face circle",class:"max-w-[98px] w-full"})],-1)),st={key:1,class:"relative h-[400px]"},ot={class:"flex absolute top-1/2 left-1/2 justify-center -translate-x-1/2 -translate-y-1/2"},at=9,nt=9,lt={__name:"search",setup(g){const{locale:m}=se(),f=oe();ae();const L=ne(),_=c(f.query.keyword||""),v=c(0),z=c(0),d=c([]),y=c(1),x=c(1),w=c(!1),b=c(!1),S=c(!1),u=c([]),K=c(null),k={en:"search",vi:"tim-kiem",es:"buscar",fr:"recherche",de:"suche",it:"cerca",nl:"zoeken",he:"search"};I(()=>f.query.keyword,async e=>{d.value=[],u.value=[],S.value=!0,E(L({path:k[m.value]||k.en,query:{keyword:e}})),await q(),await C(),S.value=!1}),I(()=>y.value,async()=>{await q()}),I(()=>x.value,async()=>{await C()});const N=async()=>{_.value!==""&&(await E(L({path:k[m.value]||k.en,query:{keyword:_.value}})),y.value=1,x.value=1,document.body.style.overflow="")};function H(){_.value=""}setTimeout(()=>{q(),C(),J()},500);async function q(){if(w.value)return;w.value=!0;const{data:e}=await j("items/posts",{fields:"date_created,image.id,post_categories.post_categories_id.post_category_translations.slug,post_categories.post_categories_id.post_category_translations.title,post_categories.post_categories_id.post_category_translations.languages_code,post_translations.title,post_translations.description,post_translations.content,post_translations.blog_image,post_translations.slug,post_translations.languages_code",meta:"*","filter[status][_eq]":"published","filter[post_translations][title][_contains]":f.query.keyword,"filter[post_translations][languages_code][_contains]":m.value,sort:"-sort,-
1date_created",limit:at,page:y.value});e.value&&(d.value=[...d.value,...e.value.data],v.value=e.value.meta.filter_count),w.value=!1}async function C(){if(b.value)return;b.value=!0;const{data:e}=await j("items/tours",{fields:"*,tour_translations.*,level.level,level.level_translations.*,overall_rating",meta:"*","filter[status][_eq]":"published","filter[tour_translations][title][_contains]":f.query.keyword,"filter[tour_translations][languages_code][_contains]":m.value,sort:"-sort,-date_created",limit:nt,page:x.value});e.value&&(u.value=[...u.value,...e.value.data],z.value=e.value.meta.filter_count),b.value=!1}async function J(){try{const{data:e}=await j("items/data_tripadvisor_api");e.value&&(K.value=e.value)}catch(e){console.log(e)}}return(e,a)=>{const Q=W,U=X,Y=ee,R=ue,V=ie,Z=pe,$=_e,G=me,O=he;return n(),r("main",{class:T(["xl:pt-[164px] lg:pt-[130px] pt-[100px] xl:pb-[68px] md:pb-[48px] pb-[34px]",{"text-right":s(m)==="he"}])},[t("section",null,[t("div",fe,[t("h1",ve,o(e.$t("search.title")),1),t("div",ye,[t("div",xe,[t("div",we,[i(Q,{onClick:a[0]||(a[0]=l=>N()),class:"duration-300 ease-in-out cursor-pointer lg:hover:text-primary"}),t("form",{class:"w-full",onSubmit:a[4]||(a[4]=le(l=>N(),["prevent"]))},[t("input",{type:"text",placeholder:e.$t("placeholder.search"),ref:"inputField",value:s(_),onInput:a[1]||(a[1]=l=>_.value=l.target.value),onKeyup:[a[2]||(a[2]=re(l=>N(),["enter"])),a[3]||(a[3]=(...l)=>e.pressSearch&&e.pressSearch(...l))],class:"w-full h-6 text-gray-900 bg-transparent outline-none focus:outline-none body-1 placeholder:text-gray-500"},null,40,be)],32),i(U,{class:T([s(_)===""?"hidden":"","text-gray-900 duration-300 cursor-pointer lg:hover:text-primary eas"]),onClick:a[5]||(a[5]=l=>H())},null,8,["class"])]),t("div",ke,[s(v)>0?(n(),r("div",$e,[p(o(e.$t("search.found.textFirst"))+" ",1),t("span",Fe,o(s(v))+" "+o(e.$t("search.found.textSecond")),1),p(" "+o(e.$t("search.found.textThird"))+' "'+o(e.$route.query.keyword)+'" ',1)])):(n(),r("div",Se,o(e.$t("search.notFound"))+' "'+o(e.$route.query.keyword)+'" ',1))])])])])]),s(S)?(n(),r("div",st,[t("div",ot,[(n(),r(P,null,B(5,(l,h)=>t("div",{class:T(["loading-line",`loading-line${l}`]),key:h},null,2)),64))])])):(n(),r("div",Ne,[s(d)&&s(d).length||s(u)&&s(u).length||s(w)||s(b)?(n(),r("section",qe,[s(d)&&s(d).length?(n(),r("div",Ce,[t("h2",Ie,o(e.$t("search.blog")),1),t("div",Te,[(n(!0),r(P,null,B(s(d),(l,h)=>(n(),M(Y,{key:h,item:l},null,8,["item"]))),128))]),s(d).length<s(v)?(n(),r("div",Pe,[i(V,{title:e.$t("tour-detail.body.view-more"),className:"font-medium button-1 flex-shrink-0",class:"!w-[162px]",onClick:a[6]||(a[6]=l=>y.value+=1)},{background:A(()=>[i(R)]),_:1},8,["title"])])):F("",!0)])):F("",!0),s(u)&&s(u).length?(n(),r("div",Be,[t("h2",je,o(e.$t("search.tour")),1),t("div",Le,[(n(!0),r(P,null,B(s(u),(l,h)=>(n(),M(Z,{key:h,item:l,review:s(K)},null,8,["item","review"]))),128))]),s(u).length<s(z)?(n(),r("div",ze,[i(V,{title:e.$t("tour-detail.body.view-more"),className:"font-medium button-1 flex-shrink-0",class:"!w-[162px]",onClick:a[7]||(a[7]=l=>x.value+=1)},{background:A(()=>[i(R)]),_:1},8,["title"])])):F("",!0)])):F("",!0)])):(n(),r("section",Ke,[t("div",Re,[t("div",Ve,[t("div",Ae,[t("div",Ee,[t("div",Me,o(e.$t("search.messNotFound.title")),1),De,t("div",He,[t("div",Je,[t("ul",Qe,[t("li",Ue,[i($),t("span",null,[p(o(e.$t("search.messNotFound.textFirst.first"))+" ",1),t("span",Ye,o(e.$t("search.messNotFound.textFirst.second")),1),p(" "+o(e.$t("search.messNotFound.textFirst.third")),1)])]),t("li",Ze,[i($),t("span",null,[p(o(e.$t("search.messNotFound.textSecond.first"))+" ",1),t("span",Ge,o(e.$t("search.messNotFound.textSecond.second")),1)])]),t("li",Oe,[i($),t("span",null,[p(o(e.$t("search.messNotFound.textThird.first"))+" ",1),t("span",We,o(e.$t("search.messNotFound.textThird.second")),1)])]),t("li",Xe,[i($),t("span",null,[p(o(e.$t("search.messNotFound.textFour.first"))+" ",1),t("span",et,o(e.$t("search.messNotFound.textFour.second")),1)])])])]),tt])])])])])]))])),i(G,{class:"mt-8 lg:mt-16 md:mt-12"}),i(O,{title:e.$t("social-meta.search.title"),description:e.$t("social-meta.search.description"),"hreflang-en":"search","hreflang-vi":"vi/tim-kiem","hreflang-de":"de/suche","hreflang-fr":"fr/recherche","hreflang-it":"it/cerca","hreflang-nl":"nl/zoeken","hreflang-es":"es/buscar","hreflang-he":"he/search",robotsByLocale:{en:"noindex",vi:"noindex",de:"noindex",fr:"noindex",it:"noindex",nl:"noindex",es:"noindex",he:"noindex"}},null,8,["title","description"])],2)}}},St=te(lt,[["__scopeId","data-v-6dedfbe9"]]);export{St 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.