PageSourceSearch

https://bankrot.gov.by/assets/OnlinePropertyItem-CsJ77UyB.js

js bankrot.gov.by collected 2026-10-02 03:59:36 UTC 3,224 bytes, 1 lines download raw bytes

1import{j as s}from"./jsx-runtime-D_zvdyIk.js";import{r,f as j,N,L as p}from"./createLucideIcon-CiWnlb16.js";import{e as n,fg as y,fh as b,fi as v,d as I,i as L,fj as T,fk as P,L as k}from"./loginCallback-DUlVA6A0.js";import{d as S,c as $,N as C}from"./addLoader-p8WLB-bt.js";import{r as E}from"./regionMatch-B5MQupB_.js";import{c as M,a as A}from"./convertManagerType-DxU9bpiN.js";import{p as F}from"./propertyStatusCompare-Dcldb5TB.js";import{p as O}from"./propertySaleTypeCompare-Dp-Lrvmc.js";import{a as R}from"./auctionNumber-e8qX9CCs.js";import{g as z}from"./generateMessageLink-B1dUCrM3.js";/* empty css               */import"./config.release-CKeoGYk7.js";import"./index-CQOuJFSK.js";function Z(){const e=n(y),t=n(b);n(v);const[l,f]=r.useState(!1),d=()=>{f(!l)},i=I(),c=r.useContext(L),{id:u}=j();r.useEffect(()=>{c.getAccessToken().then(a=>{i(T({token:a,id:u}))})},[]);const[o,g]=r.useState("ИМУЩЕСТВО"),m=r.useRef(null),h=a=>{g(a.target.innerText),m?.current.childNodes.forEach(x=>{x.classList.remove("active")}),a.target.classList.add("active")};return r.useEffect(()=>{o==="ДОЛЖНИК"&&c.getAccessToken().then(a=>i(P({token:a,id:e.debtorId})))},[o]),s.jsxs(S,{type:"section",className:"debtor",children:[s.jsxs($,{type:"div",className:"debtor-menu",toggle:l,handleShowFilters:d,children:[s.jsx("div",{className:"debtor-menu-title",children:"Меню"}),s.jsx("div",{className:"debtor-menu-links",onClick:h,ref:m,children:s.jsx("a",{className:"active",children:"Имущество"})})]}),t?s.jsx(k,{}):s.jsx(s.Fragment,{children:o==="ИМУЩЕСТВО"&&s.jsx(D,{item:e,handleShowFilters:d})})]})}const D=({item:e,handleShowFilters:t})=>s.jsx("div",{className:"debtor-info",children:s.jsx("div",{className:"debtor-info-list",children:s.jsxs("div",{className:"debtor-info-left",children:[s.jsx(C,{title:e.name,handleShowFilters:t}),s.jsxs("li",{className:"debtor-info-item",children:["Наименование: ",e.name]}),s.jsxs("li",{className:"debtor-info-item",children:["Местонахождение продажи: ",e.address.country?`${M(e.address.country)},`:null," ",e.address.postalIndex?`${e.address.postalIndex},`:null,e.address.region?E(e.address.region):null,e.address.localityType?e.address.localityType:null," ",e.address.locality?e.address.locality:null]}),s.jsxs("li",{className:"debtor-info-item",children:["Объявление: ",s.jsx(N,{to:z(e?.messageType,e?.messageId),children:R(e?.messageId)})]}),s.jsxs("li",{className:"debtor-info-item",children:["Вид продажи: ",e.saleType?O(e.saleType):null]}),s.jsxs("li",{className:"debtor-info-item",children:["Cтатус продажи: ",e.status?F(e.status):null]}),s.jsxs("li",{className:"debtor-info-item",children:["Начальная цена: ",e.price?`${e.price} руб.`:null]}),s.jsxs("li",{className:"debtor-info-item",children:["Должник: ",s.jsx(p,{to:`/debtors/debtor/${e?.debtorId}`,children:e?.debtor?.fullName})]}),s.jsxs("li",{className:"debtor-info-item",children:["Управляющий: ",s.jsx(p,{to:`/managers/manager/${e?.managerId}`,children:`${A(e?.manager?.type)}: ${e?.manager?.organization?.shortName||e?.manager?.organization?.fullName}`})]})]})})});export{Z 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.