PageSourceSearch

https://wildearth.tv/build/assets/GuestLayout-DkE1yB1X.js

js wildearth.tv collected 2026-09-24 09:21:15 UTC 11,135 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Footer-Coj9aeSX.js","assets/app-CgPjWXEI.js","assets/icons-0dJroYbd.js","assets/reka-ui-CcWaZdOU.js","assets/app-By5vxUaV.css","assets/index.es-CFKcknqb.js","assets/index-Dc--5mt_.js","assets/StaffSidebar-BzbxVjNr.js","assets/useStaffSidebar-B6HulAMj.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/StaffSidebar-C-xLWGE1.css"])))=>i.map(i=>d[i]);
2import{l as u,u as W,_ as A}from"./app-CgPjWXEI.js";import{q as L,d as P,l as S,U as m,K as h,a8 as b,P as g,a0 as f,$ as F,u as e,L as l,M as n,x as V,D as G,_ as a,b2 as M,O as r,F as B,r as H,N as D}from"./icons-0dJroYbd.js";import{u as R}from"./useStaffSidebar-B6HulAMj.js";import{_ as U}from"./index-i4I5CGQt.js";import{_ as z,a as q,b as X,c as K,d as Y}from"./SheetTrigger.vue_vue_type_script_setup_true_lang-Dv_GtiQ6.js";import{_ as J}from"./_plugin-vue_export-helper-DlAUqK2U.js";function Q(){const o=L(!1);return{fontsLoaded:o,checkFontLoaded:(p,x=2e3)=>new Promise(y=>{const w=setTimeout(()=>{o.value||(console.log(`Font loading timed out after ${x}ms, assuming fonts are loaded`),o.value=!0,y(!0))},x);if(!("fonts"in document)){console.log("Font Loading API not supported, using fallback timeout");return}document.fonts.ready.then(()=>{try{const i=document.createElement("span");i.style.visibility="hidden",i.style.position="absolute",i.style.top="-10000px",i.style.left="-10000px",i.style.fontFamily=`'${p}', monospace`,i.style.fontSize="16px",i.textContent="Font Test",document.body.appendChild(i),new Promise(d=>{if("fonts"in document)try{document.fonts.load(`16px '${p}'`).then(()=>{d()}).catch(()=>{d()})}catch(k){console.warn("Font loading error:",k),d()}else d()}).then(()=>{document.body.removeChild(i),clearTimeout(w),o.value=!0,y(!0)})}catch(i){console.warn("Font check error:",i)}}).catch(()=>{console.warn("Font ready promise rejected")})})}}const Z=["href"],ee={key:0,class:"h-2 sm:h-3 w-1 bg-we-green-light group-hover:bg-amber-500 group-focus:bg-we-orange mr-1 sm:mr-1 transition-colors duration-100"},te=["src"],oe={key:0,class:"h-2 sm:h-3 w-1 bg-we-green-light group-hover:bg-amber-500 group-focus:bg-we-orange mr-1 sm:mr-1 transition-colors duration-100"},ne=["src"],_=P({__name:"GuestNavButton",props:{route:{type:String,required:!0},text:{type:String,required:!0},bgColor:{type:String,default:"bg-transparent"},width:{type:Number,default:120},blockVisisble:{type:Boolean,default:!0},icon:{type:String,default:""}},setup(o){const v=o,p=S(()=>v.bgColor==="bg-neutral-100"?"text-we-green":"text-white"),x=S(()=>v.route.startsWith("#"));return(y,w)=>x.value?(n(),m("a",{key:0,href:o.route,class:b(`h-full px-0 py-1.5 w-[${o.width}px] text-[15px] ${o.bgColor} ${p.value} hover:text-we-orange focus:text-we-orange focus:outline-none  focus-visible:none flex items-center justify-center group transition-colors duration-100`)},[o.blockVisisble?(n(),m("div",ee)):g("",!0),f(" "+F(o.text)+" ",1),o.icon?(n(),m("img",{key:1,src:o.icon,alt:"",class:"h-5 w-5 object-contain ml-1 transition-all duration-100 group-hover:-translate-y-1"},null,8,te)):g("",!0)],10,Z)):(n(),h(e(u),{key:1,href:o.route,class:b(`h-full px-0 py-1.5 w-[${o.width}px] text-[15px] ${o.bgColor} ${p.value} hover:text-we-orange focus:text-we-orange focus:outline-none  focus-visible:none flex items-center justify-center group transition-colors duration-100`)},{default:l(()=>[o.blockVisisble?(n(),m("div",oe)):g("",!0),f(" "+F(o.text)+" ",1),o.icon?(n(),m("img",{key:1,src:o.icon,alt:"",class:"h-5 w-5 object-contain ml-1 transition-all duration-100 group-hover:-translate-y-1"},null,8,ne)):g("",!0)]),_:1},8,["href","class"]))}}),se={class:"flex justify-between w-full max-w-7xl h-17 text-sm gap-2 font-poppins pl-2 lg:px-0"},re={class:"lg:hidden flex items-center"},le={class:"flex flex-col space-y-2"},ae={class:"hidden lg:flex h-full items-end justify-start gap-4 min-w-125"},ie={class:"flex w-full items-center justify-centery lg:pl-[var(--staff-sidebar-width,0px)] transition-[padding-left] duration-200 ease-out"},ue={class:"flex flex-col w-full h-full overflow-hidden"},de=P({__name:"GuestLayout",setup(o){const v=M(()=>A(()=>import("./Footer-Coj9aeSX.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),p=M(()=>A(()=>import("./StaffSidebar-BzbxVjNr.js"),__vite__mapDeps([7,2,8,1,3,4,9,10]))),{fontsLoaded:x,checkFontLoaded:y}=Q(),w=W(),{isStaff:i,layoutStyle:E}=R(),d=S(()=>route().current("home")),k=L(!1),O=L(!1),N=L(!1),c=()=>{k.value=!1},$=()=>{O.value=window.scrollY>50};return V(()=>{y("Poppins",2e3).then(()=>{}
2),window.addEventListener("scroll",$),N.value=document.documentElement.classList.contains("dark"),document.documentElement.classList.add("dark")}),G(()=>{window.removeEventListener("scroll",$),N.value||document.documentElement.classList.remove("dark")}),(s,t)=>{var I;return n(),m("div",{class:"flex min-h-screen flex-col items-center bg-neutral-800 antialiased",style:D(e(E))},[e(i)?(n(),h(e(p),{key:0})):g("",!0),a("header",{class:b(["w-full flex items-center justify-center top-0 left-0 right-0 z-50 fixed transition-all lg:pl-[var(--staff-sidebar-width,0px)]",O.value?"bg-stone-900/80 backdrop-blur-xl shadow-[0_0_15px_rgba(0,0,0,0.8)] duration-300":"bg-transparent hover:backdrop-blur-sm hover:bg-stone-900/10 duration-300"])},[a("div",se,[a("div",re,[r(e(Y),{open:k.value,"onUpdate:open":t[0]||(t[0]=C=>k.value=C),modal:!1},{default:l(()=>[r(e(z),{"as-child":!0},{default:l(()=>[r(e(U),{variant:"ghost",size:"icon",class:"h-10 w-10 text-neutral-100 hover:bg-none"},{default:l(()=>[...t[1]||(t[1]=[a("svg",{id:"menu-icon-open",class:"w-10 h-10",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20","stroke-width":"1.5",stroke:"currentColor"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})],-1)])]),_:1})]),_:1}),r(e(q),{side:"left",class:"w-[280px] p-6 bg-we-green border-neutral-700"},{default:l(()=>{var C,j,T;return[r(e(X),{class:"sr-only"},{default:l(()=>[...t[2]||(t[2]=[f("Navigation Menu",-1)])]),_:1}),r(e(K),{class:"flex justify-start text-left"},{default:l(()=>[r(e(u),{href:s.route("home"),onClick:c},{default:l(()=>[...t[3]||(t[3]=[a("img",{src:"/images/WE_LOGO_LIGHT.svg",class:"h-16 w-auto object-contain",width:"64",height:"64",alt:"WE Logo"},null,-1)])]),_:1},8,["href"])]),_:1}),a("nav",le,[r(e(u),{href:s.route("about"),onClick:c,class:"text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"},{default:l(()=>[...t[4]||(t[4]=[f(" OUR MISSION ",-1)])]),_:1},8,["href"]),d.value?(n(),m("a",{key:0,href:"#shows-section",onClick:c,class:"text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"}," SHOWS ")):(n(),h(e(u),{key:1,href:s.route("home")+"#shows-section",onClick:c,class:"text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"},{default:l(()=>[...t[5]||(t[5]=[f(" SHOWS ",-1)])]),_:1},8,["href"])),d.value?(n(),m("a",{key:2,href:"#weif",onClick:c,class:"text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"}," IMPACT FOUNDATION ")):(n(),h(e(u),{key:3,href:s.route("home")+"#weif",onClick:c,class:"text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"},{default:l(()=>[...t[6]||(t[6]=[f(" IMPACT FOUNDATION ",-1)])]),_:1},8,["href"])),d.value?(n(),m("a",{key:4,href:"#travel",onClick:c,class:"flex items-center gap-1 text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"},[...t[7]||(t[7]=[f(" TRAVEL ",-1),a("img",{src:"/images/logo_we_travel_pin.png",class:"h-5 w-5 object-contain"},null,-1)])])):(n(),h(e(u),{key:5,href:s.route("home")+"#travel",onClick:c,class:"flex items-center gap-1 text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"},{default:l(()=>[...t[8]||(t[8]=[f(" TRAVEL ",-1),a("img",{src:"/images/logo_we_travel_pin.png",class:"h-5 w-5 object-contain"},null,-1)])]),_:1},8,["href"])),(C=e(w).props.auth)!=null&&C.user?g("",!0):(n(),h(e(u),{key:6,href:s.route("login"),onClick:c,class:"text-neutral-100 hover:bg-neutral-100/10 px-4 py-3 rounded-lg text-sm font-medium transition-colors"},{default:l(()=>[...t[9]||(t[9]=[f(" SIGN IN ",-1)])]),_:1},8,["href"])),(j=e(w).props.auth)!=null&&j.user?g("",!0):(n(),h(e(u),{key:7,href:s.route("register"),onClick:c,class:"text-neutral-100 bg-we-orange hover:bg-neutral-100/10 px-4 py-3 mt-4 rounded-full text-center text-sm font-medium transition-colors"},{default:l(()=>[...t[10]||(t[10]=[f(" BECOME AN EXPLORER ",-1)])]),_:1},8,["href"])),(T=e(w).props.auth)!=null&&T.user?(n(),h(e(u),{key:8,href:s.route("safarilive"),onClick:c,class:"text-neutral-100 bg-we-orange hover:bg-neutral-100/10 px-4 py-3 mt-4 rounded-full text-center text-sm font-medium transition-colors"},{default:l(()=>[...t[11]||(t[11]=[f(" WATCH NOW ",-1)])]),_:1},8,["href"])):g("",!0)])]}),_:1})]),_:1},8,["open"])]),a("nav",{class:b(["hidden lg:flex h-full items-center justify-start gap-5 pl-8 transition-opacity duration-100",{"opacity-0":!e(x)}])},[r(e(u),{href:s.route("home"),class:"block h-18 mb-1 focus:outline-none"},{default:l(()=>[...t[12]||(t[12]=[a("img",{src:"/images/WE_LOGO_LIGHT.svg",class:"h-full w-auto object-contain",width:"72",he
2ight:"72",alt:"WE Logo"},null,-1)])]),_:1},8,["href"])],2),a("div",ae,[r(_,{route:s.route("about"),text:"OUR MISSION",width:120},null,8,["route"]),r(_,{route:d.value?"#shows-section":s.route("home")+"#shows-section",text:"SHOWS",width:80},null,8,["route"]),r(_,{route:d.value?"#weif":s.route("home")+"#weif",text:"IMPACT FOUNDATION",width:170},null,8,["route"]),r(_,{route:d.value?"#travel":s.route("home")+"#travel",text:"TRAVEL",width:90,icon:"/images/logo_we_travel_pin.png"},null,8,["route"])]),r(e(u),{href:s.route("home"),class:"flex lg:hidden items-center justify-start ml-4 flex-1"},{default:l(()=>[...t[13]||(t[13]=[a("img",{src:"/images/WE_LOGO_LIGHT.svg",class:"h-16 w-32 sm:w-auto object-contain mb-1",width:"56",height:"56",alt:"WE Logo"},null,-1)])]),_:1},8,["href"]),a("nav",{class:b(["flex h-full lg:min-w-80 items-center justify-end gap-2 transition-opacity duration-100",{"opacity-0":!e(x)}])},[(I=e(w).props.auth)!=null&&I.user?(n(),h(e(u),{key:0,href:s.route("safarilive"),text:"WATCH NOW",class:"min-w-40 px-5 py-3 mr-4 font-poppins text-center text-white bg-we-orange rounded-full transition-all duration-300 hover:bg-amber-500 hover:scale-105"},null,8,["href"])):(n(),m(B,{key:1},[r(_,{route:s.route("login"),text:"SIGN IN",width:100,blockVisisble:!1,class:"px-5 lg:px-5"},null,8,["route"]),r(e(u),{href:s.route("register"),text:"BECOME AN EXPLORER",class:b(["hidden lg:block min-w-50 mr-4 px-5 py-3 font-poppins text-center text-white bg-we-orange rounded-full transition-all duration-300 hover:bg-amber-500 hover:scale-105",O.value?"shadow-[0_0_25px_rgba(217,119,6,0.8)]":""])},null,8,["href","class"])],64))],2)])],2),a("div",ie,[a("main",ue,[H(s.$slots,"default",{},void 0,!0),r(e(v))])])],4)}}}),xe=J(de,[["__scopeId","data-v-cdb31a47"]]);export{xe as G,Q 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.