1import{_ as j}from"./C7jWd3TO.js";import{l as z,o as s,c as l,m as t,t as v,F as u,p as f,a as m,A as h,C as _,j as c,q as b,r as C,k as $,z as I,T as M,B as N}from"./BsuG9R0E.js";import{_ as w}from"./BzxbGL42.js";const S={class:"text-link"},V={class:"pb-2 font-semibold"},T={class:"flex flex-col gap-y-3"},L=z({__name:"CatalogMobileBlock",props:{block:{}},setup(d){const y=d,n=C(!1),i=$(()=>y.block.items.filter(r=>!(r.title.includes("ÐÑе ")||r.title.includes(" вÑе")||r.title.includes("ÐеÑÑ ")))),p=$(()=>n.value?i.value:i.value.slice(0,4));return(r,x)=>{const k=j;return s(),l("div",S,[t("p",V,v(d.block.title),1),t("div",T,[(s(!0),l(u,null,f(c(p),e=>(s(),m(k,{key:e.id??e.link,to:e.link,class:"block rounded text-[13px] hover:underline focus-visible:outline-2 focus-visible:outline-hover-link"},{default:h(()=>[_(v(e.title),1)]),_:2},1032,["to"]))),128)),c(i).length>4?(s(),l("button",{key:0,type:"button",class:"w-max rounded text-[13px] underline focus-visible:outline-2 focus-visible:outline-hover-link",onClick:x[0]||(x[0]=e=>n.value=!c(n))},v(c(n)?"СвеÑнÑÑÑ":"ÐоÑмоÑÑеÑÑ Ð²Ñе"),1)):b("",!0)])])}}}),E=Object.assign(L,{__name:"HeaderCatalogMobileBlock"}),F={class:"grid grid-cols-2 gap-1"},H={class:"flex flex-1 items-center justify-center"},O=["src","alt"],q={class:"flex h-9 items-center justify-center px-4 pb-2 text-center text-sm/4 text-link"},A=z({__name:"CatalogMobileBlockImages",props:{block:{}},setup(d){const y=d,n=C(!1),i=$(()=>y.block.items.filter(r=>r.title==="ÐÑе лÑÑÑÑÑ"||!(r.title.includes("ÐÑе ")||r.title.includes(" вÑе")||r.title.includes("ÐеÑÑ ")))),p=$(()=>n.value?i.value:i.value.slice(0,5));return(r,x)=>{const k=j;return s(),l("div",F,[(s(!0),l(u,null,f(c(p),e=>(s(),m(k,{key:e.id??e.link,to:e.link,class:"flex min-h-[166px] flex-col justify-center rounded-sm border border-primary focus-visible:outline-2 focus-visible:outline-hover-link"},{default:h(()=>[t("span",H,[e.image?(s(),l("img",{key:0,src:e.image,class:"mx-auto",width:"80",height:"80",alt:e.title,loading:"lazy",decoding:"async"},null,8,O)):b("",!0)]),t("span",q,v(e.title),1)]),_:2},1032,["to"]))),128)),c(i).length>5?(s(),l("button",{key:0,type:"button",class:"flex min-h-[166px] flex-col justify-center rounded-sm border border-[#f6f6f4] text-center text-sm/4 text-link focus-visible:outline-2 focus-visible:outline-hover-link",onClick:x[0]||(x[0]=e=>n.value=!c(n))},v(c(n)?"СвеÑнÑÑÑ":"ÐоÑмоÑÑеÑÑ ÐµÑе"),1)):b("",!0)])}}}),D=Object.assign(A,{__name:"HeaderCatalogMobileBlockImages"}),G=w+"#sale",J=w+"#sun",K=w+"#chevron-right",P=w+"#close",Q={key:0,class:"flex h-full items-center justify-center text-link"},R={key:1,class:"flex h-full flex-col items-center justify-center gap-4"},U={key:2,class:"flex h-full items-center justify-center text-link"},W={"aria-label":"Ð Ð°Ð·Ð´ÐµÐ»Ñ ÐºÐ°Ñалога"},X=["onClick"],Y={class:"border-t border-brand-gray-400 px-4 py-3"},Z={class:"border-t border-brand-gray-400 px-4 py-3"},ee={class:"scrollbar-x flex gap-2 overflow-x-auto"},te={key:0,class:"absolute inset-0 z-10 overflow-y-auto bg-white"},se={class:"sticky top-0 z-10 flex h-[50px] items-center justify-between bg-white p-2 shadow-[0_4px_24px_rgba(0,30,52,0.06)]"},le={class:"font-semibold"},ne={class:"px-4 pb-4 pt-3"},oe={key:0},ie={key:0,class:"grid grid-cols-2 gap-x-1 gap-y-5 pt-5"},re={class:"grid grid-cols-2 gap-x-1 gap-y-5 pt-5"},ae=["src","alt"],be=z({__name:"menu-mobile-catalog",props:{sections:{default:()=>[]},pending:{type:Boolean,default:!1},hasError:{type:Boolean,default:!1},ribbonVisible:{type:Boolean,default:!0}},emits:["close","retry"],setup(d,{emit:y}){const n=y,i=C(null),p=C(""),r=k=>{i.value=k.id,p.value=k.title},x=()=>{i.value=null,p.value=""};return(k,e)=>{const B=j;return s(),l("div",{class:N(["fixed inset-x-0 bottom-0 z-[60] overflow-y-auto bg-white xl:hidden",d.ribbonVisible?"top-[115px]":"top-[81px]"])},[d.pending?(s(),l("div",Q,[...e[9]||(e[9]=[t("span",{class:"size-8 animate-spin rounded-full border-2 border-brand-gray-400 border-t-primary motion-reduce:animate-none","aria-hidden":"true"},null,-1),t("span",{class:"sr-only"},"ÐагÑÑзка каÑалога",-1)])])):d.hasError?(s(),l("div",R,[e[10]||(e[10]=t("p",{class:"text-brand-border-red"},"Ðе ÑдалоÑÑ Ð·Ð°Ð³ÑÑзиÑÑ ÐºÐ°Ñалог",-1)),t("button",{type:"button",class:"rounded bg-primary px-5 py-2 focus-visible:outline-2 focus-visible:outline-hover-link",onClick:e[0]||(e[0]=o=>n("retry"))}," ÐовÑоÑиÑÑ ")])):d.sections.length?(s(),l(u,{key:3},[t("nav",W,[(s(!0),l(u,null,f(d.sections,o=>(s(),l("button",{key:o.id,type:"button",class:"block w-full border-t border-brand-gray-400 px-4 py-3 text-left font-semibold focus-visible:bg-brand-gray-400 focus-visible:outline-2 focus-visible:outline-hover-link",onClick:a=>r(o)},v(o.title),9,X))),128)),t("a",{href:"/promotion/",class:"flex items-center gap-2 border-t border-brand-gray-400 px-4 py-3 font-semibold text-link",onClick:e[1]||(e[1]=o=>n("close"))},[...e[11]||(e[11]=[t("svg",{class:"size-4 fill-icon-transparent","aria-hidden":"true"},[t("use",{href:G})],-1),_(" ÐолÑебнÑе Ñкидки до 70% ",-1)])]),I(B,{to:"/catalog/novinki/",class:"block border-t border-brand-gray-400 px-4 py-3 font-semibold text-link",onClick:e[2]||(e[2]=o=>n("close"))},{default:h(()=>[...e[12]||(e[12]=[_("Ðовинки",-1)])]),_:1})]),t("div",Y,[t("a",{href:"/selector_track/",class:"flex min-h-10 items-center justify-center gap-2.5 rounded-xl bg-[#f6f6f4] p-1.5 text-sm text-link",onClick:e[3]||(e[3]=o=>n("close"))},[...e[13]||(e[13]=[t("svg",{class:"size-6 fill-icon-transparent","aria-hidden":"true"},[t("use",{href:J})],-1),_(" ÐÐ¾Ð´Ð±Ð¾Ñ ÑÑекового ÑвеÑа ",-1)])])]),t("div",Z,[t("div",ee,[t("a",{href:"/help/delivery/",class:"shrink-0 rounded-xl bg-[#f4f6f8] px-3 py-2 text-link",onClick:e[4]||(e[4]=o=>n("close"))},"ÐоÑÑавка"),t("a",{href:"/partnership/designers/",class:"shrink-0 rounded-xl bg-[#f4f6f8] px-3 py-2 text-link",onClick:e[5]||(e[5]=o=>n("close"))},"ÐизайнеÑам"),t("a",{href:"/contacts/",class:"shrink-0 rounded-xl bg-[#f4f6f8] px-3 py-2 text-link",onClick:e[6]||(e[6]=o=>n("close"))},"ÐонÑакÑÑ")])]),I(M,{"enter-active-class":"transition-transform duration-200 ease-out motion-reduce:transition-none","enter-from-class":"translate-x-full","enter-to-class":"translate-x-0","leave-active-class":"transition-transform duration-150 ease-in motion-reduce:transition-none","leave-from-class":"translate-x-0","leave-to-class":"translate-x-full"},{default:h(()=>[c(i)!==null?(s(),l("div",te,[t("div",se,[t("button",{type:"button",class:"flex size-8 items-center justify-center rounded focus-visible:outline-2 focus-visible:outline-hover-link","aria-label":"ÐаÐ
1·Ð°Ð´",onClick:x},[...e[14]||(e[14]=[t("svg",{class:"size-5 rotate-180 fill-icon-transparent","aria-hidden":"true"},[t("use",{href:K})],-1)])]),t("p",le,v(c(p)),1),t("button",{type:"button",class:"flex size-8 items-center justify-center rounded focus-visible:outline-2 focus-visible:outline-hover-link","aria-label":"ÐакÑÑÑÑ ÐºÐ°Ñалог",onClick:e[7]||(e[7]=o=>n("close"))},[...e[15]||(e[15]=[t("svg",{class:"size-3 fill-icon-transparent","aria-hidden":"true"},[t("use",{href:P})],-1)])])]),t("div",ne,[(s(!0),l(u,null,f(d.sections,o=>(s(),l(u,{key:o.id},[o.id===c(i)?(s(),l("div",oe,[(s(!0),l(u,null,f(o.blocksImageTitle,a=>(s(),m(D,{key:a.id??a.title,block:a},null,8,["block"]))),128)),o.blocks?.length?(s(),l("div",ie,[(s(!0),l(u,null,f(o.blocks,a=>(s(),m(E,{key:a.id??a.title,block:a},null,8,["block"]))),128))])):b("",!0),o.blocksImage?.length?(s(),l(u,{key:1},[e[16]||(e[16]=t("p",{class:"pb-2 pt-4 font-semibold"},"ÐÑÐµÐ½Ð´Ñ Ð² ÑÑенде",-1)),t("div",re,[(s(!0),l(u,null,f(o.blocksImage,a=>(s(),l(u,{key:a.id??a.title},[(s(!0),l(u,null,f(a.items,g=>(s(),m(B,{key:g.id??g.link,to:g.link,class:"flex justify-center",onClick:e[8]||(e[8]=ue=>n("close"))},{default:h(()=>[g.image?(s(),l("img",{key:0,src:g.image,class:"max-w-[100px]",width:"100",height:"60",alt:g.title,loading:"lazy",decoding:"async"},null,8,ae)):b("",!0)]),_:2},1032,["to"]))),128))],64))),128))])],64)):b("",!0)])):b("",!0)],64))),128))])])):b("",!0)]),_:1})],64)):(s(),l("p",U,"ÐаÑалог пока пÑÑÑ"))],2)}}});export{be as _};
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.