PageSourceSearch

https://www.bud.hu/build/assets/Localplace_tabs-CovTBO5y.js

js bud.hu collected 2026-09-24 18:22:48 UTC 4,898 bytes, 1 lines download raw bytes

1import{L as D}from"./Default-CUCpX_yX.js";import{M as B}from"./ModulesRenderer-Dc_ngnBP.js";import P from"./Tabs-y5nZEcDC.js";import{S as M}from"./ScrollToTop-B6ZTnXwh.js";import{S as O}from"./ShowMore-DVOWAqcL.js";import{_ as j}from"./DropDownLinkComponent-CNTa-_se.js";import{T as U,L as H}from"./TitleBlockIndex-BzvanDB2.js";import{_ as N,r as c,c as p,o,w as h,a,b as l,e as d,d as n,F as b,g as f,t as R}from"./app-D8OumE21.js";import"./FlightNotifications-BSfAQH9x.js";import"./flightStore-CAKpxMCK.js";import"./FlightNotification-Bkl2lRe5.js";import"./OfferDialog-DCY_MOrF.js";import"./OfferCard-D8Aoud0U.js";import"./dialogDragClose-Blif7TPl.js";import"./FlightUpdatesDialog-l4xsmWg8.js";const V={name:"LocalplaceTabs",props:{page:{type:Object,required:!0,props:{currentMenuItem:{type:Object},category:{type:Object}}},heroImage:{type:String,default:"/assets/images/home-page-hero-section.png"}},components:{ShowMore:O,ScrollToTop:M,Layout:D,ModulesRenderer:B,Tabs:P,DropDownLinkComponent:j,LeadImageIndex:H,TitleBlockIndex:U},data(){return{loading:!1,nextPageUrl:this.page.items.next_page_url,items:this.page.items.data,expandedItem:-1,moduleOptions:{customHtml:{embedded:!0,surface:"secondary"}}}},methods:{toggle(i){this.expandedItem=this.expandedItem===i?-1:i},showMore(){this.loading=!0,axios.get(this.nextPageUrl,{headers:{"X-Axios-Call":!0}}).then(i=>{this.nextPageUrl=i.data.items.next_page_url,this.items=this.items.concat(i.data.items.data)}).finally(()=>{this.loading=!1})}},mounted(){if(this.page.itemToShow){const i=document.getElementById("eitem_"+this.page.itemToShow.id);this.$nextTick(()=>{setTimeout(()=>{(()=>{window.scrollTo({top:i.offsetTop-140,behavior:"smooth"})})()},300)})}}},E={class:"border border-neutral-050 bg-surface-secondary"},F={class:"w-full max-w-[1120px] mx-auto px-6 md:px-8 lg:px-12 xl:px-16 2xl:px-20 pt-10 lg:pt-10"},q={class:"max-w-[1120px] w-full mx-auto"},A={class:"w-full max-w-[1120px] mx-auto pt-4 lg:pt-4 px-5 lg:px-20"},X={class:"mb-10"},z={class:"flex flex-col gap-2"},G={class:"text-h2 font-bold mb-0 flex flex-row items-center gap-4"},J={key:0,class:"w-10 h-10"},K=["src","alt"],Q={key:0,class:"pt-6 pb-2"},W=["src","alt"],Y={key:0,class:"flex flex-col gap-6 pt-5 pb-10"},Z={key:0,class:"px-6"},$=["src","alt"],ee={class:"flex flex-col gap-4 lg:gap-6 px-10 py-4"};function te(i,y,e,oe,w,se){var u;const T=c("LeadImageIndex"),m=c("ModulesRenderer"),k=c("TitleBlockIndex"),r=c("Html"),v=c("Tabs"),I=c("DropDownLinkComponent"),L=c("ScrollToTop"),S=c("Layout");return o(),p(S,{isDark:!!((u=e.page.currentMenuItem)!=null&&u.is_vip)},{default:h(()=>{var x,_,g;return[a("div",E,[l(T,{image:e.page.category.image[0]},null,8,["image"]),l(m,{modulePositions:(x=e.page)==null?void 0:x.modules,position:"site_top",pageType:"index"},null,8,["modulePositions"]),a("div",F,[a("div",q,[l(k,{title:e.page.title,hasLead:e.page.category.hasLead,lead:e.page.category.lead,hasDescription:!1,description:"",hasBreadcrumbs:e.page.displayOptions.show_breadcrumbs,breadcrumbs:e.page.breadcrumbs},null,8,["title","hasLead","lead","hasBreadcrumbs","breadcrumbs"]),l(m,{modulePositions:(_=e.page)==null?void 0:_.modules,moduleOptions:w.moduleOptions,pageType:"index",backgroundColorClasses:["bg-surface-secondary",""],position:"in_content"},null,8,["modulePositions","moduleOptions"])])]),a("div",A,[e.page.category.hasDescription?(o(),p(r,{key:0,ctx:e.page.category.description,class:"mb-4"},null,8,["ctx"])):d("",!0),a("div",X,[l(v,{tabs:e.page.tabs},null,8,["tabs"])]),(o(!0),n(b,null,f(e.page.items,t=>(o(),n("div",{key:`category-${t.id}`,class:"py-4"},[a("div",z,[a("div",G,[t.icon?(o(),n("div",J,[a("img",{src:t.icon,class:"w-full h-full",alt:t.name},null,8,K)])):d("",!0),a("h2",null,R(t.name),1)]),l(r,{class:"text-body2",ctx:t.lead},null,8,["ctx"]),t.image?(o(),n("div",Q,[t.image?(o(),n("img",{key:0,class:"rounded-[12px] w-full object-cover",src:t.image,alt:t.name},null,8,W)):d("",!0)])):d("",!0),l(r,{class:"text-body2",ctx:t.body},null,8,["ctx"])]),t.items.length?(o(),n("div",Y,[(o(!0),n(b,null,f(t.items,(s,C)=>(o(),p(I,{key:C,title:s.title,subtitle:s.subtitle,primaryIconUrl:s.icon,expanded:e.page.itemToShow&&s.id==e.page.itemToShow.id,id:s.id,secondary:!1},{expandableContent:h(()=>[a("div",null,[s.image?(o(),n("div",Z,[s.image?(o(),n("img",{key:0,class:"rounded-[12px] w-full object-cover",src:s.image,alt:s.title},null,8,$)):d("",!0)])):d("",!0),a("div",ee,[l(r,{class:"text-body2",ctx:s.lead},null,8,["ctx"]),l(r,{ctx:s.body,class:"max-w-[1120px] w-full mx-auto pb-16"},null,8,["ctx"])])])]),_:2},1032,["title","subtitle","primaryIconUrl","expanded","id"]))),128))])):d("",!0)]))),128))]),l(m,{modulePositions:(g=e.page)==null?void 0:g.modules,pageType:"index",backgroundColorClasses:["bg-surface-secondary",""],position:"site_down"},null,8,["modulePositions"]),l(L)])]}),_:1},8,["isDark"])}const fe=N(V,[["render",te]]);export{fe 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.