1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1332],{68834:function(t,e,r){r.d(e,{ZP:function(){return m},Sv:function(){return u}});var o=r(57437),a=r(54887),n=r(63804),i=r(61512),l=r(38398),c=r(16210),s=r(88064),g=r(76997);let d=(0,c.ZP)("span")(t=>{let{arrow:e,theme:r}=t,o={top:-6.5,transform:"rotate(135deg)"},a={bottom:-6.5,transform:"rotate(-45deg)"},n={left:-6.5,transform:"rotate(45deg)"},i={right:-6.5,transform:"rotate(-135deg)"};return{width:14,height:14,position:"absolute",borderBottomLeftRadius:3.5,clipPath:"polygon(0% 0%, 100% 100%, 0% 100%)",border:"solid 1px ".concat((0,s.Fq)("light"===r.palette.mode?r.palette.grey[500]:r.palette.common.black,.12)),...(0,g.Ls)({color:r.palette.background.paper}),..."top-left"===e&&{...o,left:20},..."top-center"===e&&{...o,left:0,right:0,margin:"auto"},..."top-right"===e&&{...o,right:20},..."bottom-left"===e&&{...a,left:20},..."bottom-center"===e&&{...a,left:0,right:0,margin:"auto"},..."bottom-right"===e&&{...a,right:20},..."left-top"===e&&{...n,top:20},..."left-center"===e&&{...n,top:0,bottom:0,margin:"auto"},..."left-bottom"===e&&{...n,bottom:20},..."right-top"===e&&{...i,top:20},..."right-center"===e&&{...i,top:0,bottom:0,margin:"auto"},..."right-bottom"===e&&{...i,bottom:20}}});function m(t){let{open:e,children:r,arrow:c="top-right",hiddenArrow:s,blur:g=!1,container:m=document.body,sx:h,...u}=t,{style:p,anchorOrigin:f,transformOrigin:b}=function(t){let e;switch(t){case"top-left":e={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":e={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":default:e={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":e={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":e={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":e={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":e={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":e={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":e={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":e={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":e={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":e={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}}}return e}(c),v=g?(0,a.createPortal)((0,o.jsx)(n.Z,{open:!!e,sx:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1200,backdropFilter:"blur(2px)",backgroundColor:"rgba(0, 0, 0, 0.5)"}}),document.body):null;return(0,o.jsxs)(o.Fragment,{children:[v,(0,o.jsxs)(l.ZP,{open:!!e,anchorEl:e,anchorOrigin:f,transformOrigin:b,container:m,slotProps:{paper:{sx:{width:"auto",overflow:"inherit",zIndex:13e3,...p,["& .".concat(i.Z.root)]:{"& svg":{mr:2,flexShrink:0}},...h}}},...u,children:[!s&&(0,o.jsx)(d,{arrow:c}),r]})]})}var h=r(2265);function u(){let[t,e]=(0,h.useState)(null);return{open:t,onOpen:(0,h.useCallback)(t=>{e(t.currentTarget)},[]),onClose:(0,h.useCallback)(()=>{e(null)},[]),setOpen:e}}},67049:function(t,e,r){r.d(e,{_:function(){return i}});var o=r(16593),a=r(45345),n=r(55447);let i=t=>{let{page:e,limit:r,filters:i,authenticated:l}=t,c=["getUserCampaigns",e+1,r,i.search,i.fromDate,i.toDate];return(0,o.a)({queryKey:c,queryFn:async()=>{let t=new URL("".concat("https://api.xyes.com/api/v1"+n.Hv.auth.getUserCampaigns));return t.searchParams.append("page","".concat(e+1)),t.searchParams.append("limit",r.toString()),t.searchParams.append("search",i.search),i.fromDate&&t.searchParams.append("fromDate",i.fromDate),i.toDate&&t.searchParams.append("toDate",i.toDate),(await n.ZP.get(t.toString())).data},placeholderData:a.Wk,refetchOnMount:!0,refetchOnWindowFocus:!0,enabled:l,staleTime:3e4,gcTime:3e5})}},3366:function(t,e,r){r.d(e,{N:function(){return l}});var o=r(16593),a=r(45345),n=r(55447);let i=(t,e,r)=>{let o=new URL("".concat(n.Hv.auth.getUserReferrals,"/").concat(r),"http://localhost");return o.searchParams.append("page","".concat(t+1)),o.searchParams.append("limit",e.toString()),o.pathname+o.search},l=t=>{let{page:e=1,limit:r=10,_id:l="",authenticated:c}=t,s=i(e,r,l);return(0,o.a)({queryKey:["getUserReferrals",l,e,r],queryFn:async()=>(await n.ZP.get(s)).data,placeholderData:a.Wk,refetchOnMount:!1,refetchOnWindowFocus:!1,staleTime:3e4,gcTime:3e5,enabled:c&&!!l})}},14510:function(t,e,r){r.d(e,{k:function(){return n}});var o=r(16593),a=r(55447);let n=t=>(0,o.a)({queryKey:["referralDownlineSummary"],queryFn:async()=>(await a.ZP.get(a.Hv.auth.referralDownlineSummary)).data,enabled:t,refetchOnMount:!1,refetchOnWindowFocus:!1,staleTime:3e4,gcTime:3e5})},76997:function(t,e,r){r.d(e,{D9:function(){return g},Ls:function(){return d},O1:function(){return m},uS:function(){return s}});
1var o=r(88064),a=r(42596),n=r(66839),i=r(61512),l=r(67547),c=r(78948);let s=t=>{let{theme:e,bgcolor:r,dropdown:o}=t;return{...d({blur:20,opacity:.9,color:c.y0.sidebar,...!!r&&{color:r}}),backgroundImage:"url(/assets/cyan-blur.png), url(/assets/red-blur.png)",backgroundRepeat:"no-repeat, no-repeat",backgroundPosition:"top right, left bottom",backgroundSize:"50%, 50%",..."rtl"===e.direction&&{backgroundPosition:"top left, right bottom"},...o&&{padding:e.spacing(.5),boxShadow:e.customShadows.dropdown,borderRadius:1.25*e.shape.borderRadius}}},g=t=>({...t.typography.body2,padding:t.spacing(.75,1),borderRadius:.75*t.shape.borderRadius,"&:not(:last-of-type)":{marginBottom:4},["&.".concat(i.Z.selected)]:{fontWeight:t.typography.fontWeightSemiBold,backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.hover}},["& .".concat(n.Z.root)]:{padding:t.spacing(.5),marginLeft:t.spacing(-.5),marginRight:t.spacing(.5)},["&.".concat(l.Z.option,'[aria-selected="true"]')]:{backgroundColor:t.palette.action.selected,"&:hover":{backgroundColor:t.palette.action.hover}},["&+.".concat(a.Z.root)]:{margin:t.spacing(.5,0)}});function d(t){let e=(null==t?void 0:t.color)||"#000000",r=(null==t?void 0:t.blur)||6,a=(null==t?void 0:t.opacity)||.8,n=null==t?void 0:t.imgUrl;return n?{position:"relative",backgroundImage:"url(".concat(n,")"),"&:before":{position:"absolute",top:0,left:0,zIndex:9,content:'""',width:"100%",height:"100%",backdropFilter:"blur(".concat(r,"px)"),WebkitBackdropFilter:"blur(".concat(r,"px)"),backgroundColor:(0,o.Fq)(e,a)}}:{backdropFilter:"blur(".concat(r,"px)"),WebkitBackdropFilter:"blur(".concat(r,"px)"),backgroundColor:(0,o.Fq)(e,a)}}let m={x:{msOverflowStyle:"none",scrollbarWidth:"none",overflowX:"scroll","&::-webkit-scrollbar":{display:"none"}},y:{msOverflowStyle:"none",scrollbarWidth:"none",overflowY:"scroll","&::-webkit-scrollbar":{display:"none"}}}},56203:function(t,e,r){r.d(e,{X:function(){return o}});let o=t=>t.flatMap(t=>t.UserCampaignConnect.filter(t=>t.refferedId&&t.refferedId._id).map(e=>{var r,o,a,n;return{id:e.refferedId._id,createdAt:t.createdAt,myComission:t.myComission,sharedComission:t.sharedComission,generatedIncome:e.generatedIncome,generatedIncomeRebate:Number(null!==(o=null!==(r=e.generatedIncomeRebate)&&void 0!==r?r:e.generatedIncome)&&void 0!==o?o:0),generatedIncomeValidBonus:Number(null!==(a=e.generatedIncomeValidBonus)&&void 0!==a?a:0),memberUsername:e.refferedId.memberUsername,avatar:e.refferedId.avatar,networkDepth:null!==(n=e.networkDepth)&&void 0!==n?n:0,totalDepositAmount:e.statistics.totalDepositAmount,totalWager:e.statistics.totalWager,totalWithdrawAmount:e.statistics.totalWithdrawAmount,totalBetAmount:e.statistics.totalBetAmount}}))}}]);
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.