1import{_ as x}from"./DPnkbr8h.js";import{_ as w}from"./b3IGfqzQ.js";import{_ as B}from"./BCk7Ya0J.js";import{_ as D}from"./C5gCp4nU.js";import{_ as $}from"./B2XQT9Q5.js";import{i as f,f as C}from"./BTfPl7es.js";import{bg as I,fI as L,fX as S,fW as v,fx as A,b7 as l,bc as b,fk as e,a$ as u,aZ as n,fn as E,dh as R,b3 as G,dG as a,a3 as H}from"./DORt870N.js";import{d as N}from"./DfXHpZce.js";/* empty css */import"./B7MyVK_4.js";import"./h3mqNgUK.js";import"./CG0GcAbk.js";import"./Cv2MdPVr.js";const P={class:"page_document"},T={key:0,class:"page_document__status"},U={key:1,class:"page_document__empty",role:"alert"},V={key:5,class:"page_document__empty",role:"status"},W=I({__name:"[id]",async setup(X){let s,i;const d=L(),r=n(()=>String(d.params.id??"").trim()),{data:c,pending:y,error:g}=([s,i]=S(()=>E(()=>`create-document-by-id-${r.value}`,()=>C(r.value),{watch:[r]})),s=await s,i(),s),p=n(()=>{const t=c.value;return t&&f(t)?t:null});v(()=>{const t=p.value;t&&R(G(t.type,t.slug),{replace:!0})});const o=n(()=>c.value&&!f(c.value)?c.value:null),m=n(()=>N(o.value?.state)),_=n(()=>o.value?.title?.trim()||"докÑменÑ");return v(()=>{d.meta.breadcrumb=o.value?.title??"ÐокÑменÑ"}),A(()=>({title:o.value?.title??"ÐокÑменÑ",meta:[{name:"robots",content:"noindex, nofollow"}]})),(t,Z)=>{const h=x,k=w;return a(),l("div",P,[b(h,{class:"indent"}),e(y)||e(p)?(a(),l("div",T,[b(k,{variant:"arc",title:"ÐагÑÑжаем докÑменÑ",text:"ÐÑкÑÑваем ÑÑÑаниÑÑ Ð´Ð¾ÐºÑменÑа â неÑколÑко ÑекÑнд"})])):e(g)||!e(o)?(a(),l("p",U,"ÐокÑÐ¼ÐµÐ½Ñ Ð½Ðµ найден")):e(m)==="creation"?(a(),u(B,{key:2,"document-label":e(_)},null,8,["document-label"])):e(m)==="review"?(a(),u($,{key:3,"document-label":e(_)},null,8,["document-label"])):e(m)==="delayed"?(a(),u(D,{key:4,"document-label":e(_)},null,8,["document-label"])):(a(),l("p",V,"ÐокÑÐ¼ÐµÐ½Ñ Ð¿Ð¾ÐºÐ° недоÑÑÑпен"))])}}}),oe=H(W,[["__scopeId","data-v-0db78aaf"]]);export{oe 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.