1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{d as h,c as b,E as u}from"./addLoader-p8WLB-bt.js";import{r as g,u as f}from"./createLucideIcon-CiWnlb16.js";import{e as i,n9 as j,na as N,nb as v,d as y,nc as S}from"./loginCallback-DUlVA6A0.js";import{T as w}from"./TextInput-D56ByitK.js";import{T as C}from"./tableLoader-DmKfU8gk.js";import{b as M}from"./index.esm-C3iyps8B.js";import"./index-CQOuJFSK.js";import"./config.release-CKeoGYk7.js";function P(){const[a,l]=g.useState(!1),r=()=>{l(!a)},s=i(j),c=i(N),t=i(v);f();const d=y(),{register:o,handleSubmit:x,formState:{errors:n}}=M(),m=p=>{d(S({date:p.myDate.toString()}))};return e.jsx(h,{type:"section",children:e.jsxs("div",{className:"page-wrapper",children:[e.jsx(b,{type:"div",className:"page-panel-filters",toggle:a,handleShowFilters:r,children:e.jsx(F,{})}),s?e.jsx(u,{...s}):e.jsx(e.Fragment,{children:e.jsx("div",{className:"min-h-screen p-8 text-slate-800 font-sans",children:e.jsxs("div",{className:"max-w-4xl",children:[e.jsxs("div",{className:"flex items-end mb-4 justify-between",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-3xl font-bold text-slate-900 mb-1!",children:"СÑаÑиÑÑика по ÑпÑавлÑÑÑим"}),e.jsx("p",{className:"text-slate-500 text-md",children:"Редином гоÑÑдаÑÑÑвенном ÑееÑÑÑе Ñведений о банкÑоÑÑÑве заÑегиÑÑÑиÑовано:"})]}),e.jsxs("form",{className:"flex gap-4 items-end",onSubmit:x(m),children:[e.jsxs("div",{className:"relative flex-1",children:[e.jsx(w,{type:"date",lang:"ru-RU",...o("myDate",{required:"ÐÑбеÑиÑе даÑÑ",min:{value:"2020-01-01",message:"ÐаÑа ÑлиÑком ÑÑаÑаÑ"},max:{value:"2030-12-31",message:"ÐаÑа ÑлиÑком болÑÑаÑ"}}),className:`${n.myDate?"border-red-500":"border-slate-200"}`}),n.myDate&&e.jsx("p",{className:"absolute left-0 -bottom-6 text-[11px] text-red-500 font-medium animate-in fade-in slide-in-from-top-1 duration-200",children:e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx("span",{className:"w-1 h-1 bg-red-500 rounded-full"}),`${n.myDate.message}`]})})]}),e.jsx("button",{type:"submit",className:"flex-1 max-h-[38px] sm:flex-none flex items-center cursor-pointer justify-center gap-2 px-5 py-2.5 bg-white border border-slate-200 rounded-sm hover:shadow-md transition-all active:scale-95 text-slate-700 font-medium",children:"ÐÑвеÑÑи"})]})]}),c?e.jsx(C,{}):e.jsx(e.Fragment,{children:t?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"overflow-hidden bg-white rounded-xl border border-slate-200 shadow-sm",children:e.jsxs("table",{className:"w-full text-left border-collapse",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-slate-100/50 border-b border-slate-200",children:[e.jsx("th",{className:"px-6 py-4 font-semibold text-slate-700",children:"ÐаÑегоÑиÑ"}),e.jsx("th",{className:"px-6 py-4 font-semibold text-center text-slate-700",children:"ÐÑего"}),e.jsx("th",{className:"px-6 py-4 font-semibold text-center text-slate-700",children:"ÐкÑивнÑе"}),e.jsx("th",{className:"px-6 py-4 font-semibold text-center text-slate-700",children:"ÐÑоÑенÑ"})]})}),e.jsxs("tbody",{className:"divide-y divide-slate-100",children:[e.jsxs("tr",{className:"hover:bg-blue-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-slate-900",children:"ФизиÑеÑкие лиÑа"}),e.jsx("td",{className:"px-6 py-4 text-center",children:t?.individualCount}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800",children:t?.activeIndividualCount})}),e.jsxs("td",{className:"px-6 py-4 text-center text-slate-500 text-sm",children:[Math.round(t?.activeIndividualCount/t?.individualCount*100),"%"]})]}),e.jsxs("tr",{className:"hover:bg-blue-50/30 transition-colors",children:[e.jsx("td",{className:"px-6 py-4 font-medium text-slate-900",children:"ЮÑидиÑеÑкие лиÑа"}),e.jsx("td",{className:"px-6 py-4 text-center",children:t?.legalCount}),e.jsx("td",{className:"px-6 py-4 text-center",children:e.jsx("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800",children:t?.activeLegalCount})}),e.jsxs("td",{className:"px-6 py-4 text-center text-slate-500 text-sm",children:[Math.round(t?.activeLegalCount/t?.legalCount*100),"%"]})]}),e.jsxs("tr",{className:"bg-slate-50/80 font-bold border-t-2 border-slate-200",children:[e.jsx("td",{className:"px-6 py-5 text-slate-900",children:"ÐÑого"}),e.jsx("td",{className:"px-6 py-5 text-center text-blue-600",children:t?.individualCount+t?.legalCount}),e.jsx("td",{className:"px-6 py-5 text-center text-green-600",children:t?.activeIndividualCount+t?.activeLegalCount}),e.jsx("td",{className:"px-6 py-5 text-center text-slate-900"})]})]})]})}),e.jsx("div",{className:"mt-3 text-gray-500 italic",children:"*ÐаннÑе доÑÑÑÐ¿Ð½Ñ Ñ 27.01.2024"})]}):e.jsxs("div",{className:"flex flex-col items-center justify-center p-12 bg-white rounded-2xl border-2 border-dashed border-slate-200",children:[e.jsx("div",{className:"w-16 h-16 bg-slate-50 rounded-full flex items-center justify-center mb-4 text-3xl",children:"ð "}),e.jsx("h3",{className:"text-lg font-bold text-slate-900 mb-1!",children:"ÐаÑамеÑÑÑ Ð½Ðµ заданÑ"}),e.jsxs("p",{className:"text-slate-500 text-center max-w-xs mb-6! text-sm leading-relaxed",children:["ÐожалÑйÑÑа, вÑбеÑиÑе инÑеÑеÑÑÑÑÑÑ Ð²Ð°Ñ Ð´Ð°ÑÑ Ð² веÑÑ Ð½ÐµÐ¹ панели и нажмиÑе «ÐÑвеÑÑи», ÑÑÐ¾Ð±Ñ ÑÑоÑмиÑоваÑÑ Ð¾ÑÑеÑ. ",e.jsx("br",{}),"ÐаннÑе доÑÑÑÐ¿Ð½Ñ Ñ 27.01.2024"]}),e.jsxs("div",{className:"flex gap-2 text-xs font-medium text-blue-600 bg-blue-50 px-3 py-1.5 rounded-full uppercase tracking-wider",children:[e.jsx("span",{className:"animate-pulse",children:"â"})," Ðжидание ввода даннÑÑ "]})]})})]})})})]})})}const F=()=>{const a=[{title:"ÐÑÑеÑноÑÑÑ Ð¸ ÑÑаÑиÑÑика",links:[{name:"СÑаÑиÑÑика по ÑпÑавлÑÑÑим",href:"https://bankrot.gov.by/cabinet/Statistics/ReportsNewBelated",icon:"ð",active:!1},{name:"СÑаÑиÑÑика по Ñегионам",href:"https://bankrot.gov.by/cabinet/Statistics/RegionsFiles",icon:"ð"},{name:"СÑаÑиÑÑика по плоÑадкам",href:"https://bankrot.gov.by/cabinet/Statistics/TradersStatistic",icon:"ð¢"}]},{title:"ÐониÑоÑинг и аÑÑ Ð¸Ð²",links:[{name:"ÐавеÑÑеннÑе дела",href:"https://bankrot.gov.by/cabinet/Statistics/CompletedFiles",icon:"â "},{name:"ÐониÑоÑинг ÑÑоков",href:"https://bankrot.gov.by/cabinet/Monitoring",icon:"â±ï¸"},{name:"СÑаÑиÑÑика мониÑоÑинга",href:"https://bankrot.gov.by/cabinet/Statistics/Monitoring",icon:"ð"}]}];return e.jsx("aside",{className:"flex flex-col min-h-screen mt-3",children:e.jsx("nav",{className:"flex flex-col space-y-6",children:a.map((l,r)=>e.jsxs("div",{className:"flex flex-col space-y-1",children:[e.jsx("h3",{className:"text-[14px] text-blue-600 uppercase tracking-[0.06rem] px-4 mb-4!",children:l.title}),l.links.map(s=>e.jsxs("a",{href:s.href,className:` 2 flex items-center py-2 text-sm transition-all duration-200 rounded-lg group 3 ${s.active?"font-semibold text-blue-700 bg-blue-100/60 border-l-4 border-blue-600":"font-medium text-gray-600 hover:bg-white hover:px-4 hover:text-blue-600 hover:shadow-sm"} 4 `,children:[e.jsx("span",{className:`mr-3 text-lg ${!s.active&&"opacity-70 group-hover:opacity-100"}`,children:s.icon}),s.name]},s.name))]},r))})})};export{P 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.