PageSourceSearch

https://app.guul.games/static/js/2116.d30ace6d.chunk.js

js guul.games collected 2026-10-01 16:22:20 UTC 36,214 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkguul=self.webpackChunkguul||[]).push([[2116],{20748:function(e,t,a){a.r(t),a.d(t,{default:function(){return Q}});var s=a(29439),n=a(47313),r=a(75590),l=a(58467),i=a(80024),c=a(85814),o=a(1413),d=a(85554),u=a(51426),m=a(35024),x=a(14176),f=a(57907),v=a(17739),h=a(7942),p=a(89769),g=a(67911),j=a(63654),N=a(84302),b=a(8960),Z=a(45797),y=a(73785),w=a(96358),S=a(46417),C=function(e){var t=e.name,a=e.setName,s=e.logoImage,n=e.setLogoImage,l=e.language,i=e.user,c=e.groupId,o=e.channelId,d=e.setLanguage,u=e.setGroupId,m=e.setChannelId,x=(0,r.$G)().t;return(0,S.jsxs)("div",{className:"flex w-full flex-col gap-4 rounded-2xl bg-white p-6 dark:bg-[#1C1C24]",children:[(0,S.jsx)("h4",{className:"text-xl font-medium",children:x("General")}),(0,S.jsx)(w.Z,{labelText:x("Name"),Component:(0,S.jsx)(N.Z,{type:"text",placeholder:"Name",value:t,onChange:function(e){a(e.target.value)}})}),(0,S.jsx)(w.Z,{labelText:x("LogoImage"),Component:(0,S.jsx)("div",{className:"min-h-12 rounded-lg border dark:border-[#3A3A43]",children:(0,S.jsx)(b.Z,{accept:["image/jpeg","image/png","image/jpg","image/webp"],handleFile:function(e){return n(e)},file:s})})}),(0,S.jsx)(w.Z,{labelText:x("Language"),Component:(0,S.jsx)(Z.Z,{user:i,currentItem:l,data:[{value:"EN",text:"English"},{value:"TR",text:"T\xfcrk\xe7e"}],type:"language",text:"Search Language",selectedIdHandler:d},"languageSearch")}),o&&(0,S.jsx)(y.Z,{user:i,onChannelSelected:function(e,t){u(e),m(t)},selectedGroupId:c,selectedChannelId:o})]})},I=a(93433),A=a(86730),k=function(e){var t=e.userList,a=e.setAddedUsers,l=e.setRemovedUsers,i=(0,r.$G)().t,c=(0,n.useState)([]),d=(0,s.Z)(c,2),u=d[0],m=d[1];(0,n.useEffect)((function(){t&&x(t)}),[t]);var x=function(e){var t=e.filter((function(e){return e.isAdmin})),a=e.filter((function(e){return!e.isAdmin}));m([].concat((0,I.Z)(t),(0,I.Z)(a)))};return(0,S.jsx)("div",{className:"w-full rounded-md border bg-light-gray-2 dark:border-[#3A3A43] dark:bg-[#13131A]",children:(0,S.jsx)("div",{className:"max-h-[250px] overflow-y-auto p-4",children:u.map((function(e,t){return(0,S.jsxs)("div",{children:[t>0&&u[t-1].isAdmin!==e.isAdmin&&(0,S.jsx)("div",{className:"my-4 h-px w-full bg-gray-700"}),(0,S.jsxs)("div",{className:"flex items-center p-2",children:[(0,S.jsx)("img",{src:(0,v.Cl)(e.avatarUrl),referrerPolicy:"no-referrer",alt:e.userName,className:"mr-2 h-8 w-8 rounded-full"}),(0,S.jsx)("span",{className:"text-sm",children:e.userName}),e.isAdmin?(0,S.jsx)("div",{className:"ml-auto flex items-center",children:(0,S.jsxs)("div",{className:"flex items-center justify-center rounded-lg border border-[#FFBE0C] bg-[#FFBE0C33] px-2.5 py-1.5 text-xs text-[#FFBE0C]",children:[(0,S.jsx)("span",{children:"Admin"}),(0,S.jsx)("button",{type:"button",className:"ml-2",onClick:function(){return function(e){l((function(t){return[].concat((0,I.Z)(t),[e.userId])}));var t=u.map((function(t){return t.userId===e.userId?(0,o.Z)((0,o.Z)({},t),{},{isAdmin:!1}):t}));x(t)}(e)},children:(0,S.jsx)(A.x8,{className:"h-4 w-4",fill:"#FFBE0C"})})]})}):(0,S.jsx)("button",{type:"button",className:"ml-auto text-xs text-[#3A86FE]",onClick:function(){return function(e){a((function(t){return[].concat((0,I.Z)(t),[e.userId])}));var t=u.map((function(t){return t.userId===e.userId?(0,o.Z)((0,o.Z)({},t),{},{isAdmin:!0}):t}));x(t)}(e)},children:i("MakeAdmin")})]})]},t)}))})})},P=a(35814),G=a(79718),U=function(e){var t=e.user,a=e.inviteUserList,l=e.setNotificationObj,i=(0,r.$G)().t,c=(0,n.useState)(""),o=(0,s.Z)(c,2),d=o[0],m=o[1],x=(0,n.useState)(!1),f=(0,s.Z)(x,2),v=f[0],h=f[1],g=(0,n.useState)(""),j=(0,s.Z)(g,2),b=j[0],Z=j[1],y=(0,n.useState)(!1),w=(0,s.Z)(y,2),C=w[0],I=w[1];(0,n.useEffect)((function(){var e;t&&Z("".concat(window.location.origin,"/signUp?gameSpace=").concat(null===t||void 0===t||null===(e=t.team)||void 0===e?void 0:e.teamId))}),[t]);return(0,S.jsx)(n.Fragment,{children:"GameSpace"!==t.controller?(0,S.jsx)("div",{className:"",children:(0,S.jsx)(P.Z,{user:t,data:a,type:"adminInvite",text:"Invite User",players:[{username:"Enis Beyg\xf6r\xfc\u015f",isReady:!1,isConnected:!0,isTurn:!1,position:1,score:0,id:"U01M75DJDC0",timer:-1,disconnectTimer:6e5,index:0,isWinner:!1,avatar:"https://avatars.slack-edge.com/202
11-02-01/1703609712196_825db7a219f1fe6f5bb5_512.jpg"}],player:1,sendInviteMessageHandler:function(e){u.Z.adminPanelInvite(t.team.teamId,e)}},"SelectInviteAdmin")}):(0,S.jsxs)(n.Fragment,{children:[(0,S.jsx)("div",{className:"flex flex-col",children:(0,S.jsx)(N.Z,{type:"text",placeholder:"Email",value:d,onChange:function(e){m(e.target.value)},className:"w-full rounded-lg border bg-transparent py-3.5 px-4 text-left text-sm font-medium placeholder-[#7A7A7A] outline-none ring-purple-500 focus:ring-2 dark:border-[#3A3A43]"})}),(0,S.jsxs)("div",{className:"flex gap-4",children:[(0,S.jsx)("button",{type:"button",id:"btnSendInviteEmailSidebar",className:"flex h-12 w-full items-center justify-center rounded-xl bg-blue-500 text-base font-semibold text-white hover:bg-blue-700",onClick:function(){d?(h(!0),u.Z.sendInviteEmail(null===t||void 0===t?void 0:t.userId,d).then((function(e){e.data.ok?l({message:i("InvitatisenSent"),status:1}):l({message:i("AnErrorOccured"),status:0})})).catch((function(e){l({message:i("AnErrorOccured"),status:0})})).finally((function(){h(!1)}))):l({message:i("EmailRequired"),status:0})},children:v?(0,S.jsx)(p.Z,{}):i("SendInviteEmail")}),C?(0,S.jsx)("span",{className:"mx-2 !mt-5 py-2 px-5 text-xs font-medium",children:i("Copied")}):(0,S.jsx)("button",{type:"button",id:"btnCopyInviteLinkAdminPanel",className:"flex h-12 w-full items-center justify-center rounded-xl border-2 border-[#F1F1F3] text-base font-semibold hover:bg-gray-700",onClick:function(){var e;b&&(e=b,"clipboard"in navigator?navigator.clipboard.writeText(e):document.execCommand("copy",!0,e),I(!0),(0,G.YL)(t.userId,t.team.teamId,t.team.name,"btnCopyInviteLinkAdminPanel","Invite Link Copied"),setTimeout((function(){I(!1)}),1500))},children:i("CopyInviteLink")})]})]})})},L=function(e){var t=e.userList,a=e.inviteUserList,s=e.user,n=e.setAddedUsers,l=e.setRemovedUsers,i=e.setNotificationObj,c=(0,r.$G)().t;return(0,S.jsxs)("div",{className:"flex h-full w-full flex-col gap-4 roun
1ded-2xl bg-white p-6 dark:bg-[#1C1C24]",children:[(0,S.jsx)("h4",{className:"text-xl font-medium",children:c("Authorization")}),(0,S.jsx)(w.Z,{labelText:c("InviteUser"),Component:(0,S.jsx)(U,{inviteUserList:a,setNotificationObj:i,user:s})}),(0,S.jsx)(w.Z,{labelText:c("Users"),Component:(0,S.jsx)(k,{userList:t,setAddedUsers:n,setRemovedUsers:l})})]})},T=a(16994),D=function(e){var t=e.limitedGames,a=e.setLimitedGames,s=(0,r.$G)().t,n=function(e){e.target.checked?a(t.filter((function(t){return t!==e.target.title}))):a((function(t){return[].concat((0,I.Z)(t),[e.target.title])}))};return(0,S.jsxs)("div",{className:"flex w-full flex-col gap-4 rounded-2xl bg-white p-6 dark:bg-[#1C1C24]",children:[(0,S.jsx)("h4",{className:"text-xl font-medium",children:s("GamePreferences")}),(0,S.jsx)("div",{className:"flex w-full flex-row gap-4 sm:gap-8",children:(0,S.jsx)(w.Z,{gap:4,labelText:s("SelectActiveTournamentGames"),Component:(0,S.jsx)("div",{className:"flex w-full flex-col gap-2 truncate",children:f.G3.filter((function(e){return!e.invisible})).map((function(e){return(0,S.jsxs)("div",{className:"flex items-center rounded-md border bg-light-gray-2 p-3 dark:border-[#3A3A43] dark:bg-[#13131A]",children:[(0,S.jsxs)("label",{className:"flex flex-1 items-center text-xs font-medium",htmlFor:"game-".concat(e.id),children:[(0,S.jsx)(T.Z,{gameName:e.gameName,alt:e.displayName,className:"mr-4 h-6 w-6 rounded"}),e.displayName]}),(0,S.jsx)("input",{type:"checkbox",id:"game-".concat(e.id),className:"ml-auto accent-indigo-600",title:e.gameName,checked:!(null!==t&&void 0!==t&&t.includes(e.gameName)),onChange:n})]},e.id)}))})})})]})},E=a(4942),F=function(e){var t=e.value,a=e.onChange;return(0,S.jsx)("input",{type:"time",value:t,onChange:function(e){var t=e.target.value.split(":").map(Number),n=(0,s.Z)(t,2),r=n[0],l=n[1];r>=0&&r<24&&l>=0&&l<60&&a(e.target.value)},className:"h-9 w-max rounded-md border border-[#3A3A43] bg-[#13131A] p-2 placeholder:text-[#6B7280] focus:outline-none"})},M=function(e){var t=e.availablePeriods,a=e.setAvailablePeriods,l=(0,r.$G)().t,i=(0,n.useState)([]),c=(0,s.Z)(i,2),d=c[0],u=c[1];(0,n.useEffect)((function(){if(t.length>0&&0===d.length){var e=t.map((function(e){return{id:e.dayOfTheWeek,day:["SUN","MON","TUE","WED","THU","FRI","SAT"][e.dayOfTheWeek],allDay:e.isAvailableAllDay,timeSlots:e.periods.map((function(e){return{start:"".concat(e.startHour.toString().padStart(2,"0"),":").concat(e.startMinute.toString().padStart(2,"0")),end:"".concat(e.endHour.toString().padStart(2,"0"),":").concat(e.endMinute.toString().padStart(2,"0"))}}))}}));u(e)}}),[t]),(0,n.useEffect)((function(){var e=d.map((function(e){return{dayOfTheWeek:e.id,isAvailableAllDay:e.allDay,periods:e.timeSlots.map((function(e){var t=parseInt(e.start.split(":")[0]),a=parseInt(e.start.split(":")[1]),s=parseInt(e.end.split(":")[0]),n=parseInt(e.end.split(":")[1]);return{startHour:isNaN(t)?null:t,startMinute:isNaN(a)?0:a,endHour:isNaN(s)?null:s,endMinute:isNaN(n)?0:n}})).filter((function(e){return null!==e.startHour&&null!==e.endHour}))}}));a(e)}),[d]);var m=function(e,t,a,s){var n=d.map((function(n){if(n.id===e){var r=n.timeSlots.map((function(e,n){return n===t?(0,o.Z)((0,o.Z)({},e),{},(0,E.Z)({},a,s)):e}));return(0,o.Z)((0,o.Z)({},n),{},{allDay:!1,timeSlots:r})}return n}));u(n)};return(0,S.jsx)("div",{className:"grid-rows-7 grid max-h-[430px] gap-2 overflow-y-auto rounded-lg border bg-light-gray-2 px-2 py-1 text-sm dark:border-[#3A3A43] dark:bg-[#13131A] sm:px-4",children:d.map((function(e,t){return(0,S.jsx)("div",{className:"min-h-12 py-2",children:(0,S.jsxs)("div",{className:"grid grid-cols-[1fr_0.5fr_5fr_0.5fr] items-start gap-2 sm:grid-cols-[1fr_1.5fr_4fr_0.5fr]",children:[(0,S.jsx)("div",{className:"flex h-9 items-center space-x-2",children:(0,S.jsx)("span",{className:"capitalize",children:l(e.day.toLowerCase())})}),(0,S.jsxs)("div",{className:"flex h-9 items-center space-x-2",children:[(0,S.jsx)("input",{type:"checkbox",checked:e.allDay,onChange:function(){return function(e){var t=d.map((function(t){return t.id===e?(0,o.Z)((0,o.Z)({},t),{},{allDay:!t.allDay,timeSlots:[]}):t}));u(t)}(e.id)},className:"accent-indigo-600"}),(0,S.jsx)("span",{className:"hidden sm:block",children:l("AllDay")})]}),(0,S.jsx)("div",{className:"flex flex-col items-end gap-2",children:e.timeSlots.map((function(t,a){return(0,S.jsxs)("div",{className:"flex items-center gap-2",children:[(0,S.jsx)(F,{value:t.start,onCh
1ange:function(t){return m(e.id,a,"start",t)}}),(0,S.jsx)(F,{value:t.end,onChange:function(t){return m(e.id,a,"end",t)}}),(0,S.jsx)("button",{className:"pb-1",onClick:function(){return function(e,t){var a=d.map((function(a){if(a.id===e){var s=a.timeSlots.filter((function(e,a){return a!==t}));return(0,o.Z)((0,o.Z)({},a),{},{timeSlots:s})}return a}));u(a)}(e.id,a)},children:"\xd7"})]},a)}))}),(0,S.jsx)("button",{className:"mt-auto pb-2.5 text-right",onClick:function(){return function(e){var t=d.find((function(t){return t.id===e}));if(!t||!t.timeSlots.some((function(e){return""===e.start||""===e.end}))){var a=d.map((function(t){return t.id===e?(0,o.Z)((0,o.Z)({},t),{},{timeSlots:[].concat((0,I.Z)(t.timeSlots),[{start:"",end:""}])}):t}));u(a)}}(e.id)},children:"+"})]})},t)}))})},H=a(27832),O=function(e){var t=e.timeZone,a=e.setTimeZone,s=e.availablePeriods,n=e.setAvailablePeriods,l=e.user,i=(0,r.$G)().t;return(0,S.jsxs)("div",{className:"flex w-full flex-col gap-4 rounded-2xl bg-white p-6 dark:bg-[#1C1C24]",children:[(0,S.jsx)("h4",{className:"text-xl font-medium",children:i("TimeOptions")}),(0,S.jsxs)("div",{className:"flex w-full flex-col gap-4",children:[(0,S.jsx)(w.Z,{labelText:i("SelectTimeZone"),Component:(0,S.jsx)(Z.Z,{user:l,currentItem:t,data:
1H.L,type:"timezone",text:i("SelectTimeZone"),selectedIdHandler:a},"timezoneSelect")}),(0,S.jsx)(w.Z,{labelText:i("SetPlatformAvaliabilty"),Component:(0,S.jsx)(M,{availablePeriods:s,setAvailablePeriods:n})})]})]})},R=function(e){var t=e.setWorkspaceTimeZone,a=(0,r.$G)().t,l=(0,d.v9)(x.E.getUser).user,i=(0,d.I0)(),c=(0,n.useState)(!1),N=(0,s.Z)(c,2),b=N[0],Z=N[1],y=(0,n.useState)([]),w=(0,s.Z)(y,2),I=w[0],A=w[1],k=(0,n.useState)([]),P=(0,s.Z)(k,2),U=P[0],T=P[1],E=(0,n.useState)([]),F=(0,s.Z)(E,2),M=F[0],H=F[1],R=(0,n.useState)(""),$=(0,s.Z)(R,2),_=$[0],z=$[1],B=(0,n.useState)(null),W=(0,s.Z)(B,2),X=W[0],q=W[1],Y=(0,n.useState)(""),J=(0,s.Z)(Y,2),V=J[0],K=J[1],Q=(0,n.useState)(null),ee=(0,s.Z)(Q,2),te=ee[0],ae=ee[1],se=(0,n.useState)(null),ne=(0,s.Z)(se,2),re=ne[0],le=ne[1],ie=(0,n.useState)([]),ce=(0,s.Z)(ie,2),oe=ce[0],de=ce[1],ue=(0,n.useState)(""),me=(0,s.Z)(ue,2),xe=me[0],fe=(me[1],(0,n.useState)(!1)),ve=(0,s.Z)(fe,2),he=ve[0],pe=ve[1],ge=(0,n.useState)([]),je=(0,s.Z)(ge,2),Ne=je[0],be=je[1],Ze=(0,n.useState)([]),ye=(0,s.Z)(Ze,2),we=ye[0],Se=ye[1],Ce=(0,n.useState)(""),Ie=(0,s.Z)(Ce,2),Ae=Ie[0],ke=Ie[1],Pe=(0,n.useState)({message:"",status:!1}),Ge=(0,s.Z)(Pe,2),Ue=Ge[0],Le=Ge[1],Te=(0,n.useRef)(!0);(0,n.useEffect)((function(){return De(),function(){Te.current=!1}}),[]);var De=function(){u.Z.fetchAdminPage(l.team.teamId).then((function(e){var a,s,n,r,l,i,c,o,d,u,m,x;Te.current&&(K(null===e||void 0===e||null===(a=e.data)||void 0===a?void 0:a.name),A(null===e||void 0===e||null===(s=e.data)||void 0===s?void 0:s.adminUserList),q(null===e||void 0===e||null===(n=e.data)||void 0===n?void 0:n.channelId),ke(null===e||void 0===e||null===(r=e.data)||void 0===r?void 0:r.groupId),le(null===e||void 0===e||null===(l=e.data)||void 0===l?void 0:l.language),ke(null===e||void 0===e||null===(i=e.data)||void 0===i?void 0:i.groupId),z(null===e||void 0===e||null===(c=e.data)||void 0===c?void 0:c.timeZone),t(null===e||void 0===e||null===(o=e.data)||void 0===o?void 0:o.timeZone),Se(null===e||void 0===e||null===(d=e.data)||void 0===d?void 0:d.availablePeriods),ae(null===e||void 0===e||null===(u=e.data)||void 0===u?void 0:u.logoImage),de(f.G3.filter((function(t){return e.data.limitedGames.includes(t.gameName)})).map((function(e){return e.gameName}))),be(null===e||void 0===e||null===(m=e.data)||void 0===m||null===(x=m.inviteUserList)||void 0===x?void 0:x.map((function(e){return{userId:e.userId,realName:e.userName,avatar:(0,v.Cl)(e.avatarUrl),inviteStatus:0}}))),T([]),H([]))})).finally((function(){pe(!1),Z(!0)}))};return b?(0,S.jsxs)(n.Fragment,{children:[(0,S.jsx)(j.Z,{obj:Ue}),(0,S.jsxs)("div",{className:"grid grid-cols-1 gap-4 pb-20 sm:grid-cols-2 sm:gap-8",children:[(0,S.jsx)("div",{className:"",children:(0,S.jsx)(C,{name:V,setName:K,logoImage:te,setLogoImage:ae,language:re,user:l,groupId:Ae,channelId:X,setLanguage:le,setGroupId:ke,setChannelId:q})}),(0,S.jsx)("div",{className:"",children:(0,S.jsx)(L,{userList:I,inviteUserList:Ne,user:l,setAddedUsers:T,setRemovedUsers:H,setNotificationObj:Le})}),(0,S.jsx)("div",{className:"",children:(0,S.jsx)(D,{limitedGames:oe,setLimitedGames:de})}),(0,S.jsx)("div",{className:"",children:(0,S.jsx)(O,{user:l,timeZone:_,setTimeZone:z,availablePeriods:we,setAvailablePeriods:Se})}),(0,S.jsx)("div",{className:"fixed bottom-0 left-0 z-50 w-full border-t bg-white p-4 shadow-md dark:border-[#3A3A4399] dark:bg-[#1C1C24CC]",style:{marginBottom:"var(--footer-height)"},children:(0,S.jsx)("div",{className:"flex w-full items-center justify-end",children:(0,S.jsx)("button",{type:"button",id:"btnChangedGamespaceSettings",className:"flex min-w-[145px] items-center justify-center rounded-lg bg-[#8338EB] py-3 px-6 text-sm font-medium text-white outline-none",onClick:function(){pe(!0),(0,G.YL)(l.userId,l.team.teamId,l.team.name,"btnChangedGamespaceSettings","Save Gamespace Settings"),u.Z.adminPanelUpdate(null===l||void 0===l?void 0:l.userId,l.team.teamId,V,{language:re,logoImage:te,channelId:X,timeZone:_,customTheme:xe,limitedGames:oe,addedUsers:U,removedUsers:M,availablePeriods:we,groupId:Ae}).then((function(e){var t;if(pe(!1),null!==(t=e.data)&&void 0!==t&&t.ok){if(Le({message:"Saved succesfully.",status:1}),De(),e.data.data.language&&e.data.data.name){var s=(0,o.Z)({},l);s.team.name=e.data.data.name,s.team.avatar=e.data.data.avatar,s.team.language=e.data.data.language,(0,h.co)("guulUser",s),i({type:m.a.SET_USER,payload:s})}}else Le({message:a("AnErrorOccured"),status:0})}))},children:he?(0,S.jsx)(p.Z,{style:{marginLeft:"10px"}}):a("SaveChanges")}
1)})})]})]}):(0,S.jsx)(g.Z,{})},$=a(23467),_=a(17768),z=a(77200),B=a(81936),W=a(49033),X=a(27848),q=a(75529),Y=a(71708),J=a(54684),V=function(){var e=(0,r.$G)().t,t=(0,d.v9)(x.E.getUser).user,a=(0,n.useState)([]),l=(0,s.Z)(a,2),i=l[0],c=l[1],o=(0,n.useState)([]),m=(0,s.Z)(o,2),f=m[0],p=m[1],g=new Date((new Date).setDate((new Date).getDate()-7)).toLocaleDateString("en-US"),j=(0,n.useState)(""),N=(0,s.Z)(j,2),b=N[0],Z=N[1],y=(0,n.useState)(null),w=(0,s.Z)(y,2),C=w[0],I=w[1],k=(0,n.useState)(""),P=(0,s.Z)(k,2),G=P[0],U=P[1],L=(0,n.useState)(""),T=(0,s.Z)(L,2),D=T[0];T[1];(0,n.useEffect)((function(){p(i.filter((function(e){var t,a;if(null!==(t=e.user)&&void 0!==t&&t.name)return null===(a=e.user)||void 0===a?void 0:a.name.toLowerCase().includes(b.toLowerCase())})))}),[b]);var E=(0,n.useState)(!1),F=(0,s.Z)(E,2),M=F[0],H=F[1];(0,n.useEffect)((function(){p(M?i.filter((function(e){var t;return null===(t=e.user)||void 0===t?void 0:t.active})):i)}),[M]);var O=(0,n.useState)(""),R=(0,s.Z)(O,2),$=R[0],V=R[1],K=(0,n.useState)(""),Q=(0,s.Z)(K,2),ee=Q[0],te=Q[1];(0,n.useEffect)((function(){"name"===$?p("asc"===ee?f.sort((function(e,t){var a,s;return null===(a=e.user)||void 0===a?void 0:a.name.localeCompare(null===(s=t.user)||void 0===s?void 0:s.name)})):f.sort((function(e,t){var a,s;return null===(a=t.user)||void 0===a?void 0:a.name.localeCompare(null===(s=e.user)||void 0===s?void 0:s.name)}))):"accountType"===$?p("asc"===ee?f.sort((function(e,t){return e.accountType.localeCompare(t.accountType)})):f.sort((function(e,t){return t.accountType.localeCompare(e.accountType)}))):"accountCreated"===$?p("asc"===ee?f.sort((function(e,t){return e.accountCreated.localeCompare(t.accountCreated)})):f.sort((function(e,t){return t.accountCreated.localeCompare(e.accountCreated)}))):"accountLastSignIn"===$?p("asc"===ee?f.sort((function(e,t){return e.accountLastSignIn.localeCompare(t.accountLastSignIn)})):f.sort((function(e,t){return t.accountLastSignIn.localeCompare(e.accountLastSignIn)}))):"daysActive"===$?p("asc"===ee?f.sort((function(e,t){return e.daysActive-t.daysActive})):f.sort((function(e,t){return t.daysActive-e.daysActive}))):"gamesPlayed"===$&&p("asc"===ee?f.sort((function(e,t){return e.gamesPlayed-t.gamesPlayed})):f.sort((function(e,t){return t.gamesPlayed-e.gamesPlayed})))}),[$,ee]);var ae=function(e){$===e?te("asc"===ee?"desc":"asc"):(V(e),te("asc"))};return(0,n.useEffect)((function(){var e,a;(0,h.tv)("dateFilter")?null!==C&&u.Z.fetchAnalyticsActiveMembers(null===t||void 0===t||null===(e=t.team)||void 0===e?void 0:e.teamId,D,C,G).then((function(e){c(null===e||void 0===e?void 0:e.data)})):(I(g),null!==C&&u.Z.fetchAnalyticsActiveMembers(null===t||void 0===t||null===(a=t.team)||void 0===a?void 0:a.teamId,D,C,G).then((function(e){c(null===e||void 0===e?void 0:e.data)})))}),[C]),(0,n.useEffect)((function(){p(i)}),[i]),(0,S.jsx)("div",{className:"w-full",children:(0,S.jsxs)("div",{className:"mb-6 rounded-[20px] bg-white p-2 dark:bg-[#1C1C24]",children:[(0,S.jsxs)("div",{className:"my-2 mx-2 flex flex-col items-center items-baseline border-b border-[#33383F] px-2 pb-4 sm:flex-row sm:items-center",children:[(0,S.jsx)("h2",{className:"text-xl font-medium",children:e("MembersList")}),(0,S.jsxs)("span",{className:"ml-4 hidden text-xs font-medium text-gray-500 sm:block",children:[f.length," ",e("Members")]}),(0,S.jsx)("div",{className:"ml-auto hidden flex-col items-baseline\tjustify-between sm:flex sm:flex-row",children:(0,S.jsx)(J.Z,{date:function(e){if("number"===typeof e){var t=new Date;t.setDate(t.getDate()-e),U(""),I(t.toLocaleDateString("en-US"))}else"object"===typeof e?(U(e[1]),I(e[0])):(U(""),I(""))}})})]}),(0,S.jsxs)("div",{className:"my-3 flex w-52 flex-col overflow-auto whitespace-nowrap px-2 sm:w-full sm:flex-row",children:[(0,S.jsxs)("div",{className:"relative mt-2 mb-4 flex items-center sm:my-2",children:[(0,S.jsx)(A.HN,{className:"absolute left-3 h-4 w-4"}),(0,S.jsx)("input",{className:"w-64 max-w-full flex-1 rounded-lg border border-[#3A3A43] py-2 pr-5 pl-10 text-left text-sm font-medium outline-none  ring-purple-500 focus:ring-2 dark:bg-gray-800 dark:placeholder-white",type:"text",placeholder:"Search",defaultValue:b,onChange:function(e){return Z(e.target.value)}})]}),(0,S.jsxs)("div",{className:"ml-1 flex items-center sm:ml-4",children:[(0,S.jsx)("input",{type:"checkbox",id:"hideUsers",className:"accent-purple-500",onChange:function(){return H(!M)}}),(0,S.jsx)("label",{className:"ml-2 text-xs font-medium text-gray-500 dark:text-gray-300",htmlFor:"hideUsers",children:e("HideInactiveUsers")})]})]}),(0,S.jsx)(_.Z,{space:"px-2",children:(0,S.jsxs)(z.Z,{children:[(0,S.jsx)(B.Z,{children:(0,S.jsxs)(X.Z,{children:[(0,S.jsx)(W.Z,{className:"text-xs",width:"170",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return ae("name")},children:[e("Name"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex cursor-pointer items-center justify-center",onClick:function(){return ae("accountType")},children:[e("AccountType"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex cursor-pointer items-center justify-center",onClick:function(){return ae("accountCreated")},children:[e("AccountCreated"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex cursor-pointer items-center justify-center",onClick:function(){return ae("accountLastSignIn")},children:[e("LastSignIn"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap  py-1 text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex cursor-pointer items-center justify-center",onClick:function(){return ae("daysActive")},children:[e("DaysActive"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap  py-1 text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex cursor-pointer items-center justify-center",onClick:function(){return ae("gamesPlayed")},children:[e("GamePlayed"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})})]})}),(0,S.jsx)(Y.Z,{children:f.map((function(e){var t,a,s,n;return(0,S.jsxs)(X.Z,{children:[(0,S.jsx)(q.Z,{width:"170",children:(0,S.jsxs)("div",{className:"flex w-max items-center",children:[(0,S.jsx)("div",{className:"flex-shrink-0",children:(0,S.jsx)("img",{src:(0,v.Cl)(null===(t=e.user)||void 0===t?void 0:t.avatar),referrerPolicy:"no-referrer",alt:null===(a=e.user)||void 0===a?void 0:a.name,className:"h-6 w-6 rounded-full"})}),(0,S.jsx)("div",{className:"ml-2.5 flex-shrink-0",children:(0,S.jsx)("span",{className:"block text-xs ",children:null!==(s=e.user)&&void 0!==s&&s.name?null===(n=e.user)||void 0===n?void 0:n.name:"-"})})]})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:e.accountType})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:e.accountCreated})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:e.accountLastSignIn})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:e.daysActive})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:e.gamesPlayed})})]},e.id)}))})]})})]})})}
1,K=function(){var e=(0,r.$G)().t,t=(0,n.useState)([]),a=(0,s.Z)(t,2),l=a[0],i=a[1],c=new Date((new Date).setDate((new Date).getDate()-7)).toLocaleDateString("en-US"),o=(0,d.v9)(x.E.getUser).user,m=(0,n.useState)(null),f=(0,s.Z)(m,2),p=f[0],g=f[1],j=(0,n.useState)(""),N=(0,s.Z)(j,2),b=N[0],Z=N[1],y=(0,n.useState)(""),w=(0,s.Z)(y,2),C=w[0],k=w[1],P=(0,n.useState)(""),G=(0,s.Z)(P,2),U=G[0],L=G[1];(0,n.useEffect)((function(){var e,t;(0,h.tv)("dateFilter")?null!==p&&u.Z.fetchAnalyticsGameDetails(null===o||void 0===o||null===(e=o.team)||void 0===e?void 0:e.teamId,p,b).then((function(e){i(null===e||void 0===e?void 0:e.data)})):(g(c),null!==p&&u.Z.fetchAnalyticsGameDetails(null===o||void 0===o||null===(t=o.team)||void 0===t?void 0:t.teamId,p,b).then((function(e){i(null===e||void 0===e?void 0:e.data)})))}),[p]);var T=function(e){if("number"===typeof e){var t=new Date;t.setDate(t.getDate()-e),Z(""),g(t.toLocaleDateString("en-US"))}else"object"===typeof e?(Z(e[1]),g(e[0])):(Z(""),g(""))};(0,n.useEffect)((function(){"gameName"===C?i("asc"===U?(0,I.Z)(l.sort((function(e,t){return null===e||void 0===e?void 0:e.gameName.localeCompare(null===t||void 0===t?void 0:t.gameName)}))):(0,I.Z)(l.sort((function(e,t){return null===t||void 0===t?void 0:t.gameName.localeCompare(null===e||void 0===e?void 0:e.gameName)})))):"roomsCreated"===C||"totalPlayers"===C||"totalUniquePlayers"===C?i("asc"===U?(0,I.Z)(l.sort((function(e,t){return e[C]-t[C]}))):(0,I.Z)(l.sort((function(e,t){return t[C]-e[C]})))):"totalGameDuration"===C?i("asc"===U?(0,I.Z)(l.sort((function(e,t){return e.totalGameDuration.replace(":",".").replace(/[^\d-]/g,"")-t.totalGameDuration.replace(":",".").replace(/[^\d-]/g,"")}))):(0,I.Z)(l.sort((function(e,t){return t.totalGameDuration.replace(":",".").replace(/[^\d-]/g,"")-e.totalGameDuration.replace(":",".").replace(/[^\d-]/g,"")})))):"mostActivePlayer"!==C&&"mostXpPlayer"!==C||i("asc"===U?(0,I.Z)(l.sort((function(e,t){return e[C].name.localeCompare(t[C].name)}))):(0,I.Z)(l.sort((function(e,t){return t[C].name.localeCompare(e[C].name)}))))}),[C,U]);var D=function(e){C===e?L("asc"===U?"desc":"asc"):(k(e),L("gameName"===e||"mostActivePlayer"===e||"mostXpPlayer"===e?"asc":"desc"))};return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)("div",{className:"ml-auto mb-[0.3rem] flex flex-col items-baseline justify-between sm:hidden sm:flex-row",children:(0,S.jsx)(J.Z,{date:T})}),(0,S.jsx)("hr",{className:"mb-4 h-px w-full border-[#3A3C43] sm:hidden"}),(0,S.jsxs)("div",{className:"mb-6 rounded-[20px] bg-white p-2 dark:bg-[#1C1C24]",children:[(0,S.jsxs)("div",{className:"my-2 mx-2 flex flex-col items-baseline border-b border-[#33383F] px-2 pb-4 sm:flex-row sm:items-center",children:[(0,S.jsx)("h2",{className:"text-xl font-medium",children:e("GameStats")}),(0,S.jsx)("div",{className:"ml-auto hidden flex-col items-baseline\tjustify-between sm:flex sm:flex-row",children:(0,S.jsx)(J.Z,{date:T})})]}),(0,S.jsx)(_.Z,{space:"px-2",children:(0,S.jsxs)(z.Z,{children:[(0,S.jsx)(B.Z,{children:(0,S.jsxs)(X.Z,{children:[(0,S.jsx)(W.Z,{className:"text-xs",width:"170",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center uppercase",onClick:function(){return D("gameName")},children:[e("Game"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return D("roomsCreated")},children:[e("RoomsCreated"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return D("totalPlayers")},children:[e("TotalPlayers"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return D("totalUniquePlayers")},children:[e("TotalUniquePlayers"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap text-center text-xs sm:whitespace-normal",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return D("totalGameDuration")},children:[e("TotalGamePlayDuration"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap py-1 text-center text-xs sm:whitespace-normal",width:"170",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return D("mostActivePlayer")},children:[e("MostActivePlayer"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})}),(0,S.jsx)(W.Z,{className:"whitespace-nowrap py-1 text-center text-xs sm:whitespace-normal",width:"170",children:(0,S.jsxs)("div",{className:"flex w-max cursor-pointer  items-center",onClick:function(){return D("mostXpPlayer")},children:[e("PlayerWithMostXP"),(0,S.jsx)(A.Ic,{className:"ml-2 h-3 w-3"})]})})]})}),(0,S.jsx)(Y.Z,{children:l&&l.map((function(t,a){return(0,S.jsxs)(X.Z,{children:[(0,S.jsx)(q.Z,{width:"170",children:(0,S.jsxs)("div",{className:"flex w-max items-center",children:[(0,S.jsx)("div",{className:"flex-shrink-0",children:(0,S.jsx)(A.Ag,{icon:null===t||void 0===t?void 0:t.gameName})}),(0,S.jsx)("div",{className:"ml-2.5 flex-shrink-0",children:(0,S.jsx)("span",{className:"block text-xs ",children:e(null===t||void 0===t?void 0:t.gameName)})})]})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:null===t||void 0===t?void 0:t.roomsCreated})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:null===t||void 0===t?void 0:t.totalPlayers})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsx)("div",{className:"text-xs",children:null===t||void 0===t?void 0:t.totalUniquePlayers})}),(0,S.jsx)(q.Z,{className:"text-center",children:(0,S.jsxs)("div",{className:"text-xs",children:[null===t||void 0===t?void 0:t.totalGameDuration,"h"]})}),(0,S.jsx)(q.Z,{width:"150",children:(0,S.jsxs)("div",{className:"flex items-center",children:[(0,S.jsx)("div",{className:"flex-shrink-0",children:(0,S.jsx)("img",{src:(0,v.Cl)(null===t||void 0===t?void 0:t.mostActivePlayer.avatar),referrerPolicy:"no-referrer",alt:"",className:"h-6 w-6 flex-shrink-0"})}),(0,S.jsx)("div",{className:"ml-2.5 flex-shrink-0",children:(0,S.jsx)("span",{className:"block text-xs ",children:null===t||void 0===t?void 0:t.mostActivePlayer.name})})]})}),(0,S.jsx)(q.Z,{width:"150",children:(0,S.jsxs)("div",{className:"flex items-center",children:[(0,S.jsx)("div",{className:"flex-shrink-0",children:(0,S.jsx)("img",{src:(0,v.Cl)(null===t||void 0===t?void 0:t.mostXpPlayer.avatar),referrerPolicy:"no-referrer",alt:"",className:"h-6 w-6 flex-shrink-0"})}),(0,S.jsx)("div",{className:"ml-2.5 flex-shrink-0",children:(0,S.jsx)("span",{className:"block text-xs ",children:null===t||void 0===t?void 0:t.mostXpPlayer.name})})]})})]},a)}))})]})})]})]})},Q=function(){var e;(0,i.Z)("Admin Panel | Guul");
1var t=(0,r.$G)().t,a=(0,l.TH)(),o=(0,n.useState)(null),d=(0,s.Z)(o,2),u=(d[0],d[1]),m=[{name:t("GamespaceSettings"),content:(0,S.jsx)(R,{setWorkspaceTimeZone:u}),segmentName:"Gamespace Settings"},{name:t("Analytics"),content:(0,S.jsx)($.default,{}),segmentName:"Analytics"},{name:t("GameStats"),content:(0,S.jsx)(K,{}),segmentName:"Game Statistics"},{name:t("Active Members"),content:(0,S.jsx)(V,{}),segmentName:"Active Members"}];return(0,S.jsxs)("div",{className:"h-full w-full",children:[(0,S.jsx)("h1",{className:"hidden pb-4 text-2xl font-semibold sm:block",children:t("AdminPanel")}),(0,S.jsx)(c.Z,{tabs:m,initialTabIndex:(null===(e=a.state)||void 0===e?void 0:e.tab)||0})]})}},35814:function(e,t,a){var s=a(1413),n=a(29439),r=a(47313),l=a(75590),i=a(69174),c=a(86730),o=a(17739),d=a(63654),u=a(12279),m=a.n(u),x=a(51426),f=a(89769),v=a(46417),h=function(e){var t=e.data,a=e.type,u=e.shouldFilter,h=e.list,p=e.user,g=e.players,j=e.player,N=e.setGuestList,b=e.sendInviteMessageHandler,Z=e.icon,y=((0,l.$G)().t,(0,r.useState)(!1)),w=(0,n.Z)(y,2),S=w[0],C=w[1],I=(0,r.useState)([]),A=(0,n.Z)(I,2),k=A[0],P=A[1],G=(0,r.useState)(""),U=(0,n.Z)(G,2),L=U[0],T=U[1],D=(0,r.useState)(!1),E=(0,n.Z)(D,2),F=E[0],M=E[1],H=(0,r.useState)(h),O=(0,n.Z)(H,2),R=O[0],$=O[1],_=(0,r.useState)(!1),z=(0,n.Z)(_,2),B=(z[0],z[1],(0,r.useState)({message:"",status:!1,autoClose:2e3})),W=(0,n.Z)(B,2),X=W[0],q=W[1];(0,r.useEffect)((function(){if(g&&g.length>1){var e=k.find((function(e){return e.userId===g[1].id}));if(g[1].isReady)return void $([(0,s.Z)((0,s.Z)({},e),{},{inviteStatus:3})]);$([(0,s.Z)((0,s.Z)({},e),{},{inviteStatus:2})])}}),[g]),(0,r.useEffect)((function(){P(t)}),[t]);var Y=function(e,t){var a=(0,s.Z)({},t);a.inviteStatus=1;var n=k.map((function(e){return t.userId===e.userId?(0,s.Z)((0,s.Z)({},e),{},{inviteStatus:1}):e}));N(n),function(e){setTimeout((function(e){var t=(0,s.Z)((0,s.Z)({},e),{},{inviteStatus:0});N((function(a){return a.map((function(a){return a.userId===e.userId?t:a}))}))}),8e3,e)}(a),q({message:"Invite sent.",status:1,autoClose:1500}),b(t.userId),S&&C(!1)},J=(0,r.useRef)();(0,i.O)(J,(function(){C(!S)}));var V=(0,r.useCallback)(m()((function(e){"adminInvite"!==a&&"Teams"===p.controller&&u&&(M(!0),x.Z.fetchUserListTeams(p.team.teamId,e).then((function(e){M(!1),N(null===e||void 0===e?void 0:e.data.map((function(e){return(0,s.Z)((0,s.Z)({},e),{},{inviteStatus:0})})))})))}),1e3),[]);return(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)(d.Z,{obj:X}),1===j?(0,v.jsxs)("div",{className:"relative",children:[(0,v.jsx)("div",{className:"left z-2 absolute left-3 top-1/2 mr-3 -translate-y-1/2 transform cursor-pointer border-r border-[#3A3A43] pr-2",children:Z?(0,v.jsx)("img",{src:Z,alt:"add",className:"h-6 w-6"}):(0,v.jsx)(c.FU,{className:""})}),(0,v.jsxs)("button",{className:"".concat(S?"ring-white":" ring-transparent"," flex w-full items-center rounded-lg border py-3  pl-14 pr-4 text-left text-sm outline-none ring-1 dark:border-[#3A3A43]"),onClick:function(){return C(!S)},children:["opponent"===a&&"Select Opponent(s)","guest"===a&&"".concat(R.length>0?"Add":"Select","  Guest(s)"),"adminInvite"===a&&"Select User to Invite",(0,v.jsx)(c.Ic,{className:"ml-auto"})]})]}):null,S&&(0,v.jsxs)("div",{ref:J,className:"absolute inset-x-0 top-full z-10 mt-2 max-h-60 overflow-auto rounded-lg border bg-white dark:border-gray-600 dark:bg-[#20232A]",children:[(0,v.jsxs)("div",{className:"relative flex items-center",children:[(0,v.jsx)(c.HN,{className:"absolute left-4 h-4 w-4"}),(0,v.jsx)("input",{className:"w-full border-b border-gray-600 bg-transparent py-2 pl-12 pr-3 text-left text-sm font-medium text-white placeholder-gray-500 outline-none",type:"text",value:L,onChange:function(e){return t=e.target.value,T(t),void V(t);var t},placeholder:"adminInvite"===a?"Search User(s)":"Search Player(s)"})]}),F?(0,v.jsxs)("div",{className:"w-full flex items-center justify-center py-2",children:[" ",(0,v.jsx)(f.Z,{})]}):null===k||void 0===k?void 0:k.filter((function(e){return e.userId!==p.userId&&e.realName.toLowerCase().includes(L.toLowerCase())})).map((function(e){return(0,v.jsx)("div",{className:"",children:(0,v.jsxs)("label",{htmlFor:e.userId,className:"relative flex items-center px-3 py-2 hover:bg-slate-500 ".concat(R.filter((function(t){return t.userId===e.userId})).length>0?"opacity-50":""),children:[(0,v.jsx)("div",{children:(0,v.jsx)("img",{src:(0,o.Cl)(e.avatar),referrerPolicy:"no-referrer",alt:"",className:"mr-3 h-6 w-6 rounded-full"})}),(0,v.jsx)("span",{className:"",children:e.realName}),(0,v.jsx)("div",{onClick:1!==e.inviteStatus?function(t){return Y(0,e)}:function(){},className:"",children:(0,v.jsx)(c.FU,{fill:1===e.inviteStatus?"gray":"",className:" left z-2 absolute right-3 top-1/2 mr-3 -translate-y-1/2 transform cursor-pointer"})}),(0,v.jsx)("input",{hidden:!0,type:"checkbox",className:"ml-auto",name:e.userId,id:e.userId,disabled:R.filter((function(t){return t.userId===e.userId})).length>0})]})},e.userId)}))]})]})};h.defaultProps={list:[]},t.Z=h}}]);

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.