!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f8e61b6b-c026-4118-9bd4-022b270cc03d",t._sentryDebugIdIdentifier="sentry-dbid-f8e61b6b-c026-4118-9bd4-022b270cc03d")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"v1.6.87"},(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{1e3:function(t,e,i){t.exports=i.p+"src/static/images/png/noproducts/popup.png"},1001:function(t,e,i){t.exports=i.p+"src/static/images/png/noproducts/popupX2.png"},1034:function(t,e,i){var s=i(1095);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("24f735a0",s,!0,{sourceMap:!1})},1081:function(t,e,i){"use strict";i(28);var s,o,a=i(6),r=(i(5),i(2)),n=i(27),c={filters:{type:Boolean,default:!1},category:{type:Boolean,default:!1},showBtn:{type:Boolean,default:!1},search:{type:Boolean,default:!1}},l=i(333),p=i(3),d=i(25),u=i(102);function h(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}let m=(s=Object(r.a)({props:c,components:{BaseButton:l.a},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?h(Object(i),!0).forEach((function(e){Object(a.a)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):h(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},Object(n.b)({isAuthorized:"user/isAuthorized",isMobile:"application/isMobile",cityName:"location/cityTranslit",locale:"location/locale"}))}),s(o=class extends r.f{constructor(){super(...arguments),this.pageType=p.a.alternativeHome,this.triggerShowButton=!0,this.listenerSelection=void 0,this.timeoutId=0}get timeOpened(){return this.$services.interfaceState.getStateByKey("timeChangerOpened")}reset(){this.$services.filters.resetAllFilters()}onOpenTime(){this.isMobile&&this.isAuthorized?this.$drawer.open(d.a.AuthAddressMobileModal):(this.$services.interfaceState.setState("stateAuthAddressChanger",!1),this.$services.interfaceState.setState("timeChangerOpened",!this.timeOpened))}goToRecommendation(){const t=document.querySelector(".product-recommendation");if(t){var e,i;const s=null===(e=document.querySelector(".header-target"))||void 0===e?void 0:e.clientHeight,o=null===(i=document.querySelector(".filters"))||void 0===i?void 0:i.clientHeight;window.scrollTo({top:t.offsetTop-s-o,behavior:"smooth"})}}sendingAnalytics(){this.timeoutId=setTimeout((()=>{this.$services.analitic.gtm.onEventShowEmptyCatalog()}),500)}mounted(){this.listenerSelection=u.a.on(u.a.SELECTIONS_RECOMMENDATION_TRIGGER,(t=>{this.triggerShowButton=t})),this.sendingAnalytics()}destroyed(){this.listenerSelection.remove(),this.timeoutId&&clearTimeout(this.timeoutId)}})||o);var g=m,f=(i(1094),i(11)),v=Object(f.a)(g,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"empty-search-block",class:{search:t.search}},[e("div",{staticClass:"empty-search-img"}),t._v(" "),t.filters?e("div",{staticClass:"empty-search-text"},[e("span",[t._v(t._s(t.$services.i18n.translation.t("cv/filters/empty_result")))]),t._v(" "),e("span",{staticClass:"empty-search-reset",on:{click:function(e){return t.reset()}}},[t._v("\n            "+t._s(t.$services.i18n.translation.t("cv/filters/empty_result_btn")))]),t._v(".\n    ")]):t._e(),t._v(" "),t.category?e("div",{staticClass:"empty-search-text category"},[e("span",[t._v(t._s(t.$services.i18n.translation.t("cv/catalog/empty_category_1")))]),t._v(" "),e("nuxt-link",{staticClass:"empty-search-link",attrs:{to:{name:t.pageType,params:{locale:t.locale||null,cityName:t.cityName||null,categoryName:t.$services.interfaceState.getStateByKey("specialCategoryName")}}}},[e("span",[t._v(t._s(t.$services.i18n.translation.t("cv/catalog/empty_category_link")))])]),t._v(".\n    ")],1):t._e(),t._v(" "),t.category&&t.showBtn&&t.triggerShowButton?e("base-button",{staticClass:"show-more-recommendation",attrs:{"font-weight":"normal",theme:"light",size:"medium"},on:{click:t.goToRecommendation}},[t._v("\n        "+t._s(t.$services.i18n.translation.t("nf/catalog/empty_category_show_more_button"))+"\n    ")]):t._e(),t._v(" "),t.search?e("div",{staticClass:"empty-search-text search"},[e("span",{domProps:{innerHTML:t._s(t.$services.i18n.translation.t("cv/search/delivery_time_error/text"))}}),t._v(" "),e("base-button",{staticClass:"change-dt",class:{"is-show":t.isAuthorized},attrs:{size:"medium",theme:"dark"},on:{click:t.onOpenTime}},[t._v("\n            "+t._s(t.$services.i18n.translation.t("cv/search/delivery_time_error/btn"))+"\n        ")])],1):t._e()],1)}),[],!1,null,"28250bdd",null);e.a=v.exports},1094:function(t,e,i){"use strict";i(1034)},1095:function(t,e,i){var s=i(18),o=i(166),a=i(1e3),r=i(1001),n=s((function(t){return t[1]})),c=o(a),l=o(r);n.push([t.i,".empty-search-block[data-v-28250bdd]{align-items:center;display:flex;flex-direction:column;width:100%}.empty-search-block.search[data-v-28250bdd]{margin:30px 0 0}.empty-search-img[data-v-28250bdd]{background:url("+c+") 50% no-repeat;height:200px;width:175px}.empty-search-text[data-v-28250bdd]{color:#111;font-size:16px;font-weight:500;line-height:22px;margin-top:20px;max-width:350px;text-align:center}.empty-search-text.category[data-v-28250bdd]{max-width:500px}.empty-search-text.search[data-v-28250bdd]{max-width:400px}.empty-search-link[data-v-28250bdd]{-webkit-text-decoration:none;text-decoration:none}.empty-search-link[data-v-28250bdd],.empty-search-reset[data-v-28250bdd]{color:#5495ed;cursor:pointer}.change-dt[data-v-28250bdd]{display:none;margin-top:24px}.change-dt.is-show[data-v-28250bdd]{display:block}@media(min-width:1024px){.change-dt[data-v-28250bdd]{display:block}}.show-more-recommendation[data-v-28250bdd]{display:none}@media(min-width:1024px){.show-more-recommendation[data-v-28250bdd]{display:block;margin-top:32px;width:314px}}@media only screen and (min-resolution:192dpi),only screen and (min-resolution:2dppx){.empty-search-img[data-v-28250bdd]{background:url("+l+") 50% no-repeat;background-size:175px}}@media(min-width:1024px){.empty-search-block.search[data-v-28250bdd]{margin:55px 0 0}}",""]),n.locals={},t.exports=n},1367:function(t,e,i){var s=i(1933);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("7a54e638",s,!0,{sourceMap:!1})},1368:function(t,e,i){var s=i(1935);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("3cd9f758",s,!0,{sourceMap:!1})},1369:function(t,e,i){var s=i(1937);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("30daecdd",s,!0,{sourceMap:!1})},1370:function(t,e,i){var s=i(1939);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("5946aa23",s,!0,{sourceMap:!1})},1371:function(t,e,i){var s=i(1941);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("7671ff12",s,!0,{sourceMap:!1})},1927:function(t,e,i){t.exports=i.p+"src/static/images/png/toplist/trends.png"},1928:function(t,e,i){t.exports=i.p+"src/static/images/png/toplist/trends2x.png"},1929:function(t,e,i){t.exports=i.p+"src/static/images/png/toplist/sales.png"},1930:function(t,e,i){t.exports=i.p+"src/static/images/png/toplist/sales2x.png"},1931:function(t,e,i){t.exports=i.p+"src/static/images/png/all-products.png"},1932:function(t,e,i){"use strict";i(1367)},1933:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,".top-list-carousel[data-v-718ebb03]{width:100%}.top-list-carousel[data-v-718ebb03] .swiper-button.swiper-button-prev{left:-56px}.top-list-carousel[data-v-718ebb03] .swiper-button.swiper-button-next{right:-56px}.top-list-categories[data-v-718ebb03]{margin:0 -16px;overflow:hidden;padding:0 16px 6px}.top-list-categories .item[data-v-718ebb03]{cursor:pointer;min-height:96px;min-width:85px;padding:4px 0;position:relative;transition:color .3s,opacity .3s,border-radius .3s,background-color .3s;width:85px}.top-list-categories .item .item-text[data-v-718ebb03]{font-size:12px;font-weight:500;line-height:18px;padding:0 2px;text-align:center;transition:.3s}.top-list-categories .item.active .item-text[data-v-718ebb03]{color:#f16823}.item-link[data-v-718ebb03]{align-items:center;color:#111;display:flex;flex-direction:column;-webkit-text-decoration:none;text-decoration:none}.item-link[data-v-718ebb03]>:not(:last-child){margin-bottom:8px}.item-fake[data-v-718ebb03]{cursor:pointer;display:block;height:100%;left:0;position:absolute;top:0;width:100%;z-index:1}@media(min-width:1024px){.top-list-categories[data-v-718ebb03]{margin:40px 0 0;overflow:visible;padding:0}.top-list-categories .item[data-v-718ebb03]{min-width:110px;width:110px}.top-list-categories .item .item-text[data-v-718ebb03]{font-size:14px;font-weight:500;line-height:20px}.top-list-categories .item[data-v-718ebb03]:hover{background-color:transparent;border-radius:0}.top-list-categories .item:hover .item-text[data-v-718ebb03]{color:#f16823}}",""]),s.locals={},t.exports=s},1934:function(t,e,i){"use strict";i(1368)},1935:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,".top-list-header{margin-bottom:0}.top-list-title{align-items:center;display:flex;margin:12px 0}.top-list-title .main-title{margin:0 0 0 8px}.top-list-descr{font-size:16px;font-weight:500;line-height:22px;margin:0 0 16px}@media(min-width:1024px){.top-list-header{margin-bottom:40px}.top-list-title{margin:32px 0 16px}}",""]),s.locals={},t.exports=s},1936:function(t,e,i){"use strict";i(1369)},1937:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,".top-title-skeletons{background:#f6f6f6;border-radius:12px;height:30px;width:calc(100% - 20px)}.top-list-skeletons{display:flex;flex-wrap:nowrap;justify-content:space-between;padding:24px 0;width:100%}@media(min-width:1024px){.top-title-skeletons{width:40%}.top-list-skeletons{padding:24px 0}}",""]),s.locals={},t.exports=s},1938:function(t,e,i){"use strict";i(1370)},1939:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,".top-list-content{margin:24px 0 0}.top-list-cards-carousel{margin-left:-16px;margin-right:-16px;overflow:hidden;padding:0 16px 6px}.card-cover{height:275px;margin:0 8px 8px 0;width:168px}.card-cover.mobile{width:50%}.card-cover.mobile:last-child{margin:0}.card-cover .skeleton{height:100%;width:100%}.top-list-content-item{margin:0}.top-list-content-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.top-list-more{margin:0;white-space:nowrap}.arrows-on-top .swiper-button.swiper-button-prev{left:auto;right:68px;top:-30px}.arrows-on-top .swiper-button.swiper-button-next{left:auto;right:0;top:-30px}.arrows-on-top.beginning .swiper-button.swiper-button-prev,.arrows-on-top.end .swiper-button.swiper-button-next{display:flex;stroke:#b8b8b8}.categories-carousel-category{margin:24px 0 0}.top-list-category-cards{display:flex;flex-wrap:wrap;justify-content:flex-start;margin:0 0 0 -4px;padding:0;width:calc(100% + 8px)}.top-list-category-cards-item{box-sizing:border-box;margin:0 0 16px;padding:0 4px;width:50%}.empty-products{margin:0 auto}@media(min-width:1024px){.card-cover{height:340px;margin:0 20px 20px 0;width:235px}.card-cover .skeleton{height:100%;min-height:320px!important;width:100%}.top-list-content{margin:0}.top-list-content .product-card:not(.skeleton){box-shadow:0 4px 14px rgba(53,51,57,.08)}.top-list-content .product-card:not(.skeleton):hover:not(.skeleton){box-shadow:0 4px 15px rgba(53,51,57,.12)}.top-list-cards-carousel{margin-left:0;margin-right:0;overflow:visible;padding:0}.top-list-content-item{margin:20px 0 0}.top-list-content-header{margin-bottom:0}.top-list-more{margin:0 148px 0 0}.top-list-category-cards{margin:0 0 0 -10px;padding:24px 0;width:calc(100% + 20px)}.top-list-cards .responsive .name,.top-list-category-cards .responsive .name{font-size:12px;font-weight:400;line-height:16px}.top-list-category-cards-item{margin:0 0 20px;padding:0 10px;width:25%}.empty-products{margin:0 auto 64px 0}}",""]),s.locals={},t.exports=s},1940:function(t,e,i){"use strict";i(1371)},1941:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,".product-watched-block{margin-top:40px}.other-categories{margin-bottom:0;margin-top:24px}.content-wrapper{margin:0 auto;max-width:1000px;position:relative}.trust-banners{margin-top:48px}.mobile-wide-block{margin-left:-16px;margin-right:-16px;overflow:hidden;padding-left:16px;padding-right:16px}.mobile-wide-block .selections-categories-carousel{overflow:visible!important}@media(min-width:1024px){.other-categories{margin-bottom:-24px;margin-top:50px}.trust-banners{margin-top:80px}.mobile-wide-block{margin-left:0;margin-right:0;overflow:visible;padding-left:0;padding-right:0}.mobile-wide-block .selections-categories-carousel{overflow:hidden!important}}",""]),s.locals={},t.exports=s},2418:function(t,e,i){"use strict";i.r(e);i(5);var s,o,a,r,n=i(2),c=i(262),l=i(6),p=i(27),d=i(940),u=i(26),h=i(942),m=i(124);function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function f(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){Object(l.a)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}let v=(s=Object(n.a)({components:{Carousel:h.a},computed:f({},Object(p.b)({city:"location/cityTranslit",locale:"location/locale",toplistIds:"toplist/ids",type:"toplist/type",activeCategory:"toplist/activeCategory",cityCategories:"category/getExistedRangeGroup",isMobile:"application/isMobile"}))}),o=Object(n.g)("type"),s((r=class extends n.f{constructor(){super(...arguments),this.firstMenuItem={id:null,name:this.$services.i18n.translation.t("nf/header/catalog/all_products_button"),photo:"",photo_2x:"",image:i(1931),alias:null,superGroupId:null,active:!0},this.menu=[],this.listenerCity=void 0,this.options={spaceBetween:0,slidesPerView:"auto",slidesPerGroup:3}}get ids(){return this.toplistIds[this.type]}mounted(){this.setMenu(),this.listenerCity=m.a.on(m.a.CITY_CHANGED,(async()=>{this.setMenu()}))}userURL(t,e){return{name:this.type,params:{locale:this.locale||null,cityName:this.city||null,categoryName:t||(e?"flowers":null)}}}changeCategory(t,e,i){if(t.preventDefault(),this.scrollToTop(),!e&&!this.activeCategory)return!1;const s=e===this.activeCategory?{categoryName:null}:{categoryName:i||(e?"flowers":null)};this.$router.push({name:this.type,params:f({locale:this.locale||null,cityName:this.city||null},s)}),m.a.emit(m.a.CATEGORY_CHANGED),this.$services.analitic.gtm.onIconMenuClick(!(this.activeCategory===e),i,"")}async setMenu(){let t;if(this.menu=[],this.ids.length){this.menu.push(this.firstMenuItem);for(const e of this.ids)t=this.cityCategories.find((t=>t.id===e)),this.menu.push(t)}else this.menu=[]}scrollToTop(){window.scroll({top:0})}async reloadMenu(){this.setMenu()}destroyed(){this.listenerCity&&this.listenerCity.remove()}},Object(u.a)(r.prototype,"reloadMenu",[o],Object.getOwnPropertyDescriptor(r.prototype,"reloadMenu"),r.prototype),a=r))||a);var y,b,x=v,w=(i(1932),i(11)),C=Object(w.a)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-list-categories"},[e("carousel",{staticClass:"top-list-carousel",attrs:{items:t.menu,noOverflow:!t.isMobile,isArrowsOnDesktop:!0,options:t.options},scopedSlots:t._u([{key:"default",fn:function(i){let{item:s}=i;return[e("div",{staticClass:"item",class:{active:t.activeCategory===s.id}},[e("nuxt-link",{staticClass:"item-link",attrs:{to:t.userURL(s.alias,s.id)}},[e("img",{staticClass:"item-image",attrs:{loading:"lazy",src:s.image,width:"auto",height:"50",alt:s.name}}),t._v(" "),e("span",{staticClass:"item-text"},[t._v(t._s(s.name))])]),t._v(" "),e("span",{staticClass:"item-fake",on:{click:function(e){return t.changeCategory(e,s.id,s.alias)}}})],1)]}}])})],1)}),[],!1,null,"718ebb03",null).exports,_=i(3);function O(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}let k=(y=Object(n.a)({components:{MainTitle:d.a,TopListMenu:C},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?O(Object(i),!0).forEach((function(e){Object(l.a)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):O(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},Object(p.b)({type:"toplist/type",toplistIds:"toplist/ids"}))}),y(b=class extends n.f{get isTrends(){return this.type===_.a.trends}get isSales(){return this.type===_.a.sales}get title(){return this.isTrends?this.$services.i18n.translation.t("nf/selections/trends/title"):this.$services.i18n.translation.t("nf/selections/discounts/title")}get descr(){return this.isTrends?this.$services.i18n.translation.t("nf/selections/trends/subtitle"):this.$services.i18n.translation.t("nf/selections/discounts/subtitle")}get ids(){return this.toplistIds&&this.type&&this.toplistIds[this.type]||[]}})||b);var j,P,M,T,z,S=k,I=(i(1934),Object(w.a)(S,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-list-header"},[e("div",{staticClass:"top-list-title"},[t.isTrends?[e("img",{attrs:{src:i(1927),srcset:i(1928)+" 2x",alt:"Trends"}})]:t._e(),t._v(" "),t.isSales?[e("img",{attrs:{src:i(1929),srcset:i(1930)+" 2x",alt:"Sales"}})]:t._e(),t._v(" "),e("main-title",{attrs:{title:t.title,size:"xlarge",tag:"h1"}})],2),t._v(" "),e("div",{staticClass:"top-list-descr",domProps:{innerHTML:t._s(t.descr)}}),t._v(" "),t.ids.length>1?e("top-list-menu"):t._e()],1)}),[],!1,null,null,null).exports),D=i(336),L=i(1081),E=i(333),$=i(957),B=i(39);i(101);function A(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}let N=(j=Object(n.a)({components:{ProductCard:$.a},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?A(Object(i),!0).forEach((function(e){Object(l.a)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):A(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},Object(p.b)({isDesktop:"application/isDesktop"}))}),P=Object(n.c)(),j((T=class extends n.f{constructor(){super(...arguments),Object(B.a)(this,"items",z,this)}},z=Object(u.a)(T.prototype,"items",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=T))||M);var R,G,H,V,Y=N,F=(i(1936),Object(w.a)(Y,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"top-list-content-item"},[e("div",{staticClass:"top-title-skeletons"}),t._v(" "),e("div",{staticClass:"top-list-skeletons"},t._l(t.items,(function(i){return e("article",{key:"empty-product-".concat(i),staticClass:"card-cover",class:{mobile:!t.isDesktop}},[e("product-card",{attrs:{size:"responsive",skeleton:"",product:{}}})],1)})),0)])}),[],!1,null,null,null).exports),U=i(265);function q(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}let J=(R=Object(n.a)({components:{Intersect:D.a,EmptySearchBlock:L.a,MainTitle:d.a,BaseButton:E.a,ProductCard:$.a,Carousel:h.a,TopListSkeleton:F},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?q(Object(i),!0).forEach((function(e){Object(l.a)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):q(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},Object(p.b)({toplistIds:"toplist/ids",type:"toplist/type",isMobile:"application/isMobile",cityCategories:"category/getExistedRangeGroup",activeCategory:"toplist/activeCategory",city:"location/cityTranslit",locale:"location/locale"}))}),G=Object(n.g)("activeCategory"),R((V=class extends n.f{constructor(){super(...arguments),this.skeletonsPerView=null,this.options={},this.currentId=0,this.showMore=!1,this.isfirstLoading=!0,this.isLoading=null,this.isStopListenerCity=!1,this.productsInCategory=[],this.productsCommon=[],this.listenerCity=void 0,this.listenerCurrency=void 0,this.listenerType=void 0}get ids(){return this.toplistIds&&this.type?this.toplistIds[this.type]:[]}get isEmpty(){var t;return!(null!==(t=this.toplistIds[this.type])&&void 0!==t&&t.length)}get activeCategoryTitle(){var t;const e=this.activeCategory?this.activeCategory:this.ids[0];return null===(t=this.cityCategories.find((t=>t.id===e)))||void 0===t?void 0:t.name}async created(){this.skeletonsPerView=this.isMobile?2:4,this.options={breakpoints:{0:{spaceBetween:0}},slidesPerGroup:4},this.fetchProducts()}async reloadProductsByCategory(){this.showMore=!1,this.isfirstLoading=!0,this.isLoading=!0,this.fetchProducts()}mounted(){this.listenerCity=m.a.on(m.a.CITY_CHANGED,(()=>{this.isStopListenerCity||(window.scroll({top:0}),this.showMore=!1,this.isfirstLoading=!0,this.isLoading=!0,this.productsInCategory=[],this.productsCommon=[],this.fetchProducts()),this.isStopListenerCity=!1})),this.listenerCurrency=U.a.on(U.a.AFTER_CURRENCY_CORRECTED,(()=>{const t=this.$store.getters["location/getPrevCity"];window.scroll({top:0}),this.showMore=!1,this.isfirstLoading=!0,this.isLoading=!0;const e=this.$store.getters["location/getCity"];t.country_id!==e.country_id&&(this.isStopListenerCity=!0),setTimeout((()=>{this.fetchProducts()}),1e3)})),this.listenerType=m.a.on(m.a.TYPE_CHANGED,(()=>{this.showMore=!1,this.isfirstLoading=!0,this.isLoading=!0,this.fetchProducts()}))}async fetchProducts(){if(this.productsInCategory=[],this.productsCommon=[],this.activeCategory)this.productsInCategory=await this.$services.toplist.getToplistData(),this.productsInCategory.length||(await this.$router.push({name:this.type,params:{locale:this.locale||null,cityName:this.city||null,categoryName:null}}),m.a.emit(m.a.CATEGORY_CHANGED));else{var t;if(!this.ids[0])return!1;this.currentId=0;const e=await this.$services.toplist.getToplistData(this.ids[0]),i=this.ids.length>1?e.slice(0,8):e;this.productsCommon.push({id:this.ids[0],title:null===(t=this.cityCategories.find((t=>t.id===this.ids[0])))||void 0===t?void 0:t.name,items:i}),setTimeout((()=>{this.ids.length>1&&this.productsCommon.length&&(this.showMore=!0)}),300)}this.isfirstLoading=!1,this.isLoading=!1}async showMoreProducts(){if(!this.ids[0])return!1;if(this.currentId++,this.ids&&this.currentId<this.ids.length&&this.showMore){var t;this.showMore=!1;const e=(await this.$services.toplist.getToplistData(this.ids[this.currentId])).slice(0,8);this.productsCommon.push({id:this.ids[this.currentId],title:null===(t=this.cityCategories.find((t=>t.id===this.ids[this.currentId])))||void 0===t?void 0:t.name,items:e}),this.showMore=!0}else this.showMore=!1}showMoreUrl(t){var e;const i=(null===(e=this.cityCategories.find((e=>e.id===t)))||void 0===e?void 0:e.alias)||"flowers";return this.$services.url.relative("/".concat(this.type,"/").concat(i))}changeCategory(t,e){var i;t.preventDefault(),this.scrollToTop();const s=(null===(i=this.cityCategories.find((t=>t.id===e)))||void 0===i?void 0:i.alias)||"flowers";this.$router.push({name:this.type,params:{locale:this.locale||null,cityName:this.city||null,categoryName:s}})}scrollToTop(){window.scroll({top:0})}destroyed(){this.listenerCity&&this.listenerCity.remove(),this.listenerCurrency&&this.listenerCurrency.remove(),this.listenerType&&this.listenerType.remove()}},Object(u.a)(V.prototype,"reloadProductsByCategory",[G],Object.getOwnPropertyDescriptor(V.prototype,"reloadProductsByCategory"),V.prototype),H=V))||H);var K,W=J,X=(i(1938),Object(w.a)(W,(function(){var t,e=this,i=e._self._c;return i("div",{staticClass:"top-list-content"},[e.isEmpty?i("empty-search-block",{staticClass:"empty-products",attrs:{category:!0}}):[e.activeCategory||!e.activeCategory&&1===e.ids.length?[i("div",{staticClass:"top-list-content-header"},[i("main-title",{attrs:{title:e.activeCategoryTitle,size:"medium"}})],1),e._v(" "),i("div",{staticClass:"top-list-cards"},[e.isLoading?i("div",{staticClass:"top-list-skeletons"},e._l(e.skeletonsPerView,(function(t){return i("article",{key:"empty-product-".concat(t),staticClass:"card-cover",class:{mobile:e.isMobile}},[i("product-card",{attrs:{size:"responsive",skeleton:"",product:{}}})],1)})),0):i("div",{staticClass:"top-list-category-cards"},e._l(e.activeCategory?e.productsInCategory:null===(t=e.productsCommon[0])||void 0===t?void 0:t.items,(function(t,s){return i("article",{key:"category-cards-item_".concat(s),staticClass:"top-list-category-cards-item"},[i("product-card",{attrs:{topPlace:s+1,size:"responsive",product:t,selectionTitle:e.activeCategoryTitle}})],1)})),0)])]:[e.isfirstLoading?i("div",{staticClass:"top-list-content-item"},[i("top-list-skeleton",{attrs:{items:e.skeletonsPerView}})],1):e._l(e.productsCommon,(function(t,s){return i("div",{key:"top_list_item_".concat(s),staticClass:"top-list-content-item"},[i("div",{staticClass:"top-list-content-header"},[i("main-title",{attrs:{title:t.title,size:"medium"}}),e._v(" "),e.isLoading?e._e():i("div",{staticClass:"top-list-more"},[i("base-button",{attrs:{size:e.isMobile?"small":"medium",theme:"light"},nativeOn:{click:function(i){return e.changeCategory(i,t.id)}}},[e._v("\n                                "+e._s(e.$services.i18n.translation.t("nf/out_of_stock_item/similar_all"))+"\n                            ")])],1)],1),e._v(" "),i("div",{staticClass:"top-list-cards top-list-cards-carousel"},[e.isLoading?i("div",{staticClass:"top-list-skeletons"},e._l(e.skeletonsPerView,(function(t){return i("article",{key:"empty-product-".concat(t),staticClass:"card-cover",class:{mobile:e.isMobile}},[i("product-card",{attrs:{size:"responsive",skeleton:"",product:{}}})],1)})),0):[i("carousel",{staticClass:"arrows-on-top",attrs:{items:t.items,options:e.options,isArrowsOnDesktop:!0,arrowsType:"outsideTop"},scopedSlots:e._u([{key:"default",fn:function(e){let{item:s,place:o}=e;return[i("article",{staticClass:"card-cover"},[i("product-card",{attrs:{topPlace:o+1,size:"responsive",product:s,selectionTitle:t.title}})],1)]}}],null,!0)})]],2)])})),e._v(" "),e.showMore?i("intersect",{attrs:{rootMargin:"0px 0px 420px 0px"},on:{enter:e.showMoreProducts}},[i("div",{staticClass:"top-list-content-item"},[i("top-list-skeleton",{attrs:{items:e.skeletonsPerView}})],1)]):e._e()]]],2)}),[],!1,null,null,null).exports);let Q=Object(n.a)({components:{LazyHydrate:c.a,TopListHeader:I,TopListContent:X,ProductWatched:()=>Promise.all([i.e(18),i.e(133)]).then(i.bind(null,2498)),SelectionsCategoriesCarouselCards:()=>Promise.all([i.e(4),i.e(26)]).then(i.bind(null,1547)),TrustBanners:()=>i.e(8).then(i.bind(null,2497))}})(K=class extends n.f{constructor(){super(...arguments),this.isBrazil=this.$services.i18n.localeManager.isBrazilByLocale()}beforeDestroy(){this.$services.toplist.clearTopListInfo()}})||K;var Z=Q,tt=(i(1940),Object(w.a)(Z,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"content-wrapper"},[e("top-list-header"),t._v(" "),e("top-list-content"),t._v(" "),e("product-watched",{staticClass:"mobile-wide-block product-watched-block",attrs:{type:"carousel"}}),t._v(" "),e("selections-categories-carousel-cards",{staticClass:"mobile-wide-block other-categories",attrs:{hasMinLimit:!0,title:t.$services.i18n.translation.t("cv/item-card/other_categories"),sizeTitle:"medium"}}),t._v(" "),t.isBrazil?e("div",{staticClass:"trust-banners"},[e("lazy-hydrate",{attrs:{whenVisible:""}},[e("trust-banners")],1)],1):t._e()],1)}),[],!1,null,null,null));e.default=tt.exports},939:function(t,e,i){var s=i(946);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("566832dd",s,!0,{sourceMap:!1})},940:function(t,e,i){"use strict";var s,o,a,r,n,c=i(39),l=i(26),p=(i(101),i(5),i(2)),d={type:{type:String},title:{type:String},size:{type:String,default:"medium"},tag:{type:String,default:"h2",validator:t=>["h1","h2","h3","h4","h5","h6"].includes(t)}},u=i(41);let h=(s=Object(p.a)({props:d,components:{}}),o=Object(p.b)({from:"mainTitleSize",default:""}),s((r=class extends p.f{constructor(){super(...arguments),Object(c.a)(this,"specificSizeForComponent",n,this)}openAddressModal(t){"flowers"===t&&this.$modal.open(u.a.AddressModal,{autoFocus:!0})}get classes(){return{"main-title":!0,"main-title-flowers":"flowers"===this.type,[this.specificSizeForComponent||this.size]:!0}}},n=Object(l.a)(r.prototype,"specificSizeForComponent",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=r))||a);var m=h,g=(i(970),i(11)),f=Object(g.a)(m,(function(){var t=this,e=t._self._c;return e(t.tag,{tag:"component",class:t.classes,on:{click:function(e){return t.openAddressModal(t.type)}}},[e("span",{domProps:{innerHTML:t._s(t.title)}})])}),[],!1,null,"1fc1c830",null);e.a=f.exports},945:function(t,e,i){"use strict";i(939)},946:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,'.restricted[data-v-4224a81e]{height:100%;overflow:hidden;position:relative;width:100%}.restricted.mode-number[data-v-4224a81e]:after{color:#fff;content:"18+";font-family:NotoSans,sans-serif;font-weight:700;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);z-index:10}.restricted .cover[data-v-4224a81e]{height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:5}.restricted img[data-v-4224a81e]{position:relative;width:100%;z-index:5}.mode-text[data-v-4224a81e]{align-items:center;display:flex;flex-direction:column;justify-items:center;position:absolute;right:50%;top:50%;transform:translate(50%,-50%);z-index:6}.mode-text-title[data-v-4224a81e]{color:#fff;font-size:14px;font-weight:700;line-height:20px;margin-top:8px;text-align:center}@media(min-width:380px){.mode-text-title[data-v-4224a81e]{white-space:nowrap}}',""]),s.locals={},t.exports=s},948:function(t,e,i){"use strict";i(5);var s,o=i(2),a={size:{type:String,default:"md"},photo:{type:String,default:""},smallPhoto:{type:String,default:""},title:{type:String},flag:{type:Boolean,default:!1},withoutText:{type:Boolean,default:!1},withoutIcon:{type:Boolean,default:!1},isLazy:{type:Boolean,default:!1}};let r=Object(o.a)({props:a})(s=class extends o.f{constructor(){super(...arguments),this.defaultBlurLevel={sm:20,md:30,lg:50}}get hideAdultContent(){return this.flag&&!this.$services.restriction.canShowAdultContent}get styles(){return{filter:this.hideAdultContent?"blur(".concat(this.defaultBlurLevel[this.size],"px)"):"none"}}get isTextMode(){return this.hideAdultContent&&!this.$services.i18n.localeManager.isRussiaByLocale()}get isNumberMode(){return this.hideAdultContent&&this.$services.i18n.localeManager.isRussiaByLocale()}blockImage(){if(this.hideAdultContent)return!1}})||s;var n=r,c=(i(945),i(11)),l=Object(c.a)(n,(function(){var t=this,e=t._self._c;return e("div",{class:["restricted",t.isNumberMode&&"mode-number"]},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isTextMode,expression:"isTextMode"}],staticClass:"mode-text"},[e("svg-icon",{directives:[{name:"show",rawName:"v-show",value:!t.withoutIcon,expression:"!withoutIcon"}],staticClass:"mode-text-icon",attrs:{name:"common/crossed-out-eye",width:"24",height:"24"}}),t._v(" "),e("span",{directives:[{name:"show",rawName:"v-show",value:!t.withoutText,expression:"!withoutText"}],staticClass:"mode-text-title"},[t._v("\n            "+t._s(t.$services.i18n.translation.t("nf/products_for_adults/item_card_text_global"))+"\n        ")])],1),t._v(" "),e("div",{staticClass:"cover"}),t._v(" "),e("picture",[t.smallPhoto?e("source",{attrs:{srcset:t.smallPhoto,media:"(max-width: 1024px)"}}):t._e(),t._v(" "),e("img",{style:t.styles,attrs:{loading:t.isLazy?"lazy":"eager",src:t.photo,alt:t.title,draggable:!t.hideAdultContent},on:{contextmenu:function(e){return t.blockImage()}}})])])}),[],!1,null,"4224a81e",null);e.a=l.exports},950:function(t,e,i){var s=i(971);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);(0,i(19).default)("2d77592a",s,!0,{sourceMap:!1})},970:function(t,e,i){"use strict";i(950)},971:function(t,e,i){var s=i(18)((function(t){return t[1]}));s.push([t.i,"[data-v-1fc1c830] b,[data-v-1fc1c830] strong{font-weight:700}[data-v-1fc1c830] dfn,[data-v-1fc1c830] em,[data-v-1fc1c830] i{font-style:italic}[data-v-1fc1c830] small{font-size:smaller}[data-v-1fc1c830] ol{list-style:decimal;margin-bottom:12px}[data-v-1fc1c830] ul{list-style:disc;margin-bottom:12px}[data-v-1fc1c830] li{margin-left:22px}[data-v-1fc1c830] a{color:#5495ed;-webkit-text-decoration:none;text-decoration:none}[data-v-1fc1c830] a:hover{cursor:pointer;-webkit-text-decoration:underline;text-decoration:underline}[data-v-1fc1c830] p{margin-bottom:12px}[data-v-1fc1c830] h1{font-size:24px;font-weight:500;line-height:32px;margin-bottom:16px;margin-top:48px}[data-v-1fc1c830] h2{font-size:20px;font-weight:500;line-height:26px;margin-bottom:12px;margin-top:32px}[data-v-1fc1c830] h3,[data-v-1fc1c830] h4,[data-v-1fc1c830] h5,[data-v-1fc1c830] h6{font-size:18px;font-weight:700;line-height:24px;margin-bottom:8px;margin-top:32px}@media(min-width:1024px){[data-v-1fc1c830] ol,[data-v-1fc1c830] p,[data-v-1fc1c830] ul{margin-bottom:16px}[data-v-1fc1c830] h1{font-size:32px;font-weight:500;line-height:40px;margin-bottom:12px;margin-top:60px}[data-v-1fc1c830] h2{font-size:24px;font-weight:500;line-height:32px;margin-bottom:12px;margin-top:40px}[data-v-1fc1c830] h3,[data-v-1fc1c830] h4,[data-v-1fc1c830] h5,[data-v-1fc1c830] h6{font-size:18px;font-weight:700;line-height:24px;margin-bottom:8px;margin-top:40px}}.main-title-flowers[data-v-1fc1c830]{cursor:pointer}.main-title[data-v-1fc1c830] a{border-bottom:2px solid transparent;color:#ff7663;display:inline-block;-webkit-text-decoration:none;text-decoration:none}.main-title.medium[data-v-1fc1c830],.main-title.small[data-v-1fc1c830]{font-size:24px;font-weight:500;line-height:32px}.main-title.large[data-v-1fc1c830],.main-title.xlarge[data-v-1fc1c830]{font-size:32px;font-weight:500;line-height:40px}.main-title.adaptive[data-v-1fc1c830]{font-size:24px;font-weight:500;line-height:32px}@media(min-width:1024px){.main-title[data-v-1fc1c830]{color:#111;margin-bottom:4px}.main-title[data-v-1fc1c830] a:hover{border-bottom:2px solid #ff9486;color:#ff9486}.main-title.small[data-v-1fc1c830]{font-size:24px;font-weight:500;line-height:32px}.main-title.medium[data-v-1fc1c830]{font-size:32px;font-weight:500;line-height:40px}.main-title.large[data-v-1fc1c830]{font-size:40px;font-weight:500;line-height:48px}.main-title.adaptive[data-v-1fc1c830],.main-title.xlarge[data-v-1fc1c830]{font-size:48px;font-weight:500;line-height:56px}}",""]),s.locals={},t.exports=s}}]);