1import{j as t,W as r,E as l,aE as m,r as u}from"./vendor-CRX6iD7N.js";import{g as d,n as i,w as v,t as x}from"./index-UVktE5bE.js";import"./vendor_yup-BHFUDH6h.js";import{A as f}from"./article-view-B6pZR824.js";import"./vendor_marked-Ds7eXWqI.js";import"./vendor_datefns-Cni7y5m9.js";import"./vendor_lodash-HReYwCFr.js";import"./vendor_rpc-DdcAxShe.js";const _="_article_rjrxt_1",g={article:_},p="_notice_12uzv_1",j="_icon_12uzv_14",k="_content_12uzv_19",h="_text_12uzv_25",D="_link_12uzv_30",n={notice:p,icon:j,content:k,text:h,link:D};function w({version:a,latestVersion:s,documentSlug:e,className:c}){if(a.latest)return null;const o=s.documents[0]?.slug;return t.jsxs("aside",{className:l(n.notice,c),role:"status",children:[t.jsx(d,{name:"info",size:20,className:n.icon}),t.jsxs("div",{className:n.content,children:[t.jsxs("p",{className:n.text,children:["ÐÑ Ð¸Ð·ÑÑаеÑе ÑÑÑаÑевÑÑÑ (аÑÑ
ивнÑÑ) веÑÑÐ¸Ñ Ð´Ð¾ÐºÑменÑа: v",a.revision," Ð¾Ñ ",i(a.effectiveDate),"."]}),e?t.jsxs(r,{to:"/legal/$documentSlug",params:{documentSlug:e},className:n.link,children:["ÐÑкÑÑÑÑ Ð°ÐºÑÑалÑнÑÑ Ð²ÐµÑÑÐ¸Ñ (v",s.revision," оÑ"," ",i(s.effectiveDate),")"]}):o?t.jsxs(r,{to:"/legal/$documentSlug",params:{documentSlug:o},className:n.link,children:["ÐÑкÑÑÑÑ Ð°ÐºÑÑалÑнÑÑ Ð²ÐµÑÑÐ¸Ñ (v",s.revision," оÑ"," ",i(s.effectiveDate),")"]}):null]})]})}function I({data:a}){const s=m({strict:!1}),e=a??s,c=u.useMemo(()=>{const o=v(e?.markdown??"");return{markdown:o,plainText:o,assets:[]}},[e?.markdown]);if(!e)throw new Error("Legal document data was not loaded");return t.jsxs("article",{className:g.article,children:[t.jsx(x,{fallbackUrl:e.version.latest?"/legal":"/legal/$versionId",params:e.version.latest?void 0:{versionId:e.version.id},mobileOnly:!0}),t.jsx(w,{version:e.version,latestVersion:e.latestVersion,documentSlug:e.document.slug}),t.jsx("h1",{children:e.document.title}),t.jsx(f,{article:c})]})}export{I as LegalDocumentPage};
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.