1import{e as V,f as E,b as w,o as D,d as M,h as N,_ as A,R as U}from"./CkH1Rjwg.js";import{_ as j}from"./BSL6_fdI.js";import{_ as O}from"./CyRi3TnC.js";import{V as Q}from"./C2X2xHFb.js";import{u as J}from"./BNqLUdKK.js";import{z as $,ad as P,f as b,w as Z,Z as s,R as i,S as l,J as n,y as o,O as G,a1 as q,V as u,I as k,a4 as H,N as K,c as W}from"./BzFfDcRy.js";import{_ as X}from"./Ckzk6yx7.js";import{_ as Y}from"./D_ORz2ZB.js";import{u as C}from"./DdiqdxEI.js";import{u as tt}from"./BKL5v1H5.js";import"./C-IdtUa-.js";import"./DtGmTJAf.js";import"./C_yiY7pM.js";import"./B59cNW0j.js";import"./XZOkp86D.js";import"./C2aRb9u1.js";import"./BAnNT2QS.js";import"./BrxFEJ6L.js";import"./-iKAfTly.js";import"./DuTZq4P7.js";import"./CWnzCVI8.js";import"./DqjgLMou.js";import"./C_5Sv6dn.js";import"./BHPZIk-o.js";import"./Djj3c6m2.js";import"./BR7uQgYJ.js";import"./CUHeegJ9.js";import"./9SadLYQw.js";import"./CTNSCJxu.js";import"./BJuWDX6_.js";import"./D6CybMRz.js";import"./C3yMllYI.js";import"./DaPrQMh1.js";import"./BRa5V8mm.js";import"./BzVSLnla.js";import"./Yma3d9u0.js";import"./B9u_R1AG.js";import"./DiTq4rhS.js";import"./BFW9VjXR.js";import"./D2B5tHYT.js";import"./CeXNgE8A.js";import"./CIJVzjov.js";import"./CkYFWX-M.js";import"./e2sjDVGG.js";import"./mGFqD51N.js";import"./CygwDKJa.js";import"./klhzk-sz.js";import"./CaTQq1Cd.js";import"./D-qCyS9B.js";import"./Ck54ITo9.js";import"./uL-nkGND.js";import"./EpiFLmkG.js";import"./BGwxcTdf.js";import"./DrEjopFT.js";const et={class:"faq-tabs","data-theme":"black"},ot={class:"container"},st={class:"faq-tabs__title faq-tabs__title--des"},it={class:"faq-tabs__title faq-tabs__title--mob"},nt={key:0,class:"faq-tabs__not-found"},rt={class:"faq-tabs__not-found-text"},at={key:1,class:"faq-tabs__not-found"},ct={class:"faq-tabs__not-found-text"},mt={key:2,class:"faq-tabs__content",itemscope:"",itemtype:"https://schema.org/FAQPage"},lt={key:0,class:"faq-tabs__video"},pt={key:0,class:"faq-tabs__btn"},_t=$({__name:"SectionIssuesAndAnswers",async setup(I){let a,r;const{locale:g}=V(),p=E(),d=w(),{public:{baseURL:f}}=D(),{data:x,error:v}=([a,r]=P(()=>J("/content/questions",{query:{filter:"faq"},baseURL:f,headers:{"Accept-language":g.value}},"$tZjoN5j6j9")),a=await a,r(),a),c=b(d.query.tab??""),_=b(10),F=b(["black","white"]),z=e=>{c.value=e,e?p.replace({query:{tab:e}}):p.replace("")},B=()=>{_.value+=5},R=e=>!c.value||!e?!0:c.value===e,m=W(()=>x.value?.data?.filter(e=>R(e.type_tab)));return Z(()=>c.value,()=>{_.value=10}),(e,ht)=>{const y=M,S=j,T=O,L=N;return s(),i("section",et,[l("div",ot,[l("div",st,[n(y,{level:"h1",size:"size-16",title:e.$tm("pages.faq.sectionIssuesAndAnswers.subTitle")},null,8,["title"])]),l("div",it,[n(y,{size:"size-16",title:e.$tm("pages.faq.sectionIssuesAndAnswers.title")},null,8,["title"])]),n(T,{theme:"grey",names:e.$tm("pages.faq.sectionIssuesAndAnswers.issuesAndAnswersTabs"),"selected-tab":o(c),onChangeTab:z},{mainContent:G(()=>[!o(m)?.length&&!o(v)?(s(),i("div",nt,[l("p",rt,q(e.$t("general.common.notFound")),1)])):u("",!0),o(v)?(s(),i("div",at,[l("p",ct,q(e.$t("general.common.error")),1)])):u("",!0),o(m)?.length?(s(),i("ul",mt,[(s(!0),i(k,null,H(o(m).slice(0,o(_)),(t,h)=>(s(),i(k,{key:h},[t.type==="video"?(s(),i("li",lt,[n(Q,{level:"h2","logo-title":t.video?.logo_title,"logo-url":t.video?.logo_url,duration:t.video?.duration,"date-of-publication":t.video?.published_at,description:t.video?.description,"media-path":t.video?.url,"preview-url":t.video?.preview,"desc-arr":t?.description,title:t?.title,"btn-content":t?.buttons},null,8,["logo-title","logo-url","duration","date-of-publication","description","media-path","preview-url","desc-arr","title","btn-content"])])):(s(),K(S,{key:1,level:"h2","desc-arr":t?.description,title:t?.title,"btn-content":t?.buttons,type:t?.type,size:t?.size,table:t?.table,background:o(F)[(h+Math.floor(h/2))%2]},null,8,["desc-arr","title","btn-content","type","size","table","background"]))],64))),128))])):u("",!0)]),_:1},8,["names","selected-tab"]),o(m)?.length&&o(m)?.length-1>=o(_)?(s(),i("div",pt,[n(L,{text:e.$t("general.common.loadMore"),color:"middle-gray",size:"block","border-radius":"middle",onButtonClick:B},null,8,["text"])])):u("",!0)])])}}}),ut=A(_t,[["__scopeId","data-v-bf129cb7"]]),dt={class:"faq"},ft=$({__name:"index",setup(I){const a=w();return C(a.name),tt({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"ÐлавнаÑ",item:"https://tastycoffee.ru/"},{"@type":"ListItem",position:2,name:"FAQ",item:"https://tastycoffee.ru/faq"}]}),(r,g)=>{const p=ut,d=X,f=Y;return s(),i("main",dt,[n(p),n(d,{theme:"white"}),n(f,{"image-link":"kofe-dlya-biznesa","button-text":r.$t("general.common.learnMore"),"button-link":("Routes"in r?r.Routes:o(U)).COFFEE_FOR_BUSINESS,title:r.$tm("pages.main.sectionFurther.title")},null,8,["button-text","button-link","title"])])}}}),be=A(ft,[["__scopeId","data-v-70bf7c6c"]]);export{be as default};
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.