????
Current Path : C:/inetpub/vhost/gdnn.gdtsolutions.vn/build/assets/ |
Current File : C:/inetpub/vhost/gdnn.gdtsolutions.vn/build/assets/index-cde082a6.js |
import{r as a,t as D,j as e,L as w,u as y}from"./index-fa055cb8.js";import{B as E,G as Q,C as j,R as G,b as f,U as V,D as C,a as L,S as K}from"./reactstrap.modern-274e1102.js";import{F as S}from"./FontAwesome4-64371a0f.js";import{c as $}from"./FormListControl-c9d1cc74.js";import{c as I}from"./FormList-de93878f.js";import{D as k}from"./DataTable-fad8b46b.js";import{T as A}from"./TabsBasic-86b6759a.js";import{c as F}from"./ListFormControl-1ff1507d.js";import{C as H}from"./DialogCustomize-3c3737d6.js";import{E as W}from"./Empty-49b20617.js";import"./Transition-c4233574.js";import"./DropdownList-1816cc1a.js";import"./Select-d5b8e2a0.js";import"./OdataUtils-36531977.js";import"./classCallCheck-22a738c0.js";import"./createClass-5c3a3f66.js";import"./RenderStatus-a403e761.js";import"./PhanRow-9a886c05.js";import"./FormListControl-ba00e40f.js";import"./DetailFormControl-8e322b93.js";import"./interopRequireDefault-f95a7153.js";import"./withStyles-fa9fb6d9.js";import"./capitalize-d666ae9b.js";function P(r){const[n,u]=a.useState([]),[o,c]=a.useState([]),[t,d]=a.useState(!1),m=a.useCallback(()=>{D("QuanLyReport/ThongKeTruyCap","GET",null,{odata:!1}).then(l=>{c(l.value.slice(0,9)),u(l.value)})},[]);a.useEffect(()=>{m()},[m]);const N=(l,g="vi")=>{let s;const i=(new Date().getTime()-l.getTime())/1e3,h=Math.floor(i/60),v=Math.floor(h/60),T=Math.floor(v/24),x=Math.floor(T/30),p=Math.floor(x/12),b=new Intl.RelativeTimeFormat(g,{numeric:"auto"});return p>0?s=b.format(0-p,"year"):x>0?s=b.format(0-x,"month"):T>0?s=b.format(0-T,"day"):v>0?s=b.format(0-v,"hour"):h>0?s=b.format(0-h,"minute"):s="vừa mới truy cập",s};return e.jsxDEV("div",{className:"index-ds-thiet-bi",children:[e.jsxDEV("div",{className:"right-header",children:e.jsxDEV("div",{children:["Tổng số truy cập: ",n.length]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:52,columnNumber:9},this)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:51,columnNumber:7},this),e.jsxDEV("div",{className:"right-body",children:[o.length?o.map((l,g)=>e.jsxDEV("div",{className:"d-flex align-item-center p-2",children:e.jsxDEV("div",{children:[e.jsxDEV("div",{style:{fontWeight:"500"},children:l.TenTaiKhoan},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:70,columnNumber:17},this),e.jsxDEV("div",{style:{fontSize:"11px",fontWeight:"500"},children:["Đơn vị: ",l.TenDonVi]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:71,columnNumber:17},this),e.jsxDEV("div",{style:{fontSize:11,fontWeight:"bold",color:"rgb(24, 118, 242)"},children:[e.jsxDEV("i",{className:"fa fa-clock-o"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:73,columnNumber:19},this)," ",N(new Date(l.LanCuoiTruyCap))]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:72,columnNumber:17},this)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:69,columnNumber:15},this)},g,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:58,columnNumber:13},this)):e.jsxDEV(W,{size:"sm",text:"Chưa có dữ liệu"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:79,columnNumber:11},this),n.length>5&&e.jsxDEV("div",{style:{textAlign:"center"},children:e.jsxDEV(E,{color:"primary",onClick:()=>{d(!0)},children:"Xem tất cả"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:84,columnNumber:13},this)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:83,columnNumber:11},this)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:55,columnNumber:7},this),e.jsxDEV(H,{title:"Thống kê truy cập",open:t,handleClose:()=>d(!1),maxWidth:"md",children:e.jsxDEV(Q,{bordered:!0,size:"sm",children:[e.jsxDEV("thead",{children:e.jsxDEV("tr",{style:{background:"#B0E0E6"},children:[e.jsxDEV("td",{style:{textAlign:"center",fontWeight:"500"},children:"STT"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:105,columnNumber:15},this),e.jsxDEV("td",{style:{textAlign:"center",fontWeight:"500"},children:"Mã tài khoản"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:106,columnNumber:15},this),e.jsxDEV("td",{style:{textAlign:"center",fontWeight:"500"},children:"Tên tài khoản"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:107,columnNumber:15},this),e.jsxDEV("td",{style:{textAlign:"center",fontWeight:"500"},children:"Đơn vị"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:108,columnNumber:15},this),e.jsxDEV("td",{style:{textAlign:"center",fontWeight:"500"},children:"Thời gian truy cập"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:109,columnNumber:15},this),e.jsxDEV("td",{style:{textAlign:"center",fontWeight:"500"},children:"Liên kết"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:110,columnNumber:15},this)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:104,columnNumber:13},this)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:103,columnNumber:11},this),e.jsxDEV("tbody",{style:{fontSize:"13px"},children:n.map((l,g)=>e.jsxDEV("tr",{children:[e.jsxDEV("td",{style:{textAlign:"center"},children:g+1},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:117,columnNumber:17},this),e.jsxDEV("td",{children:l.MaTaiKhoan},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:118,columnNumber:17},this),e.jsxDEV("td",{children:l.TenTaiKhoan},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:119,columnNumber:17},this),e.jsxDEV("td",{children:l.TenDonVi},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:120,columnNumber:17},this),e.jsxDEV("td",{style:{textAlign:"right"},children:N(new Date(l.LanCuoiTruyCap))},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:121,columnNumber:17},this),e.jsxDEV("td",{children:l.LienKetLanCuoiTruyCap},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:122,columnNumber:17},this)]},g,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:116,columnNumber:15},this))},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:114,columnNumber:11},this)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:102,columnNumber:9},this)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:96,columnNumber:7},this)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/ThongKeTruyCap.jsx",lineNumber:50,columnNumber:5},this)}const Ne=()=>{const r=[{title:"Cở Sở Giáo Dục",number:"253",nameIcon:"university",url:"QLLD/Dashboard_SoLuongCoSoDGNN",table:[{titleTable:"Cở Sở Giáo Dục",urlTable:"QLLD_CoSoGDNN",columns:$}]},{title:"Học sinh/sinh viên",number:"1.654",nameIcon:"id-card-o",url:"QLLD/Dashboard_SoLuongHocVien"},{title:"Người lao động",nameIcon:"user-circle-o",url:"QLLD/Dashboard_SoLuongNLD"},{title:"Giảng Viên",nameIcon:"users",url:"QLLD/Dashboard_SoLuongGiangVien"},{title:"Nhu cầu học nghề",secondTitle:"Hồ sơ chờ giải quyết",number:"999",nameIcon:"graduation-cap",url:"QLLD/Dashboard_SoLuongNhuCauHocNghe",table:[{titleTable:"Nhu cầu học nghề",columns:F,urlTable:"QLLD_HoSoNhuCauHocNghe"}]},{title:"Nhu cầu chuyển đổi nghề",secondTitle:"Hồ sơ chờ giải quyết",number:"777",nameIcon:"refresh",url:"QLLD/Dashboard_SoLuongNhuCauChuyenDoiNghe",table:[{titleTable:"Nhu cầu chuyển đổi nghề",columns:I,urlTable:"QLLD_HoSoNhuCauChuyenDoiNghe"}]}],[n,u]=a.useState([]),[o,c]=a.useState(),t=a.useRef(),d=a.useCallback(()=>t.current&&t.current.onQueryChange(),[t]),m=a.useRef(null),[N,l]=a.useState(),g=()=>{var s;m.current&&((s=m.current)==null||s.scrollIntoView(!0))};return a.useEffect(()=>{g()},[n]),e.jsxDEV("div",{className:"px-3 py-3 d-flex",children:[e.jsxDEV(j,{sm:"9",children:[e.jsxDEV(G,{children:r==null?void 0:r.map((s,i)=>e.jsxDEV(j,{className:"mb-4",sm:"3",children:e.jsxDEV(R,{itemDanhMuc:s,getFilter:c,reloadTable:d,setListDataTable:u,setUrlPage:l},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:277,columnNumber:15},globalThis)},i,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:276,columnNumber:13},globalThis))},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:274,columnNumber:9},globalThis),(n==null?void 0:n.length)===1&&n&&n.map((s,i)=>e.jsxDEV(w,{to:N,children:e.jsxDEV("div",{className:"body-table",children:e.jsxDEV(k,{tableRef:t,url:s==null?void 0:s.urlTable,title:e.jsxDEV("h3",{ref:m,className:"item-header",children:s==null?void 0:s.titleTable},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:297,columnNumber:23},globalThis),columns:s==null?void 0:s.columns,where:o||(s!=null&&s.where?s==null?void 0:s.where:null),selectType:"withColumns"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:293,columnNumber:19},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:292,columnNumber:17},globalThis)},i,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:291,columnNumber:15},globalThis)),(n==null?void 0:n.length)>1&&e.jsxDEV(A,{className:"body-table-tab bg-white",data:n.map((s,i)=>({TabName:s==null?void 0:s.titleTable,TabContent:e.jsxDEV("div",{className:"p-3",children:e.jsxDEV(w,{to:N,children:e.jsxDEV(k,{tableRef:t,url:s==null?void 0:s.urlTable,title:e.jsxDEV("h3",{ref:m,className:"item-header",children:s==null?void 0:s.titleTable},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:321,columnNumber:25},globalThis),columns:s==null?void 0:s.columns,where:o||(s!=null&&s.where?s==null?void 0:s.where:null),selectType:"withColumns"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:317,columnNumber:21},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:316,columnNumber:19},globalThis)},i,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:315,columnNumber:17},globalThis)}))},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:310,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:273,columnNumber:7},globalThis),e.jsxDEV(j,{className:"ms-4",children:e.jsxDEV("div",{className:"col-right h-100 py-3",children:[e.jsxDEV("div",{className:"d-flex flex-column align-items-center bg-white form-time mb-3",children:[e.jsxDEV("h5",{className:"fw-bold",children:"Thời gian làm việc"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:339,columnNumber:13},globalThis),e.jsxDEV("div",{className:"d-flex align-items-center",children:[e.jsxDEV("span",{className:"pulse"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:341,columnNumber:15},globalThis),e.jsxDEV(_,{},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:342,columnNumber:15},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:340,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:338,columnNumber:11},globalThis),e.jsxDEV("h5",{className:"item-headed mb-2",children:e.jsxDEV("strong",{children:"Thống kê truy cập"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:370,columnNumber:13},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:369,columnNumber:11},globalThis),e.jsxDEV(P,{},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:372,columnNumber:11},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:337,columnNumber:9},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:336,columnNumber:7},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:272,columnNumber:5},globalThis)},he=({style:r})=>e.jsxDEV(e.Fragment,{children:e.jsxDEV("span",{style:r,className:"pulse"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:384,columnNumber:7},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:383,columnNumber:5},globalThis),_=()=>{const[r,n]=a.useState(),u=a.useCallback(()=>{const o=new Date,c=o.getDate()<10?`0${o.getDate()}`:o.getDate(),t=o.getMonth()<9?`0${o.getMonth()+1}`:o.getMonth()+1,d=o.getFullYear(),m=o.getHours(),N=o.getMinutes()<10?"0"+o.getMinutes():o.getMinutes(),l=o.getSeconds()<10?"0"+o.getSeconds():o.getSeconds(),g=`${c}/${t}/${d} ${m}:${N}:${l}`;n(g)},[]);return a.useEffect(()=>{setInterval(()=>{u()},1e3)},[u]),e.jsxDEV("span",{className:"fw-bold text-secondary ms-2",children:r},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:407,columnNumber:10},globalThis)},R=r=>{const{itemDanhMuc:n,getFilter:u,reloadTable:o,setListDataTable:c,setUrlPage:t}=r,[d,m]=a.useState(),N=a.useCallback(s=>s?s==null?void 0:s.map((i,h)=>i!=null&&i.where?e.jsxDEV(f,{onClick:()=>{u(i==null?void 0:i.where),o(),c(n==null?void 0:n.table),t(n==null?void 0:n.urlPage)},className:"item-info",children:i==null?void 0:i.itemName},h,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:426,columnNumber:13},globalThis):e.jsxDEV(f,{onClick:()=>{c(n==null?void 0:n.table),u(null),o(),t(n==null?void 0:n.urlPage)},className:"item-info",children:i.itemName},h,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:441,columnNumber:13},globalThis)):e.jsxDEV("div",{className:"d-flex justify-content-center",children:e.jsxDEV("h6",{className:"text-secondary font-italic mt-2",children:"Không có tùy chọn"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:419,columnNumber:13},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:418,columnNumber:11},globalThis),[u,n==null?void 0:n.table,n==null?void 0:n.urlPage,o,c,t]);a.useEffect(()=>{D(`${n==null?void 0:n.url}`,"GET",null,{odata:!1}).then(s=>{m(s)})},[n.url]);let l=y();function g(){l.push(n.urlPage)}return e.jsxDEV("div",{onClick:()=>g(),className:"card-admin h-100 p-4",children:[e.jsxDEV("div",{className:"mb-4 d-flex",children:[e.jsxDEV(S,{style:{fontSize:"60px"},fa:n==null?void 0:n.nameIcon},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:475,columnNumber:9},globalThis),e.jsxDEV("div",{className:"ms-auto",children:e.jsxDEV(V,{direction:"down",onClick:s=>{s.stopPropagation()},group:!0,children:[e.jsxDEV("div",{children:e.jsxDEV(C,{outline:!1,style:{backgroundColor:"transparent",border:"none",width:"10px"}},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:485,columnNumber:15},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:484,columnNumber:13},globalThis),e.jsxDEV(L,{className:"list-info",children:[e.jsxDEV(f,{className:"fw-bold border-bottom item-header",header:!0,children:"Tùy chọn"},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:502,columnNumber:15},globalThis),N(n==null?void 0:n.tuyChon)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:501,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:477,columnNumber:11},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:476,columnNumber:9},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:474,columnNumber:7},globalThis),e.jsxDEV("div",{className:"d-flex",children:d||d===0?e.jsxDEV(e.Fragment,{children:[e.jsxDEV("h1",{className:"text-primary",children:z(d)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:513,columnNumber:13},globalThis),e.jsxDEV("div",{className:"d-flex align-items-end",children:(n==null?void 0:n.secondTitle)&&e.jsxDEV("h6",{className:"text-info fst-italic text-secondary-ho-so ps-2 pb-1",children:n==null?void 0:n.secondTitle},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:516,columnNumber:17},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:514,columnNumber:13},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:512,columnNumber:11},globalThis):e.jsxDEV("div",{className:"my-4",children:e.jsxDEV(K,{color:"secondary",children:"Loading..."},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:522,columnNumber:13},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:521,columnNumber:11},globalThis)},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:510,columnNumber:7},globalThis),e.jsxDEV("h5",{className:"fw-bold",children:n==null?void 0:n.title},void 0,!1,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:527,columnNumber:7},globalThis)]},void 0,!0,{fileName:"/home/jenkins/agent/workspace/gdnn.gdtsolutions.vn/src/views/TongQuanGDNN/index.jsx",lineNumber:473,columnNumber:5},globalThis)},z=r=>{const n=[{value:1,symbol:""},{value:1e3,symbol:"N"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],u=/\.0+$|(\.[0-9]*[1-9])0+$/;var o=n.slice().reverse().find(function(c){return r>=c.value});return o?(r/o.value).toFixed(1).replace(u,"$1")+o.symbol:"0"};export{he as IconPulse,Ne as default,z as nFormatter};