1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CKK2lexl.js","./BLbFcDY4.js","./entry.BjcbSEnW.css","./-JFlTWVS.js","./B7uMGFeA.js","./IconWrapper.CG8W_4Pq.css","./FRy1XGnn.js","./C7uQ7NS5.js","./7XMZwNUs.js","./I-GFd47M.js","./CvKwkNo4.js","./GInput.BU5wn9XH.css","./GSelect.DZJes-Q_.css","./CFiAvM6-.js","./DZfqgOou.js","./GTag.BRMOfjXQ.css","./GTab.DGrGt_be.css","./DQd_gWW7.js","./AppPicture.D88wduyj.css","./ICV3vbNf.js","./C8NiijRa.js","./CKD5Sldw.js","./CJNQ9peY.js","./BIJepdv6.js","./BXH5SNOI.js","./Bd07KBfU.js","./Ngw-a2eK.js","./ChangeDeliveryTypeTabs.79ymY6ch.css","./RGsWmKZP.js","./D_VHTKc3.js","./UMhdEuiP.js","./DUlgF_G5.js","./GShimmerProvider.DDQNIUY1.css","./DVRaenKL.js","./GTooltip.BBOcCzb8.css","./Dy2rWYss.js","./DZwQQtCS.js","./CjECELIu.js","./DWoecRsz.js","./DkX2EVOz.js","./D6QL_5nn.js","./Cow5z95P.js","./Cnvzea_l.js","./YRVtcWuo.js","./BXsRn6bU.js","./CidJZ2xt.js","./MbkrmIu1.js","./DRQ9f4fj.js","./CrPB3dmw.js","./PageTitle.Dr2zzjCL.css","./AddressSelecting.CzWtm_0s.css","./BAuFMNMm.js","./DmCUTRre.js","./InfoModal.el7nirCo.css","./7xhsn0Zs.js","./DoQ0_s42.js","./C--1hzmd.js","./DtJuT8Au.js","./Biz0AsKd.js","./B6Nt7-ep.js","./LoginFormModal.DEMcvn9H.css","./DnF2EfAq.js","./D_xjNFzG.js","./C3nmhQ3H.js","./SCDZwhQL.js","./CatalogProductCard.ouJaZxVo.css","./Search.BNMT5js9.css","./B2BvCqM-.js","./UserAgreements.Bk48EZW1.css","./EjaYk-Ls.js","./AdditionalProductsModal.CbUi64FT.css","./D1F4t1Wr.js","./COe8ECB9.js","./PartialWriteOffBonusesModal.Dd25VaAd.css","./C_0snp1A.js","./BZBo22dV.js","./GRadio.3sB0o0Fj.css","./Casxubok.js","./DwDlm7nL.js","./PromoModal.D2ASkihl.css","./CrfJRmPq.js","./PaidDeliveryModal.AnG
16nDJ6.css","./DMSYOhVs.js","./qUlMV1I7.js","./BBc-HqvA.js","./CxmoOdYF.js","./BpaxzZIE.js","./SavedDeliveryAddressCard.D5rS6WWg.css","./SavedAddressesModal.BqDkr_--.css","./DGYYRK9I.js","./D0NGFRcH.js","./GForm.DjjgCnEf.css","./BBly-oaN.js","./ValidatedGTextarea.Dx_Km_b-.css","./DgGFHv6O.js","./CancelOrder.CYTz5gAu.css","./CpRIogE5.js","./RefundModal.mv1p7t_G.css","./BbmhcJAQ.js","./CgWgWsKT.js","./GCheckbox.Ded85aQX.css","./ehVpOgap.js","./GSwitcher.Bzq_Jzw6.css","./DT7TxERP.js","./Bvi1KO1X.js","./CF6hAu5d.js","./RatingStars.CPUTHNhK.css","./OrderRatingModal.x_1tXENm.css","./D79m4Wav.js","./D3zI9YlC.js","./DtgenvFW.js","./CallDepartmentModal.DpbI6V6y.css","./DVw6hszo.js","./BuildRouteModal.BBHd56GZ.css","./BeaT3kwc.js","./B-MTKuTj.js","./BLUjqdj0.js","./IndividualEntrepreneurModal.D8Q6MWhN.css","./C-9Hmy9h.js","./CrA0lZGy.js","./B3uAlEmR.js","./XvFHanZ4.js","./GChips.BRq3rbAD.css","./RestaurantsMap.nY1YeeT6.css","./MapModal.BamyvJ6V.css","./DtauUWVs.js","./TagsFilterModal.DMn7GIgz.css","./CX6uGggv.js","./ForgottenProducts.DVochUwN.css","./DXl7ugXo.js","./GotBonusCard.D2jTXusS.css","./Bp7trVJv.js","./TechnicalInfoModal.DpfbRhw2.css","./CpKCSiud.js","./NoDelivery.1UWaShQR.css","./C6XPb9Uj.js","./BtZce2Rs.js","./TabPaymentQr.nhR_3DXU.css","./BUG0DNrm.js","./RemovedProductsModal.DmYqWsHQ.css","./DVn-gm-j.js","./TrackCourier.PpntDNZ4.css","./Dum35skD.js","./PromoeventsCancelled.DuAWqFYe.css"])))=>i.map(i=>d[i]); 2import{c9 as G,aL as i,aM as d,b2 as n,b3 as _,aY as D,b9 as ee,bF as p,bV as Ve,bd as x,b4 as he,bh as g,bu as S,bc as w,cl as pe,bn as P,be as z,bf as F,bg as j,bL as ze,dt as Qe,bU as O,b1 as f,c8 as ke,bM as Ge,aO as te,bk as Pe,bz as U,ca as E,aR as me,aP as oe,bZ as Ue,b_ as re,c2 as $,bO as Z,bG as N,c4 as Xe,du as qe,bA as V,aU as B,bR as Je,dn as et,dv as tt,bQ as ot,aK as b,cS as st,bi as nt,bx as it,ba as xe,a$ as u,b5 as se,b7 as W,bl as M,aV as de,aW as ce,bq as fe,bH as y,bC as ge,bN as T,aZ as Ce,dw as rt,dx as at,dy as lt,b0 as v,b6 as ve,bP as Se,bT as Q,ce as le,dz as dt,bW as ct,cb as ut,cu as we,c5 as Oe,c7 as _t,b$ as pt,dA as I,dB as L}from"./BLbFcDY4.js";import{g as ie,a as mt}from"./RGsWmKZP.js";import{_ as ht}from"./D_VHTKc3.js";import{N as ue}from"./UMhdEuiP.js";import{$ as ye,t as q}from"./FRy1XGnn.js";import{$ as Ee}from"./-JFlTWVS.js";import{a as ft,g as gt,$ as Ct,D as vt,C as St}from"./CJNQ9peY.js";import{b as Ie,h as Le}from"./DUlgF_G5.js";import{f as Ze,r as We,e as Fe}from"./DVRaenKL.js";import{v as $e}from"./Dy2rWYss.js";import{$ as yt,b as It}from"./DZwQQtCS.js";import{u as Y}from"./B7uMGFeA.js";import{$ as Lt}from"./ICV3vbNf.js";import{T as X}from"./C8NiijRa.js";import{d as At}from"./DWoecRsz.js";import{v as bt}from"./DkX2EVOz.js";import{u as Tt}from"./I-GFd47M.js";import{G as Mt}from"./CvKwkNo4.js";import{v as kt}from"./D6QL_5nn.js";import{n as Pt}from"./Cow5z95P.js";import{Z as wt}from"./Cnvzea_l.js";import{$ as Ot}from"./YRVtcWuo.js";import{a as Et}from"./Ngw-a2eK.js";import{g as $t}from"./BXsRn6bU.js";import{$ as Dt}from"./CidJZ2xt.js";import{m as Ht}from"./MbkrmIu1.js";import{M as Rt}from"./DRQ9f4fj.js";import{P as Bt}from"./CrPB3dmw.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1aaab719-6da3-416b-988a-8df6e5cd5125",e._sentryDebugIdIdentifier="sentry-dbid-1aaab719-6da3-416b-988a-8df6e5cd5125")}catch{}})();const Nt={name:"AppStoreIcon",props:{fill:{type:String,default:"var(--mono-100)"},text:{type:String,default:"ÐагÑÑзиÑÑ Ð²"}}},Vt={width:"106",height:"30",viewBox:"0 0 106 30",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zt=["fill"],Gt=["fill"],Ut=["fill"],xt=["fill"],Zt=["fill"],Wt=["fill"],Ft=["fill"],Yt=["fill"],Kt=["fill"],jt=["fill"],Qt=["fill"];function Xt(e,t,s,a,r,o){return i(),d("svg",Vt,[n("path",{d:"M19.265 15.2681C19.2343 11.8034 22.062 10.1178 22.1914 10.0393C20.5899 7.67109 18.1077 7.34752 17.2354 7.32172C15.1506 7.09919 13.1284 8.58699 12.0664 8.58699C10.9832 8.58699 9.34782 7.34322 7.58525 7.37977C5.31712 7.41524 3.19526 8.74717 2.03152 10.8155C-0.370156 15.0327 1.42103 21.2301 3.72201 24.6389C4.87303 26.3084 6.21801 28.1724 7.97846 28.1068C9.70075 28.0348 10.3441 26.9931 12.4225 26.9931C14.4818 26.9931 15.086 28.1068 16.8814 28.0649C18.7298 28.0348 19.8935 26.3879 21.0043 24.7034C22.3344 22.7899 22.8686 20.9054 22.8898 20.8087C22.8464 20.7936 19.3 19.4208 19.265 15.2681Z",fill:s.fill},null,8,zt),n("path",{d:"M15.8734 5.07927C16.7998 3.90429 17.4336 2.30577 17.2576 0.683594C15.9169 0.743794 14.2402 1.62422 13.2746 2.77339C12.4204 3.78604 11.6573 5.44584 11.8544 7.00674C13.3605 7.12069 14.9068 6.23597 15.8734 5.07927Z",fill:s.fill},null,8,Gt),n("path",{d:"M46.4739 25.9104H44.5088L43.4324 22.4797H39.6909L38.6655 25.9104H36.7523L40.4592 14.2307H42.7488L46.4739 25.9104ZM43.1079 21.0404L42.1345 17.9905C42.0315 17.679 41.8385 16.9453 41.5538 15.7903H41.5192C41.4059 16.287 41.2233 17.0207 40.9724 17.9905L40.0162 21.0404H43.1079V21.0404Z",fill:s.fill},null,8,Ut),n("path",{d:"M56.0068 21.5957C56.0068 23.028 55.6252 24.1602 54.862 24.9913C54.1784 25.7312 53.3296 26.1007 52.3163 26.1007C51.2226 26.1007 50.4369 25.7022 49.9584 24.9053H49.9238V29.3418H48.079V20.2608C48.079 19.3603 48.0556 18.4362 48.0106 17.4883H49.633L49.736 18.8232H49.7706C50.3859 17.8174 51.3195 17.3154 52.5724 17.3154C53.552 17.3154 54.3697 17.7077 55.0238 18.4932C55.6797 19.2796 56.0068 20.3135 56.0068 21.5957ZM54.1274 21.6642C54.1274 20.8444 53.9457 20.1687 53.5805 19.6368C53.1816 19.0821 52.646 18.8048 51.9745 18.8048
2C51.5194 18.8048 51.1058 18.9593 50.7363 19.2638C50.3659 19.571 50.1237 19.9721 50.0103 20.4688C49.9532 20.7005 49.9246 20.8901 49.9246 21.0393V22.4435C49.9246 23.0561 50.1098 23.573 50.4802 23.9952C50.8505 24.4173 51.3316 24.628 51.9235 24.628C52.6183 24.628 53.1591 24.3559 53.5459 23.8135C53.9336 23.2703 54.1274 22.5541 54.1274 21.6642Z",fill:s.fill},null,8,xt),n("path",{d:"M65.5572 21.5959C65.5572 23.0282 65.1756 24.1604 64.4116 24.9915C63.7288 25.7314 62.88 26.1009 61.8667 26.1009C60.773 26.1009 59.9873 25.7024 59.5097 24.9055H59.4751V29.342H57.6303V20.261C57.6303 19.3606 57.6069 18.4364 57.5619 17.4885H59.1843L59.2873 18.8234H59.3219C59.9363 17.8177 60.8699 17.3156 62.1237 17.3156C63.1024 17.3156 63.9201 17.7079 64.576 18.4934C65.2293 19.2798 65.5572 20.3137 65.5572 21.5959ZM63.6778 21.6644C63.6778 20.8447 63.4952 20.1689 63.1301 19.637C62.7312 19.0823 62.1973 18.805 61.5249 18.805C61.0689 18.805 60.6562 18.9595 60.2858 19.264C59.9155 19.5712 59.6741 19.9723 59.5607 20.469C59.5045 20.7007 59.4751 20.8903 59.4751 21.0395V22.4437C59.4751 23.0563 59.6602 23.5733 60.0288 23.9954C60.3992 24.4167 60.8803 24.6282 61.4739 24.6282C62.1687 24.6282 62.7095 24.3561 63.0963 23.8137C63.484 23.2705 63.6778 22.5543 63.6778 21.6644Z",fill:s.fill},null,8,Zt),n("path",{d:"M76.2351 22.635C76.2351 23.6285 75.895 24.4368 75.2123 25.0608C74.4621 25.7428 73.4177 26.0833 72.0756 26.0833C70.8365 26.0833 69.8431 25.8411 69.0912 25.3557L69.5186 23.7962C70.3286 24.2929 71.2172 24.5422 72.1855 24.5422C72.8803 24.5422 73.4211 24.3824 73.8096 24.0647C74.1964 23.747 74.3894 23.3205 74.3894 22.7886C74.3894 22.3147 74.2302 21.9154 73.9109 21.5915C73.5933 21.2677 73.0629 20.9666 72.3222 20.6884C70.3061 19.9257 69.2989 18.8085 69.2989 17.3393C69.2989 16.3792 69.6519 15.5919 70.3588 14.9793C71.0632 14.3659 72.0029 14.0596 73.178 14.0596C74.2258 14.0596 75.0963 14.2448 75.7912 14.6142L75.33 16.1396C74.681 15.7815 73.9472 15.6025 73.1261 15.6025C72.4771 15.6025 71.97 15.7648 71.6066 16.0878C71.2994 16.3766 71.1454 16.7285 71.1454 17.1454C71.1454 17.607 71.321 17.9888 71.6741 18.2889C71.9813 18.5663 72.5394 18.8664 73.3493 19.1903C74.3401 19.5949 75.0678 20.0679 75.5359 20.6103C76.0023 21.1509 76.2351 21.8276 76.2351 22.635Z",fill:s.fill},null,8,Wt),n("path",{d:"M82.3345 18.8923H80.301V22.9813C80.301 24.0213 80.6593 24.5408 81.3775 24.5408C81.7072 24.5408 81.9806 24.5119 82.1969 24.454L82.248 25.8749C81.8845 26.0127 81.406 26.082 80.8133 26.082C80.0847 26.082 79.5154 25.8564 79.1043 25.4062C78.6951 24.9551 78.4891 24.1986 78.4891 23.1357V18.8906H77.2777V17.4863H78.4891V15.9443L80.301 15.3896V17.4863H82.3345V18.8923Z",fill:s.fill},null,8,Ft),n("path",{d:"M91.5092 21.6302C91.5092 22.9247 91.1441 23.9875 90.4155 24.8186C89.6515 25.6743 88.6373 26.1009 87.3731 26.1009C86.1548 26.1009 85.1848 25.691 84.4614 24.8713C83.738 24.0516 83.3763 23.0168 83.3763 21.7697C83.3763 20.4646 83.7484 19.3957 84.4952 18.5645C85.2402 17.7325 86.2457 17.3165 87.5099 17.3165C88.7282 17.3165 89.7086 17.7264 90.4484 18.547C91.1562 19.343 91.5092 20.3707 91.5092 21.6302ZM89.5952 21.6907C89.5952 20.914 89.4317 20.2479 89.1003 19.6923C88.7135 19.02 88.1606 18.6848 87.4441 18.6848C86.7025 18.6848 86.1392 19.0209 85.7524 19.6923C85.421 20.2487 85.2575 20.9254 85.2575 21.7258C85.2575 22.5025 85.421 23.1687 85.7524 23.7233C86.1513 24.3956 86.7086 24.7309 87.4277 24.7309C88.132 24.7309 88.6849 24.3886 89.0838 23.7058C89.4239 23.1397 89.5952 22.4665 89.5952 21.6907Z",fill:s.fill},null,8,Yt),n("path",{d:"M97.5053 19.1339C97.3227 19.0997 97.128 19.0821 96.9238 19.0821C96.2749 19.0821 95.773 19.3305 95.4199 19.8281C95.1128 20.2669 94.9587 20.8216 94.9587 21.4913V25.9102H93.1148L93.1321 20.1406C93.1321 19.1699 93.1087 18.2861 93.0629 17.4892H94.6697L94.7372 19.1006H94.7883C94.983 18.5468 95.2901 18.1009 95.7107 17.7665C96.1217 17.4655 96.5656 17.3154 97.0441 17.3154C97.2146 17.3154 97.3686 17.3277 97.5053 17.3497V19.1339Z",fill:s.fill},null,8,Kt),n("path",{d:"M105.756 21.301C105.756 21.6362 105.735 21.9189 105.689 22.1497H100.154C100.176 22.9817 100.443 23.618 100.957 24.0568C101.424 24.4491 102.027 24.6457 102.767 24.6457C103.587 24.6457 104.335 24.5132 105.007 24.2472L105.296 25.5462C104.51 25.8937 103.583 26.0666 102.512 26.0666C101.225 26.0666 100.214 25.6822 99.4785 24.9143C98.7447 24.1463 98.377 23.1151 98.377 21.8214C98.377 20.5515 98.7187 19.4939 99.4032 18.6505C100.12 17.75 101.088 17.2998 102.306 17.2998C103.503 17.2998 104.409 17.75 105.024 18.6505C105.511 19.3658 105.756 20.2504 105.756 21.301ZM103.997 20.8156C104.009 20.261 103.889 19.7818 103.639 19.3772C103.32 18.8567 102.829 18.597 102.169 18.597C101.566 18.597 101.075 18.8506 100.7 19.3596C100.393 19.7642 100.211 20.2496 100.154 20.8148H103.997V20.8156Z",fill:s.fill},null,8,jt),n("text",{x:"38",y:"10",class:"download-text",fill:s.fill},_(s.text),9,Qt)])}const qt=G(Nt,[["render",Xt],["__scopeId","data-v-e7fea79b"]]),Jt=D({name:"GButtonSelect",components:{GInput:Mt,ArrowBaseIcon:ye},directives:{clickOutside:Tt.directive},emits:["onClick","update:modelValue","onShow","onSelect"],props:{modelValue:{type:String,required:!1},hint:{type:String,default:""},isHideArrow:{type:Boolean,default:!1},options:{type:Array,required:!0},showOnHover:{type:Boolean},fieldNames:{type:Object,default:()=>({label:"label",value:"value"})},blockView:{type:Boolean},showSearch:{type:Boolean},dropdownMarginTop:{type:String,default:"unset"},dropdownMarginLeft:{type:String,default:"unset"},placeholder:{type:String,default:"ÐоиÑк"},notFoundMessage:{type:String,default:"Ðо ваÑÐµÐ¼Ñ Ð·Ð°Ð¿ÑоÑÑ Ð½Ð¸Ñего не найдено"},isRedefine:{type:Boolean}},data(){return{showDropdown:!1,highlightedIndex:null,value:"",input:"",isScroll:!1}},setup(){const e=ee(null),t=ee(null);return{optionsList:e,selectButton:t}},computed:{LoupeIcon(){return kt},Side(){return q},cssVars(){return{"--dropdown-margin-top":this.dropdownMarginTop,"--dropdown-margin-left":this.dropdownMarginLeft,"--city-dropdown-max-height":this.showSearch?"497px":"553px","--city-dropdown-columns-count":this.showSearch?"3":"unset"}},filteredOptions(){var e;if(this.input){const t=new RegExp(`^${this.input}`,"i");return(e=this.options)==null?void 0:e.filter(s=>t.test(s.label))}else return this.options}},methods:{inputHandler(e){const t=e.target;this.input=t?.value},highlight(e){this.highlightedIndex=e,this.highlightedIndex<0&&(this.highlightedIndex=this.options.length-1),this.highlightedIndex>this.options.length-1&&(this.highlightedIndex=0),this.scrollToHighlighted()},highlightNext(){this.options.length&&this.highlight(this.highlightedIndex?this.highlightedIndex+1:1)},highlightPrev(){this.highlight(this.highlightedIndex?this.highlightedIndex-1:1)},selectHighlighted(){this.options.length&&this.highlightedIndex&&this.selectHandler(this.options[this.highlightedIndex])},scrollToHighlighted(){var e;this.showDropdown&&((e=this.optionsList)==null||e.children[this.highlightedIndex||0].scrollIntoView({block:"nearest"}))},closeHandler(){this.showDropdown=!1,this.highlightedIndex=null,document.removeEventListener("click",this.closeHandler),this.isScroll=!1},showHandler(){this.$emit("onClick"),this.showDropdown=!this.showDropdown,document.addEventListener("click",this.closeHandler),this.$nextTick(()=>{this.showDropdown&&this.$refs.dropdown instanceof HTMLElement&&(this.isScroll=this.$refs.dropdown.scrollHeight>this.$refs.dropdown.clientHeight)})},hoverShowHandler(){var e;this.showOnHover&&((e=this.selectButton)==null||e.focus(),this.showDropdown=!this.showDropdown,this.$emit("onShow",this.showDropdown))},selectHandler(e){const t=e[this.fieldNames.value].toString();this.$emit("update:modelValue",t),this.$emit("onSelect",e,t),this.showSearch&&(this.input=e[this.fieldNames.label].toString()),this.closeHandler()},onMouseleave(){var e;this.showDropdown||(e=this.selectButton)==null||e.blur()}},watch:{modelValue:{handler(e){var t;const s=(t=this.options)==null?void 0:t.find(a=>a[this.fieldNames.value]===e);s?this.value=s[this.fieldNames.label]:this.value=e},immediate:!0,deep:!0}}}),eo={class:"g-button-select__content"},to={class:"g-button-select__content-top"},oo={class:"g-button-select__value"},so={key:0,class:"g-button-select__hint"},no={ref:"optionsList",class:"g-button-select__list"},io=["data-testid","onClick"],ro={class:"option"},ao={key:0,class:"option__marker"},lo={class:"option-text"},co={key:0,class:"dropdown__no-results-message"};function uo(e,t,s,a,r,o){const l=p("ArrowBaseIcon"),m=p("GInput"),h=Ve("click-outside");return x((i(),d("div",{style:ze(e.cssVars),class:"g-button-select",onMouseenter:t[7]||(t[7]=P((...c)=>e.hoverShowHandler&&e.hoverShowHandler(...c),["prevent"])),onMouseleave:t[8]||(t[8]=P((...c)=>e.hoverShowHandler&&e.hoverShowHandler(...c),["prevent"])),onClick:t[9]||(t[9]=P(()=>{},["stop"]))},[n("button",{ref:"selectButton",class:w(["g-button-select__button",{isRedefine:"g-button-select__button-default"}]),onClick:t[0]||(t[0]=P((...c)=>e.showHandler&&e.showHandler(...c),["prevent"])),onMouseleave:t[1]||(t[1]=P((...c)=>e.onMouseleave&&e.onMouseleave(...c),["prevent"])),onKeydown:[t[2]||(t[2]=pe(P((...c)=>e.highlightNext&&e.highlightNext(...c),["prevent"]),["down"])),t[3]||(t[3]=pe(P((...c)=>e.closeHandler&&e.closeHandler(...c),["prevent"]),["esc"])),t[4]||(t[4]=pe(P((...c)=>e.highlightPrev&&e.highlightPrev(...c),["prevent"]),["up"])),t[5]||(t[5]=pe(P((...c)=>e.selectHighlighted&&e.selectHighlighted(...c),["prevent"]),["enter"]))]},[n("span",eo,[n("span",to,[he(e.$slots,"default",{},()=>[n("span",oo,_(e.value),1)],!0),e.isHideArrow?g("",!0):(i(),S(l,{key:0,fill:"var(--color-primary)",class:w({"g-button-select__rotate-arrow":e.showDropdown}),rotate:e.Side.DOWN},null,8,["class","rotate"]))]),e.hint?(i(),d("span",so,_(e.hint),1)):g("",!0)])],544),e.showDropdown&&e.options.length>1?(i(),d("div",{key:0,class:w(["g-button-select__dropdown",{"g-button-select__dropdown-block":e.blockView}])},[e.showSearch?(i(),S(m,{key:0,modelValue:e.input,"onUpdate:modelValue":t[6]||(t[6]=c=>e.input=c),placeholder:e.placeholder,"allow-clear":"","without-star":"","icon-left":e.LoupeIcon,onClear:e.inputHandler,onInput:e.inputHandler},null,8,["modelValue","placeholder","icon-left","onClear","onInput"])):g("",!0),n("div",{ref:"dropdown",class:w(["g-button-select__dropdown-content",{"g-button-select__dropdown-content-scroll":e.isScroll}])},[x(n("ul",no,[(i(!0),d(z,null,F(e.filteredOptions,(c,C)=>(i(),d("li",{key:c.id,class:w(["g-button-select__item",{"g-button-select__item_active":C===e.highlightedIndex}])},[n("button",{class:w(["g-button-select__item-button",{"g-button-select__item-button_active":c[e.fieldNames.value].toString()===e.modelValue}]),"data-testid":c.id,onClick:P(A=>e.selectHandler(c),["prevent"])},[he(e.$slots,"option",{option:c},()=>[n("span",ro,[c.marker?(i(),d("span",ao,_(c.marker),1)):g("",!0),n("span",lo,_(c.label),1)])],!0)],10,io)],2))),128))],512),[[j,e.filteredOptions.length]]),e.filteredOptions.length?g("",!0):(i(),d("p",co,_(e.notFoundMessage),1))],2)],2)):g("",!0)],36)),[[h,e.closeHandler]])}const Ye=G(Jt,[["render",uo],["__scopeId","data-v-802daeb7"]]),_o=D({name:"GooglePlayIcon",props:{fill:{type:String,default:"var(--mono-100)"},text:{type:String,default:"ÐагÑÑзиÑÑ Ð²"}}}),po={width:"111",height:"28",viewBox:"0 0 111 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mo=["fill"],ho=["fill"];function fo(e,t,s,a,r,o){return i(),d("svg",po,[t[0]||(t[0]=n("path",{d:"M1.05994 0.426849C0.748598 0.757412 0.56842 1.27207 0.56842 1.93857V25.7122C0.56842 26.3787 0.748598 26.8934 1.05994 27.2239L1.13678 27.2965L14.2712 13.9799V13.6655L1.13678 0.348913L1.05994 0.426849Z",fill:"url(#paint0_linear_9557_1645)"},null,-1)),t[1]||(t[1]=n("path",{d:"M18.6444 18.4214L14.2711 13.9804V13.6659L18.6497 9.22482L18.7477 9.28261L23.9331 12.2751C25.413 13.1244 25.413 14.5219 23.9331 15.3765L18.7477 18.3637L18.6444 18.4214V18.4214Z",fill:"url(#paint1_linear_9557_1645)"},null,-1)),t[2]||(t[2]=n("path",{d:"M18.7476 18.3632L14.2709 13.8227L1.05963 27.2239C1.55115 27.748 2.35267 27.8111 3.26416 27.2871L18.7476 18.3632",fill:"url(#paint2_linear_9557_1645)"},null,-1)),t[3]||(t[3]=n("path",{d:"M18.7476 9.28216L3.26416 0.358321C2.35267 -0.160366 1.55115 -0.0972117 1.05963 0.426851L14.2709 13.8227L18.7476 9.28216Z",fill:"url(#paint3_linear_9557_1645)"},null,-1)),n("text",{x:"38",y:"8",class:"download-text",fill:e.fill},_(e.text),9,mo),n("path",{d:"M61.3586 16.4603C59.3579 16.4603 57.7234 18.0047 57.7234 20.1355C57.7234 22.249 59.3579 23.8096 61.3586 23.8096C63.3636 23.8096 64.998 22.249 64.998 20.1355C64.998 18.0047 63.3636 16.4603 61.3586 16.4603ZM61.3586 22.3624C60.2608 22.3624 59.3164 21.4434 59.3164 20.1355C59.3164 18.8104 60.2608 17.9075 61.3586 17.9075C62.4564 17.9075 63.4051 18.8104 63.4051 20.1355C63.4051 21.4434 62.4564 22.3624 61.3586 22.3624V22.3624ZM53.427 16.4603C51.4221 16.4603 49.7919 18.0047 49.7919 20.1355C49.7919 22.249 51.4221 23.8096 53.427 23.8096C55.431 23.8096 57.0622 22.249 57.0622 20.1355C57.0622 18.0047 55.431 16.4603 53.427 16.4603ZM53.427 22.3624C52.3282 22.3624 51.3805 21.4434 51.3805 20.1355C51.3805 18.8104 52.3282 17.9075 53.427 17.9075C54.5248 17.9075 55.4693 18.8104 55.4693 20.1355C55.4693 21.4434 54.5248 22.3624 53.427 22.3624ZM43.9888 17.5868V19.1484H47.6655C47.558 20.021 47.2705 20.6625 46.8297 21.1097C46.293 21.6496 45.4571 22.249 43.9888 22.249C41.7261 22.249 39.9543 20.3969 39.9543 18.1019C39.9543 15.807 41.7261 13.9548 43.9888 13.9548C45.2122 13.9548 46.1024 14.4397 46.7594 15.0682L47.8444 13.9677C46.9255 13.0778 45.7031 12.3942 43.9888 12.3942C40.886 12.3942 38.2784 14.9548 38.2784 18.1019C38.2784 21.249 40.886 23.8096 43.9888 23.8096C45.6658 23.8096 46.9255 23.2523 47.9157 22.2069C48.9305 21.1777 49.2467 19.7305 49.2467 18.562C49.2467 18.1991 49.2169 17.8654 49.1637 17.5868H43.9888ZM82.5829 18.7974C82.2837 17.9756 81.3606 16.4603 79.4802 16.4603C77.6168 16.4603 76.0654 17.9496 76.0654 20.1355C76.0654 22.194 77.6008 23.8096 79.659 23.8096C81.3233 23.8096 82.2837 22.7804 82.6788 22.181L81.4436 21.3462C81.0315 21.9574 80.4704 22.3624 79.659 22.3624C78.853 22.3624 78.2748 21.987
27 77.9043 21.249L82.7501 19.2154L82.5829 18.7974V18.7974ZM77.6423 20.021C77.6008 18.6041 78.7274 17.8784 79.5345 17.8784C80.1669 17.8784 80.7036 18.1991 80.8825 18.6581L77.6423 20.021V20.021ZM73.7037 23.5861H75.2966V12.7862H73.7037V23.5861ZM71.095 17.279H71.0417C70.684 16.8491 70.0015 16.4603 69.1369 16.4603C67.3225 16.4603 65.6635 18.076 65.6635 20.1474C65.6635 22.2069 67.3225 23.8096 69.1369 23.8096C70.0015 23.8096 70.684 23.4176 71.0417 22.9748H71.095V23.5018C71.095 24.9069 70.355 25.6618 69.1613 25.6618C68.1881 25.6618 67.5844 24.949 67.3352 24.3496L65.95 24.936C66.3493 25.9102 67.4066 27.1089 69.1613 27.1089C71.029 27.1089 72.6049 25.9944 72.6049 23.2826V16.6839H71.095V17.279V17.279ZM69.2731 22.3624C68.1754 22.3624 67.2564 21.4304 67.2564 20.1474C67.2564 18.8525 68.1754 17.9075 69.2731 17.9075C70.355 17.9075 71.2079 18.8525 71.2079 20.1474C71.2079 21.4304 70.355 22.3624 69.2731 22.3624V22.3624ZM90.0407 12.7862H86.2309V23.5861H87.8195V19.494H90.0407C91.805 19.494 93.5353 18.1991 93.5353 16.1396C93.5353 14.0811 91.8008 12.7862 90.0407 12.7862V12.7862ZM90.0822 17.9918H87.8195V14.2885H90.0822C91.2684 14.2885 91.9456 15.2875 91.9456 16.1396C91.9456 16.9755 91.2684 17.9918 90.0822 17.9918ZM99.9027 16.4398C98.7549 16.4398 97.5612 16.9539 97.0704 18.0933L98.4801 18.6927C98.7836 18.0933 99.3416 17.8989 99.9314 17.8989C100.756 17.8989 101.591 18.4011 101.604 19.2877V19.4011C101.317 19.2326 100.701 18.9832 99.9442 18.9832C98.4258 18.9832 96.8787 19.831 96.8787 21.4131C96.8787 22.8603 98.1224 23.7923 99.5204 23.7923C100.589 23.7923 101.179 23.3031 101.55 22.7339H101.604V23.5688H103.139V19.426C103.139 17.5112 101.729 16.4398 99.9027 16.4398ZM99.711 22.3581C99.1914 22.3581 98.4674 22.0968 98.4674 21.4434C98.4674 20.6075 99.3703 20.2867 100.152 20.2867C100.851 20.2867 101.179 20.4433 101.604 20.6496C101.48 21.6496 100.631 22.3581 99.711 22.3581V22.3581ZM108.729 16.6763L106.903 21.3581H106.848L104.96 16.6763H103.247L106.084 23.2189L104.465 26.8595H106.125L110.496 16.6763H108.729V16.6763ZM94.4084 23.5861H96.0013V12.7862H94.4084V23.5861Z",fill:e.fill},null,8,ho),t[4]||(t[4]=Qe('<defs data-v-89def15e><linearGradient id="paint0_linear_9557_1645" x1="13.1051" y1="25.9598" x2="-4.93421" y2="8.17436" gradientUnits="userSpaceOnUse" data-v-89def15e><stop stop-color="#00A0FF" data-v-89def15e></stop><stop offset="0.0066" stop-color="#00A1FF" data-v-89def15e></stop><stop offset="0.2601" stop-color="#00BEFF" data-v-89def15e></stop><stop offset="0.5122" stop-color="#00D2FF" data-v-89def15e></stop><stop offset="0.7604" stop-color="#00DFFF" data-v-89def15e></stop><stop offset="1" stop-color="#00E3FF" data-v-89def15e></stop></linearGradient><linearGradient id="paint1_linear_9557_1645" x1="25.8601" y1="13.8216" x2="0.214504" y2="13.8216" gradientUnits="userSpaceOnUse" data-v-89def15e><stop stop-color="#FFE000" data-v-89def15e></stop><stop offset="0.4087" stop-color="#FFBD00" data-v-89def15e></stop><stop offset="0.7754" stop-color="#FFA500" data-v-89def15e></stop><stop offset="1" stop-color="#FF9C00" data-v-89def15e></stop></linearGradient><linearGradient id="paint2_linear_9557_1645" x1="16.3133" y1="11.3544" x2="-8.1494" y2="-12.7641" gradientUnits="userSpaceOnUse" data-v-89def15e><stop stop-color="#FF3A44" data-v-89def15e></stop><stop offset="1" stop-color="#C31162" data-v-89def15e></stop></linearGradient><linearGradient id="paint3_linear_9557_1645" x1="-2.26593" y1="35.1333" x2="8.65777" y2="24.3634" gradientUnits="userSpaceOnUse" data-v-89def15e><stop stop-color="#32A071" data-v-89def15e></stop><stop offset="0.0685" stop-color="#2DA771" data-v-89def15e></stop><stop offset="0.4762" stop-color="#15CF74" data-v-89def15e></stop><stop offset="0.8009" stop-color="#06E775" data-v-89def15e></stop><stop offset="1" stop-color="#00F076" data-v-89def15e></stop></linearGradient></defs>',1))])}const go=G(_o,[["render",fo],["__scopeId","data-v-89def15e"]]),Co=D({name:"InstagramIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),vo=["fill"],So=["fill"];function yo(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{d:"M7.99967 10.3333C9.28834 10.3333 10.333 9.28867 10.333 8C10.333 6.71134 9.28834 5.66667 7.99967 5.66667C6.71101 5.66667 5.66634 6.71134 5.66634 8C5.66634 9.28867 6.71101 10.3333 7.99967 10.3333Z",fill:e.fill},null,8,vo),n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.96962 2.70738C1.33301 3.5836 1.33301 4.83351 1.33301 7.33334V8.66667C1.33301 11.1665 1.33301 12.4164 1.96962 13.2926C2.17522 13.5756 2.42407 13.8245 2.70706 14.0301C3.58328 14.6667 4.83319 14.6667 7.33301 14.6667H8.66634C11.1662 14.6667 12.4161 14.6667 13.2923 14.0301C13.5753 13.8245 13.8241 13.5756 14.0297 13.2926C14.6663 12.4164 14.6663 11.1665 14.6663 8.66667V7.33334C14.6663 4.83351 14.6663 3.5836 14.0297 2.70738C13.8241 2.4244 13.5753 2.17554 13.2923 1.96995C12.4161 1.33334 11.1662 1.33334 8.66634 1.33334H7.33301C4.83319 1.33334 3.58328 1.33334 2.70706 1.96995C2.42407 2.17554 2.17522 2.4244 1.96962 2.70738ZM12.833 3.66667C12.833 4.12691 12.4599 4.5 11.9997 4.5C11.5394 4.5 11.1663 4.12691 11.1663 3.66667C11.1663 3.20643 11.5394 2.83334 11.9997 2.83334C12.4599 2.83334 12.833 3.20643 12.833 3.66667ZM7.99967 12C10.2088 12 11.9997 10.2091 11.9997 8C11.9997 5.79086 10.2088 4 7.99967 4C5.79054 4 3.99967 5.79086 3.99967 8C3.99967 10.2091 5.79054 12 7.99967 12Z",fill:e.fill},null,8,So)]),_:1},8,["size"])}const Io=G(Co,[["render",yo]]),Lo=D({name:"MaxIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),Ao=["fill"];function bo(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>
2[n("path",{d:"M7.82384 0.0113973C2.99513 0.263712 -0.192367 4.05075 0.00902222 8.82621C0.0969852 10.9165 0.937263 12.7151 1.13634 14.6989C1.18726 15.2128 1.03911 15.847 1.63171 16.0716C2.36087 16.347 3.47893 15.8841 4.09004 15.4605C4.29837 15.3193 4.49745 15.1549 4.65023 14.9512C5.28217 15.3702 5.88171 15.7753 6.63402 15.9558C9.94652 16.7498 13.5762 14.9327 15.1896 12.0137C18.222 6.52991 14.1224 -0.317306 7.82384 0.0113973ZM5.94884 11.4558C5.68726 11.6595 5.43495 11.9373 5.1456 12.097C4.72661 12.3216 4.59699 12.0878 4.43958 11.7174C3.94421 10.5392 3.88402 8.53223 4.17337 7.29843C4.56226 5.62019 5.86088 4.14334 7.6456 3.98593C9.45115 3.82621 11.1271 4.74288 11.884 6.39797C13.5599 10.0808 9.2706 13.7174 5.94884 11.4582V11.4558Z",fill:e.fill},null,8,Ao)]),_:1},8,["size"])}const To=G(Lo,[["render",bo]]),Mo=D({name:"OdnoklassnikiIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),ko=["fill"],Po=["fill"];function wo(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.05336 1.33334C6.14512 1.33334 4.59822 2.88028 4.59822 4.78848C4.59822 6.69672 6.14512 8.24377 8.05336 8.24377C9.96161 8.24377 11.5085 6.69672 11.5085 4.78848C11.5085 2.88028 9.96161 1.33334 8.05336 1.33334ZM8.05336 6.21686C7.26456 6.21686 6.62509 5.57733 6.62509 4.78853C6.62509 3.99973 7.26456 3.36025 8.05336 3.36025C8.84217 3.36025 9.48164 3.99973 9.48164 4.78853C9.48164 5.57733 8.84217 6.21686 8.05336 6.21686Z",fill:e.fill},null,8,ko),n("path",{d:"M9.27316 10.993C10.6564 10.7112 11.4853 10.0562 11.5292 10.021C11.9339 9.69642 11.9989 9.10515 11.6743 8.70035C11.3498 8.29559 10.7585 8.23056 10.3537 8.55512C10.3451 8.56205 9.46123 9.2401 8.00686 9.24123C8.00674 9.24122 8.00658 9.24122 8.00641 9.24121C8.007 9.24119 8.00759 9.24121 8.00641 9.24121C8.0054 9.24121 8.00571 9.24119 8.00618 9.2412C8.00626 9.2412 8.00633 9.24121 8.00641 9.24121C8.00625 9.24122 8.00609 9.24122 8.00597 9.24123C6.55165 9.2401 5.64906 8.56205 5.6405 8.55512C5.23565 8.23056 4.64443 8.29559 4.31987 8.70035C3.99526 9.10515 4.06028 9.69642 4.46504 10.021C4.50949 10.0567 5.37261 10.7288 6.79461 11.004L4.81279 13.0751C4.45263 13.4486 4.46346 14.0434 4.83697 14.4035C5.01927 14.5793 5.25424 14.6667 5.489 14.6667C5.73514 14.6667 5.98104 14.5705 6.16537 14.3793L8.00647 12.418L10.0335 14.392C10.4008 14.7587 10.9955 14.7581 11.3621 14.391C11.7287 14.0238 11.7283 13.429 11.3611 13.0624L9.27316 10.993Z",fill:e.fill},null,8,Po)]),_:1},8,["size"])}const Oo=G(Mo,[["render",wo]]),Eo=D({name:"PickUpIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),$o=["fill"],Do=["fill"];function Ho(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{d:"M12.1663 6.66669C12.1663 6.20645 11.7932 5.83336 11.333 5.83336C10.8728 5.83336 10.4997 6.20645 10.4997 6.66669C10.4997 7.32973 10.2363 7.96562 9.76744 8.43446C9.2986 8.9033 8.66272 9.16669 7.99967 9.16669C7.33663 9.16669 6.70075 8.9033 6.23191 8.43446C5.76307 7.96562 5.49967 7.32973 5.49967 6.66669C5.49967 6.20645 5.12658 5.83336 4.66634 5.83336C4.2061 5.83336 3.83301 6.20645 3.83301 6.66669C3.83301 7.77176 4.27199 8.83157 5.0534 9.61297C5.8348 10.3944 6.89461 10.8334 7.99967 10.8334C9.10474 10.8334 10.1646 10.3944 10.946 9.61297C11.7274 8.83157 12.1663 7.77176 12.1663 6.66669Z",fill:e.fill},null,8,$o),n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.91635 2.80148L6.46317 1.53784C6.14961 1.26518 5.6831 1.26518 5.36954 1.53784L4.01199 2.71832L2.72691 1.55007C2.38636 1.24048 1.85932 1.26557 1.54973 1.60612C1.44502 1.7213 1.3786 1.85781 1.34972 2.00002H1.33301V12.6667C1.33301 13.8633 2.30306 14.8334 3.49967 14.8334H12.4997C13.6963 14.8334 14.6663 13.8633 14.6663 12.6667V2.00002H14.6496C14.6208 1.85781 14.5543 1.7213 14.4496 1.60612C14.14 1.26557 13.613 1.24048 13.2725 1.55007L12.3558 2.3834L11.9059 2.79239L10.4632 1.53784C10.1496 1.26518 9.6831 1.26518 9.36954 1.53784L7.91635 2.80148ZM4.55449 4.45524C4.49123 4.51181 4.42116 4.55714 4.34699 4.59109C4.23
2687 4.64163 4.11852 4.66663 4.00049 4.66669C3.87159 4.66685 3.74239 4.63728 3.62404 4.57745C3.55521 4.54274 3.49038 4.49798 3.43182 4.44333L2.99967 4.05047V12.6667C2.99967 12.9428 3.22353 13.1667 3.49967 13.1667H12.4997C12.7758 13.1667 12.9997 12.9428 12.9997 12.6667V4.05048L12.5602 4.44997C12.3783 4.61537 12.1431 4.68524 11.9163 4.66251C11.6957 4.68462 11.4667 4.61917 11.2862 4.46218L9.91635 3.27101L8.5465 4.46218C8.36595 4.61918 8.13701 4.68464 7.91635 4.6625C7.6957 4.68464 7.46675 4.61918 7.2862 4.46218L5.91635 3.27101L4.55449 4.45524Z",fill:e.fill},null,8,Do)]),_:1},8,["size"])}const Ro=G(Eo,[["render",Ho]]),Bo=D({name:"TelegramIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),No=["fill"];function Vo(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.2496 7.48556C5.82874 5.91753 8.21539 4.88378 9.40955 4.38433C12.8191 2.95829 13.5276 2.71057 13.9894 2.70239C14.091 2.70059 14.3181 2.7259 14.4651 2.84592C14.5894 2.94727 14.6235 3.08417 14.6399 3.18026C14.6562 3.27635 14.6766 3.49524 14.6604 3.66627C14.4756 5.61841 13.6762 10.3557 13.2694 12.5422C13.0973 13.4673 12.7585 13.7775 12.4304 13.8079C11.7174 13.8739 11.176 13.3341 10.4855 12.8789C9.40488 12.1667 8.79442 11.7233 7.74553 11.0282C6.53336 10.225 7.31916 9.78351 8.00997 9.06202C8.19076 8.8732 11.3322 5.99999 11.393 5.73935C11.4006 5.70675 11.4076 5.58524 11.3358 5.52108C11.264 5.45692 11.1581 5.47886 11.0816 5.49631C10.9732 5.52104 9.24701 6.66836 5.90292 8.93826C5.41293 9.27659 4.96912 9.44143 4.57147 9.4328C4.13311 9.42327 3.28986 9.18356 2.66299 8.97866C1.89411 8.72734 1.28303 8.59446 1.33624 8.16764C1.36395 7.94533 1.66841 7.71797 2.2496 7.48556Z",fill:e.fill},null,8,No)]),_:1},8,["size"])}const zo=G(Bo,[["render",Vo]]),Go=D({name:"UserIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),Uo=["fill"],xo=["fill"];function Zo(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.3332 4.66668C11.3332 6.50763 9.84079 8.00001 7.99984 8.00001C6.15889 8.00001 4.6665 6.50763 4.6665 4.66668C4.6665 2.82573 6.15889 1.33334 7.99984 1.33334C9.84079 1.33334 11.3332 2.82573 11.3332 4.66668ZM9.6665 4.66668C9.6665 5.58715 8.92031 6.33334 7.99984 6.33334C7.07936 6.33334 6.33317 5.58715 6.33317 4.66668C6.33317 3.7462 7.07936 3.00001 7.99984 3.00001C8.92031 3.00001 9.6665 3.7462 9.6665 4.66668Z",fill:e.fill},null,8,Uo),n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.45544 8.66784L7.45462 8.66784C6.81334 8.6657 6.2 8.66365 5.64744 8.68961C4.93885 8.72291 4.25011 8.80409 3.63933 9.02407C3.00646 9.25202 2.45474 9.63012 2.04717 10.2364C1.6511 10.8256 1.43327 11.5678 1.34209 12.4574L1.34201 12.4582C1.28497 13.0202 1.54253 13.5118 1.78238 13.8204C1.9115 13.9866 2.06423 14.1382 2.22958 14.2593C2.38249 14.3714 2.60468 14.5005 2.87159 14.542C2.88105 14.5435 2.89068 14.5448 2.90018 14.546L2.93052 14.5495C2.94949 14.5517 2.97714 14.5549 3.01295 14.5589C3.08458 14.5669 3.18893 14.5782 3.32209 14.5917C3.58833 14.6187 3.97013 14.6545 4.43606 14.6902C5.36664 14.7616 6.63897 14.8334 7.99983 14.8334C10.6839 14.8334 11.0609 14.833 13.116 14.5438L13.1281 14.542C13.395 14.5004 13.6172 14.3714 13.7701 14.2593C13.9354 14.1382 14.0882 13.9866 14.2173 13.8205C14.4571 13.5119 14.7148 13.0203 14.6577 12.4582L14.6577 12.4574C14.5665 11.5678 14.3486 10.8256 13.9526 10.2364C13.545 9.63012 12.9933 9.25202 12.3604 9.02407C11.7496 8.80409 11.0609 8.72291 10.3523 8.68961C9.79975 8.66365 9.1864 8.6657 8.54513 8.66784L8.5443 8.66784C8.36477 8.66844 8.18306 8.66905 7.99987 8.66905C7.81669 8.66905 7.63497 8.66844 7.45544 8.66784ZM4.5636 13.0284C4.11286 12.9938 3.74466 12.9593 3.49007 12.9335C3.26386 12.9106 3.05342 12.8885 3.0013 12.6155C3.07661 11.8931 3.2402 11.4491 3.43035 11.1662C3.61003 10.8989 3.85066 10.7194 4.2041 10.5921C4.57963 10.4569 5.07117 10.3852 5.72567 10.3544C6.23226 10.3306 6.78851 10.3324 7.42111 10.3345C7.60714 10.3351 7.79996 10.3357 7.99987 10.3357C8.19979 10.3357 8.39242 10.3351 8.57845 10.3345C9.21104 10.3324 9.76748 10.3306 10.2741 10.3544C10.9286 10.3852 11.4201 10.4569 11.7956 10.5921C12.1491 10.7194 12.3897 10.8989 12.5694 11.1662C12.7595 11.4491 12.9231 11.8931 12.9984 12.6155C12.9335 12.9551 12.5256 12.9784 12.2033 12.9968C12.1292 13.0011 12.0597 13.0051 11.9998 13.0126C10.7693 13.1667 10.
21914 13.1667 8.01077 13.1667H7.99983C6.69402 13.1667 5.46636 13.0977 4.5636 13.0284Z",fill:e.fill},null,8,xo)]),_:1},8,["size"])}const Wo=G(Go,[["render",Zo]]),Fo=D({name:"VkIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),Yo=["fill"];function Ko(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.84297 12.3322H8.71961C8.71961 12.3322 8.98435 12.303 9.11972 12.1573C9.24413 12.0235 9.24016 11.7723 9.24016 11.7723C9.24016 11.7723 9.22301 10.596 9.76886 10.4228C10.3072 10.252 10.9982 11.5596 11.7307 12.0624C12.2846 12.4428 12.7055 12.3595 12.7055 12.3595L14.6642 12.3322C14.6642 12.3322 15.6887 12.269 15.2029 11.4634C15.1631 11.3976 14.9199 10.8675 13.7465 9.77837C12.5183 8.63844 12.6829 8.82287 14.1623 6.85107C15.0633 5.65024 15.4234 4.91718 15.3109 4.60322C15.2037 4.30408 14.541 4.3831 14.541 4.3831L12.3357 4.39674C12.3357 4.39674 12.1721 4.37448 12.0509 4.44699C11.9324 4.5179 11.8563 4.68358 11.8563 4.68358C11.8563 4.68358 11.5071 5.61275 11.0418 6.40309C10.0598 8.07054 9.66706 8.1588 9.50655 8.05509C9.13309 7.81375 9.22642 7.08575 9.22642 6.56841C9.22642 4.9524 9.47153 4.27862 8.7491 4.10421C8.50941 4.04637 8.33284 4.0081 7.71974 4.00185C6.93281 3.99385 6.26694 4.00428 5.88982 4.18902C5.63892 4.31188 5.44535 4.58561 5.56331 4.60136C5.70911 4.62078 6.03913 4.69045 6.2141 4.92854C6.44016 5.23609 6.43226 5.9265 6.43226 5.9265C6.43226 5.9265 6.56215 7.82878 6.12899 8.06501C5.83177 8.22707 5.42397 7.89623 4.54846 6.38341C4.09997 5.60851 3.76122 4.75186 3.76122 4.75186C3.76122 4.75186 3.69599 4.59181 3.57948 4.50612C3.43817 4.40232 3.24073 4.36942 3.24073 4.36942L1.14503 4.3831C1.14503 4.3831 0.830508 4.39188 0.714924 4.52869C0.612096 4.65048 0.706713 4.90204 0.706713 4.90204C0.706713 4.90204 2.3473 8.74049 4.20512 10.6748C5.90877 12.4486 7.84297 12.3322 7.84297 12.3322Z",fill:e.fill},null,8,Yo)]),_:1},8,["size"])}const jo=G(Fo,[["render",Ko]]),Qo=D({name:"WhatsappIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),Xo=["fill"];function qo(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.02788 14.5521C11.6865 14.5521 14.6647 11.588 14.6663 7.94559C14.6672 6.18005 13.9775 4.51999 12.7239 3.27123C11.4704 2.02248 9.80371 1.3342 8.02778 1.33337C4.36829 1.33337 1.39015 4.29659 1.38932 7.93988C1.38848 9.10455 1.69401 10.2412 2.27525 11.2427L1.33301 14.6667L4.85266 13.7477C5.82222 14.2743 6.91431 14.5521 8.02538 14.5521H8.02788ZM10.4567 11.3038C10.8082 11.2747 11.5895 10.8766 11.749 10.4635C11.9085 10.0504 11.9085 9.69639 11.8608 9.62224C11.8214 9.5631 11.7311 9.52294 11.5967 9.46322C11.5646 9.44896 11.53 9.43359 11.493 9.41657C11.302 9.32741 10.3612 8.90017 10.1854 8.84103C10.0106 8.78189 9.88263 8.75276 9.7556 8.9293C9.62761 9.10673 9.26083 9.50484 9.14908 9.62224C9.03829 9.74053 8.92653 9.75554 8.73454 9.66727C8.70274 9.65242 8.65916 9.63489 8.60523 9.6132C8.33521 9.50456 7.80569 9.29153 7.19586 8.789C6.62759 8.32029 6.24264 7.74208 6.13185 7.56465C6.0201 7.38811 6.11946 7.29194 6.21594 7.20367C6.27264 7.15127 6.33864 7.07693 6.40464 7.0026C6.43764 6.96543 6.47064 6.92826 6.50248 6.89383C6.58348 6.80625 6.61845 6.74025 6.66624 6.65008C6.67481 6.63392 6.68378 6.61698 6.69351 6.599C6.7575 6.4816 6.72599 6.37832 6.67823 6.28916C6.65691 6.25053 6.57375 6.06126 6.47272 5.83131C6.34289 5.5358 6.18354 5.17311 6.08795 4.97654C5.94467 4.6826 5.79371 4.67649 5.65717 4.67115C5.54542 4.6667 5.41839 4.6667 5.29039 4.6667C5.16336 4.6667 4.95609 4.71173 4.78034 4.88827C4.76905 4.89967 4.75645 4.9121 4.74274 4.92562C4.54317 5.12244 4.11079 5.54887 4.11079 6.36332C4.11079 7.22539 4.78357 8.05801 4.88921 8.18875L4.8921 8.19233C4.89922 8.20115 4.91263 8.21955 4.93217 8.24634C5.1747 8.57896 6.36078 10.2056 8.1605 10.8616C9.62394 11.3944 10.0321 11.3496 10.3562 11.3141C10.3903 11.3103 10.4234 11.3067 10.4567 11.3038Z",fill:e.fill},null,8,Xo)]),_:1},8,["size"])}const Jo=G(Qo,[["render",qo]]),es=D({name:"YouTubeIcon",components:{IconWrapper:Y},props:{size:{type:String,default:O.L},fill:{type:String,default:"var(--mono-900)"}}}),ts=["fill"];function os(e,t,s,a,r,o){const l=p("IconWrapper");return i(),S(l,{size:e.size},{default:f(()=>[n("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.2165 3.61889C13.7877 3.77265 14.238 4.22295 14.3917 4.79407C14.6773 5.83744 14.6663 8.01206 14.6663 8.01206C14.6663 8.01206 14.6663 10.1757 14.3917 11.2191C14.238 11.7902 13.7877 12.2405 13.2165 12.3943C12.1732 12.6688 7.99965 12.6688 7.99965 12.6688C7.99965 12.6688 3.83712 12.6688 2.78275 12.3833C2.21164 12.2295 1.76134 11.7792 1.60758 11.2081C1.33301 10.1757 1.33301 8.00108 1.33301 8.00108C1.33301 8.00108 1.33301 5.83744 1.60758 4.79407C1.76134 4.22295 2.22263 3.76167 2.78275 3.60791C3.82613 3.33334 7.99965 3.33334 7.99965 3.33334C7.99965 3.33334 12.1732 3.33334 13.2165 3.61889ZM10.1413 8.00108L6.67072 9.99997V6.00219L10.1413 8.00108Z",fill:e.fill},null,8,ts)]),_:1},8,["size"])}const ss=G(es,[["render",os]]);var k=(e=>(e.VK="VK",e.SOCIAL_VK="SOCIAL_VK",e.CLASSMATES="CLASSMATES",e.TELEGRAM="TELEGRAM",e.WHATSAPP="WhatsApp",e.SOCIAL_TG="SOCIAL_TG",e.SOCIAL_WHATSAPP="SOCIAL_WHATSAPP",e.SOCIAL_YOUTUBE="SOCIAL_YOUTUBE",e.SOCIAL_MAIL="SOCIAL_MAIL",e.SOCIAL_INSTAGRAM="SOCIAL_INSTAGRAM",e.INSTAGRAM="INSTAGRAM",e.EMAIL="EMAIL",e.YOUTUBE="YOUTUBE",e.MAX="MaxMessenger",e))(k||{}),H=(e=>(e.VK="vk",e.SOCIAL_VK="socialVk",e.CLASSMATES="classmates",e.TELEGRAM="telegram",e.WHATSAPP="whatsApp",e.SOCIAL_TG="socialTg",e.SOCIAL_WHATSAPP="socialWhatsapp",e.SOCIAL_YOUTUBE="socialYoutube",e.SOCIAL_MAIL="socialMail",e.SOCIAL_INSTAGRAM="socialInstagram",e.INSTAGRAM="instagram",e.EMAIL="email",e.YOUTUBE="youtube",e.MAX="maxMessenger",e))(H||{});const De=(e,t)=>{if(t)switch(t){case k.WHATSAPP:return`https://wa.me/${e}`;case k.EMAIL:return`mailto:${e}`}return e},He=(e,t)=>t&&t===k.EMAIL||t===k.WHATSAPP?e:e.replace(/(?:https?:\/\/)?(?:www\.)?[a-zA-Z0-9]+\.[a-zA-Z]{2,}\/@?([^\/\s]+)/g,(s,a)=>`@${a}`),K=(e,t,s)=>Array.isArray(e)?e.map(a=>({title:He(a,s),url:De(a,s),icon:t})):[{title:He(e,s),url:De(e,s),icon:t}],Me=e=>{const t=[];return Object.entries(e).forEach(([s,a])=>{switch(s){case k.VK:case k.SOCIAL_VK:case H.VK:case H.SOCIAL_VK:t.push(...K(a,"VkIcon"));break;case k.CLASSMATES:case H.CLASSMATES:t.push(...K(a,"OdnoklassnikiIcon"));break;case k.TELEGRAM:case k.SOCIAL_TG:case H.TELEGRAM:case H.SOCIAL_TG:t.push(...K(a,"TelegramIcon"));break;case k.WHATSAPP:case k.SOCIAL_WHATSAPP:case H.WHATSAPP:case H.SOCIAL_WHATSAPP:t.push(...K(a,"WhatsappIcon",k.WHATSAPP));break;case k.SOCIAL_YOUTUBE:case k.YOUTUBE:case H.SOCIAL_YOUTUBE:case H.YOUTUBE:t.push(...K(a,"YouTubeIcon"));break;
2case k.SOCIAL_MAIL:case k.EMAIL:case H.SOCIAL_MAIL:case H.EMAIL:t.push(...K(a,"MailIcon",k.EMAIL));break;case k.SOCIAL_INSTAGRAM:case k.INSTAGRAM:case H.SOCIAL_INSTAGRAM:case H.INSTAGRAM:t.push(...K(a,"InstagramIcon"));break;case k.MAX:case H.MAX:t.push(...K(a,"MaxIcon"));break}}),t};function Z1(){const e=ke(),t=Ge(),s=te(),{onRouteChangeMeta:a}=ns(),r=ee(0),o=B(()=>e?.path.match("user")||e?.path.match("order"));async function l(){const c=Z();if(c.getIsShowSiteInfo){const C=await c.fetchSiteInfo(),{modal_window_site:A}=C??{};if(A&&A.type!==qe.TYPEPLATE_TEXT){const{openModal:J}=V();J({modalName:"TechnicalInfoModal",modalData:{...A}})}}}Pe(()=>{s.getIsLoggedIn||s.setLoadingComplete(),l(),setTimeout(()=>{const c=te(),{$sendTagManagerMetric:C,$sendYandexMetrika:A}=U();c.getIsLoggedIn?(A(E.AUTHORIZED),C(E.AUTHORIZED)):(A(E.NOT_AUTHORIZED),C(E.NOT_AUTHORIZED))},300)}),me(e,async()=>{const{canUseEcommerce:c,trackPageView:C}=Je();c()&&C(e.path),a()},{immediate:!0});const{cityID:m}=oe(Ue());me(m,async()=>{a()});const h=re();return me(h.productsInCart,(c,C)=>{if(C.length!==0&&c.length===0){const{$sendTagManagerMetric:A}=U();A(E.CLEAR_CART)}}),{router:t,key:r,excludedPaths:o}}function ns(){const e=Ue(),t=$(),{getWebMasterTagId:s,getGoogleVerification:a}=oe(Z()),r=N(),{title:o}=oe(e),l=B(()=>{const h={"og:title":e.title,"og:description":e.description,"og:type":"article","og:url":e.canonical.href,"og:site_name":r.public.name,description:e.description,keywords:e.keywords};h["og:image"]=e.ogImage||`${r.public.baseUrl}${mt("big")}`;const c=Object.entries(h).map(([C,A])=>C.startsWith("og:")?{hid:C,property:C,content:A}:{hid:C,name:C,content:A});return c.push({hid:"yandex-verification",name:"yandex-verification",content:s.value}),c.push({hid:"google-site-verification",name:"google-site-verification",content:a.value}),c}),m=B(()=>{const h=t.getCurrentDepartmentSocial,c=h?Me(h).map(A=>A.url).filter(A=>A.startsWith("http")):[],C={"@context":"https://schema.org","@type":"Organization","@id":`${r.public.baseUrl}/#organization`,name:r.public.name,url:r.public.baseUrl,logo:`${r.public.baseUrl}${ie("big")}`};return c.length&&(C.sameAs=c),JSON.stringify(C)});return Xe({title:o,meta:l,link:[e.canonical,{rel:"stylesheet",href:`${r.public.cssPrefix}/css/site.css`}],script:[{type:"application/ld+json",innerHTML:m}],htmlAttrs:{lang:"ru",itemscope:!0,itemtype:"https://schema.org/WebPage"}}),{onRouteChangeMeta:e.onRouteChangeMeta}}const is=et(()=>{const e=ee(Rt);let t;const s=o=>Math.floor(o.getBoundingClientRect().height),a=o=>{o!==e.value&&(e.value=o,document.documentElement.style.setProperty("--header-height",`${o}px`))};return{headerHeight:e,init:o=>{t&&(t(),t=void 0);const{stop:l}=tt(o,m=>{const h=m[0];h&&a(s(h.target))});t=l,o.value&&a(s(o.value))}}}),rs=()=>{const e=ee(!1);let t=null;return Pe(()=>{const s=document.querySelector(".footer__bottom");s&&(t=new IntersectionObserver(([a])=>{e.value=a.isIntersecting},{root:null,threshold:0}),t.observe(s))}),ot(()=>{t?.disconnect()}),{isIntersecting:e}},be=(e,t)=>{if(e.length>=t){const s=e.split(" ").slice(-1)[0];return`${e.slice(0,t-s.length)}...${s}`}return e},as={name:"HeaderAddressCard",components:{GTooltip:Ze,PinIcon:Lt,PickUpIcon:Ro,DeliveryBikeIcon:yt},emits:["selectAddress"],props:{deliveryInfo:{type:Object},city:{type:String},deliveryTime:{type:String,default:null},emptyDelivery:{type:Boolean,default:!1},isDelivery:{type:Boolean,default:!1},isSelfDelivery:{type:Boolean,default:!1},existsSelfDeliveryType:{type:Boolean,default:!1},isShowConfirmAddressInfo:{type:Boolean,default:!1}},data(){return{IconSizes:O,TooltipPosition:Fe,TooltipTrigger:We}},computed:{TEST_IDS(){return X},time(){if(!this.deliveryTime)return"";const t=nt(this.deliveryTime),s=At(t,new Date);return this.isSelfDelivery||s>90?it(t)?this.$t("atTime",{time:xe(t,"HH:mm")}):"":`~ ${s} ${this.$t("minutesShort")}`}},methods:{isEmpty:st,selectAddress(){this.$emit("selectAddress")}}},ls=["data-testid"],ds={key:0,class:"address-card__top-block"},cs={class:"address-card__body"},us=["data-testid"],_s=["data-testid"],ps={class:"address-card__delivery-time"},ms={key:1,class:"address-card__delivery-time-text"}
2,hs={key:3,class:"address-card__delivery-time-text"},fs={class:"address-card__city"},gs={class:"address-card__address-button"},Cs=["innerHTML"];function vs(e,t,s,a,r,o){const l=p("PinIcon"),m=p("DeliveryBikeIcon"),h=p("PickUpIcon"),c=p("GTooltip");return i(),d("button",{class:"address-card","data-testid":o.TEST_IDS.HEADER.ADDRESS_TOOLTIP_TRIGGER,onClick:t[0]||(t[0]=(...C)=>o.selectAddress&&o.selectAddress(...C))},[s.existsSelfDeliveryType?g("",!0):(i(),d("div",ds,_(e.$t("delivery")),1)),n("div",cs,[u(l,{size:r.IconSizes.M},null,8,["size"]),!s.emptyDelivery&&!o.isEmpty(s.deliveryInfo)?(i(),d(z,{key:0},[n("div",null,[n("p",{class:"address-card__title","data-testid":o.TEST_IDS.HEADER.ADDRESS_TITLE},_(s.deliveryInfo.title),9,us),n("p",{class:"address-card__description","data-testid":o.TEST_IDS.HEADER.ADDRESS_DESCRIPTION},_(s.deliveryInfo.description),9,_s)]),n("div",ps,[s.isDelivery?(i(),S(m,{key:0,size:r.IconSizes.S},null,8,["size"])):g("",!0),s.isDelivery&&s.deliveryTime?(i(),d("span",ms,_(o.time),1)):g("",!0),s.isSelfDelivery?(i(),S(h,{key:2,size:r.IconSizes.S},null,8,["size"])):g("",!0),s.isSelfDelivery?(i(),d("span",hs,_(o.time),1)):g("",!0)])],64)):g("",!0),s.emptyDelivery?(i(),d(z,{key:1},[n("span",fs,_(s.city),1),n("div",gs,_(e.$t("enterYourAddress")),1)],64)):g("",!0)]),u(c,{class:"header-card__tooltip",trigger:s.isShowConfirmAddressInfo?r.TooltipTrigger.SHOW_ALWAYS:r.TooltipTrigger.HIDE,visible:s.isShowConfirmAddressInfo,position:r.TooltipPosition.BOTTOM_START},{content:f(()=>[n("span",{class:"tooltip-body",innerHTML:e.$t("checkTheAddressIsItCorrect")},null,8,Cs)]),_:1},8,["trigger","visible","position"])],8,ls)}const Ss=b(as,[["render",vs],["__scopeId","data-v-9effb46d"]]),ys={name:"HeaderCityConfirmation",components:{GButton:se},emits:["confirmationCity","selectAddress"],props:{city:{type:String,required:!0}},data(){return{Sizes:W}},methods:{confirmationCity(){this.$emit("confirmationCity")},selectAddress(){this.$emit("selectAddress")}}},Is={class:"confirmation-city"},Ls=["innerHTML"],As={class:"confirmation-city__footer"};function bs(e,t,s,a,r,o){const l=p("GButton");return i(),d("div",Is,[n("p",{class:"confirmation-city__title",innerHTML:e.$t("yourCityIsQuestion",{city:s.city})},null,8,Ls),n("div",As,[u(l,{"data-testid":"cityConfirmation",size:r.Sizes.S,onClick:o.confirmationCity},{default:f(()=>[M(_(e.$t("yes")),1)]),_:1},8,["size","onClick"]),u(l,{"data-testid":"cityCancel",size:r.Sizes.S,onClick:o.selectAddress},{default:f(()=>[M(_(e.$t("no")),1)]),_:1},8,["size","onClick"])])])}const Ts=b(ys,[["render",bs],["__scopeId","data-v-4a958360"]]),Ms={name:"AddressInfo",components:{GShimmerProvider:Le,GShimmer:Ie,GTooltip:Ze,HeaderAddressCard:Ss,HeaderCityConfirmation:Ts,ChangeDeliveryTypeTabs:ft},directives:{clickOutside:$e.directive},props:{isCatalog:{type:Boolean}},data(){return{IconSizes:O,Sizes:W,TooltipPosition:Fe}},computed:{TooltipTrigger(){return We},...y($,["getCity","getCities","isDelivery","isPointDelivery","isSelfDelivery","isHallDelivery","isEmptyDelivery","chosenDepartment","minDeliveryAmount","getDeliveryAddress","getIsCityConfirmed","getCurrentGeoPosition","getIsGeoPositionEnabled","getShowConfirmAddressInfo","getIsExistsSelfDeliveryType"]),...y(re,["getCart"]),...y(ge,["getClientInitialized"]),isMobile(){const{$screen:e}=U();return e.width<=1024},currentDeliveryPrice(){return this.getCart.delivery_price||0},minimumAmount(){return this.getCart.minimum_amount||0},totalAmount(){return this.getCart.total_amount||0},isShowDeliveryConfirmationInfo(){return this.getShowConfirmAddressInfo?this.isDelivery&&this.getIsGeoPositionEnabled&&this.getCurrentGeoPosition&&this.getCart.delivery_address?this.getCurrentGeoPosition.lat!==this.getCart.delivery_address.lat&&this.getCurrentGeoPosition.lon!==this.getCart.delivery_address.lon:this.isDelivery&&this.getCart.delivery_address&&!this.getIsGeoPositionEnabled?!0:this.isSelfDelivery:!1},deliveryDescription(){if(this.minimumAmount&&this.totalAmount<this.minimumAmount)return this.$t("minOrderSum",{sum:fe().convert(this.minDeliveryAmount)});if(!this.currentDeliveryPrice)return this.$t("freeShipping");if(this.currentDeliveryPrice)return`${this.$t("delivery")} ${fe().convert(this.currentDeliveryPrice)}`},deliveryInfo(){if(this.isDelivery&&this.isPointDelivery){const e=`${this.getCity.name}, ${this.getDeliveryAddress.name}`;return{title:be(e,27),description:this.deliveryDescription}}if(this.isDelivery&&this.getDeliveryAddress){const e=`${this.getCity.name}, ${this.getDeliveryAddress.street}, ${this.getDeliveryAddress.house}`;return{title:this.isMobile?e:be(e,27),description:this.deliveryDescription}}if((this.isSelfDelivery||this.isHallDelivery)&&this.chosenDepartment&&this.chosenDepartment.workTimeRaw?.length){const e=gt(this.chosenDepartment.workTimeRaw),t=e?.start&&e?.end?`${e.start} - ${e.end}`:this.$t("openingHoursNotSpecified"),s=`${this.getCity.name}, ${this.$t("street")} ${this.chosenDepartment.address}`;return{title:this.isMobile?s:be(s,27),description:t}}},getLoadingAddress(){return de().isLoading(ce.LOADING_ADDRESS)}},methods:{selectAddress(){const{$sendYandexMetrika:e,$sendTagManagerMetric:t}=U();e(E.FIRST_CHOICE_ADDRESS),t(E.FIRST_CHOICE_ADDRESS);const s=$(),a=V();
2s.setPopupAddressSelectOpen(!1),a.openModal({modalName:"AddressSelecting",componentProps:{isCustomLayout:!0}})},confirmationCity(){$().setCityConfirmed(!0)},clickOutside(){$().setShowConfirmAddressInfo(!1)}},async mounted(){(this.getCities.length===1||this.getIsCityConfirmed)&&this.confirmationCity()}};function ks(e,t,s,a,r,o){const l=p("HeaderCityConfirmation"),m=p("ChangeDeliveryTypeTabs"),h=p("HeaderAddressCard"),c=p("GTooltip"),C=p("GShimmer"),A=p("GShimmerProvider"),J=Ve("click-outside");return i(),S(A,{loading:o.getLoadingAddress},{default:f(()=>[u(C,{height:o.isMobile?"144px":"40px",width:o.isMobile?"100%":"220px"},{default:f(()=>[x((i(),d("div",null,[!e.getIsCityConfirmed&&o.isMobile?(i(),S(l,{key:0,class:"city-confirmation",city:e.getCity.name,onConfirmationCity:o.confirmationCity,onSelectAddress:o.selectAddress},null,8,["city","onConfirmationCity","onSelectAddress"])):(i(),d("div",{key:1,class:w(["address-info",{"address-info_hide-mobile":!s.isCatalog}])},[u(m,{size:o.isMobile?r.Sizes.L:r.Sizes.M,class:"address-info__tabs"},null,8,["size"]),u(c,{class:"address-info__tooltip",position:r.TooltipPosition.BOTTOM,trigger:!e.getIsCityConfirmed&&!o.isMobile?o.TooltipTrigger.SHOW_ALWAYS:o.TooltipTrigger.HIDE},{content:f(()=>[u(l,{class:"tooltip-body",city:e.getCity.name,onConfirmationCity:o.confirmationCity,onSelectAddress:o.selectAddress},null,8,["city","onConfirmationCity","onSelectAddress"])]),default:f(()=>[u(h,{"delivery-info":o.deliveryInfo,city:e.getCity.name,"delivery-time":e.getCart?.delivery_time,"empty-delivery":e.isEmptyDelivery,"is-delivery":e.isDelivery,"is-self-delivery":e.isSelfDelivery,"exists-self-delivery-type":e.getIsExistsSelfDeliveryType,"is-show-confirm-address-info":o.isShowDeliveryConfirmationInfo,onSelectAddress:o.selectAddress},null,8,["delivery-info","city","delivery-time","empty-delivery","is-delivery","is-self-delivery","exists-self-delivery-type","is-show-confirm-address-info","onSelectAddress"])]),_:1},8,["position","trigger"])],2))])),[[J,o.clickOutside]])]),_:1},8,["height","width"])]),_:1},8,["loading"])}const Ps=b(Ms,[["render",ks],["__scopeId","data-v-b72817a6"]]),ws={name:"AppSource",components:{AppStoreIcon:qt,GooglePlayIcon:go},props:{appStoreTestid:String,googlePlayTestid:String},computed:{Platform(){return Et},isAppSourceLink(){const e=N();return e.public.appStoreLink||e.public.googlePlayLink},getAppStoreLink(){return N().public.appStoreLink},getGooglePlayLink(){return N().public.googlePlayLink}},methods:{downloadApp(){const{$screen:e,$sendYandexMetrika:t,$sendTagManagerMetric:s}=U(),a=Z();this.$device.isIos?(t(E.INSTALL_APP_IOS_BUTTON_CLICK),s(E.INSTALL_APP_IOS_BUTTON_CLICK)):(t(E.INSTALL_APP_ANDROID_BUTTON_CLICK),s(E.INSTALL_APP_ANDROID_BUTTON_CLICK));const r=this.$device.isIos,o=N(),l=r?o.public.appStoreLink:o.public.googlePlayLink;if(this.isMobile||e.width<900){window.open(l,"_blank");return}a.state.mobileAppLink=l,this.$router.push(T.MOBILE_APP)}}},Os={key:0,class:"source"},Es=["data-testid","href"],$s=["data-testid","href"];function Ds(e,t,s,a,r,o){const l=p("AppStoreIcon"),m=p("GooglePlayIcon");return o.isAppSourceLink?(i(),d("div",Os,[o.getAppStoreLink?(i(),d("a",{key:0,"data-testid":s.appStoreTestid,href:o.getAppStoreLink,class:"source-link",onClick:t[0]||(t[0]=P((...h)=>o.downloadApp&&o.downloadApp(...h),["prevent"]))},[u(l)],8,Es)):g("",!0),o.getGooglePlayLink?(i(),d("a",{key:1,"data-testid":s.googlePlayTestid,href:o.getGooglePlayLink,class:"source-link",onClick:t[1]||(t[1]=P((...h)=>o.downloadApp&&o.downloadApp(...h),["prevent"]))},[u(m)],8,$s)):g("",!0)])):g("",!0)}const Ke=b(ws,[["render",Ds],["__scopeId","data-v-fcc919c1"]]),Hs={key:0,class:"cookie-notifications"},Rs={class:"cookie-notifications__left"},Bs={class:"cookie-notifications__heading"},Ns={class:"cookie-notifications__text"},Vs={__name:"CookieNotifications",setup(e){const{t}=Ce(),s=rt(lt.COOKIES_ACCEPTED,{maxAge:at}),a=B(()=>!!s.value);function r(){s.value="true"}return(o,l)=>a.value?g("",!0):(i(),d("div",Hs,[n("div",Rs,[n("div",Bs,[n("strong",null,[M(_(v(t)("ÐÑ ÑобиÑаем"))+" ",1),u(ue,{to:v(T).COOKIE,class:"cookie-notifications__link"},{default:f(()=>[M(_(v(t)("кÑки")),1)]),_:1},8,["to"])])]),n("p",Ns,[M(_(v(t)("РиÑполÑзÑем ÑеÑвиÑ")),1
2),l[0]||(l[0]=n("br",null,null,-1)),M(" "+_(v(t)("ЯндекÑ.ÐеÑÑика, ÑÑÐ¾Ð±Ñ ÑделаÑÑ ÑайÑ")),1),l[1]||(l[1]=n("br",null,null,-1)),M(" "+_(v(t)("еÑе Ñдобнее.")),1)])]),u(v(se),{view:v(ve).SECONDARY,size:v(W).XS,width:"min-content",onClick:r},{default:f(()=>[M(_(v(t)("OK")),1)]),_:1},8,["view","size"])]))}},zs=b(Vs,[["__scopeId","data-v-19f9e036"]]),Gs={__name:"DeliveryNotification",setup(e){const t=ke(),{t:s}=Ce(),a=V(),r=$(),{isEmptyDelivery:o}=oe(r);function l(){a.openModal({modalName:"AddressSelecting",componentProps:{isCustomLayout:!0}})}const m=B(()=>t.meta.layout==="catalog");return(h,c)=>{const C=Se;return i(),S(C,null,{default:f(()=>[m.value&&v(o)?(i(),d("button",{key:0,class:"delivery-notifications",onClick:l},[M(_(v(s)("pleaseProvideYourAddressToPlaceYourOrder"))+" ",1),u(v(ye),{rotate:v(q).RIGHT,size:v(O).M,fill:"var(--exeption-100)"},null,8,["rotate","size"])])):g("",!0)]),_:1})}}},Us=b(Gs,[["__scopeId","data-v-355d155f"]]),xs=D({__name:"NotificationsWrapper",setup(e){const{isIntersecting:t}=rs();return(s,a)=>(i(),d("div",{class:w(["notifications-wrapper",{"notifications-wrapper_intersected":v(t)}])},[u(zs),u(Us)],2))}}),Zs=b(xs,[["__scopeId","data-v-033edaa0"]]),Ws={name:"FooterSection",components:{NotificationsWrapper:Zs,NuxtCityLink:ue,AppSource:Ke},computed:{...y($,["city","selfDeliveryDepartments"]),...y(Z,["getSeo"]),Routes(){return T},isMobile(){return this.$device.isMobile},getLogo(){return ie("big")},getAppStoreLink(){return N().public.appStoreLink},getGooglePlayLink(){return N().public.googlePlayLink},getCopyright(){return this.getSeo&&this.getSeo?.footer?this.getSeo.footer:N().public.footerCopyright},hotline(){return[...this.city.phonesHotline][0]},formatPhone(){return this.hotline?.replace(/[-() /\\]/g,"")},getSiteVersion(){return N().public.siteVersion}},methods:{}},Fs={class:"footer"},Ys=["src"],Ks={class:"footer__contacts-title"},js={class:"footer__contacts-hotline-title"},Qs=["href"],Xs={key:0,class:"footer__apps"},qs={class:"footer__apps-title"},Js={class:"footer__bottom bottom"},en={key:0,class:"bottom__version"},tn={key:0};function on(e,t,s,a,r,o){const l=ht,m=p("AppSource"),h=Se,c=p("NotificationsWrapper"),C=p("NuxtCityLink");return i(),d("footer",Fs,[u(l,{to:o.Routes.MAIN,class:"footer__logo"},{default:f(()=>[n("img",{src:o.getLogo,alt:"logo",class:"logo-link__img"},null,8,Ys)]),_:1},8,["to"]),o.formatPhone?(i(),d("div",{key:0,class:w(["footer__contacts_hotline",{"footer__contacts_hotline_with-app":o.getAppStoreLink||o.getGooglePlayLink}])},[n("div",Ks,[n("span",js,_(e.$t("singleDeliveryServiceNumber")),1),n("a",{href:`tel:${o.formatPhone}`,class:"footer__contacts-hotline-phone"},_(o.hotline),9,Qs)])],2)):g("",!0),u(h,null,{default:f(()=>[o.getAppStoreLink||o.getGooglePlayLink?(i(),d("div",Xs,[n("span",qs,_(e.$t("orderInTheAppTrackTheCourierOnTheMapCollectBonuses")),1),u(m,{class:"footer__apps-actions-btn"})])):g("",!0)]),_:1}),u(c),n("div",Js,[o.getSiteVersion?(i(),d("span",en,_(e.$t("siteVersion",{n:o.getSiteVersion})),1)):g("",!0),u(h,null,{default:f(()=>[o.getCopyright?(i(),d("span",tn,_(o.getCopyright),1)):g("",!0)]),_:1}),u(C,{to:o.Routes.PRIVACY},{default:f(()=>[M(_(e.$t("privacyPolicy")),1)]),_:1},8,["to"]),u(C,{to:o.Routes.COOKIE},{default:f(()=>[M(_(e.$t("cookieRules")),1)]),_:1},8,["to"]),u(C,{to:o.Routes.SITEMAP},{default:f(()=>[M(_(e.$t("siteMap")),1)]),_:1},8,["to"]),t[0]||(t[0]=n("a",{class:"bottom__powered",href:"https://goulash.tech/?utm_source=partners&utm_medium=link&utm_campaign=site",target:"_blank"},[n("span",{class:"bottom__powered-title"},"Powered by"),n("span",{class:"bottom__powered-subtitle"},"Goulash.tech")],-1))])])}const W1=b(Ws,[["render",on],["__scopeId","data-v-8b8ff427"]]),sn={name:"HeaderMobileAppBanner",components:{GButton:se,PlusIcon:Ee},data(){return{Side:q,Sizes:W,ButtonView:ve}},computed:{...y(V,["anyOpenModals"]),getLink(){const{$sendYandexMetrika:e,$sendTagManagerMetric:t}=U();{const s=N();return/iPhone|iPad|iPod/.test(navigator.userAgent)?(e(E.INSTALL_APP_IOS_BUTTON_CLICK),t(E.INSTALL_APP_IOS_BUTTON_CLICK),s.public.appStoreLink):(e(E.INSTALL_APP_ANDROID_BUTTON_CLICK),t(E.INSTALL_APP_ANDROID_BUTTON_CLICK),s.public.googlePlayLink)}},getLogoApp(){return ie("app")},getName(){return N().public.name}},methods:{closeBanner(){const{hideInstallAppInstallBanner:e}=ge();e(!0)},redirect(){window.location.href=this.getLink}}},nn={class:"left-part"},rn={class:"app-icon"},an=["src"],ln={class:"app-info"},dn={class:"icon-name"},cn={class:"right-part"};function un(e,t,s,a,r,o){const l=p("PlusIcon"),m=p("GButton");return i(),d("div",{class:"mobile-app-banner",style:ze({zIndex:e.anyOpenModals?50:100}),onClick:t[0]||(t[0]=h=>o.redirect())},[n("div",nn,[u(m,{view:r.ButtonView.CLEAR,size:r.Sizes.XS,"only-icon":"",onClick:P(o.closeBanner,["stop"])},{default:f(()=>[u(l,{rotate:r.Side.DIAGONALLY,size:r.Sizes.XS},null,8,["rotate","size"])]),_:1},8,["view","size","onClick"]),n("div",rn,[n("img",{src:o.getLogoApp,alt:"logo"},null,8,an)]),n("div",ln,[n("span",null,_(e.$t("application")),1),n("span",dn,_(o.getName),1)])]),n("div",cn,[u(m,{view:r.ButtonView.SECONDARY,size:r.Sizes.XS},{default:f(()=>[M(_(e.$t("install")),1)]),_:1},8,["view","size"])])],4)}const _n=b(sn,[["render",un],["__scopeId","data-v-1d2aeda1"]]),pn={key:0,class:"announcement"},mn={class:"announcement__body"},hn={class:"announcement__title"},fn={class:"announcement__description"},gn={__name:"HeaderTechnicalInfo",setup(e){const t=Z(),s=B(()=>t.getModalWindowData||null),a=B(()=>s.value&&t.getIsTypePlateText),r=()=>{t.hideSiteInfo()};return(o,l)=>a.value?(i(),d("div",pn,[u(v(Ct)),n("div",mn,[n("h6",hn,_(s.value.header),1),n("p",fn,_(s.value.content),1)]),u(v(se),{view:v(ve).GHOST,"only-icon":"",size:v(W).S,onClick:r},{default:f(()=>[u(v(Ee),{size:v(W).S,rotate:v(q).DIAGONALLY,fill:"var(--exeption-900)"},null,8,["size","rotate"])]),_:1},8,["view","size"])])):g("",!0)}},Cn=b(gn,[["__scopeId","data-v-38cecad2"]]),vn={class:"header-banners"},Sn=D({__name:"HeaderBanners",props:{isCatalog:{type:Boolean,default:!1}},setup(e){const t=e,{getIsShowInstallAppInstallBanner:s}=oe(ge()),{getIsShowSiteInfo:a}=oe(Z()),r=B(()=>s.value&&t.isCatalog);return(o,l)=>(i(),d("div",vn,[v(a)?(i(),S(Cn,{key:0})):g("",!0),r.value?(i(),S(_n,{key:1})):g("",!0)]))}}),Re={CURRENT_ORDERS:"current_orders"},Be="logout",Ne="balance",yn={name:"HeaderAuthBlock",components:{GShimmerProvider:Le,GShimmer:Ie,BonusPointsIcon:bt,GButtonSelect:Ye,UserIcon:Wo},data(){return{routes:[{id:"userGoHistory",label:this.$t("historyOfOrders"),value:T.USER+T.ORDER_HISTORY},{id:"userGoProfile",label:this.$t("profile"),value:T.USER+T.PROFILE},{id:"userOpenLogout",label:this.$t("exit"),value:Be}]}},computed:{...y(te,["getIsLoggedIn","getProfile","getBonusCard","getBonusPoints"]),...y(Z,["getBonusSystemEnabled"]),...y(ge,["getClientInitialized"]),...y(le,["getCurrentOrder"]),formatName(){return this.getIsLoggedIn&&!this.getProfile?.name?this.$t("profile"):this.getProfile?this.getProfile.name.length>20?`${this.getProfile.name.slice(0,18)}...`:this.getProfile.name:this.$t("profile")},getLoadingProfile(){return de().isLoading(ce.FETCH_PROFILE)}},methods:{numberFormatter:Pt,selectHandler(e){if(Q(!1),e.value===Ne){this.$router.push(T.BONUS_CARD);return}if(e.value===Be){this.logout();return}this.$router.push(e.value)},goToProfile(){this.$router.push(T.USER+T.PROFILE)},async showHandler(e){Q(e);const t=this.routes.find(s=>s.value?.includes(Re.CURRENT_ORDERS));this.getCurrentOrder&&!t&&this.routes.unshift({id:"userGoCurrent",label:this.$t("currentOrder"),value:T.USER+T.CURRENT_ORDERS}),this.getCurrentOrder||(this.routes=this.routes.filter(s=>!s.value?.includes(Re.CURRENT_ORDERS)))},openRegistration(){const{openModal:e}=V();this.$emit("toggleMenu"),this.getIsLoggedIn||e({modalName:"LoginFormModal"})},logout(){const{openModal:e}=V(),{logout:t}=te(),{fetchCart:s}=re();e({modalName:"InfoModal",modalData:{text:this.$t("doYouReallyWantToLeaveQuestion"),confirmation:!0,yes:{testId:"userLogout",text:this.$t("yes")},no:{text:this.$t("no")},agreeHandler:async()=>{t(),await s()},regretHandler:()=>{}}})}},watch:{getBonusSystemEnabled:{handler(e){e&&this.routes.splice(this.routes.length-1,0,{id:"userGoBonus",label:this.$t("myBonusBalance"),value:Ne})},immediate:!0}}},In={class:"auth__select"},Ln={class:"auth-button__name"},An={key:0,class:"auth-button__bonuses"};function bn(e,t,s,a,r,o){const l=p("UserIcon"),m=p("BonusPointsIcon"),h=p("GButtonSelect"),c=p("GShimmer"),C=p("GShimmerProvider");return i(),S(C,{loading:o.getLoadingProfile},{default:f(()=>[u(c,{height:"34px",width:"130px",class:"auth__select"},{default:f(()=>[n("div",In,[u(h,{"is-redefine":"",options:e.getIsLoggedIn?r.routes:[],"show-on-hover":"","is-
2hide-arrow":"","data-testid":"userTrigger",onOnSelect:o.selectHandler,onClick:o.openRegistration,onOnShow:o.showHandler},{default:f(()=>[n("button",{class:"auth-button",onClick:t[0]||(t[0]=P(A=>e.getIsLoggedIn&&o.goToProfile,["prevent"]))},[u(l,{fill:"currentColor"}),n("span",Ln,_(e.getIsLoggedIn?o.formatName:e.$t("doEnter")),1),e.getIsLoggedIn&&e.getBonusPoints&&e.getBonusSystemEnabled?(i(),d("span",An,[u(m,{fill:"var(--exeption-900)"}),M(" "+_(o.numberFormatter(e.getBonusPoints)),1)])):g("",!0)])]),_:1},8,["options","onOnSelect","onClick","onOnShow"])])]),_:1})]),_:1},8,["loading"])}const Tn=b(yn,[["render",bn],["__scopeId","data-v-46c52189"]]),Mn={name:"HeaderCartPreview",components:{CartProduct:St,GButton:se,DeliveryInfo:vt},emits:["gotoCart"],data(){return{Sizes:W}},computed:{...y(re,["productsInCart","minDeliveryAmount","calculateCartTotalPrice"]),...y($,["isDelivery"])},methods:{usePrice:fe}},kn={class:"cart-preview__content-wrapper"},Pn={class:"cart-preview__products-list scroll-default-small"},wn={class:"cart-preview__bottom-wrapper"};function On(e,t,s,a,r,o){const l=p("CartProduct"),m=p("DeliveryInfo"),h=p("GButton");return i(),d("div",{class:"cart-preview",onClick:t[1]||(t[1]=P(()=>{},["stop","prevent"]))},[n("div",kn,[n("ul",Pn,[(i(!0),d(z,null,F(e.productsInCart,c=>(i(),d("li",{key:c.id,class:"cart-preview__product-item"},[u(l,{product:c,preview:!0},null,8,["product"])]))),128))]),n("div",wn,[u(m,{class:"delivery-info","only-one-level":""}),u(h,{size:r.Sizes.L,class:"cart-preview__go-to-cart-button",onClick:t[0]||(t[0]=c=>e.$emit("gotoCart"))},{default:f(()=>[M(_(e.$t("goToCart"))+" - "+_(o.usePrice().convert(e.calculateCartTotalPrice)),1)]),_:1},8,["size"])])])])}const En=b(Mn,[["render",On],["__scopeId","data-v-2b974213"]]),$n={name:"HeaderCart",components:{CartIcon:wt,LoaderIcon:dt,HeaderCartPreview:En},data(){return{width:"unset",cartPreview:!1,inCart:!1,IconSizes:O}},computed:{...y(re,["isCartLoaded","productsInCart","cartTotalPrices","calculateCartTotalPrice"]),...y($,["getDeliveryAddress","getDeliverySelfDepartment","isEmptyDelivery"]),isShowCartPreview(){return this.cartPreview&&!this.isMobile&&this.productsInCart.length},isLoading(){return de().isLoading(ce.UPDATE_PRODUCT)},isMobile(){const{$screen:e}=U();return e.width<800},addressSelected(){return this.getDeliveryAddress||this.getDeliverySelfDepartment},getDigitsInQuantity(){if(this.cartTotalPrices.totalQuantity)return this.cartTotalPrices.totalQuantity.toString().length}},methods:{...ut(V,["openModal"]),usePrice:fe,async gotoCart(){const{$sendYandexMetrika:e,$sendTagManagerMetric:t}=U();this.isEmptyDelivery?($().setPopupAddressSelectOpen(!1),this.openModal({modalName:"AddressSelecting",componentProps:{isCustomLayout:!0}})):(e(E.GO_TO_CART),t(E.GO_TO_CART),await this.$router.push(T.ORDER+T.PRODUCTS))},showCartPreview(){this.$router.currentRoute.value.path.includes("order/")||(this.cartPreview=!0)},hideCartPreview(){this.cartPreview=!1}},watch:{url(e){this.inCart=e.name==="order-step"},isShowCartPreview(e){Q(e)}},mounted(){this.inCart=(this._.provides[ct]||this.$route).name==="order-step"},unmounted(){Q(!1)}},Dn={class:"cart__title"},Hn={class:"cart__svg-wrap"};function Rn(e,t,s,a,r,o){const l=p("LoaderIcon"),m=p("HeaderCartPreview"),h=p("CartIcon");return i(),d("button",{class:w(["cart",{"cart-show":o.addressSelected}]),"data-testid":"openCart",onClick:t[0]||(t[0]=P(c=>o.gotoCart(),["prevent"])),onMouseover:t[1]||(t[1]=c=>o.showCartPreview()),onMouseleave:t[2]||(t[2]=c=>o.hideCartPreview())},[n("span",Dn,[o.isLoading?(i(),S(l,{key:0,size:r.IconSizes.L,fill:"var(--mono-600)",class:"cart__loader"},null,8,["size"])):(i(),d(z,{key:1},[e.isCartLoaded&&e.cartTotalPrices?.summ?(i(),d("span",{key:0,ref:"sumLine",class:w(["cart__title-price",{hidden:o.isLoading}])},_(o.usePrice().convert(e.calculateCartTotalPrice)),3)):(i(),d("span",{key:1,class:w(["cart__title-text",{hidden:o.isLoading}])},_(e.$t("cart")),3))],64))]),u(we,{name:"fade"},{default:f(()=>[o.isShowCartPreview?(i(),S(m,{key:0,onGotoCart:o.gotoCart},null,8,["onGotoCart"])):g("",!0)]),_:1}),n("span",Hn,[e.cartTotalPrices?.totalQuantity?(i(),d("span",{key:0,class:w(["cart__value",{[`cart__value--${o.getDigitsInQuantity}-digits`]:o.getDigitsInQuantity}])},_(e.cartTotalPrices.totalQuantity),3)):g("",!0),u(h)])],34)}const Bn=b($n,[["render",Rn],["__scopeId","data-v-0dba2abc"]]),Nn={name:"HeaderChangeLanguage",components:{GButtonSelect:Ye},props:{blockView:{type:Boolean}},computed:{availableLocales(){let e=[];switch(this.$i18n.locale){case"ru":case"en":return[{value:"ru",label:"ru"},{value:"en",label:"en"}];case"kk":case"ar":e=["kk","ar"];break}return this.$i18n.locales.filter(t=>e.includes(t.code))}},methods:{handleChangeLanguage(e){this.$i18n.setLocale(e.code)}}},Vn={class:"selected-language"};function zn(e,t,s,a,r,o){const l=p("GButtonSelect");return i(),d("div",null,[o.availableLocales.length?(i(),S(l,{key:0,"model-value":e.$i18n.locale,options:o.availableLocales,"block-view":s.blockView,onOnSelect:o.handleChangeLanguage},{default:f(()=>[n("span",Vn,_(e.$i18n.locale),1)]),_:1}
2,8,["model-value","options","block-view","onOnSelect"])):g("",!0)])}const je=b(Nn,[["render",zn],["__scopeId","data-v-b4940075"]]),Gn={name:"HeaderSidebarButton",emits:["toggle"],props:{isShow:{type:Boolean,default:!1},isShowIndicator:{type:Boolean,default:!1}},methods:{toggleMenu(){this.$emit("toggle")}}},Un={key:0,class:"menu-toggle__notification"};function xn(e,t,s,a,r,o){const l=Se;return i(),d("button",{"aria-label":"toggle-menu",class:w(["menu-toggle",{"menu-toggle_show":s.isShow}]),"data-testid":"menuTrigger",onClick:t[0]||(t[0]=(...m)=>o.toggleMenu&&o.toggleMenu(...m))},[t[1]||(t[1]=n("span",{class:"menu-toggle__line menu-toggle__line_first"},null,-1)),t[2]||(t[2]=n("span",{class:"menu-toggle__line menu-toggle__line_second"},null,-1)),t[3]||(t[3]=n("span",{class:"menu-toggle__line menu-toggle__line_third"},null,-1)),u(l,null,{default:f(()=>[s.isShowIndicator?(i(),d("span",Un)):g("",!0)]),_:1})],2)}const Zn=b(Gn,[["render",xn],["__scopeId","data-v-c64e817c"]]),Wn={name:"MainHeader",components:{AddressInfo:Ps,HeaderCart:Bn,NuxtCityLink:ue,HeaderAuthBlock:Tn,HeaderSidebarButton:Zn,LazyHeaderChangeLanguage:je},props:["menu"],computed:{...y(le,["getCurrentOrder"]),...y($,["getDeliveryAddress","getDeliverySelfDepartment"]),...y(te,["getIsLoggedIn"]),Routes(){return T},order(){return this.getCurrentOrder},getLogoBig(){return ie("big")},getLogoSmall(){return ie("small")},isMobile(){const{$screen:e}=U();return e.width<960},showIndicator(){return this.getCurrentOrder&&!this.menu&&this.getIsLoggedIn},altLogo(){const e=N();return`${this.$t("logo")} ${e.public.name}`}},methods:{toggleMenu(){this.$emit("toggleMenu")}}},Fn={class:"wrap-top-line js-wrap-top-line"},Yn={class:"top-line"},Kn={class:"top-line__wrapper"},jn={class:"top-line__base-info"},Qn={class:"top-line__menu"},Xn={class:"logo-link__img"},qn=["srcset"],Jn=["src","alt"],ei={class:"top-line__actions"};function ti(e,t,s,a,r,o){const l=p("HeaderSidebarButton"),m=p("NuxtCityLink"),h=p("AddressInfo"),c=p("LazyHeaderChangeLanguage"),C=p("HeaderAuthBlock"),A=p("HeaderCart");return i(),d("div",Fn,[t[0]||(t[0]=n("div",{class:"space-for-app"},null,-1)),n("div",Yn,[n("div",Kn,[n("div",jn,[n("div",Qn,[u(l,{"is-show":s.menu,"is-show-indicator":o.showIndicator,onToggle:o.toggleMenu},null,8,["is-show","is-show-indicator","onToggle"]),u(m,{to:o.Routes.MAIN,class:"logo-link"},{default:f(()=>[n("picture",Xn,[n("source",{srcset:o.getLogoSmall,media:"(max-width: 580px)"},null,8,qn),n("img",{class:"logo-link__img",src:o.getLogoBig,alt:o.altLogo},null,8,Jn)])]),_:1},8,["to"])]),u(h,{class:"top-line__address-info"})]),n("div",ei,[x(u(c,{class:"top-line__switch-language"},null,512),[[j,e.$i18n.locales.length>1]]),u(C),u(A)])])])])}const oi=b(Wn,[["render",ti],["__scopeId","data-v-dd53509f"]]),si={name:"SidebarContactUs",computed:{TEST_IDS(){return X},...y($,["city"]),getFeedbackPhones(){return[...this.city.phonesUrban,...this.city.phonesMobile,...this.city.phonesHotline].filter(t=>t.length!==0)}},methods:{formatPhone(e){return e.replace(/[-() /\\]/g,"")}}},ni={key:0,class:"feedback-info__wrap"},ii=["data-testid"],ri={class:"feedback-info"},ai=["href"];function li(e,t,s,a,r,o){return o.getFeedbackPhones?(i(),d("div",ni,[n("p",{class:"feedback-info__title","data-testid":o.TEST_IDS.SIDEBAR.FEEDBACK_TITLE},_(e.$t("connectWithUs")),9,ii),n("ul",ri,[(i(!0),d(z,null,F(o.getFeedbackPhones,(l,m)=>(i(),d("li",{key:m,class:"feedback-info__item"},[n("a",{href:`tel:${o.formatPhone(l)}`,class:"feedback-info__link"},_(l),9,ai)]))),128))])])):g("",!0)}const di=b(si,[["render",li],["__scopeId","data-v-e384985d"]]),ci={class:"sidebar-order-card__icon"},ui={class:"sidebar-order-card__body"},_i={class:"sidebar-order-card__head"},pi={class:"sidebar-order-card__code"},mi={class:"sidebar-order-card__time"},hi={key:0,class:"sidebar-order-card__status"},fi=D({__name:"SidebarOrderCard",props:{order:{}},emits:["select"],setup(e){const t=e,{t:s}=Ce(),a=B(()=>It(t.order.status.id,t.order.delivery_type)),r=B(()=>{const{key:l,params:m}=$t(t.order);return l?s(l,m??{}):""}),o=B(()=>xe(_t(t.order.create_time),"HH:mm"));return(l,m)=>(i(),d("button",{class:"sidebar-order-card",onClick:m[0]||(m[0]=h=>l.$emit("select",e.order))},[n("div",ci,[(i(),S(Oe(a.value),{size:v(O).M,fill:"var(--exeption-100)"},null,8,["size"]))]),n("div",ui,[n("div",_i,[n("span",pi,"â"+_(e.order.code),1),n("span",mi,_(v(s)("orderFrom",{time:o.value})),1)]),r.value?(i(),d("span",hi,_(r.value),1)):g("",!0)])]))}}),gi=b(fi,[["__scopeId","data-v-fd5a162a"]]),Ci={key:0,class:"sidebar-orders"},Te=2,vi=D({__name:"SidebarOrders",emits:["closeMenu"],setup(e,{emit:t}){const s=t,{t:a}=Ce(),r=Ge(),{isLoading:o}=de(),{fetchCurrentOrders:l}=le(),{getCurrentOrders:m}=oe(le()),h=ee(!1),c=B(()=>o(ce.FETCH_CURRENT_ORDERS)),C=B(()=>m.value.length>Te&&!h.value?m.value.slice(0,Te):m.value),A=B(()=>m.value.length-Te);function J(ne){s("closeMenu"),r.push({path:T.USER+T.CURRENT_ORDERS,query:{orderId:ne.id}})}return Pe(async()=>{try{await l()}catch(ne){console.error("ÐÑибка пÑи полÑÑении ÑекÑÑиÑ
заказов в ÑайдбаÑе",ne)}}),(ne,_e)=>(i(),S(v(Le),{loading:c.value,class:"sidebar-orders-loader"},{default:f(()=>[u(v(Ie),{height:"68px"},{default:f(()=>[v(m).length?(i(),d("div",Ci,[(i(!0),d(z,null,F(C.value,ae=>(i(),S(gi,{key:ae.id,order:ae,onSelect:J},null,8,["order"]))),128)),A.value>0?(i(),d("button",{key:0,class:"sidebar-orders__toggle",onClick:_e[0]||(_e[0]=ae=>h.value=!h.value)},[n("span",null,_(h.value?v(a)("collapse"):v(a)("activeOrdersCount",A.value)),1),u(v(ye),{rotate:h.value?v(q).UP:v(q).DOWN,size:v(O).S,fill:"var(--color-primary)"},null,8,["rotate","size"])])):g("",!0)])):g("",!0)]),_:1})]),_:1},8,["loading"]))}}),Si=b(vi,[["__scopeId","data-v-2e89eda4"]]),yi={name:"SidebarPages",components:{NewPageIcon:Dt,NuxtCityLink:ue},props:["section"],data(){return{Sizes:W}},computed:{...y(le,["getCurrentOrders"]),...y(Z,["getBonusSystemEnabled","getGiftCertificatesEnabled"]),order(){return this.getCurrentOrders[0]},getMenuItems(){const e=[{enabled:this.getBonusSystemEnabled,match:"bonus_card",to:T.BONUS_CARD},{enabled:this.getGiftCertificatesEnabled,match:"certs",to:T.CERTS}];return this.section.items.map(t=>{for(const{enabled:s,match:a,to:r}of e)if(s&&t.url.includes(a))return{...t,url:r,testId:X.SIDEBAR.LINK(t.id)||null};return{...t,url:this.isRedirectToOuter(t.url)?t.url:`${T.LANDING}${t.url}`,testId:X.SIDEBAR.LINK(t.id)||null}})}},methods:{isRedirectToOuter(e){return e.includes("http")},closeMenu(){this.$emit("closeMenu")}}},Ii={key:0,class:"menu-block__title"},Li={class:"menu-block__items"},Ai=["href","data-testid"];function bi(e,t,s,a,r,o){const l=p("NewPageIcon"),m=p("NuxtCityLink");return i(),d("div",{class:w(["menu-block-wrapper",{"with-order":o.order}])},[s.section.name?(i(),d("div",Ii,_(s.section.name),1)):g("",!0),n("ul",Li,[(i(!0),d(z,null,F(o.getMenuItems,(h,c)=>(i(),d("li",{key:c,class:"menu-block__item"},[o.isRedirectToOuter(h.url)?(i(),d("a",{key:0,href:h.url,target:"_blank",class:"menu-block__link","data-testid":h.testId},[M(_(h.name)+" ",1),u(l,{class:"menu-block__link-icon",size:r.Sizes.S,fill:"var(--mono-900)"},null,8,["size"])],8,Ai)):(i(),S(m,{key:1,to:h.url,class:"menu-block__link","data-testid":h.testId,onClick:t[0]||(t[0]=C=>o.closeMenu())},{default:f(()=>[M(_(h.name),1)]),_:2},1032,["to","data-testid"]))]))),128))])],2)}const Ti=b(yi,[["render",bi],["__scopeId","data-v-b1371820"]]),Mi={name:"SidebarSelectCity",components:{ArrowBaseIcon:ye},directives:{clickOutside:$e.directive},data(){return{selectCityModal:!1,Side:q,IconSizes:O}},computed:{...y($,{cities:"cities",selectedCity:"city"}),...y($,["cityWorkTimeHtml","isJustOneCity"])},methods:{selectCityModalToggle(){this.isJustOneCity||(this.selectCityModal=!this.selectCityModal)},async chooseCity(e){await $().reloadByCityId({cityId:e.id})}}},ki={class:"city-menu__selected"},Pi={class:"city-menu__selected-info"},wi={class:"selected-city__wrap"},Oi=["innerHTML"],Ei={key:0,class:"city-menu-list"},$i=["onClick"];function Di(e,t,s,a,r,o){const l=p("ArrowBaseIcon");return i(),d("div",{class:"city-menu-wrap",onClick:t[0]||(t[0]=P(m=>o.selectCityModalToggle(),["prevent"]))},[n("div",ki,[n("div",Pi,[n("div",wi,[M(_(e.selectedCity.name)+" ",1),e.isJustOneCity?g("",!0):(i(),S(l,{key:0,rotate:r.selectCityModal?r.Side.UP:r.Side.DOWN,size:r.IconSizes.S},null,8,["rotate","size"]))]),n("span",{class:"city-menu__selected-work-time",innerHTML:e.cityWorkTimeHtml},null,8,Oi)])]),r.selectCityModal?(i(),d("ul",Ei,[(i(!0),d(z,null,F(e.cities,m=>(i(),d("li",{key:m.id,class:"city-menu-list__item"},[n("a",{href:"#",class:"city-menu-list__link",onClick:P(h=>o.chooseCity(m),["prevent"])},_(m.name),9,$i)]))),128))])):g("",!0)])}const Hi=b(Mi,[["render",Di],["__scopeId","data-v-9f449295"]]),Ri={name:"SidebarMenu",setup(){return{SECURITY_MAIL:"[email protected]"}},components:{OdnoklassnikiIcon:Oo,SidebarContactUs:di,SidebarOrders:Si,SidebarSelectCity:Hi,Ap
2pSource:Ke,GButton:se,NuxtCityLink:ue,HeaderChangeLanguage:je,InstagramIcon:Io,WhatsappIcon:Jo,MailIcon:Ot,YouTubeIcon:ss,TelegramIcon:zo,VkIcon:jo,MaxIcon:To,SidebarPages:Ti,GShimmerProvider:Le,GShimmer:Ie},directives:{clickOutside:$e.directive},props:{showMenu:{type:Boolean}},data(){return{Routes:T,IconSizes:O,mobileScreen:!1,localCatalog:"",socials:[]}},computed:{TEST_IDS(){return X},...y(V,["anyOpenModals"]),...y($,["getCurrentDepartmentSocial"]),...y(Z,["getSideBarMenu","getBonusSystemEnabled","getSidebarLoading","getGiftCertificatesEnabled"]),...y(te,["getProfile","getBonusPoints","getIsLoggedIn"]),formatName(){return this.getProfile&&this.getProfile.name?this.getProfile.name.length>20?`${this.getProfile.name.slice(0,18)}...`:this.getProfile.name:this.getProfile?.phone?Ht(this.getProfile.phone):""},navigationLinks(){if(!this.getSideBarMenu.length)return[];const e=[];return this.getBonusSystemEnabled||e.push(T.BONUS_CARD),this.getGiftCertificatesEnabled||e.push(T.CERTS),e.length?this.getSideBarMenu.map(t=>({...t,items:t.items.filter(s=>!e.includes(s.url))})):this.getSideBarMenu},isMobile(){const{$screen:e}=U();return e.width<1280},currentSocials(){let e=null;this.getCurrentDepartmentSocial&&(e=Object.entries(this.getCurrentDepartmentSocial).filter(([a])=>a));const t=N(),s=Object.entries(t.public).filter(([a])=>a);if(e&&e.length)return Me(Object.fromEntries(e));if(s&&s.length)return Me(Object.fromEntries(s))},getLogoBig(){return ie("big")},hasBonusCard(){return this.getProfile?.bonus_card},getLoadingProfile(){return de().isLoading(ce.FETCH_PROFILE)}},methods:{closeMenu(){this.showMenu&&this.$emit("toggleMenu")},goBonusCard(){this.$router.push(T.BONUS_CARD)},openRegistration(){const e=V();this.$emit("toggleMenu"),this.getIsLoggedIn||e.openModal({modalName:"LoginFormModal"})},logout(){const e=V(),t=te(),s=re();e.openModal({modalName:"InfoModal",modalData:{text:this.$t("doYouReallyWantToLeaveQuestion"),confirmation:!0,yes:{testId:"userLogout",text:this.$t("yes")},no:{text:this.$t("no")},agreeHandler:async()=>{t.logout(),await s.fetchCart()},regretHandler:()=>{}}})},toggleBodyScroll(){Q(!1)}},watch:{showMenu:{handler(e){e||document.removeEventListener("keydown",this.closeMenu)}}},async mounted(){Q(!0),document.addEventListener("keydown",this.closeMenu);const e=Z();this.getSideBarMenu.length||await e.fetchSidebarMenu()},beforeUnmount(){Q(!1)}},Bi={class:"menu__inner scroll-default-small"},Ni=["src"],Vi={class:"login-button"},zi={class:"sidebar-user"},Gi={class:"auth-user"},Ui={class:"auth-menu-steps"},xi={class:"auth-menu-steps__item"},Zi={key:0,class:"auth-menu-steps__item"},Wi={key:0,class:"auth-menu-steps__link_count"},Fi={class:"auth-menu-steps__item"},Yi={class:"menu-bottom-line"},Ki={key:0,class:"socials"},ji=["href","data-testid"],Qi={class:"security-mail"},Xi=["href"];function qi(e,t,s,a,r,o){const l=p("NuxtCityLink"),m=p("HeaderChangeLanguage"),h=p("GButton"),c=p("SidebarOrders"),C=p("GShimmer"),A=p("GShimmerProvider"),J=p("SidebarSelectCity"),ne=p("SidebarPages"),_e=p("SidebarContactUs"),ae=p("AppSource");return i(),d("div",{class:"menu",onMouseleave:t[2]||(t[2]=(...R)=>o.toggleBodyScroll&&o.toggleBodyScroll(...R))},[n("div",Bi,[x(u(l,{to:r.Routes.MAIN,class:"logo-link"},{default:f(()=>[n("img",{src:o.getLogoBig,alt:"logo",class:"logo-link__img"},null,8,Ni)]),_:1},8,["to"]),[[j,o.isMobile]]),x(u(m,{"block-view":"",class:"change-language"},null,512),[[j,o.isMobile&&e.$i18n.locales.length>1]]),u(A,{loading:o.getLoadingProfile,class:"login-loader"},{default:f(()=>[u(C,{height:"34px"},{default:f(()=>[x(n("div",Vi,[u(h,{"data-testid":"openRegistration",onClick:o.openRegistration},{default:f(()=>[M(_(e.$t("loginToAccount")),1)]),_:1},8,["onClick"])],512),[[j,!e.getIsLoggedIn]]),x(n("div",zi,[n("div",Gi,[u(l,{to:r.Routes.USER+r.Routes.PROFILE,class:"auth-user__name",rel:"nofollow","data-testid":o.TEST_IDS.SIDEBAR.AUTH_USER_NAME},{default:f(()=>[M(_(o.formatName),1)]),_:1},8,["to","data-testid"])]),u(c,{onCloseMenu:o.closeMenu},null,8,["onCloseMenu"]),n("ul",Ui,[n("li",xi,[u(l,{to:r.Routes.USER+r.Routes.ORDER_HISTORY,class:"auth-menu-steps__link"},{default:f(()=>[M(_(e.$t("historyOfOrders")),1)]),_:1},8,["to"])]),o.hasBonusCard?(i(),d("li",Zi,[n("a",{role:"link",class:"auth-menu-steps__link",onClick:t[0]||(t[0]=P(R=>o.goBonusCard(),["prevent"]))},[M(_(e.$t("myBonusBalance"))+"Â ",1),e.getBonusPoints?(i(),d("span",Wi," ("+_(e.getBonusPoints)+") ",1)):g("",!0)])])):g("",!0),n("li",Fi,[n("a",{role:"link",class:"auth-menu-steps__link",onClick:t[1]||(t[1]=P((...R)=>
2o.logout&&o.logout(...R),["prevent"]))},_(e.$t("exit")),1)])])],512),[[j,e.getIsLoggedIn]])]),_:1})]),_:1},8,["loading"]),x(u(J,{class:"connect-info"},null,512),[[j,o.isMobile]]),n("div",null,[u(A,{loading:e.getSidebarLoading},{default:f(()=>[u(C,{height:"109px"},{default:f(()=>[(i(!0),d(z,null,F(o.navigationLinks,(R,Ae)=>(i(),S(ne,{key:Ae,section:R,onCloseMenu:o.closeMenu},null,8,["section","onCloseMenu"]))),128))]),_:1})]),_:1},8,["loading"])]),u(_e),n("div",Yi,[u(ae,{class:"store-app","app-store-testid":o.TEST_IDS.SIDEBAR.APPSTORE_LINK,"google-play-testid":o.TEST_IDS.SIDEBAR.GOOGLE_PLAY_LINK},null,8,["app-store-testid","google-play-testid"]),o.currentSocials?(i(),d("div",Ki,[(i(!0),d(z,null,F(o.currentSocials,(R,Ae)=>(i(),d("div",{key:R.icon+Ae+R.url},[R.title?(i(),d("a",{key:0,class:"socials__link",href:R.url,target:"_blank","data-testid":o.TEST_IDS.SIDEBAR.EMAIL},[R.icon?(i(),S(Oe(R.icon),{key:0,size:r.IconSizes.S},null,8,["size"])):g("",!0),M(" "+_(R.title),1)],8,ji)):g("",!0)]))),128))])):g("",!0),n("div",Qi,[M(_(e.$t("mailIfYouFindSecurityVulnerability"))+" ",1),n("a",{class:"security-mail__link",href:`mailto:${a.SECURITY_MAIL}?subject=${e.$t("securityMailSubject")}`},_(a.SECURITY_MAIL),9,Xi)])])])],32)}const Ji=b(Ri,[["render",qi],["__scopeId","data-v-c86eec80"]]),e1={id:"main-header",class:"header"},t1=D({__name:"HeaderSection",setup(e){const t=ke(),s=ee(!1),a=()=>{s.value=!s.value};return me(()=>t.fullPath,()=>{s.value&&a()}),(r,o)=>{const l=Se;return i(),d("header",e1,[u(oi,{menu:s.value,onToggleMenu:a},null,8,["menu"]),x(n("div",{class:"menu-background",onClick:o[0]||(o[0]=m=>a())},null,512),[[j,s.value]]),u(l,null,{default:f(()=>[u(we,{name:"appearance"},{default:f(()=>[s.value?(i(),S(Ji,{key:0,"show-menu":s.value,onToggleMenu:a},null,8,["show-menu"])):g("",!0)]),_:1})]),_:1})])}}}),o1=b(t1,[["__scopeId","data-v-82d9822a"]]),s1={class:"top-block",ref:"topLine"},n1=D({__name:"TopLine",props:{isCatalog:{type:Boolean,default:!1}},setup(e){const t=pt("topLine"),{init:s}=is();return s(t),(a,r)=>(i(),d("div",s1,[u(Sn,{"is-catalog":e.isCatalog},null,8,["is-catalog"]),u(o1)],512))}}),F1=b(n1,[["__scopeId","data-v-e744d415"]]),i1={name:"ModalWrapper",components:{GButton:se,PlusIcon:Ee,PageTitle:Bt},props:{modalName:{type:String},componentProps:{type:Object}},data(){return{Side:q,isActive:"",IconSizes:O,Sizes:W,ButtonView:ve,footerShadow:!1}},computed:{...y(V,["getOpenedModal"]),...y($,["city"]),teleportTargetTitle(){return`${this.modalName}-title`},teleportTargetFooter(){return`${this.modalName}-footer`},modalElementClass(){return[`modal-element__size_${this.componentProps?.size||W.S}`]},defaultScroll(){const{$screen:e}=U();if(e.width>480&&this.componentProps?.defaultScroll!==!1)return"default-scroll"},overflowHidden(){if(this.componentProps?.overflowHidden)return"overflowHidden"},modalTitle(){return this.componentProps?.title},showCloseButton(){return!this.componentProps?.hideCloseButton},isCustomLayout(){return this.componentProps?.isCustomLayout},closeTestId(){return{LoginFormModal:X.AUTH.MODAL_CLOSE,TrackCourier:X.COURIER_MODAL.CLOSE}[this.modalName]},modalElementTestId(){return{TrackCourier:X.COURIER_MODAL.ROOT}[this.modalName]}},methods:{closeModalListener(e){e.key==="Escape"&&this.getOpenedModal?.modalName===this.modalName&&this.onPopupClose()},onPopupClose(){V().closeModal(),document.removeEventListener("keydown",this.closeModalListener),this.componentProps?.onCloseHandler?.()},toggleShadow(e){this.footerShadow=e.target.scrollHeight-e.target.scrollTop!==e.target.clientHeight}},mounted(){Q(!0),document.addEventListener("keydown",this.closeModalListener),setTimeout(()=>{this.isActive="active",this.footerShadow=this.$refs.modalBody?.scrollHeight!==this.$refs.modalBody?.offsetHeight},300)}},r1=["data-testid"],a1={class:"modal-header"},l1=["id"],d1={class:"modal-dialog"},c1=["id"];function u1(e,t,s,a,r,o){const l=p("PageTitle"),m=p("PlusIcon"),h=p("GButton");return i(),d("div",{class:w(["modal",[o.defaultScroll,o.overflowHidden,r.isActive]]),onMousedown:t[1]||(t[1]=P((...c)=>o.onPopupClose&&o.onPopupClose(...c),["self"]))},[o.isCustomLayout?he(e.$slots,"default",{key:1},void 0,!0):(i(),d("div",{key:0,class:w(["modal-element",o.modalElementClass]),"data-testid":o.modalElementTestId},[n("div",{ref:"modalBody",class:"modal-body scroll-default-small",onScrollPassive:t[0]||(t[0]=(...c)=>o.toggleShadow&&o.toggleShadow(...c))},[n("div",a1,[u(l,{class:"modal-title","show-go-back-arrow":!1},{default:f(()=>[n("div",{id:o.teleportTargetTitle},_(o.modalTitle),9,l1)]),_:1}),o.showCloseButton?(i(),S(h,{key:0,view:r.ButtonView.GHOST,size:r.Sizes.S,"only-icon":"",class:"modal-close","data-testid":o.closeTestId,onClick:o.onPopupClose},{default:f(()=>[u(m,{rotate:r.Side.DIAGONALLY,size:r.IconSizes.S,fill:"var(--exeption-900)"},null,8,["rotate","size"])]),_:1},8,["view","size","data-testid","onClick"])):g("",!0)]),n("div",d1,[he(e.$slots,"default",{},void 0,!0)])],544),n("div",{class:w(["modal-footer",{"modal-footer__shadow":r.footerShadow}]),id:o.teleportTargetFooter},null,10,c1)],10,r1))],34)}const _1=b(i1,[["render",u1],["__scopeId","data-v-2ae86939"]]),p1={name:"Modals",components:{ModalWrapper:_1,AddressSelecting:I(()=>L(()=>import("./CKK2lexl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50]),import.meta.url)),InfoModal:I(()=>L(()=>import("./BAuFMNMm.js"),__vite__mapDeps([51,1,2,52,53]),import.meta.url)),LoginFormModal:I(()=>L(()=>import("./7xhsn0Zs.js"),__vite__mapDeps([54,1,2,10,4,5,9,11,6,55,52,56,57,58,46,31,32,20,59,28,29,30,3,22,23,24,17,18,25,14,15,26,13,16,27,33,34,35,36,37,38,19,39,40,41,42,43,44,45,47,48,49,60]),import.meta.url)),Search:I(()=>L(()=>import("./DnF2EfAq.js"),__vite__mapDeps([61,1,2,10,4,5,9,11,40,3,6,52,62,14,15,63,26,64,42,17,18,20,65,66]),import.meta.url)),UserAgreements:I(()=>L(()=>import("./B2BvCqM-.js"),__vite__mapDeps([67,1,2,3,4,5,6,52,68]),import.meta.url)),AdditionalProductsModal:I(()=>L(()=>import("./EjaYk-Ls.js"),__vite__mapDeps([69,1,2,6,4,5,52,22,23,24,9,17,18,25,14,15,26,3,13,16,20,27,70]),import.meta.url)),Parti
2alWriteOffBonusesModal:I(()=>L(()=>import("./D1F4t1Wr.js"),__vite__mapDeps([71,1,2,10,4,5,9,11,13,14,15,16,72,41,73]),import.meta.url)),PromoModal:I(()=>L(()=>import("./C_0snp1A.js"),__vite__mapDeps([74,1,2,75,76,52,77,17,4,5,18,20,14,15,78,26,3,6,79]),import.meta.url)),PaidDeliveryModal:I(()=>L(()=>import("./CrfJRmPq.js"),__vite__mapDeps([80,1,2,19,4,5,52,22,6,23,24,9,17,18,25,14,15,26,3,13,16,20,27,81]),import.meta.url)),SavedAddressesModal:I(()=>L(()=>import("./DMSYOhVs.js"),__vite__mapDeps([82,1,2,3,4,5,6,52,83,75,76,84,85,10,9,11,33,34,86,19,87,88]),import.meta.url)),CancelOrder:I(()=>L(()=>import("./DGYYRK9I.js"),__vite__mapDeps([89,1,2,84,52,90,91,75,76,92,10,4,5,9,11,93,20,94,95]),import.meta.url)),RefundModal:I(()=>L(()=>import("./CpRIogE5.js"),__vite__mapDeps([96,1,2,56,4,5,52,46,97]),import.meta.url)),OrderRatingModal:I(()=>L(()=>import("./BbmhcJAQ.js"),__vite__mapDeps([98,1,2,99,9,4,5,100,101,102,3,6,84,103,104,105,63,106,90,91,85,10,11,17,18,107]),import.meta.url)),RemoveAddressModal:I(()=>L(()=>import("./D79m4Wav.js"),__vite__mapDeps([108,1,2,52]),import.meta.url)),RemoveCardModal:I(()=>L(()=>import("./D3zI9YlC.js"),__vite__mapDeps([109,1,2,52]),import.meta.url)),CallDepartmentModal:I(()=>L(()=>import("./DtgenvFW.js"),__vite__mapDeps([110,58,1,2,52,46,111]),import.meta.url)),BuildRouteModal:I(()=>L(()=>import("./DVw6hszo.js"),__vite__mapDeps([112,1,2,52,113]),import.meta.url)),IndividualEntrepreneurModal:I(()=>L(()=>import("./BeaT3kwc.js"),__vite__mapDeps([114,1,2,115,4,5,52,116,117]),import.meta.url)),MapModal:I(()=>L(()=>import("./C-9Hmy9h.js"),__vite__mapDeps([118,1,2,119,4,5,3,6,7,52,120,56,121,122,40,43,19,23,24,123,124]),import.meta.url)),TagsFilterModal:I(()=>L(()=>import("./DtauUWVs.js"),__vite__mapDeps([125,1,2,121,122,52,126]),import.meta.url)),ForgottenProducts:I(()=>L(()=>import("./CX6uGggv.js"),__vite__mapDeps([127,1,2,52,128]),import.meta.url)),GotBonusCard:I(()=>L(()=>import("./DXl7ugXo.js"),__vite__mapDeps([129,1,2,72,130]),import.meta.url)),TechnicalInfoModal:I(()=>L(()=>import("./Bp7trVJv.js"),__vite__mapDeps([131,1,2,72,132]),import.meta.url)),NoDelivery:I(()=>L(()=>import("./CpKCSiud.js"),__vite__mapDeps([133,1,2,52,134]),import.meta.url)),TabPaymentQr:I(()=>L(()=>import("./C6XPb9Uj.js"),__vite__mapDeps([135,1,2,6,4,5,58,52,136,137]),import.meta.url)),RemovedProductsModal:I(()=>L(()=>import("./BUG0DNrm.js"),__vite__mapDeps([138,1,2,52,139]),import.meta.url)),TrackCourier:I(()=>L(()=>import("./DVn-gm-j.js"),__vite__mapDeps([140,58,1,2,52,28,29,30,6,4,5,3,22,23,24,9,17,18,25,14,15,26,13,16,20,27,31,32,33,34,35,36,37,38,19,39,10,11,40,41,42,43,44,45,46,47,48,49,141]),import.meta.url)),PromoeventsCancelled:I(()=>L(()=>import("./Dum35skD.js"),__vite__mapDeps([142,1,2,72,143]),import.meta.url))},computed:{...y(V,["arrOpenedModals","getOpenedModal"])}},m1={key:0};function h1(e,t,s,a,r,o){const l=p("ModalWrapper");return i(),S(we,{name:"fade"},{default:f(()=>[e.arrOpenedModals.length&&e.getOpenedModal?(i(),d("div",m1,[(i(!0),d(z,null,F(e.arrOpenedModals,(m,h)=>(i(),S(l,{key:`${m.modalName}-${h}`,modalName:m.modalName,componentProps:m.componentProps},{default:f(()=>[(i(),S(Oe(m.modalName),{"modal-data":m?.modalData,modalName:m.modalName},null,8,["modal-data","modalName"]))]),_:2},1032,["modalName","componentProps"]))),128))])):g("",!0)]),_:1})}const Y1=b(p1,[["render",h1],["__scopeId","data-v-cb2656f6"]]);export{Ps as A,W1 as F,Y1 as M,F1 as T,is as a,zo as b,Ke as c,Ye as q,Z1 as u,Jo as v,To as x};
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.