1import{_ as A}from"./2ztgK0Fm.js";import{c as k,e as s,o as e,g as r,w as m,d as u,n as g,b as o,A as i,b7 as F,K as z,_ as I,J as p,bg as G,F as b,f as S,W as V,B as P,t as $,Q as D}from"./CSHC2iUV.js";import{_ as L,E as q}from"./RrDdG5Kx.js";import{_ as J}from"./Bgmm-W3U.js";import{_ as K}from"./Csk2IhWh.js";const O={class:"tour__sorting"},Q={class:"tourButtons"},R={class:"tourButtons__item"},W={class:"tourButtons__item"},j={key:4,class:"tourPeople"},M={class:"tourFooter__content"},U={key:0,class:"tourFooter__stars"},X={key:1,class:"tourFooter__hotel"},Y={class:"tourFooter__info"},lt={__name:"Tour",props:{price:{type:[String,Number],default:""},currency:{type:String,default:""},date:{type:String,default:""},daysNight:{type:[String,Number],default:""},flight:{type:String,default:""},title:{type:String,default:""},tourName:{type:String,default:""},imageTour:{type:String,default:null},imageHotel:{type:String,default:null},size:{type:String,default:""},styleClass:{type:String,default:""},type:{type:String,default:""},idTour:{type:Number,default:null},code:{type:String,default:null},uuid:{type:String,default:null},isClub:{type:Boolean,default:!1},isGuaranteed:{type:Boolean,default:!1},countryName:{type:String,default:null},starsHotel:{type:[String,Number],default:null},countAdult:{type:Number,default:0},countChildren:{type:Array,default:null},isHot:{type:Boolean,default:null},isConfirm:{type:Boolean,default:null},isGarant:{type:Boolean,default:null},isHit:{type:Boolean,default:null},isSale:{type:Boolean,default:null}},setup(t){const c=t,f=k(()=>{if(c.countChildren){const _=c.countChildren;let d="";const a=_.reduce(function(n,l){return n[l]=(n[l]||0)+1,n},{});for(const n in a){const l=a[n];n==="1"?d+=`, деÑи ${n} год: ${l}`:n==="2"||n==="3"||n==="4"?d+=`, деÑи ${n} года: ${l}`:d+=`, деÑи ${n} леÑ: ${l}`}return d}return null}),h=k(()=>c.countAdult&&f.value?`ÐзÑоÑлÑÑ
: ${c.countAdult}${f.value}`:c.countAdult&&!f.value?`ÐзÑоÑлÑÑ
: ${c.countAdult}`:null);return(_,d)=>{const a=A,n=F,l=z,N=L,B=p,C=I,v=V,x=G,E=q,H=J,w=K,T=D;return e(),s("div",{class:g(["tour",t.styleClass])},[r(T,{to:`/search/${t.type==="hotel"?"hotel":"tour"}/${t.code}/${t.uuid?t.uuid:""}`,class:"tourFooter__title"},{default:m(()=>[u("div",{class:g(["tour__content",t.size])},[u("div",O,[t.isHot?(e(),o(a,{key:0,text:"ÐоÑÑÑий ÑÑÑ",icon:"goryashchiye-tury_white",color:"orange","border-align":"left"})):t.isConfirm?(e(),o(a,{key:1,text:"ÐоменÑалÑное подÑвеÑждение",icon:"clock",color:"turquoise","border-align":"left"})):t.isGarant?(e(),o(a,{key:2,text:"ÐаÑанÑиÑованнÑй ÑÑÑ",icon:"okay",color:"green","border-align":"left"})):t.isHit?(e(),o(a,{key:3,text:"Ð¥Ð¸Ñ Ð¿Ñодаж",icon:"star-white",color:"purpure","border-align":"left"})):t.isSale?(e(),o(a,{key:4,text:"Скидка",icon:"sale",color:"blue","border-align":"left"})):i("",!0)]),t.isClub?(e(),o(n,{key:0,type:"club",large:!0,icon:"boat",iconColor:"white",placement:"top-end",content:"ÐлÑбнÑй ÑÑÑ <br>ÐÑо наÑÑоÑÑее пÑиклÑÑение в компании ÑвлеÑеннÑÑ
пÑÑеÑеÑÑвиÑми лÑдей. ÐакÑимÑм комÑоÑÑа, ÑникалÑнÑй маÑÑÑÑÑ Ñ Ð¿Ð¾ÑеÑением ÑамÑÑ
инÑеÑеÑнÑÑ
меÑÑ, пÑодÑÐ¼Ð°Ð½Ð½Ð°Ñ Ð»Ð¾Ð³Ð¸ÑÑика, дÑÑжеÑÑÐ²ÐµÐ½Ð½Ð°Ñ Ð°ÑмоÑÑеÑа. ÐÐ°Ñ Ð±ÑÐ´ÐµÑ ÑопÑовождаÑÑ Ð¸Ð· ÐинÑка опÑÑнÑй ÑÑÑлидеÑ, ÑÑо гаÑанÑиÑÑÐµÑ Ð¸Ð½Ð´Ð¸Ð²Ð¸Ð´ÑалÑнÑй подÑ
од к ÐºÐ°Ð¶Ð´Ð¾Ð¼Ñ ÑÑаÑÑÐ½Ð¸ÐºÑ Ð³ÑÑппÑ."})):t.isGuaranteed?(e(),o(n,{key:1,type:"group",large:!0,icon:"group",iconColor:"white",placement:"top-end",content:"ÐаÑанÑиÑÐ¾Ð²Ð°Ð½Ð½Ð°Ñ Ð¼Ð¸Ð½Ð¸-гÑÑппа <br>ÐÑÑеÑеÑÑвие в неболÑÑой гÑÑппе позволÑÐµÑ ÑÑкономиÑÑ Ð´Ð¾ 30% Ð¾Ñ ÑÑоимоÑÑи индивидÑалÑного ÑÑÑа. ÐÑи ÑÑом ÑоÑ
ÑаниÑÑ Ð²ÑÑокий ÑÑÐ¾Ð²ÐµÐ½Ñ ÑеÑвиÑа и каÑеÑÑво ÑÑлÑг. ÐÐ°Ñ Ð¶Ð´ÐµÑ ÐºÐ¾Ð¼ÑоÑÑабелÑнÑй ÑÑанÑпоÑÑ, ÑвлекаÑелÑнÑй маÑÑÑÑÑ, аÑÑенÑиÑнÑе ÑкÑкÑÑÑии, ÑÑаÑелÑно ÑпланиÑÐ¾Ð²Ð°Ð½Ð½Ð°Ñ Ð»Ð¾Ð³Ð¸ÑÑика."})):i("",!0),t.imageHotel?(e(),o(l,{key:2,class:"tour__image",src:t.imageHotel,alt:t.tourName,fit:"
1cover",lazy:!0},null,8,["src","alt"])):t.imageTour?(e(),o(l,{key:3,class:"tour__image",src:t.imageTour,alt:t.tourName,fit:"cover",lazy:!0},null,8,["src","alt"])):i("",!0),u("div",Q,[u("div",R,[r(N,{price:t.price,currency:t.currency},null,8,["price","currency"])]),r(C,null,{default:m(()=>[u("div",W,[r(B,{icon:"calendar_black","style-class":"default hasIcon",link:`/search/${t.type==="hotel"?"hotel":"tour"}/${t.code}/${t.uuid?t.uuid:""}`,text:"ÐодÑобнее"},null,8,["link"])])]),_:1})]),h.value?(e(),s("div",j,[r(E,{placement:"top-end",trigger:"hover",title:h.value},{reference:m(()=>[r(x,{slot:"reference"},{default:m(()=>[(e(!0),s(b,null,S(t.countAdult,y=>(e(),o(v,{key:y,class:"icon-adult",icon:"user-white","icon-color":"white","is-image":!1}))),128)),(e(!0),s(b,null,S(t.countChildren,y=>(e(),o(v,{key:y,class:"icon-children",icon:"user-white","icon-color":"white","is-image":!1}))),128))]),_:1})]),_:1},8,["title"])])):i("",!0)],2),u("div",{class:g(["tourFooter",t.size==="large"?"large":t.size])},[u("div",M,[P($(t.title)+" ",1),t.starsHotel?(e(),s("div",U,[t.starsHotel?(e(),o(H,{key:0,"stars-count":t.starsHotel==="Apt."?0:+t.starsHotel.charAt(0),"stars-color-active":"#FEC52D","stars-color-unactive":"#898888"},null,8,["stars-count"])):i("",!0)])):i("",!0),t.countryName?(e(),s("div",X,$(t.countryName),1)):i("",!0)]),u("div",Y,[r(w,{date:t.date,"days-night":t.daysNight,flight:t.flight},null,8,["date","days-night","flight"])])],2)]),_:1},8,["to"])],2)}}};export{lt as _};
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.