PageSourceSearch

https://crwlr.ir/_next/static/chunks/pages/[social]/categories-848c2c33560507c9.js

js crwlr.ir collected 2026-10-08 23:14:24 UTC 18,771 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4085],{10686:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[social]/categories",function(){return i(45529)}])},68510:function(e,n,i){"use strict";i.d(n,{B:function(){return p},T:function(){return b}});var r=i(85893),t=i(67294),s=i(17191),l=i(50151),a=i(93108),c=i(64325),o=i(72303),d=i(13591),h=i(74574),u=i(27239),x=i(82509),g=i(72177),j=i(94160),f=i(33090);let p=["#64748b","#a8a29e","#f87171","#fb923c","#fbbf24","#facc15","#a3e635","#4ade80","#34d399","#2dd4bf","#06b6d4","#0ea5e9","#60a5fa","#818cf8","#a78bfa","#c084fc","#e879f9","#f472b6","#fb7185","#9f1239"],b=(0,t.forwardRef)((e,n)=>{let{name:i,defaultValue:b="",value:m="",onChange:S,...v}=e,[w,y]=(0,t.useState)(m||"#64748b");return(0,t.useEffect)(()=>{null==S||S({target:{name:i,value:w}})},[w]),(0,r.jsxs)(s.J,{variant:"picker",children:[(0,r.jsx)(l.x,{children:(0,r.jsx)(a.z,{colorScheme:"gray","aria-label":w,background:w,height:"22px",width:"22px",padding:0,minWidth:"unset",borderRadius:3})}),(0,r.jsxs)(c.y,{width:"170px",children:[(0,r.jsx)(o.Q,{bg:w}),(0,r.jsx)(d.u,{color:"white"}),(0,r.jsx)(h.Y,{height:"100px",backgroundColor:w,borderTopLeftRadius:5,borderTopRightRadius:5,color:"white",children:(0,r.jsx)(u.M,{dir:"ltr",height:"100%",children:w})}),(0,r.jsx)(x.b,{height:"120px",children:(0,r.jsx)(g.M,{columns:5,spacing:2,children:p.map(e=>(0,r.jsx)(a.z,{"aria-label":e,background:e,height:"22px",width:"22px",padding:0,minWidth:"unset",borderRadius:3,_hover:{background:e},onClick:()=>y(e)},e))})}),(0,r.jsx)(j.D,{children:(0,r.jsx)(f.I,{ref:n,dir:"ltr",borderRadius:3,placeholder:"#64748b",size:"sm",...v,value:m,onChange:e=>y(e.target.value)})})]})]})})},97246:function(e,n,i){"use strict";i.d(n,{V:function(){return d}});var r=i(85893),t=i(55512),s=i(19778),l=i(64859),a=i(54346),c=i(14253),o=i(93108);let d=e=>{let{isOpen:n,colorScheme:i,title:d,isLoading:h,onSuccess:u,onClose:x,size:g="xl",children:j}=e;return(0,r.jsx)(t.a,{isOpen:n,onClose:x,size:g,children:(0,r.jsx)(s.Z,{children:(0,r.jsxs)(t._,{children:[(0,r.jsx)(l.x,{fontSize:"lg",fontWeight:"bold",children:d}),(0,r.jsx)(a.f,{children:j}),(0,r.jsxs)(c.m,{dir:"ltr",children:[(0,r.jsx)(o.z,{colorScheme:"gray",onClick:x,children:"انصراف"}),(0,r.jsx)(o.z,{colorScheme:i,isLoading:h,isDisabled:h,onClick:u,ml:3,children:d})]})]})})})}},95929:function(e,n,i){"use strict";i.r(n),i.d(n,{DebouncedInput:function(){return l}});var r=i(85893),t=i(33090),s=i(67294);let l=e=>{let{value:n,onChange:i=()=>{},debounce:l=500,...a}=e,[c,o]=(0,s.useState)(n);return(0,s.useEffect)(()=>{o(n)},[n]),(0,s.useEffect)(()=>{let e=setTimeout(()=>i(c),l);return()=>clearTimeout(e)},[c]),(0,r.jsx)(t.I,{...a,value:c,onChange:e=>o(e.target.value)})}},26203:function(e,n,i){"use strict";i.d(n,{Z:function(){return v}});var r=i(85893),t=i(55281),s=i(65548),l=i(11163),a=i(34292),c=i(48783),o=i(5460),d=i(71293),h=i(89993),u=i(36948),x=i(41664),g=i.n(x),j=i(60839),f=i(59820),p=i(64546);let b=[{items:[{path:"",label:"نمای کلی و مانیتور",icon:j.FiActivity},{path:"/messenger",label:"پنل گفتگو و پیام (ارسال دسته‌ای)",icon:j.FiMessageSquare},{path:"/message-search",label:"جستجوی پیام‌ها",icon:j.FiSearch},{path:"/posts/new",label:"ارسال دستی به دسته‌ای",icon:j.FiSend},{path:"/messenger-label",label:"پنل گفتگو و پیام (لیبل ها)",icon:j.FiMessageSquare},{path:"/category-missions",label:"ارسال خودکار (دسته‌ای)",icon:j.FiActivity}]},{items:[{path:"/categories",label:"تعریف دسته",icon:j.FiGrid},{path:"/tags",label:"تعریف برچسب",icon:j.FiTag},{path:"/chats",label:"گفتگو (کانال، گروه، شخصی)",icon:j.FiMessageSquare},{path:"/links",label:"عضویت گروه یا کانال",icon:j.FiLink2},{path:"/users",label:"کاربران گروه‌ها",icon:j.FiUsers},{path:"/missions",label:"عملیات‌ها",icon:j.FiActivity},{path:"/orders",label:"عضوگیری انبوه",icon:j.FiUserPlus}]},{items:[{path:"/accounts",label:"حساب کاربری عامل",icon:j.FiUsers},{path:"/settings",label:"تنظیمات",icon:j.FiSettings}]}],m=()=>{let{asPath:e,query:{social:n,...i}}=(0,l.useRouter)(),{data:s}=(0,f.ZP)("/me"),u=p.U.find(e=>e.value===n);return(0,r.jsxs)(t.K,{bg:"gray.100",w:"80",h:"100vh",pos:"fixed",p:4,spacing:4,borderLeft:"1px",borderColor:"gray.200",overflow:"hidden",children:[(0,r.jsx)(a.U,{spacing:1,children:p.U.map(e=>(0,r.jsxs)(c.g,{w:"full",bg:"gray.100",py:"2",cursor:"pointer",rounded:"lg",shadow:"sm",...u.value==e.value?{bg:"white"}:{_hover:{bg:"gray.50"}},border:"1px",borderColor:"gray.200",as:g(),href:{query:{...i,social:e.value}},children:[(0,r.jsx)(o.E,{w:10,src:e.icon}),(0,r.jsx)(d.x,{fontWeight:"bold",children:e.label})]},e.value))}),(0,r.jsx)(t.K,{spacing:12,flex:"1",minH:0,overflowY:"auto",sx:{"&::-webkit-scrollbar":{display:"none"}},children:b.map((i,s)=>(0,r.jsxs)(t.K,{spacing:1,children:[i.label&&(0,r.jsx)(d.x,{fontSize:"sm",fontWeight:"bold",children:i.label}),i.items.map((i,t)=>{var s;return(0,r.jsx)(S,{...i,as:g(),href:{pathname:"/".concat(n).concat(i.path)},isActive:(null===(s=e.split("?"))||void 0===s?void 0:s[0])=="/".concat(n).concat(i.path)},t)})]},s))}),(0,r.jsxs)(a.U,{borderTop:"1px",borderColor:"gray.200",pt:3,justify:"space-between",spacing:3,children:[(0,r.jsx)(d.x,{fontSize:"sm",fontWeight:"bold",noOfLines:1,textAlign:"right",flex:"1",children:(null==s?void 0:s.name)||(null==s?void 0:s.username)||"کاربر"}),(0,r.jsx)(h.h,{"aria-label":"خروج",variant:"ghost",colorScheme:"red",icon:(0,r.jsx)(j.FiLogOut,{}),onClick:()=>{localStorage.removeItem("token"),window.location.replace("/auth/login")}})]})]})},S=e=>{let{label:n,icon:i,value:t,isActive:s,...l}=e;return(0,r.jsxs)(a.U,{rounded:"lg",cursor:"pointer",px:4,py:2,...s?{bg:"white",shadow:"sm",fontWeight:"bold"}:{_hover:{bg:"gray.50"}},...l,children:[(0,r.jsx)(u.J,{as:i}),(0,r.jsx)(d.x,{fontSize:"sm",textColor:"gray.800",children:n})]})};function v(e){let{children:n}=e,{query:{social:i}}=(0,l.useRouter)();return i?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(m,{}),(0,r.jsx)(t.K,{mr:80,bg:"white",as:s.m.div,flexGrow:1,spacing:4,p:6,children:n})]}):null}},76148:function(e,n,i){"use strict";i.d(n,{t:function(){return g}});var r=i(85893);let{ButtonGroup:t,IconButton:s,Popover:l,PopoverTrigger:a,Button:c,PopoverContent:o,PopoverBody:d}=i(53159),{FiChevronRight:h,FiChevronLeft:u}=i(60839),{DebouncedInput:x}=i(95929),g=e=>{let{page:n,hasNext:i,setPage:g,total:j}=e;return(0,r.jsxs)(t,{colorScheme:"gray",isAttached:!0,children:[(0,r.jsx)(s,{isDisabled:!i,icon:(0,r.jsx)(h,{}),onClick:()=>g({page:n+1})}),(0,r.jsxs)(l,{children:[(0,r.jsx)(a,{children:(0,r.jsxs)(c,{fontSize:"sm",children:["صفحه ",null==n?void 0:n.toLocaleStr
1ing("fa")," از ",null==j?void 0:j.toLocaleString("fa")]})}),(0,r.jsx)(o,{maxW:32,children:(0,r.jsx)(d,{children:(0,r.jsx)(x,{defaultValue:n,onChange:e=>g({page:e||n})})})})]}),(0,r.jsx)(s,{isDisabled:1==n,icon:(0,r.jsx)(u,{}),onClick:()=>g({page:n-1})})]})}},64546:function(e,n,i){"use strict";i.d(n,{U:function(){return r}});let r=[{label:"ایتا",value:"eitaa",gradient:"linear(180deg, orange.300, orange.500)",icon:"/images/eitaa.png"},{label:"روبیکا",value:"rubika",gradient:"linear(180deg, gray.300, gray.500)",icon:"/images/rubika.png"},{label:"بله",value:"bale",gradient:"linear(180deg, green.300, blue.800)",icon:"/images/bale.png/"},{label:"سروش",value:"splus",gradient:"linear(180deg, blue.500, blue.900)",icon:"/images/splus.png"}]},13604:function(e,n,i){"use strict";function r(e){var n=new Date(e),i=Math.round(Math.abs((new Date().getTime()-n.getTime())/1e3)),r=Math.round(Math.abs(i/60)),t=Math.round(Math.abs(r/60)),s=Math.round(Math.abs(t/24));if(Number.isNaN(i))return"";if(i<=60)return r.toLocaleString("fa")+" ثانیه قبل";if(r<=60)return r.toLocaleString("fa")+" دقیقه قبل";if(t<=24)return t.toLocaleString("fa")+" ساعت قبل";if(s<=30)return s.toLocaleString("fa")+" روز قبل";if(s<=45)return"یک ماه قبل";if(s<=345)return Math.round(Math.abs(s/30.416)).toLocaleString("fa")+" ماه قبل";else if(s<=545)return"یک سال قبل";else return Math.round(Math.abs(s/365)).toLocaleString("fa")+" سال پیش"}i.d(n,{Z:function(){return r}})},97461:function(e,n,i){"use strict";i.r(n),i.d(n,{filePath:function(){return a},format:function(){return r},humanCount:function(){return s},humanSize:function(){return t},isEmpty:function(){return c},isNotEmpty:function(){return o},mediaUrl:function(){return l}});let r=function(e,n){return arguments.length>2&&void 0!==arguments[2]&&arguments[2],new Date(n).toLocaleString("fa",{dateStyle:"short",timeStyle:"short"})},t=e=>{var n=0==e?0:Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,n)).toFixed(2)+" "+["B","kB","MB","GB","TB","PB"][n]},s=e=>{var n=e<=0?0:Math.floor(Math.log(e)/Math.log(1e3));return 1*(e/Math.pow(1e3,n)).toFixed(1)+" "+["","K","M","G","T"][n]},l=function(e){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?n?"":"https://irmsg.s3.ir-thr-at1.arvanstorage.ir/"+e:"https://placehold.co/300x300"},a=(e,n)=>{if(n)return"https://cdn.crwlr.ir/crawler/".concat(e,"/").concat(n)},c=function(e){let n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return!!_.isUndefined(e)||(_.isArray(e)?_.isEmpty(e):_.isObject(e)?!!_.keys(e).length:_.isString(e)?(null==e?void 0:e.length)==0:_.isNumber(e)?0==e&&n:!_.isBoolean(e))},o=e=>!c(e)},45529:function(e,n,i){"use strict";i.r(n);var r=i(85893),t=i(68510),s=i(97246),l=i(95929),a=i(26203),c=i(76148),o=i(13604),d=i(97461),h=i(7963),u=i(82730),x=i(55281),g=i(34292),j=i(36948),f=i(22757),p=i(81136),b=i(71293),m=i(93108),S=i(82140),v=i(32735),w=i(33090),y=i(61557),k=i(10991),T=i(99840),C=i(80510),M=i(4693),z=i(15115),F=i(64698),U=i(57747),Z=i(8371),L=i(32568),E=i(89993),N=i(55083),P=i(19778),D=i(65548),A=i(85335),q=i(66205),O=i(64859),I=i(54346),B=i(85970),R=i(5418),W=i(66712),K=i(91170),V=i(4040),G=i(80972),X=i(14253),Q=i(72485),J=i(87066),Y=i(79052),$=i(96486),H=i.n($),ee=i(11163),en=i(67294),ei=i(87536),er=i(60839),et=i(48198),es=i(59820),el=i(75362),ea=i(24003);let ec=async(e,n)=>{let{arg:i}=n;return J.Z.delete(e)},eo=async(e,n)=>{let{arg:i}=n;return await J.Z.post(e,i)},ed=async(e,n)=>{let{arg:i}=n;return await J.Z.patch(e,i)},eh=async e=>await J.Z.delete(e),eu=async(e,n)=>{let{arg:{id:i}}=n;return await J.Z.delete(e+i)},ex=async(e,n)=>{let{arg:i}=n;return await J.Z.post(e,i)},eg=e=>{let{social:n,item:i,isOpen:s,onClose:l,onSuccess:a}=e,c=(0,h.p)(),{register:o,control:d,handleSubmit:u,formState:{errors:j},setValue:f}=(0,ei.cI)(),{data:S,isLoading:v,mutate:y}=(0,es.ZP)(i&&"/categories/".concat(i.id,"/chats?social=").concat(n));(0,en.useEffect)(()=>{f("name",(null==i?void 0:i.name)||""),f("color",(null==i?void 0:i.color)||"")},[i]);let k=(0,en.useCallback)(()=>{null==a||a(),c({description:i?"تغییرات ذخیره شد":"دسته جدید ایجاد شد",colorScheme:"green"}),l()},[a,i]),T=(0,en.useCallback)(e=>{y(),c({description:"add"==e?"گفتگو اضافه شد":"حذف گفتگو انجام شد",colorScheme:"green"})},[]),{trigger:C,isMutating:M}=(0,el.Z)("/categories",eo,{onSuccess:k}),{trigger:z,isMutating:F}=(0,el.Z)(i&&"/categories/".concat(i.id),ed,{onSuccess:k}),{trigger:U,isMutating:Z}=(0,el.Z)(i&&"/categories/".concat(i.id,"/chats/"),eu,{onSuccess:()=>T("delete"),onError:()=>c({description:"خطا در حذف گفتگو",colorScheme:"red"})}),{trigger:L,isMutating:Q}=(0,el.Z)(i&&"/categories/".concat(i.id,"/chats?social=").concat(n),eh,{onSuccess:()=>T("delete"),onError:()=>c({description:"خطا در حذف گفتگو",colorScheme:"red"})},[S]),{trigger:$,isMutating:ee}=(0,el.Z)(i&&"/categories/".concat(i.id,"/chats"),ex,{onSuccess:()=>{y(),c({description:"عملیات با موفقیت انجام شد",colorScheme:"green"})},onError:()=>c({description:"خطا در اضافه کردن گفتگو",colorScheme:"red"})},[S]);return(0,r.jsxs)(N.d,{isOpen:s,onClose:l,size:"lg",placement:"left",children:[(0,r.jsx)(P.Z,{}),(0,r.jsx)(D.m.form,{h:"full",onSubmit:u(H().isUndefined(i)?C:z),children:(0,r.jsxs)(A.s,{
1children:[(0,r.jsx)(q.o,{}),(0,r.jsxs)(O.x,{children:[i?"ویرایش":"ایجاد"," دسته"]}),(0,r.jsxs)(I.f,{h:"100%",as:x.K,spacing:4,children:[(0,r.jsxs)(B.NI,{children:[(0,r.jsx)(R.l,{children:"نام"}),(0,r.jsx)(w.I,{...o("name")})]}),(0,r.jsxs)(B.NI,{children:[(0,r.jsx)(R.l,{children:"رنگ"}),(0,r.jsx)(ei.Qr,{name:"color",control:d,render:e=>{let{field:n}=e;return(0,r.jsx)(t.T,{...n})}})]}),!!i&&(0,r.jsxs)(B.NI,{children:[(0,r.jsxs)(g.U,{justify:"space-between",children:[(0,r.jsx)(b.x,{fontWeight:"bold",children:"گفتگوها"}),(0,r.jsx)(g.U,{children:(0,r.jsxs)(W.v,{children:[(0,r.jsx)(K.j,{type:"button",children:(0,r.jsx)(m.z,{variant:"soft",colorScheme:"gray",isDisabled:ee||Q,leftIcon:ee||Q?(0,r.jsx)(p.$,{size:"sm"}):(0,r.jsx)(et.kWQ,{}),size:"sm",children:"اعمال تغییرات"})}),(0,r.jsxs)(V.q,{children:[(0,r.jsx)(G.s,{icon:(0,r.jsx)(er.FiUsers,{}),onClick:()=>$({all:"group",social:n}),children:"افزودن همه گروه‌ها"}),(0,r.jsx)(G.s,{icon:(0,r.jsx)(er.FiVolume,{}),onClick:()=>$({all:"channel",social:n}),children:"افزودن همه کانال‌ها"}),(0,r.jsx)(G.s,{icon:(0,r.jsx)(er.FiTrash2,{}),onClick:()=>L(),color:"red.500",children:"حذف همه..."})]})]})})]}),(0,r.jsx)(Y.qb,{placeholder:"جستجو در گفتگوها...",noOptionsMessage:()=>(0,r.jsx)(b.x,{children:"گفتگویی یافت نشد"}),useBasicStyles:!0,value:"",onChange:e=>{let{value:i}=e;$({chat_id:i,social:n})},loadOptions:async(e,i)=>{let{data:{items:r}={}}=await J.Z.get("/".concat(n,"/dialogs?q=").concat(e,"&sort=member_count__desc&size=10&rnd=").concat(H().random(1e3)));i(r.map(e=>({label:e.title,value:e.chat_id})))}}),(0,r.jsxs)(x.K,{py:2,children:[v&&(0,r.jsx)(p.$,{my:"10",alignSelf:"center"}),null==S?void 0:S.map(e=>(0,r.jsxs)(g.U,{py:1,px:2,rounded:"md",justify:"space-between",bg:"gray.50",children:[(0,r.jsx)(b.x,{fontSize:"sm",fontWeight:"bold",children:e.title}),(0,r.jsx)(E.h,{size:"sm",variant:"soft",colorScheme:"gray",icon:(0,r.jsx)(er.FiX,{}),onClick:()=>U({id:e.chat_id})})]},e.xid))]})]})]}),(0,r.jsxs)(X.m,{as:g.U,children:[(0,r.jsx)(m.z,{onClick:l,colorScheme:"gray",children:"انصراف"}),(0,r.jsx)(m.z,{isLoading:M||F,isDisabled:M||F,type:"submit",children:"ذخیره"})]})]})})]})};n.default=(0,Q.X)((0,r.jsx)(a.Z,{}))(()=>{let{query:{social:e}}=(0,ee.useRouter)();(0,h.p)();let[n,i]=(0,ea.useQueryParams)({},{params:{size:(0,ea.withDefault)(ea.NumberParam,20),page:(0,ea.withDefault)(ea.NumberParam,1),q:(0,ea.withDefault)(ea.StringParam,"",!1),size:(0,ea.withDefault)(ea.NumberParam,40,!1),sort:(0,ea.withDefault)(ea.StringParam,"id__asc",!1)}}),[t,a]=(0,en.useState)(),{isOpen:N,onClose:P,onOpen:D}=(0,u.q)(),{isOpen:A,onClose:q,onOpen:O}=(0,u.q)(),{data:{items:I,total:B,total_pages:R}={},isLoading:W,mutate:K}=(0,es.ZP)("/categories?"+new URLSearchParams(H().omitBy(n,d.isEmpty)),{},[n]),{trigger:V,isMutating:G}=(0,el.Z)(t&&"/categories/".concat(null==t?void 0:t.id),ec,{onSuccess:()=>K()}),X=(0,en.useCallback)(e=>{a(e),D()},[]),Q=(0,en.useCallback)(e=>{a(e),O()},[]),J=(0,en.useCallback)(()=>{a(null),P()},[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(x.K,{w:"full",justify:"space-between",children:[(0,r.jsxs)(g.U,{justify:"space-between",children:[(0,r.jsxs)(g.U,{children:[(0,r.jsx)(j.J,{fontSize:"3xl",as:er.FiGrid}),(0,r.jsx)(f.X,{size:"md",children:"دسته ها"}),W&&(0,r.jsx)(p.$,{})]}),(0,r.jsxs)(g.U,{children:[(0,r.jsxs)(b.x,{children:["نتایج:‌ ",null==B?void 0:B.toLocaleString("fa")]}),(0,r.jsx)(c.t,{total:R,hasNext:(null==I?void 0:I.length)>=n.size,page:n.page,setPage:i}),(0,r.jsx)(m.z,{leftIcon:(0,r.jsx)(er.FiPlus,{}),onClick:D,children:"افزودن"})]})]}),(0,r.jsxs)(g.U,{justify:"space-between",children:[(0,r.jsxs)(S.B,{children:[(0,r.jsx)(v.Z,{children:(0,r.jsx)(er.FiSearch,{})}),(0,r.jsx)(w.I,{as:l.DebouncedInput,value:n.q,border:"none",placeholder:"جستجوی نام دسته...",onChange:e=>i({q:e})})]}),(0,r.jsx)(g.U,{})]})]}),(0,r.jsx)(x.K,{overflowY:"scroll",id:"scrollable",sx:{"::-webkit-scrollbar":{display:"none"}},children:(0,r.jsx)(y.x,{children:(0,r.jsxs)(k.i,{children:[(0,r.jsx)(T.h,{children:(0,r.jsxs)(C.Tr,{children:[(0,r.jsx)(M.Th,{col:"id",children:"ردیف"}),(0,r.jsx)(M.Th,{textAlign:"center",children:"رنگ"}),(0,r.jsx)(M.Th,{textAlign:"center",children:"نام"}),(0,r.jsx)(M.Th,{textAlign:"center",children:"ایتا"}),(0,r.jsx)(M.Th,{textAlign:"center",children:"روبیکا"}),(0,r.jsx)(M.Th,{children:"بله"}),(0,r.jsx)(M.Th,{children:"سروش"}),(0,r.jsx)(M.Th,{col:"created_at",children:"زمان ایجاد"}),(0,r.jsx)(M.Th,{col:"updated_at",children:"زمان تغییر"}),(0,r.jsx)(M.Th,{children:"عملیات"})]})}),(0,r.jsx)(z.p,{children:null==I?void 0:I.map((e,n)=>(0,r.jsxs)(C.Tr,{children:[(0,r.jsx)(F.Td,{w:"4",children:e.id}),(0,r.jsx)(F.Td,{w:"4",children:(0,r.jsx)(U.xu,{w:6,h:6,rounded:"md",bg:e.color})}),(0,r.jsx)(F.Td,{w:"auto",children:(0,r.jsx)(b.x,{children:e.name})}),(0,r.jsx)(F.Td,{textAlign:"center",w:"16",children:(0,r.jsxs)(Z.Vp,{colorScheme:"gray",children:[e.eitaa_last_count," / ",e.eitaa_count]})}),(0,r.jsx)(F.Td,{textAlign:"center",w:"16",children:(0,r.jsxs)(Z.Vp,{colorScheme:"gray",children:[e.rubika_last_count," / ",e.rubika_count]})}),(0,r.jsx)(F.Td,{textAlign:"center",w:"16",children:(0,r.jsxs)(Z.Vp,{colorScheme:"gray",children:[e.bale_last_count," / ",e.bale_count]})}),(0,r.jsx)(F.Td,{textAlign:"center",w:"16",children:(0,r.jsxs)(Z.Vp,{colorScheme:"gray",children:[e.splus_last_count," / ",e.splus_count]})}),(0,r.jsx)(F.Td,{w:"24",children:(0,r.jsx)(L.u,{label:e.created_at,children:(0,r.jsx)(b.x,{fontSize:"sm",children:(0,o.Z)(e.created_at)})})}),(0,r.jsx)(F.Td,{w:"24",children:(0,r.jsx)(L.u,{label:e.updated_at,children:(0,r.jsx)(b.x,{fontSize:"sm",children:(0,o.Z)(e.updated_at)})})}),(0,r.jsx)(F.Td,{w:"24",children:(0,r.jsxs)(g.U,{children:[(0,r.jsx)(E.h,{variant:"soft",size:"sm",icon:(0,r.jsx)(er.FiEdit2,{}),onClick:()=>X(e)}),(0,r.jsx)(E.h,{variant:"soft",colorScheme:"red",size:"sm",icon:(0,r.jsx)(er.FiTrash2,{}),onClick:()=>Q(e)})]})})]},n))})]})})}
1),N&&(0,r.jsx)(eg,{social:e,item:t,isOpen:N,onClose:J,onSuccess:K}),A&&(0,r.jsxs)(s.V,{colorScheme:"red",title:"حذف دسته",isOpen:A,isLoading:G,onSuccess:V,onClose:q,children:["دسته '",null==t?void 0:t.name,"' با چت‌های انتخاب شده برای آن حذف میشود، مطمئن هستید؟"]})]})})}},function(e){e.O(0,[6152,3662,4434,6556,4441,6115,1640,7868,7536,9782,6858,7148,9052,9352,1634,2888,9774,179],function(){return e(e.s=10686)}),_N_E=e.O()}]);

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.