1(window.webpackJsonp=window.webpackJsonp||[]).push([[86],{197:function(t,e,n){var content=n(216);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(8).default)("4613bb3e",content,!0,{sourceMap:!1})},215:function(t,e,n){"use strict";n(197)},216:function(t,e,n){var l=n(7)((function(i){return i[1]}));l.push([t.i,'.title-blackout[data-v-31bc9470]:before{background:linear-gradient(180deg,#032c5300 53.55%,#032c53);bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:2}@media (max-width:640px){.title-blackout[data-v-31bc9470]:before{background:linear-gradient(180deg,#032c5300 23.55%,#032c53)}}',""]),l.locals={},t.exports=l},218:function(t,e,n){"use strict";var l={name:"DirectionTile",props:{title:{type:String,required:!0},link:{type:String,required:!0},image:{type:Object,default:null},imagePreview:{type:Object,default:null}},methods:{getImage:(image,t)=>t||image}},r=n(2),component=Object(r.a)(l,(function(){var t=this,e=t._self._c;return e("nuxt-link",{staticClass:"col-span-1 rounded shadow-lg bg-white h-full cursor-pointer tile-hover title-blackout",attrs:{title:t.title,to:t.link,"no-prefetch":"",itemprop:"url"}},[t.image||t.imagePreview?e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],staticClass:"max-w-full w-full",attrs:{"data-src":t.getImage(t.image,t.imagePreview).url,alt:t.getImage(t.image,t.imagePreview).alt||t.title,title:t.getImage(t.image,t.imagePreview).title,width:"570px",height:"310px"}}):t._e(),t._v(" "),e("h3",{staticClass:"p-6 mb-0 text-lg font-semibold z-3 lg:p-5 tablet:p-4 tablet:text-base sm:text-sm xs:p-3"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.title?e("meta",{attrs:{itemprop:"name",content:t.title}}):t._e()])}),[],!1,null,"01af68a7",null);e.a=component.exports},219:function(t,e,n){"use strict";var l={name:"ImageTile",props:{title:{type:String,default:null},link:{type:String,required:!0},image:{type:Object,default:null}}},r=(n(215),n(2)),component=Object(r.a)(l,(function(){var t=this,e=t._self._c;return t.link?e("nuxt-link",{staticClass:"relative rounded-[10px] h-full cursor-pointer tile-hover title-blackout",attrs:{to:t.link,"no-prefetch":"",itemprop:"url"}},[t.image&&t.title?e("img",{directives:[{name:"lazy-load",rawName:"v-lazy-load"}],staticClass:"absolute top-0 left-0 w-full h-full object-cover z-1",attrs:{"data-src":t.image.url,alt:t.image.alt||t.title}}):t._e(),t._v(" "),t.title?e("h3",{staticClass:"absolute bottom-0 left-0 p-[30px] mb-0 text-[25px] font-semibold text-white z-3 lg:p-5 tablet:p-4 tablet:text-lg xs:p-3"},[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),t.title?e("meta",{attrs:{itemprop:"name",content:t.title}}):t._e()]):t._e()}),[],!1,null,"31bc9470",null);e.a=component.exports},287:function(t,e,n){"use strict";var l={name:"LoadingComponent"},r=n(2),component=Object(r.a)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex items-center justify-center py-5"},[e("svg",{staticStyle:{margin:"auto",display:"block","shape-rendering":"auto"},attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"237px",height:"237px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[e("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#3f7ea7","stroke-width":"2"}},[e("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1.1363636363636365s",values:"0;30",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"0s"}}),t._v(" "),e("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1.1363636363636365s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"0s"}})]),t._v(" "),e("circle",{attrs:{cx:"50",cy:"50",r:"0",fill:"none",stroke:"#46a5f0","stroke-width":"2"}},[e("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1.1363636363636365s",values:"0;30",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-0.5681818181818182s"}}),t._v(" "),e("animate",{attrs:{attributeName:"opacity",repeatCount:"indef
1inite",dur:"1.1363636363636365s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-0.5681818181818182s"}})])])])}),[],!1,null,null,null);e.a=component.exports},510:function(t,e,n){var content=n(771);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(8).default)("5ba805e7",content,!0,{sourceMap:!1})},770:function(t,e,n){"use strict";n(510)},771:function(t,e,n){var l=n(7)((function(i){return i[1]}));l.push([t.i,".title-block[data-v-ad99f4b2]{margin-bottom:3rem}@media (max-width:640px){.title-block[data-v-ad99f4b2]{margin-bottom:1.25rem}}.grid-item[data-v-ad99f4b2]:nth-child(10n+1),.grid-item[data-v-ad99f4b2]:nth-child(10n+5),.grid-item[data-v-ad99f4b2]:nth-child(10n+8),.grid-item[data-v-ad99f4b2]:nth-child(10n+9){aspect-ratio:19/10;grid-column:span 2/span 2;grid-row:span 1/span 1}@media (max-width:640px){.grid-item[data-v-ad99f4b2]:nth-child(10n+1),.grid-item[data-v-ad99f4b2]:nth-child(10n+5),.grid-item[data-v-ad99f4b2]:nth-child(10n+8),.grid-item[data-v-ad99f4b2]:nth-child(10n+9){aspect-ratio:6/5;grid-column:span 2/span 2;grid-row:span 2/span 2}}.grid-item[data-v-ad99f4b2]:nth-child(10n+10),.grid-item[data-v-ad99f4b2]:nth-child(10n+2),.grid-item[data-v-ad99f4b2]:nth-child(10n+4),.grid-item[data-v-ad99f4b2]:nth-child(10n+7){aspect-ratio:9/10;grid-column:span 1/span 1;grid-row:span 1/span 1}@media (max-width:640px){.grid-item[data-v-ad99f4b2]:nth-child(10n+10),.grid-item[data-v-ad99f4b2]:nth-child(10n+2),.grid-item[data-v-ad99f4b2]:nth-child(10n+4),.grid-item[data-v-ad99f4b2]:nth-child(10n+7){aspect-ratio:6/5;grid-column:span 2/span 2;grid-row:span 2/span 2}}.grid-item[data-v-ad99f4b2]:nth-child(10n+3),.grid-item[data-v-ad99f4b2]:nth-child(10n+6){aspect-ratio:3/7;grid-column:span 1/span 1;grid-row:span 2/span 2}@media (max-width:640px){.grid-item[data-v-ad99f4b2]:nth-child(10n+3),.grid-item[data-v-ad99f4b2]:nth-child(10n+6){aspect-ratio:6/5;grid-column:span 2/span 2;grid-row:span 2/span 2}}.grid-item[data-v-ad99f4b2]:nth-child(10n+3):last-child,.grid-item[data-v-ad99f4b2]:nth-child(10n+6):last-child{aspect-ratio:9/10;grid-row:span 1/span 1}@media (max-width:640px){.grid-item[data-v-ad99f4b2]:nth-child(10n+3):last-child,.grid-item[data-v-ad99f4b2]:nth-child(10n+6):last-child{aspect-ratio:6/5;grid-column:span 2/span 2;grid-row:span 2/span 2}}",""]),l.locals={},t.exports=l},848:function(t,e,n){"use strict";n.r(e);var l=n(219),r=n(218),d=n(31),o=n(287),c={name:"PopularDirections",components:{ImageTile:l.a,DirectionTile:r.a,IconArrowForward:d.a,LoadingComponent:o.a},data:()=>({showPaginationButton:!0,isLoading:!0,isLoadingMore:!1,directions:[]}),async created(){this.isLoading=!0,await this.fetchPopularDirections(),this.isLoading=!1},methods:{async fetchPopularDirections(t){try{const{data:data}=await this.$axios.get("/popular-directions",{params:{limit:t}});this.directions=data.data}catch(t){console.log("cant fetch popular directions: "+t)}},getUrlOfGridImage:(t,e,n)=>e%10==0||e%10==4||e%10==7||e%10==8?t.preview_image_horizontal_rectangle:e%10==1||e%10==3||e%10==6||e%10==9?t.preview_image_square:e%10==2||e%10==5?n-1===e?t.preview_image_square:t.preview_image_vertical_rectangle:void 0}},m=(n(770),n(2)),component=Object(m.a)(c,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"popular-directions flex flex-col items-center"},[t.isLoading?e("LoadingComponent"):[e("div",{staticClass:"title-block flex justify-between items-center lg:flex-wrap wrapper mxw-1170 w-full"},[e("h2",{staticClass:"mb-0 lg:w-full lg:text-center"},[t._v("ÐопÑлÑÑнÑе напÑÐ°Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿Ð¾Â Ð Ð¾ÑÑии")]),t._v(" "),e("nuxt-link",{staticClass:"link-inline-icon lg:w-full lg:justify-center lg:mt-2",attrs:{to:"/napravleniya/","no-prefetch":""}},[e("span",[t._v("ÐÑе попÑлÑÑнÑе напÑавлениÑ")]),t._v(" "),e("IconArrowForward")],1)],1),t._v(" "),e("div",{staticClass:"wrapper mxw-1170 w-full"},[e("div",{staticClass:"grid grid-cols-4 auto-rows-auto gap-[30px] mb-10 tablet:gap-[20px] sm:gap-[10px] sm:hidden"}
1,t._l(t.directions,(function(n,l){return e("ImageTile",{key:n.id,staticClass:"grid-item",attrs:{title:n.title,link:`/napravleniya/${n.slug}/`,image:t.getUrlOfGridImage(n,l)}})})),1),t._v(" "),t.directions&&t.directions.length?e("div",{staticClass:"hidden sm:grid grid-cols-2 auto-rows-auto mb-15 gap-[10px] mob:grid-cols-1"},t._l(t.directions,(function(t){return e("DirectionTile",{key:t.id,attrs:{title:t.title,link:`/napravleniya/${t.slug}/`,image:t.preview_image_horizontal_rectangle}})})),1):t._e()])]],2)}),[],!1,null,"ad99f4b2",null);e.default=component.exports}}]);
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.