PageSourceSearch

https://www.tootbus.com/_nuxt/DuIj4I45.js

js tootbus.com collected 2026-09-26 04:38:12 UTC 11,793 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CWFTvM0Q.js","./Dmm5kBlU.js","./entry.Ch3Hhsmy.css","./9MNi9FEj.js","./DHovO5m3.js","./AppInspirationSlider.DXxmJmFs.css","./DD_hhCzI.js","./0mlNkbnB.js"])))=>i.map(i=>d[i]);
2import{bY as me,cb as _e,bC as N,aq as W,by as ve,ac as y,bm as G,br as s,ai as _,cr as O,ck as ye,bX as t,ae as d,am as b,cq as g,C as fe,b9 as Z,i as q,bF as U,af as p,v as be,j as Q,a2 as ge,bc as M,D as k,I as z,bO as F,ah as u,a1 as he,cs as H,m as ke,$ as ee,P as we,ca as Ce,ab as xe,at as $e,c3 as te,bp as Se,cn as Ae,_ as Te,B as Ie,g as $,f as se,z as D,x as ae,c8 as Pe,c7 as Ve,c6 as ze,cp as De,bu as J,aH as Le,c2 as Ee,ax as Fe,cf as Oe,R as Ne,bZ as Re,bI as je,bR as Be,ag as Me,ap as K,W as X}from"./Dmm5kBlU.js";import{_ as He}from"./BdBQDEF7.js";import{u as qe}from"./70BaUFcS.js";import{_ as Ue}from"./BNC6U0e3.js";import{M as We}from"./B83szbOW.js";import{I as Ge}from"./DCgLCG7D.js";import{u as Ke}from"./BpH4PkBo.js";import{l as Xe}from"./BCnxnw07.js";import"./BYc1gW_5.js";import"./DLlkGM27.js";import"./DRdLVqfz.js";import"./DqvRcYe0.js";import"./CflGOkLj.js";import"./2LwGut4b.js";import"./C1Bm6NWW.js";import"./fwVPBZUB.js";import"./Cr4T2r8O.js";function Ye(n){const i=me(),m=_e(),r=N();return{response:r,async execute(){return r.value=await m.execute(i,{action:n})}}}const Ze={key:0},Je={key:0,class:"h-full relative"},Qe={key:1,class:"flex flex-col gap-y-4 w-full h-full"},et={key:0,class:"relative"},tt={key:1,class:"relative"},st=W({__name:"AppCarousel",props:{images:{}},setup(n){const i=qe(),m=n,r=ve({itemsToShow:1,wrapAround:!0,snapAlign:"start",itemsToScroll:1,breakpoints:{640:{itemsToShow:2,snapAlign:"start",wrapAround:!0,itemsToScroll:1},1040:{itemsToShow:3,snapAlign:"start",wrapAround:!0,itemsToScroll:1}}}),c=N(!1),h=y(()=>m.images.length===1?[]:m.images.slice(1).reduce((o,A,l,a)=>(l%2!==0||(l+1<=a.length-1?o.push([A,a[l+1]]):o.push([A])),o),[])),C=y(()=>[m.images[0],...h.value]);G(()=>{c.value=!0});function v(o){o instanceof k&&(i.value.show=!0,i.value.provider=o.youtube.includes("youtube")?"youtube":"vimeo",i.value.videoId=o.youtube.includes("youtube")?o.youtube.split("?v=")[1]||o.youtube.split("shorts/")[1]:o.youtube.split("/")[3])}return(o,A)=>{const l=ge,a=he,x=be,I=ke,L=fe,R=ee,E=we;return o.images&&o.images.length&&o.images[0]?(s(),_("section",Ze,[O(d("div",null,[b(R,{class:"relative carousel-lg hidden sm:block"},{default:g(()=>[b(L,Z(t(r),{class:"commons-carousel-desktop padding-carousel-v"}),{addons:g(()=>[b(I,{class:"button__else__where app__carousel"})]),default:g(()=>[(s(!0),_(q,null,U(t(C),(e,T)=>(s(),p(x,{is:"div",key:T,class:"px-2"},{default:g(()=>[T===0?(s(),_("div",Je,[e instanceof t(Q)&&e.src?(s(),p(l,{key:0,src:e.src,srcset:t(F)(e.srcSet),alt:e instanceof t(z)?e.alt:"",sizes:"md:50vw lg:33vw 100vw",class:M(["h-full object-cover rounded",{"cursor-pointer":e instanceof t(k)&&e.youtube}]),draggable:!1,height:"474",width:"460",onClick:S=>v(e)},null,8,["src","srcset","alt","class","onClick"])):u("",!0),e&&e instanceof t(k)?(s(),p(a,{key:1,name:"icons/play",class:"w-20 h-20 text-plain-c01 absolute z-50 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 cursor-pointer",onClick:H(S=>v(e),["stop"])},null,8,["onClick"])):u("",!0)])):(s(),_("div",Qe,[Array.isArray(e)?(s(),_("div",et,[e[0].src?(s(),p(l,{key:0,src:e[0].src,srcset:t(F)(e[0].srcSet),sizes:"md:50vw lg:33vw 100vw",alt:e[0]instanceof t(z)?e[0].alt:"",style:{height:"229px"},class:M(["object-cover rounded w-full",{"cursor-pointer":e[0]instanceof t(k)&&e[0].youtube}]),draggable:!1,width:"360",height:"229",onClick:S=>e[0]instanceof t(k)&&e[0].youtube&&v(e[0])},null,8,["src","srcset","alt","class","onClick"])):u("",!0),e[0]instanceof t(k)&&e[0].youtube?(s(),p(a,{key:1,name:"icons/play",class:"w-20 h-20 text-plain-c01 absolute z-50 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2",onClick:H(S=>v(e[0]),["stop"])},null,8,["onClick"])):u("",!0)])):u("",!0),Array.isArray(e)&&e[1]?(s(),_("div",tt,[e[1].src?(s(),p(l,{key:0,src:e[1].src,srcset:t(F)(e[1].srcSet),sizes:"md:50vw lg:33vw 100vw",alt:e[1]instanceof t(z)?e[1].alt:"",class:M(["object-cover rounded w-full",{"cursor-pointer":e[1]instanceof t(k)&&e[1].youtube}]),style:{height:"229px"},draggable:!1,width:"360",height:"229",onClick:S=>e[1]instanceof t(k)&&e[1].youtube&&v(e[1])},null,8,["src","srcset","alt","class","onClick"])):u("",!0),e[1]instanceof t(k)&&e[1].youtube?(s(),p(a,{key:1,name:"icons/play",class:"w-20 h-20 text-plain-c01 absolute z-50 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 cursor-pointer",onClick:H(S=>v(e[1]),["stop"])},null,8,["onClick"])):u("",!0)])):u("",!0)]))]),_:2},1024))),128))]),_:1},16)]),_:1}),b(L,Z(t(r),{class:"commons-carousel-mobile sm:hidden"}),{addons:g(()=>[b(E)]),default:g(()=>[(s(!0),_(q,null,U(o.images,(e,T)=>(s(),p(x,{is:"div",key:T,class:"commons-carousel-mobile-image"},{default:g(()=>[e.src?(s(),p(l,{key:0,src:e.src,srcset:t(F)(e.srcSet),alt:e instanceof t(z)?e.alt:"",sizes:"100vw",class:"absolute w-full h-full object-cover top-0",draggable:!1,height:"390",width:"390",onClick:S=>v(e)},null,8,["src","srcset","alt","onClick"])):u("",!0),e instanceof t(k)?(s(),p(a,{key:1,name:"icons/play",class:"w-20 h-20 text-plain-c01 absolute z-50 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 cursor-pointer",onClick:S=>v(e)},null,8,["onClick"])):u("",!0)]),_:2},1024))),128))]),_:1},16)],512),[[ye,t(c)]])])):u("",!0)}}});function at(){const n=Ce();
2n.scriptInjected=!0,n.useScriptProvider(),G(()=>{xe()})}const nt=$e("captchaTokenStore",{state:()=>({captchaTokenIsVerified:!1}),actions:{getCaptchaTokenVerified(){return this.captchaTokenIsVerified},setCaptchaTokenVerified(n){this.captchaTokenIsVerified=n}}}),ot=["id"],it=W({__name:"AppFormPrivateTourForm.client",setup(n){const{locale:i}=te();at();const{execute:m}=Ye("submit"),r=nt(),c={en:"4bd4bb85-e9b2-479a-acc1-3cd50ba4b986",fr:"ad475941-4209-4855-b6cb-287a2ed77754",es:"f3a1189c-34d2-43b6-99af-54482d87d403"},h=y(()=>c[i.value]??c.en),C=N(!0),v=N(null),o=()=>{Object.values(c).forEach(l=>{const a=document.createElement("script");a.setAttribute("src",`https://brain.plezi.co/api/v1/web_forms/scripts?content_web_form_id=${l}`),document.head.append(a),setTimeout(()=>{document.getElementsByClassName("plezi-submit-btn")[0]?.addEventListener("click",A)},500)})};G(async()=>{if(!r.getCaptchaTokenVerified()){const l=await m();if(!await $fetch("/captchaVerification",{method:"POST",body:{token:l}})){C.value=!1;return}r.setCaptchaTokenVerified(!0)}o()});const A=()=>{v.value?.scrollIntoView({behavior:"smooth"})};return Se(()=>{document.getElementsByClassName("plezi-submit-btn")[0]?.removeEventListener("click",A)}),Ae(i,()=>{o()}),(l,a)=>{const x=Te;return s(),p(x,null,{default:g(()=>[t(C)?(s(),_("div",{key:0,ref_key:"formRef",ref:v},[(s(!0),_(q,null,U(Object.values(c),I=>(s(),_("div",{key:I},[I===t(h)?(s(),_("form",{key:0,id:`plz-form-${I}`},null,8,ot)):u("",!0)]))),128))],512)):u("",!0)]),_:1})}}});var rt=Object.defineProperty,ct=Object.getOwnPropertyDescriptor,f=(n,i,m,r)=>{for(var c=r>1?void 0:r?ct(i,m):i,h=n.length-1,C;h>=0;h--)(C=n[h])&&(c=(r?C(i,m,c):C(c))||c);return r&&c&&rt(i,m,c),c};let V=class{title;content;media};f([$()],V.prototype,"title",2);f([$()],V.prototype,"content",2);f([$()],V.prototype,"media",2);V=f([se()],V);let w=class extends Ie{gallery;content;sidebar_text;title_push;subtitle_push;inclusions;related_inspirations;hero_image;teaser_image;document;getFormatted(n){return{...this,related_inspirations:this.related_inspirations.map(i=>({content:i.getInspirationFormatted(n),title:this.title,type:"RelatedInspiration"}))}}};f([$(),D(()=>Q,{discriminator:{property:"type",subTypes:[{value:z,name:"image"},{value:k,name:"remote_video"}]},keepDiscriminatorProperty:!0})],w.prototype,"gallery",2);f([$()],w.prototype,"content",2);f([$()],w.prototype,"sidebar_text",2);f([$()],w.prototype,"title_push",2);f([$(),D(()=>Ge)],w.prototype,"related_inspirations",2);f([$(),D(()=>ae)],w.prototype,"hero_image",2);f([D(()=>ae)],w.prototype,"teaser_image",2);f([$(),D(()=>V)],w.prototype,"document",2);w=f([se()],w);const lt=Me(it),ut=K(()=>X(()=>import("./CWFTvM0Q.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(n=>n.default||n)),dt=K(()=>X(()=>import("./DHovO5m3.js"),__vite__mapDeps([4,1,2,5]),import.meta.url).then(n=>n.default||n)),pt=K(()=>X(()=>import("./DD_hhCzI.js"),__vite__mapDeps([6,7,1,2,3]),import.meta.url).then(n=>n.default||n)),mt={class:"overflow-x-hidden"},_t={class:"city-tours-title m-8"},vt={class:"md:w-2/3 md:pr-8 md:divide-y divide-grey-divide"},yt={class:"mt-8 md:mt-6 lg:mt-8 mb-8 relative font-semibold text-3xl leading-tight"},ft={class:"mb-8 text-sm text-grey-default"},bt={class:"pt-8"},gt={class:"md:w-1/3 md:pl-8 mt-3"},ht={class:"grid grid-cols-1 divide-y divide-grey-divide lg:mt-6"},kt={class:"divide-y divide-grey-divide"},wt={class:"py-5"},Ct={key:0,class:"py-6"},xt={class:"mt-6 md:mt-20 space-y-12"},$t={key:0},St={key:1},qt=W({__name:"private-tour",async setup(n){let i,m;const{$city:r}=Pe(),{t:c,locale:h}=te(),C=Ve(),v=ze({seo:!0}),{enabled:o,state:A}=Ke(),{data:l}=([i,m]=De(async()=>Re("privatetour",async()=>{const P=await $fetch(`/api/drupal/${h.value}/${r.getCityGid()}/privatetour/${r.getCityName()}`,{query:{previewEnabled:o.value,token:A?.token}}),Y=await $fetch(`/api/drupal/${h.value}/${r.getCityGid()}/map`);return{privateTourContent:P,productsInspirations:Y}})),i=await i,m(),i),a=y(()=>l.value?.privateTourContent?J(w,l.value?.privateTourContent):null),x=y(()=>l.value?.productsInspirations?J(We,l.value.productsInspirations):null),I=y(()=>a.value?.title||""),L=y(()=>a.value?.content||""),R=y(()=>a.value?.sidebar_text||""),E=y(()=>x?.value?.related_products?x?.value?.related_products?.sliders:null),e=y(()=>x?.value?.related_inspirations?x?.value?.related_inspirations?.inspirations:null),T=y(()=>{const P=r.getFromCity("name");return[{to:C(Le(P)),label:c("city.product.breadcrumb.title",{city:c(`city.${P}.name`)})},{label:c("city.private-tour.breadcrumb")}]}),S=y(()=>r.getFromCity("locales")||[]),ne=y(()=>r.getFromCity("locales").filter(P=>h.value!==P));return Ee({link:Fe(S.value,v?.value?.link)}),Oe({title:()=>a?.value?.metas?.title||a?.value?.title||"",description:()=>a?.value?.metas?.description||"",robots:()=>a?.value?.metas?.robots||"",ogLocaleAlternate:()=>Xe(ne.value)}),(P,Y)=>{const oe=He,j=ee,ie=st,re=lt,ce=Ue,le=ut,ue=dt,de=pt,pe=Ne,B=je("dompurify-html");return s(),p(pe,{name:"default"},{default:g(()=>[d("main",mt,[t(T)?(s(),p(j,{key:0,attribute:"nav",class:"mt-2"},{default:g(()=>[t(T)?(s(),p(oe,{key:0,items:t(T)},null,8,["items"])):u("",!0)]),_:1})):u("",!0),d("article",null,[t(a)?.title_push?(s(),p(j,{key:0,class:"mt-8 lg:mt-20 mb-8 lg:mb-12 relative font-semibold text-3xl md:text-4.5xl leading-tight md:leading-snug"},{default:g(()=>[O(d("div",_t,null,512),[[B,t(a).title_push]])]),_:1})):u("",!0),b(ie,{images:t(a)?.gallery||[],class:"mt-2 md:mt-3"},null,8,["images"]),b(j,{class:"flex flex-col md:flex-row divide-y divide-grey-divide md:divide-none space-y-16 md:space-y-0"},{default:g(()=>[d("div",vt,[d("div",null,[d("div",yt,[d("h1",null,Be(t(I)),1)]),O(d("div",ft,null,512),[[B,t(L)]])]),d("div",bt,[b(re)])]),d("div",gt,[d("div",ht,[d("section",kt,[d("div",wt,[O(d("div",null,null,512),[[B,t(R)]])])]),t(a)?.document?(s(),_("section",Ct,[b(ce,{document:t(a).document},null,8,["document"])])):u("",!0)])])]),_:1}),d("aside",xt,[t(E)?(s(),_("section",$t,[b(le,{products:t(E),"tag-section":"related products private tour","tag-origin":"tours"},null,8,["products"])])):u("",!0),t(e)?(s(),_("section",St,[b(ue,{inspirations:t(e),"tag-section":"related inspirations private tour"},null,8,["inspirations"])])):u("",!0)])]),d("aside",null,[b(de)])])]),_:1})}}});
2export{qt 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.