PageSourceSearch

https://www.weroad.com/_nuxt/DTchdQ1X.js

js weroad.com collected 2026-09-24 10:10:45 UTC 8,747 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:weroad":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`c9e7c8dd-dd07-4e5e-8959-df5a1eab0c84`,e._sentryDebugIdIdentifier=`sentry-dbid-c9e7c8dd-dd07-4e5e-8959-df5a1eab0c84`)}catch{}})();import{o as e}from"./C1Cn6SRa.js";import{p as t}from"./BWVdFgo5.js";import{t as n}from"./CHu8e1iY.js";import{a as r,n as i,t as a}from"./DbqCpVbn.js";import{_ as o,o as s}from"./CSQlDpKi.js";import{t as c}from"./RDmOsr4V.js";var l=`destination-page-type`;function u(e){return{mobile:e.url,desktop:e.url,alt:e.alt??``}}function d(e,t){return{label:e.label,target:e.target,btnSize:`normal`,uiStyle:t}}function f(e){return{title:e.title,description:e.description,image:e.image?u(e.image):void 0,link:e.link,applyLink:[`image`,`title`]}}function p(e){return e.destination??e.subArea??e.area??void 0}function m(e){return e.destination?`destination`:`area`}function h(e,t,n){return[`destination`,e,n,t].filter(Boolean).join(`-`)}function g(e,t){return[t,e.area?.slug,e.subArea?.slug,e.destination?.slug].filter(Boolean).join(`/`)}function _(e,t){let{prefix:n,travels:r}=t,i=[{label:r.label,path:r.path}];return e.area&&i.push({label:e.area.name,path:`/${n}/${e.area.slug}`}),e.subArea&&i.push({label:e.subArea.name,path:`/${[n,e.area?.slug,e.subArea.slug].filter(Boolean).join(`/`)}`}),e.destination&&i.push({label:e.destination.name,path:`/${g(e,n)}`}),i.map((e,t)=>({label:e.label,link:t===i.length-1?void 0:e.path}))}var v={id:[],show:!0,sort:`score:desc`,limit:null,dateTo:null,status:[],badgeId:[],priceTo:null,tabType:`travels`,dateFrom:null,daysSpan:null,travelId:[],durations:[],priceFrom:null,discountTo:null,durationTo:null,continentId:[],costCenters:[],travelTypes:[],costCenterId:[],discountFrom:null,durationFrom:null,travelStyles:[],destinationId:[],marketingTags:null,productLineId:[],travelStyleId:[],discountTypeId:[],travelFormatId:[],withUnbookable:null,travelCategoryId:[],isNoSharingRoomAvailable:null,isWomenOnly:null,ageRanges:[],areaId:[]},y=12;function b(e){let t=p(e),n=e.sections.travelTour?.data?.filters??{},r={...v};for(let[e,i]of Object.entries(n))r[e]=(e===`areaId`||e===`destinationId`)&&typeof i==`string`?[{id:i,name:t?.name??``}]:i;return{filtersData:{list:[],method:`filters`,travelsType:`default`,filters:r},travelsType:`default`,showFilters:r.show,tabType:r.tabType,structuredDataTitle:e.sections.hero?.data?.title??null,structuredDataDescription:o(e.sections.body?.data?.html??``)?.replace(/\s+/g,` `).trim()??``,structuredDataEnable:m(e)===`destination`}}function x(e,t,n){let r=p(e),i=e=>t?`${t.replace(/\/$/,``)}${e}`:e;return[{"@context":`https://schema.org`,"@type":`BreadcrumbList`,itemListElement:[{label:`Home`,link:`/`},..._(e,n)].map((e,t)=>({"@type":`ListItem`,position:t+1,name:e.label,...e.link?{item:i(e.link)}:{}}))},{"@context":`https://schema.org`,"@type":`TouristDestination`,...r?.name?{name:r.name}:{},...e.attributes.seo.description?{description:e.attributes.seo.description}:{},url:i(`/${g(e,n.prefix)}`)}]}function S(e){return e.map(e=>({id:e.id,title:e.title,body:e.body,bodyPlain:e.bodyPlain}))}function C(e){return e.map(e=>f({image:e.image,title:e.title,link:e.link.target}))}function w(e){return e.map(e=>d(e,`secondary-outline`))}function T(e){return e.map(e=>({label:e.label,target:e.target}))}function E(e){return e.map(e=>f({image:e.image,title:e.title,description:e.subtitle,link:e.target}))}function D(e,t={},n,r){let i=e.sections,a=p(e),o=m(e),s=a?.slug,c=i.carousel?.enabled?i.carousel.data:null,l=i.tripListPromo?.enabled?i.tripListPromo.data:null,u=e.id===null?null:[{id:e.id,name:a?.name??``}],d=u===null?{}:o===`destination`?{destinationId:u}:{areaId:u},f={...v,...d,limit:y,...l?.filters,show:!1},g=i.mosaic?.enabled?i.mosaic.data:null,x=i.blog?.enabled?i.blog.data:null,D=t.faq,O=t.destinationLinks;return{breadcrumbs:_(e,n),hero:i.hero?.data?{title:i.hero.data.title,de
1scription:i.hero.data.description,image:i.hero.data.image}:void 0,carousel:c?.items?.length?{title:c.title??void 0,subtitle:c.subtitle??void 0,cardsList:C(c.items)}:void 0,links:i.links?.data?.items?.length?{buttons:w(i.links.data.items)}:void 0,tripListPromo:l?{blockId:h(o,`promo`,s),title:l.title?.text??``,tag:l.title?.badge??void 0,filtersData:{list:[],method:`filters`,travelsType:`thumbnails`,filters:f},travelsType:`thumbnails`,showFilters:f.show,maxElements:f.limit}:void 0,travelTour:i.travelTour?.data?{blockId:h(o,`travels`,s),...b(e)}:void 0,mosaic:g?{title:g.title??``,subtitle:g.subtitle??void 0,description:g.description??void 0,images:g.images,links:g.links}:void 0,blog:x?.pages?.length?{title:x.title??void 0,cardsList:E(x.pages)}:void 0,body:i.body?.data?.html?{html:i.body.data.html}:void 0,faq:D&&D.length>0?{title:r.faqTitle,items:S(D)}:void 0,destinationLinks:O&&O.length>0?{title:r.otherDestinations,links:T(O)}:void 0}}var O=`travel-type-page-type`;function k(e){return e.type===`travel-type-page`}function A(e){return e.replace(/^\/+/,``).replace(/\/+$/,``)}function j(e){return`/${A(e).split(`/`)[0]??``}`}function M(e){return e.travelType.displayName||e.travelType.name}function N(e){return{desktop:e?.url??null,mobile:e?.url??null,alt:e?.alt??``}}function P(e){return!!e?.replace(/&nbsp;/gi,` `).trim()}function F(e){return P(o(e))}function I(e){let t=e.sections.body.data;return P(t.overTitle)||P(t.title)||F(t.html)}function L(e){let t=e.sections.imageBand.data;return!!t.image||P(t.overTitle)||P(t.title)||F(t.html)}function R(e,t){return[{label:t.label,link:t.path},{label:M(e)}]}function z(e,t,n){let r=A(t).replace(/[^a-zA-Z0-9]+/g,`-`).replace(/^-|-$/g,``);return[`travel-type`,e.travelType.id,r,n].filter(Boolean).join(`-`)}function B(e){return(o(e)??``).replace(/&nbsp;/gi,` `).replace(/\s+/g,` `).trim()}function V(e,t){let n={...e.sections.travelTour.data.filters,show:!0,sort:`score:desc`,tabType:`travels`};return{blockId:z(e,t,`travels`),filtersData:{list:[],method:`filters`,travelsType:`default`,filters:n},travelsType:`default`,showFilters:!0,tabType:`travels`,structuredDataTitle:e.sections.hero.data.title||null,structuredDataDescription:B(e.sections.body.data.html),structuredDataEnable:!0}}function H(e,t,n){let r=e.sections.hero.data,i=e.sections.body.data,a=e.sections.imageBand.data;return{hero:{title:r.title,description:r.description,images:N(r.image)},breadcrumbs:R(e,n),body:I(e)?{overTitle:i.overTitle,title:i.title,description:i.html}:void 0,travelTour:V(e,t),imageBand:L(e)?{overTitle:a.overTitle,title:a.title,description:a.html,images:N(a.image),imagePositionOnDesktop:`left`,imagePositionOnMobile:`top`,colorType:`border`,colorCode:`rgba(224, 224, 224, 1)`}:void 0}}function U(e,t){let n=e=>t?`${t.replace(/\/$/,``)}${e}`:e;return{"@context":`https://schema.org`,"@type":`BreadcrumbList`,itemListElement:[{label:`Home`,link:`/`},...e].map((e,t)=>({"@type":`ListItem`,position:t+1,name:e.label,...e.link?{item:n(e.link)}:{}}))}}var W={search:`SERP`,"travels-travel":`Travel Page`,"travels-travel-tour":`Tour Page`,"areas-continent-slug":`Seo Page`,index:`Home`,wishlist:`Wishlist`,"wemeet-events":`SERP WeMeet`,"wemeet-events-city-slug":`WeMeet`,compare:`compare`,"ai-chat":`AI Search`};function G(e){let t=e.name;if(t&&Object.keys(W).includes(t))return W[t];if(t?.startsWith(`wemeet`))return`WeMeet`;if(t===`destinations-area-rest`){let e=n(l,`$ZPcEFNZXsx`).value;if(e)return s(e)}if(t===`travel-types-travelType`){let e=n(O,`$eR6ZZp2Ru9`).value;if(e)return s(e.replace(/_/g,` `))}let r=c().customPageType||`Custom Page`;return s(r.replace(/_/g,` `))}function K({route:e,requestUrl:t}){return{pageUrl:t.origin+t.pathname,pageHost:t.hostname,pageQueryString:t.search.replace(/^\?/,``),pageTitle:document.title,pageType:G(e)}}function q(e,t=`EUR`){return e==null?null:typeof e==`number`?e:e[t]??null}function J(){return e().$gtm}var Y=()=>e().$sentry;function X(){let e=J(),n=Y(),o=a(),s=i(),c=t();function l(t,i,a={}){let l=o.userData?.id??s.trustedId(),u=o.userData?.acceptedFlags?.marketing??s.trustedMarketingConsent(),d=K({route:c.currentRoute.value,requestUrl:r()});try{return e.push({event:t,user:{id:l,marketingConsent:u},params:{...d,...i}},{delivery:a.delivery||`immediate`})}catch(e){n.captureException(e)}}return{trackEvent:l}}export{h as _,G as a,U as c,A as d,l as f,x as g,m as h,K as i,j as l,p as m,Y as n,O as o,D as p,q as r,H as s,X as t,k 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.