PageSourceSearch

https://freecash.ai/_next/static/chunks/pages/manage/campaigns/transactions-9a60084b1b7e48a5.js

js freecash.ai collected 2026-10-05 14:53:59 UTC 19,139 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[71,5263],{3418:(e,t,r)=>{"use strict";r.d(t,{_:()=>a});let a=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/("(\\u[\da-fA-F]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d*)?(?:[eE][+\\-]?\d+)?)/g,e=>{let t="json-number";return/^"/.test(e)?t=/:$/.test(e)?"json-key":"json-string":/true|false/.test(e)?t="json-boolean":/null/.test(e)&&(t="json-null"),`<span class="${t}">${e}</span>`})},11403:(e,t,r)=>{"use strict";r.d(t,{u:()=>m});var a=r(6029),l=r(12482),n=r(4308),o=r(55729),s=r(36416),i=r(30105),c=r(77218),d=r(99398),u=r(58663);let p=(0,c.G)(function(e){let[t,r]=(0,o.useState)(""),c=function(e){let[t,r]=(0,o.useState)(e);return(0,o.useEffect)(()=>{let t=setTimeout(()=>{r(e)},400);return()=>{clearTimeout(t)}},[e,400]),t}(t),{data:d}=(0,l.I)({queryKey:[u.B.CAMPAIGNS_PROVIDERS_LIST,c],queryFn:()=>i.i.campaignSources.findCampaignSources({page:1,perPage:20,name:c}),placeholderData:n.rX}),p=(0,o.useMemo)(()=>d?.items?.map(e=>({value:e.name,label:e.name}))||[],[d]);return(0,a.jsx)(s.Ay,{placeholder:"Select Provider",options:p,onSearch:e=>r(e),...e})}),m=(0,d.J)(p)},15637:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,B1:()=>c,FX:()=>i});var a=r(6029),l=r(92843),n=r(77218),o=r(99398);function s(e){let{options:t,onChange:r,emptyOption:n,...o}=e,s=[...t];return n&&s.unshift({label:n?.label||"None",value:n?.value||""}),(0,a.jsx)(l.l,{...o,onChange:e=>{r&&r(e.target.value)},children:s.map(e=>(0,a.jsx)("option",{value:e.value,children:e.label},String(e.value)))})}let i=(0,n.G)(s),c=(0,o.J)(i)},27161:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=[{value:"cpc",label:"Cost per click"},{value:"cpa",label:"Cost per action"},{value:"cpi",label:"Cost per install"},{value:"social",label:"Social"},{value:"paidvideo",label:"Paid video"},{value:"paidsocial",label:"Paid social"},{value:"affiliate",label:"Affiliate"},{value:"blog",label:"Blog"},{value:"retargeting",label:"Retargeting"},{value:"influencer",label:"Influencer"},{value:"outofhome",label:"Out of home"},{value:"offer",label:"Offer"}]},27358:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(93251),l=r(16932),n=r(90501),o=r(44007);function s(e,t={}){let{successMessage:r,errorMessage:i,invalidateQueries:c,onSuccess:d,...u}=t,p=(0,o.A)(),m=(0,a.jE)();return(0,l.n)({mutationFn:t=>e(t),onError:e=>{let t=(0,n.u)(e);p({title:i||t||"Something went wrong",description:i?t:void 0,status:"error",duration:15e3,isClosable:!0})},onSuccess:(...e)=>{r&&p({title:r,status:"success"}),d&&d(...e),c&&c.forEach(e=>m.invalidateQueries({queryKey:e}))},...u})}},29985:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(6029),l=r(29369),n=r(16936),o=r(52125);function s({value:e,name:t,...r}){let i=(0,o.A)();return(0,a.jsx)(n.K,{"aria-label":`Copy ${t}`,title:`Copy ${t}`,icon:(0,a.jsx)(l.T,{boxSize:"12px"}),size:"xs",variant:"ghost",color:"secondary.100",_hover:{color:"white.50",bg:"secondary.400"},onClick:r=>{r.stopPropagation(),i(e,t)()},...r})}},40752:(e,t,r)=>{"use strict";r.d(t,{K:()=>l});var a=r(48648);function l(e){let t=a.Xr.find(t=>t.isoCode===e);return t?`${t.isoCode} - ${t.name}`:e}},44143:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(55729),l=r(12482),n=r(4308),o=r(11710);function s(e,t){let r={perPage:10,...t},{isInternalPagination:s,dataHandler:i,errorRegion:c}=t,d=t.deps||[],[u,p]=(0,a.useState)(d),m=t.dataHandlerDeps||[],h=t.retry??(c?1:3),b=void 0===t.enabled||t.enabled,[x,g]=(0,a.useState)(1),[f]=(0,a.useState)([]),[j,A]=(0,a.useState)(r.perPage);(0,a.useEffect)(()=>{r.perPage!==j&&(A(r.perPage),g(1))},[r.perPage]);let y=[t.key,s?1:x,j,...d],v=(0,l.I)({queryKey:y,queryFn:()=>e(x,j),retry:h,placeholderData:n.rX,enabled:b,meta:{skipApiErrorToast:!!c}}),{isPending:w,data:S,isFetching:C}=v,k=(0,o.$J)(c?[{label:c.label,query:v}]:[],JSON.stringify(y)),E=c&&{onRetry:k.retry,actionName:c.actionName,isRetrying:k.isRetrying},I=E&&"error"===k.view.state?{title:`${c.label} couldn’t load`,failed:k.view.failed,...E}:void 0,N=E&&"content"===k.view.state&&k.view.stale.length>0?(0,a.createElement)(o.vb,{failed:k.view.stale,...E}):void 0,D=Array.isArray(S)?S.length:S?.total||S?.meta?.totalItemsCount||0;if(S?.meta){let{meta:e}=S,t=e?.itemsCount||0;t<j&&(D=j*(x-1)+t)}return(0,a.useEffect)(()=>{let e=S?.meta;e&&e.currentPage>1&&!e.totalItemsCount&&g(1)},[S?.meta?.totalItemsCount]),(0,a.useEffect)(()=>{JSON.stringify(d)!==JSON.stringify(u)&&p(d)},[t.deps]),(0,a.useEffect)(()=>{g(1)},[u]),{tableProps:{data:(0,a.useMemo)(()=>{let e=Array.isArray(S)?S:S?.data||S?.items||f;return s?i?i(e).slice((x-1)*j,x*j):e.slice((x-1)*j,x*j):e},[s,x,S,j,...m]),page:x,onPageChange:g,isLoading:b&&w&&!I,perPage:j,total:D,isFetching:C,error:I,notice:N},data:S}}},45565:(e,t,r)=>{"use strict";r.d(t,{A:()=>
1o});var a=r(6029);r(55729);var l=r(26420);function n({children:e,...t}){return(0,a.jsx)(l.a,{mx:"auto",w:"full",maxW:"1162px",px:{base:4,md:6},...t,children:e})}function o({children:e,...t}){return(0,a.jsx)(n,{maxW:"100%",px:3,...t,children:e})}},52125:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(55729),l=r(93587),n=r(44007);function o(){let e=(0,n.A)(),{t}=(0,l.A)(["common"]);return(0,a.useCallback)((r,a)=>async()=>{try{await navigator.clipboard.writeText(r),e({title:t("common:copiedToClipboard",{name:a}),status:"success"})}catch(r){e({title:t("common:somethingWentWrong"),status:"error"})}},[])}},68439:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>U,default:()=>L});var a=r(6029),l=r(66814),n=r(29369),o=r(40452),s=r(4192),i=r(29881),c=r(48810),d=r(16936),u=r(56570),p=r(69388),m=r(26420),h=r(79739),b=r(11403),x=r(3418),g=r(34346),f=r(35234),j=r(62525),A=r(70285),y=r(9633),v=r(34610),w=r(15637),S=r(34817),C=r(90545),k=r(48648),E=r(58663),I=r(27358),N=r(44143),D=r(40752),R=r(93767),P=r(72989),O=r(30105),T=r(27161),_=r(52125),B=r(93251),F=r(75220),K=r(90921),W=r(55729);let $={};function J(e){return null!==e.completedAt&&null===e.approvedAt&&null===e.rejectedAt}function z(e){if(null==e)return{formatted:"No data available",isJson:!1};if("string"==typeof e){let t=e.trim();if(!t)return{formatted:"No data available",isJson:!1};try{return{formatted:JSON.stringify(JSON.parse(t),null,2),isJson:!0}}catch{return{formatted:e,isJson:!1}}}try{return{formatted:JSON.stringify(e,null,2),isJson:!0}}catch{return{formatted:String(e),isJson:!1}}}function M(e,t,r){let a=e.getQueriesData({queryKey:[E.B.CAMPAIGNS_TRANSACTIONS]});if(a&&a.length>0)for(let l of a){let a=l[1];if(a?.items?.length){let n=(0,K.A)(a?.items,{id:r});n&&(n.rejectedAt=t.rejectedAt,n.approvedAt=t.approvedAt,n.reviewerId=t.reviewerId),e.setQueryData([E.B.CAMPAIGNS_TRANSACTIONS,l[0]],a)}}}var q=r(23329),U=!0;let L=(0,q.rA)(function(){let e=(0,B.jE)(),[t,r]=(0,W.useState)($),[K,q]=(0,W.useState)(null),{tableProps:U}=(0,N.A)(async(e,r)=>O.i.campaignTransactions._find({page:e,perPage:r,...t}),{key:E.B.CAMPAIGNS_TRANSACTIONS,deps:[t],retry:!1}),{mutate:L}=(0,I.A)(e=>O.i.campaignTransactions.release(e),{successMessage:"Campaign was released",onSuccess:(t,r)=>{M(e,t,r)}}),{mutate:G}=(0,I.A)(e=>O.i.campaignTransactions.resend(e),{successMessage:"Campaign was resent",onSuccess:(t,r)=>{M(e,t,r)}}),{mutate:X}=(0,I.A)(e=>O.i.campaignTransactions.reject(e),{successMessage:"Campaign was rejected",onSuccess:(t,r)=>{M(e,t,r)}}),{permissions:H}=(0,C.A)(),V=!!H[f.aX.PROCESS_COMPLETED_TRANSACTIONS],{mutate:Q,isPending:Y}=(0,I.A)(()=>O.i.campaignTransactions.processCompleted(),{successMessage:"Triggered processCompletedTransactions"}),Z=(0,_.A)(),ee=(0,W.useCallback)((e,t)=>Z(e,t)(),[Z]),et=z(K?.postbackRequestBody),er=z(K?.postbackResponseData),ea=K?.postbackUrl?.trim()||"";return(0,a.jsxs)(h.A,{title:"Campaign Transactions",children:[V&&(0,a.jsx)(o.s,{justifyContent:"flex-end",mb:3,children:(0,a.jsx)(j.A,{colorScheme:"brand",color:"white",isLoading:Y,onClick:()=>Q(),children:"Process completed now"})}),(0,a.jsx)(A.A,{initialValues:$,onSubmit:e=>r((0,R.A)(e)),children:({setFieldValue:e})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(u.x,{gap:5,templateColumns:{base:"repeat(2, 1fr)",md:"repeat(5, 1fr)"},mb:5,children:[(0,a.jsx)(p.E,{children:(0,a.jsx)(y.jF,{type:"number",name:"id",label:"ID",placeholder:"Enter ID",maxW:"200px"})}),(0,a.jsx)(p.E,{children:(0,a.jsx)(y.jF,{name:"name",label:"Name",placeholder:"Enter Name",maxW:"200px"})}),(0,a.jsx)(p.E,{children:(0,a.jsx)(y.jF,{name:"eventName",label:"Evant Name",placeholder:"Enter Event Name",maxW:"200px"})}),(0,a.jsx)(p.E,{children:(0,a.jsx)(b.u,{name:"source",label:"Source",placeholder:"All"})}),(0,a.jsx)(p.E,{children:(0,a.jsx)(w.B1,{name:"medium",label:"Medium",placeholder:"All",options:T.A,maxW:"200px"})}),(0,a.jsx)(p.E,{children:(0,a.jsx)(y.jF,{type:"number",name:"gainId",label:"UserId",placeholder:"User ID",maxW:"200px"})}),(0,a.jsx)(p.E,{children:(0,a.jsx)(y.jF,{name:"clickId",label:"Click ID",placeholder:"Enter Click ID",maxW:"200px"})})]}),(0,a.jsxs)(u.x,{gap:2,templateColumns:{base:"1fr auto"},alignItems:"end",children:[(0,a.jsxs)(p.E,{children:[(0,a.jsx)(w.B1,{name:"country",label:"Country",placeholder:"All",options:k.Bk,maxW:"200px"}),(0,a.jsxs)(o.s,{gap:2,mt:3,flexWrap:"wrap",children:[(0,a.jsx)(j.A,{variant:"outline",onClick:()=>e("country",""),children:"ALL"}),["US","DE","GB","FR","CA","AU","TR","BR"].map(t=>(0,a.jsx)(j.A,{variant:"outline",onClick:()=>e("country",t),children:t},t))]})]}),(0,a.jsx)(p.E,{children:(0,a.jsx)(o.s,{gap:5,pt:8,children:(0,a.jsx)(j.A,{type:"submit",children:"Filter"})})})]})]})}),(0,a.jsx)(S.A,{keyFieldName:"id",emptyValue:"-",columns:(({onRelease:e,onResend:t,onReject:r,onCopy:n,onOpenPostbackInfo:u})=>[{label:"ID",dataKey:"id"},{label:"UserID",dataKey:"gainId",render:(e,t)=>(0,a.jsx)(P.A,{userId:e,children:e})},{label:"Name",dataKey:"name"},{label:"Event Name",dataKey:"eventName",render:(e,t)=>`${e}${t.eventDeletedAt?"(deleted)":""}`},{label:"Source",dataKey:"source"},{label:"Country",dataKey:"geos",render(e,t){let r=t.geos;return(0,a.jsxs)(o.s,{gap:1,alignItems:"center",children:[r?.slice(0,3).map(e=>(0,a.jsx)(s.vw,{children:e.country})),r&&r.length>3&&(0,a.jsx)(i.m,{label:r.slice(3,r.length).map(e=>e.country?(0,D.K)(e.country):"Unknown").join("\n"),whiteSpace:"pre-wrap",children:(0,a.jsx)(j.A,{variant:"unstyled",children:(0,a.jsxs)(s.vw,{minW:"35px",children:["+",r.length-3]})})})]})}},{label:"Status",dataKey:"status",render:(e,t)=>J(t)?(0,a.jsx)(s.vw,{colorScheme:"yellow",children:"Pending"}):t.approvedAt?(0,a.jsx)(s.vw,{colorScheme:"green",children:"Approved"}):t.rejectedAt&&!t.approvedAt?t?.apiFailureReason?(0,a.jsx)(g.A,{bodyProps:{p:"12px",borderRadius:"8px",m:0,bg:"#333853",width:"100%",maxWidth:"400px",
1whiteSpace:"normal",wordBreak:"break-word"},size:"xl",triggerElement:(0,a.jsx)(s.vw,{cursor:"pointer",colorScheme:"red",children:"Rejected"}),children:(0,a.jsx)(c.E,{whiteSpace:"normal",wordBreak:"break-word",children:t?.apiFailureReason})}):(0,a.jsx)(s.vw,{colorScheme:"red",children:"Rejected"}):null},{label:"Completed At",dataKey:"completedAt",render:(e,t)=>t.completedAt?(0,a.jsx)(i.m,{label:new Date(t.completedAt).toISOString(),children:(0,F.A)(new Date(t.completedAt),new Date)}):"-"},{label:"Click ID",dataKey:"clickId",render:e=>(0,a.jsx)(j.A,{variant:"unstyled",style:{maxWidth:"70px",overflow:"hidden",textOverflow:"ellipsis",textAlign:"start"},onClick:n(e,"Click ID"),title:e,children:e??"-"})},{label:"Rejected",dataKey:"rejectedAt",render:(e,t)=>J(t)?(0,a.jsx)(j.A,{colorScheme:"red",color:"white",onClick:()=>r(t.id),children:"Reject"}):e?(0,a.jsx)(i.m,{label:new Date(e).toISOString(),children:(0,F.A)(new Date(e||""),new Date)}):"-"},{label:"Released",dataKey:"approvedAt",render:(t,r)=>J(r)?(0,a.jsx)(j.A,{colorScheme:"brand",color:"white",onClick:()=>e(r.id),children:"Release"}):t?(0,a.jsx)(i.m,{label:new Date(t).toISOString(),children:(0,F.A)(new Date(t||""),new Date)}):"-"},{label:"Reviewer Id",dataKey:"reviewerId",render:(e,t)=>(0,a.jsx)(P.A,{userId:e,children:e})},{label:"Rejection Reason",dataKey:"rule",render:e=>(0,a.jsx)(i.m,{title:e,label:e,children:(0,a.jsx)(c.E,{inlineSize:"100px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",children:e??"-"})})},{label:"Info",dataKey:"id",render:(e,t)=>(0,a.jsx)(i.m,{label:"Postback details",children:(0,a.jsx)(d.K,{"aria-label":"Open postback info",size:"sm",variant:"ghost",icon:(0,a.jsx)(l.Y,{}),onClick:()=>u(t)})})},{label:"",dataKey:"id",render:(r,l)=>l.approvedAt?(0,a.jsx)(j.A,{colorScheme:"brand",color:"white",onClick:()=>t(l.id),children:"Resend"}):l.rejectedAt?(0,a.jsx)(j.A,{colorScheme:"yellow",color:"white",onClick:()=>e(l.id),children:"Release"}):null}])({onRelease:L,onResend:G,onReject:X,onCopy:Z,onOpenPostbackInfo:e=>q(e)}),variant:"striped",...U,isLoading:U.isFetching}),(0,a.jsxs)(v.A,{isOpen:!!K,onClose:()=>q(null),title:`Transaction #${K?.id??""} postback details`,size:"6xl",bodyProps:{pt:2,pb:6},children:[(0,a.jsxs)(m.a,{mb:4,borderWidth:"1px",borderColor:"#3A4461",borderRadius:"md",overflow:"hidden",bg:"#121729",children:[(0,a.jsxs)(o.s,{px:4,py:3,bg:"#27324A",borderBottomWidth:"1px",borderColor:"#3A4461",alignItems:"center",gap:3,children:[(0,a.jsx)(c.E,{fontWeight:"700",color:"#E6ECFA",children:"Postback Url"}),ea&&(0,a.jsx)(i.m,{label:"Copy postback url",children:(0,a.jsx)(d.K,{"aria-label":"Copy postback url",size:"xs",variant:"ghost",icon:(0,a.jsx)(n.T,{}),color:"whiteAlpha.800",onClick:()=>ee(ea,"Postback Url")})})]}),(0,a.jsx)(m.a,{px:4,py:3,bg:"#0D1324",color:"gray.100",children:(0,a.jsx)(c.E,{fontFamily:"mono",fontSize:"sm",wordBreak:"break-word",whiteSpace:"pre-wrap",m:0,children:ea||"No data available"})})]}),(0,a.jsxs)(u.x,{templateColumns:{base:"1fr",lg:"1fr 1fr"},gap:4,children:[(0,a.jsxs)(m.a,{borderWidth:"1px",borderColor:"#3A4461",borderRadius:"md",overflow:"hidden",bg:"#121729",display:"flex",flexDirection:"column",minH:{base:"320px",lg:"420px"},children:[(0,a.jsxs)(o.s,{px:4,py:3,bg:"#27324A",borderBottomWidth:"1px",borderColor:"#3A4461",alignItems:"center",gap:3,children:[(0,a.jsx)(c.E,{fontWeight:"700",color:"#E6ECFA",children:"Postback Request Body"}),(0,a.jsx)(i.m,{label:"Copy postback request body",children:(0,a.jsx)(d.K,{"aria-label":"Copy postback request body",size:"xs",variant:"ghost",icon:(0,a.jsx)(n.T,{}),color:"whiteAlpha.800",onClick:()=>ee(et.formatted,"Postback Request Body")})})]}),(0,a.jsx)(m.a,{p:4,flex:"1",overflowY:"auto",bg:"#0D1324",color:"gray.100",children:et.isJson?(0,a.jsx)(m.a,{as:"pre",m:0,fontFamily:"mono",fontSize:"sm",whiteSpace:"pre-wrap",wordBreak:"break-word",dangerouslySetInnerHTML:{__html:(0,x._)(et.formatted)},sx:{".json-string":{color:"green.300"},".json-number":{color:"blue.300"},".json-boolean":{color:"purple.300"},".json-null":{color:"orange.300"},".json-key":{color:"red.300"}}}):(0,a.jsx)(c.E,{as:"pre",fontFamily:"mono",fontSize:"sm",whiteSpace:"pre-wrap",wordBreak:"break-word",m:0,children:et.formatted})})]}),(0,a.jsxs)(m.a,{borderWidth:"1px",borderColor:"#3A4461",borderRadius:"md",overflow:"hidden",bg:"#121729",display:"flex",flexDirection:"column",minH:{base:"320px",lg:"420px"},children:[(0,a.jsxs)(o.s,{px:4,py:3,bg:"#27324A",borderBottomWidth:"1px",borderColor:"#3A4461",alignItems:"center",gap:3,children:[(0,a.jsx)(c.E,{fontWeight:"700",color:"#E6ECFA",children:"Postback Response Data"}),(0,a.jsx)(i.m,{label:"Copy postback response data",children:(0,a.jsx)(d.K,{"aria-label":"Copy postback response data",size:"xs",variant:"ghost",icon:(0,a.jsx)(n.T,{}),color:"whiteAlpha.800",onClick:()=>ee(er.formatted,"Postback Response Data")})})]}),(0,a.jsx)(m.a,{p:4,flex:"1",overflowY:"auto",bg:"#0D1324",color:"gray.100",children:er.isJson?(0,a.jsx)(m.a,{as:"pre",m:0,fontFamily:"mono",fontSize:"sm",whiteSpace:"pre-wrap",wordBreak:"break-word",dangerouslySetInnerHTML:{__html:(0,x._)(er.formatted)}
1,sx:{".json-string":{color:"green.300"},".json-number":{color:"blue.300"},".json-boolean":{color:"purple.300"},".json-null":{color:"orange.300"},".json-key":{color:"red.300"}}}):(0,a.jsx)(c.E,{as:"pre",fontFamily:"mono",fontSize:"sm",whiteSpace:"pre-wrap",wordBreak:"break-word",m:0,children:er.formatted})})]})]})]})]})})()},70285:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(6029),l=r(81142),n=r(55729);function o({onError:e}){let t=(0,l.j7)(),[r,a]=(0,n.useState)(t.submitCount);return(0,n.useEffect)(()=>{e&&!t.isValidating&&!t.isSubmitting&&t.errors&&t.submitCount>r&&Object.keys(t.errors).length>0&&(e(t.errors),a(t.submitCount))},[!!e,t.errors,t.isSubmitting,t.isValidating,t.submitCount,e,r]),null}function s(e){let{children:t,onError:r,...n}=e;return(0,a.jsx)(l.l1,{...n,children:e=>{let{handleSubmit:l}=e;return(0,a.jsxs)("form",{onSubmit:l,autoComplete:"off",children:[(0,a.jsx)(o,{onError:r}),"function"==typeof t?t(e):t]})}})}},72497:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/manage/campaigns/transactions",function(){return r(68439)}])},72989:(e,t,r)=>{"use strict";r.d(t,{G:()=>u,A:()=>p});var a=r(6029),l=r(82203),n=r.n(l),o=r(80314),s=r(55729),i=r(81278),c=r(99805),d=r(81957);let u="modalUserId";function p(e){let t,{userId:r,children:l,stayOnPage:p,...m}=e,[,h]=(0,c.D)(),b=(t=(0,i.useRouter)(),(0,s.useMemo)(()=>{let e=`?${u}=${r}`;if(Object.keys(t.query).length>0){let r=new URLSearchParams;Object.keys(t.query).forEach(e=>{let a=t.query[e];Array.isArray(a)?a.forEach(t=>r.append(e,t)):void 0!==a&&r.set(e,a)}),e+=`&${r.toString()}`}return e},[r,JSON.stringify(t.query)]));return p?(0,a.jsx)(o.N,{as:"button",type:"button",color:"#039be5",_hover:{textDecoration:"none"},onClick:()=>h({userId:r}),...m,children:l}):(0,a.jsx)(n(),{href:b,as:(0,d.u5)(r),scroll:!1,passHref:!0,legacyBehavior:!0,children:(0,a.jsx)(o.N,{color:"#039be5",_hover:{textDecoration:"none"},onClick:()=>{h({userId:r})},...m,children:l})})}},79739:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(6029),l=r(23293);r(55729);var n=r(45565);function o(e){let{title:t,children:r,actionButton:o}=e;return(0,a.jsxs)(n.A,{children:[t&&(0,a.jsxs)(l.D,{variant:"h2",mb:4,color:"white",children:[t,o]}),r]})}},81957:(e,t,r)=>{"use strict";r.d(t,{Fj:()=>s,Sg:()=>d,i2:()=>o,r$:()=>n,u5:()=>i});let a=/^(0|[1-9]\d{0,18})$/,l=/^[a-z][a-z-]{1,30}$/,n="/user/[...slug]";function o(e){let t,r,n=(Array.isArray(e)?e:[e]).filter(e=>!!e);return 1===n.length&&(t=n[0],a.test(t))?{userId:n[0]}:2===n.length&&l.test(n[0])&&(r=n[1],a.test(r))?{userId:n[1],tab:n[0]}:void 0}function s(e,t){return t&&"general"!==t?[t,String(e)]:[String(e)]}let i=(e,t)=>`/user/${s(e,t).join("/")}`,c={tracking:["offer"]};function d(e,t){let r=c[t]??[],a=Object.entries(c).flatMap(([e,r])=>e===t?[]:r);return Object.fromEntries(Object.entries(e).filter(([e])=>r.includes(e)||!a.includes(e)))}},93587:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var a=r(14695);function l(e){return(0,a.Bd)(e)}},93767:(e,t,r)=>{"use strict";function a(e){return Object.keys(e).reduce((t,r)=>(void 0!==e[r]&&(Array.isArray(e[r])||String(e[r]).length)&&(t[r]=e[r]),t),{})}r.d(t,{A:()=>a})},99805:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});var a=r(94468);function l(){let{globalModals:e,setGlobalModals:t}=(0,a.U)();return[e,e=>{t(t=>({...t,...e}))}]}}},e=>{e.O(0,[2203,3723,4363,5279,1142,9231,3567,729,4369,3329,4817,6416,1308,636,6593,8792],()=>e(e.s=72497)),_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.