1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="34a6590b-6731-566b-bde6-24cc3d908446")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[903],{40624:function(t,e,i){"use strict";i.d(e,{$:function(){return d}});var r=i(8307),a=i(4730),n=i(67294),s=i(89275);let o=["cityId","countryId","categoryId","attractionId","productId"];function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach(function(e){(0,r.Z)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}let d=(t,e={})=>{(0,n.useEffect)(()=>{let i={1:e.preorder?"preorder_product_page_viewed":"audioGuide_product_page_viewed",2:"ticket_product_page_viewed",3:"audioGuide_plus_ticket_product_page_viewed"},{cityId:r,countryId:n,categoryId:c,attractionId:d,productId:p}=e,u=l(l(l(l(l(l(l({},(0,a.Z)(e,o)),"main"===t),"city"===t&&{city_id:r}),"country"===t&&{country_id:n}),"category"===t&&{category_id:c}),"attraction"===t&&{attraction_id:d}),"product"===t&&{product_id:p});(0,s.y9)({main:"main_page_viewed",city:"city_page_viewed",country:"country_page_viewed",category:"category_page_viewed",attraction:"attraction_page_viewed",product:"product_page_viewed"}[t]||"page_viewed",u),"product"===t&&i[e.productType]&&(0,s.y9)(i[e.productType],u)},[t,e])}},903:function(t,e,i){"use strict";i.r(e),i.d(e,{default:function(){return tk}});var r=i(8307),a=i(57499),n=i(67294),s=i(11990),o=i(14416),c=i(27361),l=i.n(c),d=i(74018),p=i(89734),u=i.n(p),h=i(45760),m=i(24714),y=i(40471),_=i(44306),g=i(15960),x=i(82775),j=i(1809),b=i(50821),f=i(51444),w=i(6270),v=i(29436),S=i(11122),O=i(28591),A=i(89670),k=i(66619),N=i(63688),P=i(89275),Z=i(52675),$=i(13079),T=i(54065),C=i(25120),I=i(78790),M=i(29816),L=i(57682),V=i(33203),D=i(80106),E=i(63394),W=i(17558),H=i(87107),B=i(13025),R=i(2152),G=i(2868),q=i(85085),F=i(58349),z=i(16107),Y=i(2782),Q=i(40624),U=i(84637),J=i(43067),K=i(83006),X=i(69965),tt=i(89266),te=i(58338),ti=i(24530),tr=i(59213),ta=i(39842),tn=i(96897),ts=i(41363),to=i(62203),tc=i(55698),tl=i(85893);function td(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function tp(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?td(Object(i),!0).forEach(function(e){(0,r.Z)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):td(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}var tu=({isMobile:t,dispatch:e,attraction:i,lang:r,defaultProductsGridProps:n,products:s,cityId:o,currency:c,attractionId:l,filters:d})=>(0,tl.jsxs)("div",{children:[(0,tl.jsx)("div",{className:"attraction-page-wrapper__products-filter_title",children:(0,tl.jsx)(a.cC,{id:"X5H0i+"})}),(0,tl.jsx)(to.Z,{isMobile:t,isDesktop:!t,dispatch:e,attraction:i,lang:r}),(0,tl.jsx)(tc.Z,tp(tp({},n),{},{products:s.prefetched.products,queryData:{loading:s.loading,current:s.current,next:s.next,count:s.count,pages:s.pages},selectParams:tp(tp({cityId:o,currency:c,attractionId:l},d),{},{lang:d?.lang?.length?d.lang:r,separateTo:"mainProducts"}),showMorePaginate:!t,limitDisplay:!1}))]});function th(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function tm(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
3e%2?th(Object(i),!0).forEach(function(e){(0,r.Z)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):th(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}i(77147);let ty=t=>"ru"===t?{basicInfo:"ÐÐ¾Ð»ÐµÐ·Ð½Ð°Ñ Ð¸Ð½ÑоÑмаÑиÑ",address:"ÐдÑеÑ",openingHours:"ЧаÑÑ ÑабоÑÑ",localTime:"ÐÑÐµÐ¼Ñ Ð¼ÐµÑÑное",bestTime:"ÐÑÑÑее вÑÐµÐ¼Ñ Ð´Ð»Ñ Ð¿Ð¾ÑеÑениÑ",crowdLevel:"ÐагÑÑженноÑÑÑ",directions:"Ðак добÑаÑÑÑÑ",openInMaps:"ÐÑкÑÑÑÑ Ð² Google Maps",historyFacts:"ÐÑÑоÑÐ¸Ñ Ð¸ ÑакÑÑ",tips:"СовеÑÑ",beforeEnter:"ÐеÑед вÑ
одом",whatToExpect:"Чего ожидаÑÑ",duringVisit:"Ðо вÑÐµÐ¼Ñ Ð¿Ð¾ÑеÑениÑ"}:{basicInfo:"Useful information",address:"Address",openingHours:"Opening hours",localTime:"Local time",bestTime:"Best time to visit",crowdLevel:"Crowd level",directions:"Directions",openInMaps:"Open in Google Maps",historyFacts:"History and facts",tips:"Tips",beforeEnter:"Before you enter",whatToExpect:"What to expect",duringVisit:"During your visit"},t_=async({attractionId:t,lang:e,cookies:i})=>{try{let r=await v.V.get(`/api/v1/seo/attraction_content/?${(0,N.Z)({attraction_id:t,locale:e})}`,{lang:e,cookies:i});return r?.basic_info||r?.history_facts||r?.tips?r:null}catch(t){if(t?.status===404)return null;throw t}},tg=(t={},e)=>[{title:e.beforeEnter,items:t.before_enter},{title:e.whatToExpect,items:t.what_to_expect},{title:e.duringVisit,items:t.during_visit}].filter(t=>Array.isArray(t.items)&&t.items.length);function tx(t,e,i){return t?"ru"!==e?t:`${i} \xab${t}\xbb`:""}function tj(){return(0,tl.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[(0,tl.jsx)("circle",{cx:"8",cy:"8",r:"6.25",stroke:"currentColor",strokeWidth:"1.5"}),(0,tl.jsx)("path",{d:"M8 7v4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,tl.jsx)("circle",{cx:"8",cy:"5",r:"0.75",fill:"currentColor"})]})}function tb(){return(0,tl.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[(0,tl.jsx)("rect",{x:"2.75",y:"1.75",width:"10.5",height:"12.5",rx:"1.25",stroke:"currentColor",strokeWidth:"1.5"}),(0,tl.jsx)("path",{d:"M5 5.5h6M5 8h6M5 10.5h4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}function tf(){return(0,tl.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[(0,tl.jsx)("path",{d:"M8 2a3.5 3.5 0 0 1 1.9 6.45V10H6.1V8.45A3.5 3.5 0 0 1 8 2z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"}),(0,tl.jsx)("path",{d:"M6.5 11.5h3M7 13.5h2",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}let tw=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],tv=t=>{if(t&&"number"==typeof t.hour&&"number"==typeof t.minute)return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}`},tS=t=>(Array.isArray(t?.periods)?t.periods:[]).map(t=>{let e=tw[t?.open?.day],i=tv(t?.open),r=tv(t?.close);return e&&i&&r?{"@type":"OpeningHoursSpecification",dayOfWeek:e,opens:i,closes:r}:null}).filter(Boolean);function tO({content:t,lang:e,attractionName:i}){if(!t)return null;let r=ty(e),a=t.basic_info||{},n=Array.isArray(a.opening_hours)?a.opening_hours:[],s=tg(t.tips,r),o=a.address||n.length||a.best_time||a.crowd_level||a.directions||a.google_maps_url;if(!o&&!t.history_facts&&!s.length)return null;let c=i?"ru"===e?`Ð ${tx(i,"ru","меÑÑе")}`:`About ${i}`:null;return(0,tl.jsxs)("section",{className:"AttractionSeo",children:[c&&(0,tl.jsx)("h2",{className:"AttractionSeo__heading",children:c}),(0,tl.jsxs)("div",{className:`AttractionSeo__body${c?"":" AttractionSeo__body--full"}`,children:[o?(0,tl.jsx)(D.Z,{theme:"simple",headingLevel:3,className:"AttractionSeo__row",title:(0,tl.jsxs)("div",{className:"AttractionSeo__rowTitle",children:[(0,tl.jsx)("span",{className:"AttractionSeo__icon",children:(0,tl.jsx)(tj,{})}),(0,tl.jsx)("span",{children:r.basicInfo})]}),children:(0,tl.jsxs)("div",{className:"AttractionSeo__grid",children:[a.address?(0,tl.jsxs)("div",{className:"AttractionSeo__item",children:[(0,tl.jsx)("h4",{className:"AttractionSeo__label",children:r.address}),(0,tl.jsx)("address",{className:"AttractionSeo__text",children:a.address}),a.google_maps_url?(0,tl.jsx)("a",{className:"AttractionSeo__mapsLink",href:a.google_maps_url,target:"_blank",rel:"noopener noreferrer",title:i?`${r.openInMaps} â ${i}`:r.openInMaps,children:r.openInMaps}):null]}):null,n.length?(0,tl.jsxs)("div",{className:"AttractionSeo__item",children:[(0,tl.jsx)("h4",{className:"AttractionSeo__label",children:r.openingHours}),(0,tl.jsx)("ul",{className:"AttractionSeo__list",children:n.map(t=>(0,tl.jsx)("li",{children:t},t))}),(0,tl.jsx)("div",{className:"AttractionSeo__hint",children:r.localTime})]}):null,a.best_time?(0,tl.jsxs)("div",{className:"AttractionSeo__item",children:[(0,tl.jsx)("h4",{className:"AttractionSeo__label",children:r.bestTime}),(0,tl.jsx)("div",{className:"AttractionSeo__text",children:a.best_time})]}):null,a.crowd_level?(0,tl.jsxs)("div",{className:"AttractionSeo__item",children:[(0,tl.jsx)("h4",{className:"AttractionSeo__label",children:r.crowdLevel}),(0,tl.jsx)("div",{className:"AttractionSeo__text",children:a.crowd_level})]}):null,a.directions?(0,tl.jsxs)("div",{className:"AttractionSeo__item",children:[(0,tl.jsx)("h4",{className:"AttractionSeo__label",children:r.directions}),(0,tl.jsx)("div",{className:"AttractionSeo__text",children:a.directions})]}):null]})}):null,t.history_facts?(0,tl.jsx)(D.Z,{theme:"simple",headingLevel:3,className:"AttractionSeo__row",title:(0,tl.jsxs)("div",{className:"AttractionSeo__rowTitle",children:[(0,tl.jsx)("span",{className:"AttractionSeo__icon",children:(0,tl.jsx)(tb,{})}),(0,tl.jsx)("span",{children:r.historyFacts})]}),children:(0,tl.jsx)("p",{className:"AttractionSeo__text AttractionSeo__text--large",children:t.history_facts})}
3):null,s.length?(0,tl.jsx)(D.Z,{theme:"simple",headingLevel:3,className:"AttractionSeo__row",title:(0,tl.jsxs)("div",{className:"AttractionSeo__rowTitle",children:[(0,tl.jsx)("span",{className:"AttractionSeo__icon",children:(0,tl.jsx)(tf,{})}),(0,tl.jsx)("span",{children:r.tips})]}),children:(0,tl.jsx)("div",{className:"AttractionSeo__tipsGrid",children:s.map(t=>(0,tl.jsxs)("div",{className:"AttractionSeo__tipSection",children:[(0,tl.jsx)("h4",{className:"AttractionSeo__tipTitle",children:t.title}),(0,tl.jsx)("ul",{className:"AttractionSeo__list AttractionSeo__list--tips",children:t.items.map(t=>(0,tl.jsx)("li",{children:t},t))})]},t.title))})}):null]})]})}let tA=({city:t={},products:e={},attraction:i,destinations:r,linkings:c,attractionSeoContent:l=null,mostRecommended:p,overallCount:_,path:g="",reviews:x={},attractionId:j,cityAttractionsWithoutTickets:b,recommendedCities:w,productsPerPage:v,currency:k,interests:N,filters:Z,userId:$})=>{let T=(0,I.Z)(),C=(0,n.useMemo)(()=>(0,F.Z)(T),[T]),M=t.id,D=E.y?g:window.location.pathname,{pathname:to}=(0,s.TH)(),tc=(0,n.useMemo)(()=>(0,A.Z)(f.Z.filter(t=>/attraction-tickets/i.test(t.name)),to),[to]),td=(0,y.t)("(max-width: 767px)"),tp=(0,y.t)("(min-width: 992px)"),th=!E.y&&td,ty=td&&!tp,t_=(0,o.I0)();(0,Q.$)("attraction",{userId:$,attractionId:j});let tg=(0,n.useMemo)(()=>({city:tm({},t),attraction:tm({},i),cityName:(0,O.Z)(t.name,"in",T),attractionNameNearby:i?.name?tx(i.name,T,"меÑÑом"):"",attractionNameIn:i?.name?tx(i.name,T,"меÑÑе"):"",productListId:`attraction_${i?.slug}_${i?.id}`,citiesLinks:u()((0,J.Z)({name:"city",destinations:w,destinationsParams:{cityId:"id",citySlug:"slug"},lang:T}),["text"])}),[t,i,T,w]),{cityName:tj,productListId:tb,citiesLinks:tf}=tg,tw=(0,S.$p)(tg.attraction),tv=(0,S.pp)(tg.attraction),tA=(0,n.useCallback)(()=>{(0,P.D)(tb,e.products,T)},[tb,e.products,T]),tk=(0,n.useCallback)((t,e)=>t?.find(t=>t.currencyCode===e),[]),tN=(0,n.useMemo)(()=>tk(tg.city.minPrice,k),[tg.city.minPrice,k,tk]),tP=(0,n.useMemo)(()=>({listId:tb,perPage:v,isMobile:ty,lang:T}),[tb,v,ty,T]),tZ=(0,n.useMemo)(()=>tm(tm({"@context":"https://schema.org","@type":"Product","@id":`https://wegotrip.${C}${D}#product`,url:`https://wegotrip.${C}${D}`,sku:tg.attraction?.id,name:tg.attraction?.name,description:tw.description,brand:{"@type":"Brand",name:"WeGoTrip"},seller:{"@type":"Organization",name:"WeGoTrip",url:`https://wegotrip.${C}/`},image:tg.attraction?.preview},x.count?{review:x.reviews.map(t=>({"@type":"Review",author:{"@type":"Person",name:t.name},datePublished:t.date,description:t.text,reviewRating:{"@type":"Rating",bestRating:5,ratingV
3alue:t.rating,worstRating:1}}))}:{}),e.count?{offers:e.products.map(t=>{let e=(0,q.C)(T,t);return e?{"@type":"Offer",price:t.price,priceCurrency:t.currencyCode,url:`https://wegotrip.${C}${e}`,availability:"https://schema.org/InStock"}:null}).filter(Boolean)}:{}),[C,D,tg.attraction,x,e,T,tw.description]),t$=(0,n.useMemo)(()=>tg.attraction?.faqs?{"@context":"https://schema.org","@type":"FAQPage",speakable:{"@type":"SpeakableSpecification",cssSelector:[".StackedAccordions__text"]},mainEntity:tg.attraction.faqs.map(t=>({"@type":"Question",name:t.title,acceptedAnswer:{"@type":"Answer",text:t.body_text||t.body}}))}:null,[tg.attraction?.faqs]),tT=(0,n.useMemo)(()=>{let t=l?.basic_info||{},e=tS(t.opening_hours),{location:i}=t,r="number"==typeof i?.latitude&&"number"==typeof i?.longitude;return t.address||t.google_maps_url||r||e.length||l?.history_facts?tm(tm(tm(tm(tm(tm({"@context":"https://schema.org","@type":"TouristAttraction","@id":`https://wegotrip.${C}${D}`,name:tg.attraction?.name,url:`https://wegotrip.${C}${D}`},l?.history_facts?{description:l.history_facts.slice(0,300)}:{}),tg.attraction?.preview?{image:tg.attraction.preview}:{}),t.address?{address:t.address}:{}),t.google_maps_url?{hasMap:t.google_maps_url,sameAs:[t.google_maps_url]}:{}),r?{geo:{"@type":"GeoCoordinates",latitude:i.latitude,longitude:i.longitude}}:{}),e.length?{openingHoursSpecification:e}:{}):null},[C,l,D,tg.attraction]),tC=(0,n.useMemo)(()=>{let e=`https://wegotrip.${C}`,i="ru"===T?"/ru":"",r=[{"@type":"ListItem",position:1,name:"WeGoTrip",item:`${e}${i}/`}];return t.name&&t.slug&&t.id&&r.push({"@type":"ListItem",position:2,name:t.name,item:`${e}${i}/${t.slug}-d${t.id}/`}),tg.attraction?.name&&r.push({"@type":"ListItem",position:r.length+1,name:tg.attraction.name,item:`${e}${D}`}),{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:r}},[C,T,t,D,tg.attraction?.name]);return(0,tl.jsxs)(L.Z,{stickyHeader:!0,searchInHeader:!0,destinations:r,children:[tv.robots?(0,tl.jsx)(h.q,{children:(0,tl.jsx)("meta",{name:"robots",content:tv.robots})}):null,tc&&(0,tl.jsx)(z.q,{route:tc,alternates:tv.alternates}),tc&&(0,tl.jsx)(H.H,{route:tc,href:tv.canonical}),(0,tl.jsx)(B.Z,{seo:tv}),(0,tl.jsx)(G.Z,{city:tg.city,lowestPrice:tN,initialMetaTitle:tw.title,initialMetaDescription:tw.description,initialHeading:tw.heading,attraction:tg.attraction,current:"attraction",theme:"no-background",breadcrumbsItems:tv.breadcrumbs}),(0,tl.jsxs)("div",{className:"Wrapper attraction-page-wrapper",children:[(0,tl.jsxs)(d.Z,{whenVisible:!0,children:[(0,tl.jsx)(W.Z,{once:"shown",showOn:".City__products",onChanged:tA}),(0,tl.jsx)(X.default,{}),(0,tl.jsx)(tu,{isMobile:ty,dispatch:t_,attraction:i,lang:T,defaultProductsGridProps:tP,products:e,cityId:M,currency:k,attractionId:j,filters:Z})]}),(0,tl.jsx)(d.Z,{whenVisible:!0,children:tg.attraction?.nearby?.length>0&&(0,tl.jsx)(U.R,{products:tg.attraction.nearby,lang:T,city:tg.city,type:"attraction",title:(0,tl.jsx)(a.cC,{id:"oYY9JG",values:{0:tg.attractionNameNearby}})})}),(0,tl.jsxs)(d.Z,{whenVisible:!0,children:[(0,tl.jsx)(tt.Z,{city:tg.city,lang:T}),(0,tl.jsx)(te.Z,{city:tg.city,attractionId:j})]}),(0,tl.jsx)(R.Z,{fallback:null,children:(0,tl.jsx)(ti.default,{categoryTitle:tg.attraction?.name||null,city:tg.city,mostRecommended:p,lang:T})}),(0,tl.jsx)(d.Z,{whenVisible:!0,children:(0,tl.jsx)(R.Z,{fallback:null,children:(0,tl.jsx)(ts.Z,{isSSR:E.y,isMobileView:th,overallCount:_,lang:T,attractionId:j,attractionName:tg.attraction?.name,cityName:tj,CustomerReviewsBase:tr.CustomerReviews})})}),(0,tl.jsx)(d.Z,{whenVisible:!0,children:(0,tl.jsx)(Y.z2,{interests:N,dispatch:t_,cityAttractionsWithoutTickets:b?.results||[],fetchCityAttractionsWithTickets:()=>(0,K.H)({cityId:M,countryId:tg.city.country?.id,lang:T}),city:tg.city,cityId:M,cityName:tj,lang:T,recommendedCities:w,isMobile:ty,citiesLinks:tf})}),(0,tl.jsx)(d.Z,{whenVisible:!0,children:!!w?.length&&tg.city?.country?.name&&(0,tl.jsx)(ta.Z,{slideShow:ty,titleText:(0,tl.jsx)(a.cC,{id:"lWvabk",values:{0:tg.city.country.name}}),links:tf})}),(0,tl.jsx)(d.Z,{whenVisible:!0,children:(0,tl.jsx)(R.Z,{fallback:null,children:(0,tl.jsx)(Y.ZP,{onlyPopularBlock:!0,linkings:c,city:tg.city,lang:T})})}),(0,tl.jsx)(d.Z,{whenVisible:!0,children:(0,tl.jsx)(R.Z,{fallback:null,children:(0,tl.jsx)(tO,{content:l,lang:T,attractionName:tg.attraction?.name})})}),(0,tl.jsx)(R.Z,{fallback:null,children:(0,tl.jsx)(V.Z,{data:tg.attraction?.faqs,TitleTag:"h3",children:(0,tl.jsx)(a.cC,{id:"kl7s9r",values:{0:tg.attractionNameIn}})})}),(0,tl.jsx)(tn.a,{city:tg.city,lang:T,cityName:tj}),tg.attraction?.name&&(0,tl.jsx)(m.h,{item:tZ}),!tv.breadcrumbs?.length&&(0,tl.jsx)(m.h,{item:tC}),tT&&(0,tl.jsx)(m.h,{item:tT}),t$&&(0,tl.jsx)(m.h,{item:t$})]})]})};tA.getInitialProps=(0,M.Z)(async({req:t,match:e,store:i})=>{try{let r;let a=l()(t,"headers.cookie"),n=(0,w.r)((0,w.i)(t));
3await i.dispatch((0,j.BT)({cookies:a}));let s=await (0,k.FO)(t);i.dispatch({type:_.$N,defaultCurrency:s});let{attractionId:o}=e.params,c=(0,C.Z)(e.params.lang),{cityId:d}=e.params,p=n?4:20;i.dispatch((0,x.t2)({currency:s,lang:c,perPage:p,cityId:d,attractionId:o,separateTo:"mainProducts"}));let u=await (0,Z.KM)({lang:c},t);i.dispatch({type:_.h_,data:u});let h=await v.V.get(`/api/v1/attractions/${o}/?${(0,N.Z)({expand:`${(0,S.mz)()},schedule,nearby`,variant:"tours"})}`,{lang:c}),m=await t_({attractionId:o,lang:c,cookies:a}),y=await (0,Z.Ft)({entityType:"attraction",entityId:o,lang:c},{lang:c}),f=tm(tm({},h),{},{faqs:y});if(d)return{redirectTo:(0,$.ZP)("attraction-simple",{attractionId:o,attractionSlug:f.slug,lang:c})};if(!d&&f.city&&(d=f.city.id),!d)return{statusCode:404};let O=(await v.V.get(`/api/v2/cities/${d}/?${(0,N.Z)({lang:c,expand:"h1,meta_title,meta_description,description",preorder:!0})}`,{lang:c})).data;O.country?.id&&!n&&(r=await v.V.get(`/api/v1/attractions/?${(0,N.Z)({lang:c,city_id:d,country_ids:O.country.id,include_preorder:!1,page_size:20,sort:"popularity"})}&has_tickets=false`,{lang:c})),i.dispatch((0,g.pE)({cityId:d,lang:c})),i.dispatch((0,g.H8)({cityId:d,lang:c}));let A=[];try{let t=await v.V.get(`/api/v1/products/?${(0,N.Z)({city_id:d,page_size:10,lang:c,currency:s,include_preorder:!0,sort:"recommended",expand:"description"})}`,{lang:c}),e=t?.data||t;A=(e?.results||[]).map(T.L)}catch{A=[]}i.dispatch({type:_.Ox,data:A});let{reviews:{count:P}}=i.getState();P||i.dispatch((0,b.Bt)({lang:c,attractionId:o,per_page:n?3:6})),i.dispatch((0,b.Y4)({id:o,type:"attraction",lang:c})),O.country?.id&&i.dispatch((0,g.gT)({countryId:O.country.id,lang:c}));let I=n?{}:await (0,Z.dR)({lang:c,id:d});return{attractionId:o,destinations:u.topCities,city:O,cityAttractionsWithoutTickets:r,productsPerPage:p,currency:s,attraction:f,mobile:n,linkings:I,attractionSeoContent:m,path:t?.originalUrl}}catch(t){return{statusCode:404}}});var tk=(0,o.$j)(({products:t,user:e,cities:i,reviews:r,filters:a})=>({products:t,cityProducts:t.cityProducts,userId:e.user.id,mostRecommended:t.mostRecommendedProducts,recommendedCities:i.cities,categories:i.categories,interests:i.interests,reviews:r,overallCount:r.overallCount,filters:a}))(tA)},77147:function(){}}]); 4//# sourceMappingURL=903-b7a439ff769ae532.js.map 5//# debugId=34a6590b-6731-566b-bde6-24cc3d908446
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.