1import{u as h}from"./useTour-DzbPFqfy.js";import{_ as v,x,y as w,u as b,r,c as f,o as c,a as t,I as g,b as l,z as y,t as p,J as C,F as T,e as S,B as j,m as k,D as M}from"./index-UKIHAxhm.js";import{N}from"./Navbar2-ClSuO6yn.js";const B={props:{tour:{type:Object,required:!0},color:{type:String,required:!0}},setup(a){const{tour:s}=x(a),{MEDIA_URL:o}=w(),{goToTour:e}=b();return{MEDIA_URL:o,onSeeing:()=>{e(s.value.id)}}}},D={class:"w-75"},z={class:"container d-flex flex-column flex-sm-row justify-content-center bg-white mb-3 p-3"},E={class:"position-relative tour-image-container"},I={class:"image-wrapper"},L=["src","alt"],R={class:"expand-icon"},$={class:"w-100 d-flex flex-column justify-content-between ml-3 mt-3 ms-0 ms-sm-3 mt-sm-0"},A={class:"d-flex flex-column"},U={class:"description overflow-hidden mb-0 text-start white-space-pre-line"},V={class:"d-flex justify-content-center justify-content-sm-end mt-4"};function q(a,s,o,e,d,n){const m=r("t-icon"),u=r("font-awesome-icon"),i=r("viewer");return c(),f("div",D,[t("div",{class:"h-px-25",style:g({backgroundColor:o.color})},null,4),t("div",z,[t("div",E,[l(m,{icon:"ri-image-line",class:"fs-1 position-absolute w-100 h-100"}),l(i,{class:"w-100 h-100",images:[`${e.MEDIA_URL}/${o.tour.image}`]},{default:y(()=>[t("div",I,[t("img",{src:`${e.MEDIA_URL}/${o.tour.image}`,class:"tour-image rounded pointer",alt:o.tour.name},null,8,L),t("div",R,[l(u,{icon:["fas","expand"]})])])]),_:1},8,["images"])]),t("div",$,[t("div",A,[t("p",{class:"fs-3 text-start f-gotham-bold",style:g({color:o.color})},p(o.tour.name),5),t("p",U,p(o.tour.description),1)]),t("div",V,[t("div",{class:"w-100 text-end p-1 pointer text-blue-light f-gotham-bold",onClick:s[0]||(s[0]=(..._)=>e.onSeeing&&e.onSeeing(..._))}," ver más ")])])])])}const F=v(B,[["render",q]]),J="/images/tour/tour-image.png",O="/images/tour/tour-title.png",G={components:{Navbar:N,TourCard:F},setup(){const{tours:a,getTours:s,clearTour:o}=h(),e=k(["#ec278f","#00afef","#f58634","#7a75b5","#a8cf45"]);return M(()=>{o(),s()}),{tours:a,getColor:n=>n<e.value.length?e.value[n]:e.value[n-e.value.length*Math.floor(n/e.value.length)]}}},H=C('<header class="position-relative d-flex align-items-center text-center margin-auto med-page-height"><div class="w-100 h-100 top-0 bottom-0 start-0 end-0 position-absolute overflow-hidden"><img src="'+J+'" class="w-100 h-100 object-fit-cover"></div><div class="w-100 d-flex flex-column flex-sm-row align-items-center zindex-4"><img src="'+O+'" class="w-100 py-2 ps-2 ps-sm-5 pe-2" style="max-width:300px;"></div></header>',1),K={class:"zindex-3 position-relative transition-card-list med-card-list"},P={class:"w-100 d-flex flex-column align-items-center position-absolute"};function Q(a,s,o,e,d,n){const m=r("navbar"),u=r("TourCard");return c(),f("main",null,[l(m),H,t("div",K,[t("div",P,[(c(!0),f(T,null,S(e.tours,(i,_)=>(c(),j(u,{key:i.id,tour:i,color:i.color||e.getColor(_)},null,8,["tour","color"]))),128))])])])}const Z=v(G,[["render",Q]]);export{Z 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.