PageSourceSearch

https://dashboard.velocity.in/assets/index-Ddduf-Hh.js

js velocity.in collected 2026-09-24 09:23:43 UTC 3,634 bytes, 1 lines download raw bytes

1import{d as f,j as e,bW as R,f as c,U as A,T as H,aX as P,C as M,J as $,r as z,c as B,N as x,aN as E,fG as K,e9 as G,aw as W}from"./index-2CwtICst.js";import{L as q}from"./company_assets-Bi-ysXYs.js";import{A as D}from"./index-D3pD5RCc.js";import{P as J}from"./profile_dropdown-BHkxBqf_.js";import{S as O}from"./support_link-qCzAbgVP.js";import{g as U,a as X,b as Y,c as F}from"./utils-Dbii0pLO.js";import{R as Q}from"./MenuFoldOutlined-DL8AyJaH.js";import{R as V}from"./MenuUnfoldOutlined-nOCx9wos.js";import{L as Z}from"./loan_account_select-B7pMxEBp.js";import{i as ee}from"./common-CLKbIzzY.js";import{u as se}from"./index-B3E771uX.js";import{s}from"./index.module-Bl3CaD4O.js";import{L as l}from"./index-CgThkLrm.js";import{R as te}from"./CloseOutlined-DrYqvwGF.js";import{M as oe}from"./dropdown-1Xi7yUr8.js";import"./constants-CNHr-9z-.js";import"./KeyLine-DbHrvLov.js";import"./BillLine-D4PgZmiD.js";import"./MessageFill-DoJFk5G_.js";import"./PackageSmall-DXcoG-iG.js";import"./ClipboardLineIcon-Bh2KJsdr.js";import"./ExchangeLine-DasM4eUe.js";import"./duration-DUuELGkf.js";import"./api-GdgXwhxd.js";import"./Dropdown-CSDSyzzq.js";import"./isNumeric-OYazz19Q.js";const ae="_container_1h4ip_10",ie="_companyName_1h4ip_17",h={container:ae,companyName:ie},{Paragraph:ne}=H;function re(){const{profile:i,isLoading:t}=f();if(t)return null;const{company:o}=i||{},{name:a=""}=o;return e.jsx(R,{title:"Settings",children:e.jsx(c,{to:"settings",children:e.jsxs("div",{className:h.container,children:[e.jsx("div",{children:e.jsx(D,{size:36,children:A(a)})}),e.jsx(ne,{ellipsis:{rows:2,tooltip:!0},className:h.companyName,children:a}),e.jsx("div",{children:e.jsx(P,{height:20,width:20})})]})})})}const ce="_mainHeader_1hixu_10",le="_header_1hixu_10",me="_title_1hixu_32",de="_navbarTrigger_1hixu_152",n={mainHeader:ce,header:le,title:me,navbarTrigger:de};function pe(i){const t=U(location),{toggle:o,isCollapsed:a}=i;return e.jsx("div",{className:n.mainHeader,children:e.jsxs("div",{className:n.header,children:[e.jsx("div",{className:n.navbarTrigger,onClick:o,children:a?e.jsx(Q,{}):e.jsx(V,{})}),e.jsxs("h3",{className:n.title,children:[" ",t," "]}),e.jsxs(M,{size:"large",children:[e.jsx(O,{}),e.jsx(J,{})]})]})})}const{Content:ue,Sider:ge}=l,{useBreakpoint:xe}=W,qe=async()=>(K&&G("You are not authorized to access this page! Logging you out"),null);function he(){const i=$(),[t,o]=z.useState(!1),{isLoading:a,profile:j,profileLoadingText:L}=f(),{creditLine:r,isLoading:_}=se(),{xs:m}=xe();if(_||a)return e.jsx(B,{text:L});if(!r)return e.jsx(x,{to:"/finance/apply"});const{set_password_required:y}=j||{};if(y)return e.jsx(x,{to:"/finance/set-password"});const{is_rbc:N,loan_type:v}=r||{},d=ee(r),b=N,C=["revenue","overdraft"].includes(v),S=X(b,d,C),p=Y(i),u=()=>{o(!t)},w=S.map(({key:g,name:T,link:k,id:I})=>({key:g,icon:F(g,p),label:e.jsx(c,{to:k,id:I,children:T})}));return e.jsxs(l,{className:s.layout,children:[e.jsxs(ge,{className:s.sider,breakpoint:"lg",collapsedWidth:0,collapsed:t,onCollapse:o,trigger:null,width:m?"100vw":250,children:[e.jsx(te,{className:s.closeIcon,onClick:u}),d?e.jsx(c,{to:"/finance/overview",children:e.jsxs("div",{className:s.logoContainer,children:[e.jsx("img",{src:q,className:s.logoImage,alt:"Logo"}),e.jsx("span",{className:s.title,children:" Settlement "})]})}):e.jsx(Z,{}),e.jsx(oe,{theme:"light",selectedKeys:[p],mode:"inline",className:s.menu,onSelect:m?()=>o(!0):()=>"",items:w}),e.jsx(re,{})]}),e.jsxs(l,{className:s.contentLayout,children:[e.jsx(pe,{toggle:u,isCollapsed:t}),e.jsx(ue,{children:e.jsx(E,{})})]})]})}he.displayName="AccountActiveLayout";export{he as Component,qe as loader};

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.