OwlCyberSecurity - MANAGER
Edit File: 742.d5a1faa26c326e8c.js
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[742],{20742:function(e,l,s){s.r(l);var a=s(57437),n=s(50400),t=s(27648);s(2265);var C=s(32603);l.default=function(e){let{setSidebar:l,setShowPopup:s}=e,r=(0,C.v9)(n.v6),c=(0,C.v9)(n.lw);return(0,a.jsx)(a.Fragment,{children:c?(0,a.jsxs)("div",{className:"flex flex-col gap-5 w-full border-b py-3 text-[14px]",children:[(0,a.jsxs)(t.default,{onClick:()=>l(!1),href:"/dashboard",className:"flex items-center gap-4",children:[(0,a.jsxs)("span",{className:"text-[var(--text-gray)]",children:[(null==r?void 0:r.name)?r.name:null,(null==r?void 0:r.is_admin)?" (admin)":null]}),(0,a.jsx)("span",{className:"font-IRANSansBold",children:(null==r?void 0:r.cell_number)?r.cell_number:null})]}),(0,a.jsxs)(t.default,{onClick:()=>l(!1),href:"/dashboard/wallet",className:"flex justify-between items-center",children:[(0,a.jsx)("p",{className:"text-[var(--text-gray)]",children:"موجودی کیف پول"}),(0,a.jsxs)("span",{className:"font-IRANSansBold",children:[r?(null==r?void 0:r.wallet_balance)?r.wallet_balance:"0":null,(0,a.jsxs)("span",{className:"text-[12px]",children:[" ","تومان"]})]})]})]}):(0,a.jsxs)("button",{onClick:()=>s(!0),className:"flex items-center gap-3 p-4 m-0 border border-[var(--base-blue)] w-full text-[var(--base-blue)] font-IRANSansBold",children:[(0,a.jsx)("svg",{width:"21",height:"20",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.47624 18.3333H6.1429C6.36392 18.3333 6.57588 18.4211 6.73216 18.5774C6.88844 18.7337 6.97624 18.9457 6.97624 19.1667C6.97624 19.3877 6.88844 19.5996 6.73216 19.7559C6.57588 19.9122 6.36392 20 6.1429 20H4.47624C3.37157 19.9987 2.31254 19.5593 1.53142 18.7782C0.750305 17.997 0.310894 16.938 0.30957 15.8333V4.16667C0.310894 3.062 0.750305 2.00296 1.53142 1.22185C2.31254 0.440735 3.37157 0.00132321 4.47624 0H6.1429C6.36392 0 6.57588 0.0877974 6.73216 0.244078C6.88844 0.400358 6.97624 0.61232 6.97624 0.833333C6.97624 1.05435 6.88844 1.26631 6.73216 1.42259C6.57588 1.57887 6.36392 1.66667 6.1429 1.66667H4.47624C3.8132 1.66667 3.17731 1.93006 2.70847 2.3989C2.23963 2.86774 1.97624 3.50363 1.97624 4.16667V15.8333C1.97624 16.4964 2.23963 17.1323 2.70847 17.6011C3.17731 18.0699 3.8132 18.3333 4.47624 18.3333ZM6.32863 9.1935L19.4761 9.16684C19.6971 9.16684 19.9091 9.25463 20.0654 9.41091C20.2217 9.56719 20.3095 9.77916 20.3095 10.0002C20.3095 10.2212 20.2217 10.4331 20.0654 10.5894C19.9091 10.7457 19.6971 10.8335 19.4761 10.8335L6.35613 10.8602C6.42396 10.9756 6.50537 11.0825 6.59863 11.1785L9.83113 14.411C9.91073 14.4879 9.97421 14.5798 10.0179 14.6815C10.0616 14.7832 10.0845 14.8925 10.0855 15.0032C10.0865 15.1138 10.0654 15.2235 10.0235 15.326C9.98159 15.4284 9.91971 15.5214 9.84146 15.5997C9.76322 15.6779 9.67018 15.7398 9.56776 15.7817C9.46535 15.8236 9.35562 15.8447 9.24497 15.8437C9.13432 15.8428 9.02497 15.8198 8.9233 15.7761C8.82163 15.7324 8.72967 15.6689 8.6528 15.5893L5.4203 12.3568C4.7954 11.7317 4.44435 10.8841 4.44435 10.0002C4.44435 9.11629 4.7954 8.26859 5.4203 7.6435L8.65447 4.411C8.73134 4.33141 8.82329 4.26793 8.92496 4.22425C9.02663 4.18058 9.13598 4.15759 9.24663 4.15663C9.35728 4.15567 9.46702 4.17675 9.56943 4.21865C9.67184 4.26055 9.76489 4.32243 9.84313 4.40067C9.92138 4.47892 9.98325 4.57196 10.0252 4.67437C10.0671 4.77679 10.0881 4.88652 10.0872 4.99717C10.0862 5.10782 10.0632 5.21717 10.0196 5.31884C9.97588 5.42051 9.91239 5.51246 9.8328 5.58934L6.6003 8.82184C6.49314 8.93269 6.40172 9.05775 6.32863 9.1935Z",fill:"#FEAB20"})}),(0,a.jsx)("p",{children:" ورود / ثبت نام"})]})})}}}]);