PageSourceSearch

https://cdn2.umnico.com/production/landing-nuxt/_nuxt/BOxK5XKD.js

js umnico.com collected 2026-10-01 11:36:25 UTC 5,112 bytes, 1 lines download raw bytes

1import{B as G}from"./CX9uRfyT.js";import{B as K}from"./a59NZokW.js";import{S as W}from"./Bnt7kBVa.js";import{H as Z}from"./DFaSb9Wl.js";import{u as q}from"./DxRCuGx6.js";import{e as Q,ac as X,a9 as ee,aj as te,l as ae,a8 as le,k as h,o as b,h as n,a2 as f,a4 as p,i as C,j as y,ak as E,F as se,V as oe,ae as ne,g as c,Y as ie,N as u,n as re}from"./BzPfCV2i.js";import"./CFZx3whd.js";import"./74UQPY9n.js";import"./CsV7rXZX.js";import"./CA9HX84L.js";import"./CYkhRosI.js";import"./DH3WXvuO.js";import"./W_zWpAfR.js";import"./CQkIuo4f.js";import"./CkhCih9E.js";const ce={class:"help-center-article"},ue={class:"blog-article"},de={id:"pin-scroll-up-button",class:"blog-article__title"},pe={key:1,class:"blog-related"},me={class:"blog-related__title"},_e={class:"blog-related__list"},ge={class:"blog-related__name"},he={__name:"[slug]",async setup(be){let m,$;const x=ne(),H=X(),{locale:o,t:v}=ee(),{fetchArticle:U}=q(),i=e=>e==="en"?"":`/${e}`,_=String(H.params.slug||""),B=o.value==="ua"?"ru":o.value,{directusUrl:L}=x.public,r=String(x.public.landingUrlForMetaTags||"").replace(/\/+$/,""),{data:a}=([m,$]=te(()=>U(_,B)),m=await m,$(),m);if(!a.value||!(a.value.translations&&a.value.translations.length))throw ae({statusCode:404,statusMessage:"Article not found"});const d=c(()=>a.value?.translations?.[0]||{title:"",blocks:[]}),T=c(()=>{const t=(d.value.blocks||[]).find(s=>s.collection==="block_image"&&s.item&&s.item.image)?.item?.image,l=t&&typeof t=="object"?t.id:t;return l?`${L}/assets/${l}`:""}),S=c(()=>(a.value?.related||[]).map(e=>e.related_help_articles_id).filter(Boolean).map(e=>{const t=(e.translations||[]).find(l=>l.languages_code===B)||(e.translations||[])[0];return{slug:e.slug,title:t?.title||e.slug,href:`${i(o.value)}/help/${e.slug}/`}})),w={ru:"Рекомендуем прочитать",en:"You might also be interested in",de:"Das könnte Sie auch interessieren",es:"También te puede interesar",pt:"Você também pode se interessar"},I=e=>{if(!e)return"";const[t,l,s]=String(e).split("-");return s?`${s}.${l}.${t}`:e},D=c(()=>w[o.value]||w.en),N={ru:"Вернуться к списку статей",ua:"Вернуться к списку статей",en:"Return to list of articles",de:"Zurück zur Artikelliste",es:"Volver a la lista de artículos",pt:"Voltar à lista de artigos"},V=c(()=>N[o.value]||N.en),j=c(()=>`${i(o.value)}/help/`),M=["ru","en","de","es","pt"];return le(()=>{const e=d.value,t=e.canonical_url||`${r}${i(o.value)}/help/${_}/`,l=(a.value?.available_languages||[]).filter(g=>M.includes(g)),s=l.map(g=>({rel:"alternate",hreflang:g,href:`${r}${i(g)}/help/${_}/`})),O=`${r}/help/${_}/`,A=v("__help_title_suffix"),k=e.meta_title||e.title,R=k.includes(A)?k:`${k} | ${A}`,F=`${r}${i(o.value)}/`,P=`${r}${i(o.value)}/help/`,z=`${r}/assets/index/logo.png`,J={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:v("Home"),item:F},{"@type":"ListItem",position:2,name:v("__common_nav_help"),item:P},{"@type":"ListItem",position:3,name:e.title,item:t}]},Y={"@context":"https://schema.org","@type":"Article",mainEntityOfPage:{"@type":"WebPage","@id":t},headline:e.title,description:e.meta_description||"",...T.value?{image:[T.value]}:{},author:{"@type":"Organization",name:"Umnico",url:"https://umnico.com/"},publisher:{"@type":"Organization",name:"Umnico",logo:{"@type":"ImageObject",url:z}},...a.value?.date_published?{datePublished:a.value.date_published}:{},dateModified:a.value?.date_updated||a.value?.date_published||void 0};return{title:R,meta:[{name:"description",content:e.meta_description||""},...e.noindex?[{name:"robots",content:"noindex"}]:[]],link:[{rel:"canonical",href:t},...s,...l.includes("en")?[{rel:"alternate",hreflang:"x-default",href:O}]:[]],script:[{type:"application/ld+json",innerHTML:JSON.stringify(J)},{type:"application/ld+json",innerHTML:JSON.stringify(Y)}]}}),(e,t)=>{const l=ie("router-link");return u(),h("div",ce,[b(Z,{title:d.value.title},null,8,["title"]),b(W,{elemId:"pin-scroll-up-button",top:"0",className:"blog-scroll-up-button"}
1),n("article",ue,[n("h1",de,f(d.value.title),1),p(a).date_published?(u(),C(K,{key:0,className:"blog-article__date",date:I(p(a).date_published),updateDate:I(p(a).date_updated)},null,8,["date","updateDate"])):y("",!0),b(G,{blocks:d.value.blocks||[],directusUrl:p(L)},null,8,["blocks","directusUrl"])]),p(a).show_back_link?(u(),C(l,{key:0,to:j.value,class:"help-back-link"},{default:E(()=>[t[0]||(t[0]=n("svg",{class:"help-back-link__arrow",viewBox:"0 0 24 24",width:"20",height:"20","aria-hidden":"true"},[n("path",{d:"M14 5l-7 7 7 7",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),re(" "+f(V.value),1)]),_:1},8,["to"])):y("",!0),S.value.length?(u(),h("section",pe,[n("h2",me,f(D.value),1),n("ul",_e,[(u(!0),h(se,null,oe(S.value,s=>(u(),h("li",{key:s.slug,class:"blog-related__item"},[b(l,{to:s.href,class:"blog-related__link"},{default:E(()=>[n("span",ge,f(s.title),1)]),_:2},1032,["to"])]))),128))])])):y("",!0)])}}},Ee=Q(he,[["__scopeId","data-v-3aba3ed5"]]);export{Ee 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.