PageSourceSearch

https://p2pb2b.com/_next/static/chunks/pages/referral-program-5efdf00bd556ad39.js

js p2pb2b.com collected 2026-09-25 04:26:10 UTC 9,219 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1909],{81632:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/referral-program",function(){return t(53767)}])},53767:function(e,r,t){"use strict";t.r(r),t.d(r,{__N_SSG:function(){return M},default:function(){return z}});var a,n,l=t(85893),i=t(67294),o=t(71217),s=t(98396),c=t(17932),f=t(15861),m=t(86886),h=t(36822),d=t(68854),g=t(68555),u=t(66109),p=t(33931),v=t(50219),_=t(93946),b=t(37794),x=t(55734),P=t(73680),j=t(69796),w=t.n(j),y=(0,o.Pi)((function(){var e=(0,x.m)().rootStore.refProgramStore,r=(0,p.$G)().t,t=e.referralsRefProgram,a=[{label:r("settings.referrals.referral")},{label:r("settings.referrals.dateReg"),class:w().historyDate},{label:r("referralProgram.referralID")},{label:r("tokenSale.status.1"),class:w().tableKyc},{label:r("referralProgram.youReceiveFriend"),class:w().tableFriend},{label:r("referralProgram.invite"),class:w().tableInviteTh}];return(0,l.jsx)(b.Z,{dataRows:t,mapRows:function(e){var t,a=e.email,n=e.createdAt,i=e.referralId,o=e.feeDiscount,s=e.referralPercent,c=e.isKycApproved;return{cells:[a,(0,P.p6)(+n),(t=i,(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:w().tableId,children:t}),(0,l.jsx)(_.Z,{className:w().tableIdIcon,onClick:function(){return(0,P.K9)(t)},children:(0,l.jsx)(v.Z,{})})]})),{label:r("settings.kycShafti.quiz.questions.1.answers.".concat(+!c)),cellClass:w().tableKyc},"".concat(s,"% / ").concat(o,"%"),{label:r("referralProgram.invite"),cellClass:w().tableInvite}]}},columns:a,fetchData:function(r){return e.fetchReferrals(r)},minWidth:900})})),k=(0,o.Pi)((function(){var e=(0,x.m)().rootStore.refProgramStore,r=(0,p.$G)().t,t=e.payoutsRefProgram,a=[{label:r("settings.referrals.referral")},{label:r("history.currency")},{label:r("orders.amount")},{label:r("settings.referrals.dateOfPayment"),class:w().tableDateOfPayment},{label:r("settings.referrals.period"),class:w().tablePeriod}];return(0,l.jsx)(b.Z,{dataRows:t,mapRows:function(e){var r=e.email,t=e.currency,a=e.amount,n=e.dateOfPayment,l=e.period;return{cells:[r,t,a,{label:n,cellClass:w().tableDateOfPayment},{label:l,cellClass:w().tablePeriod}]}},columns:a,fetchData:function(r){return e.fetchPayoutsReferrals(r)},minWidth:900})})),R=t(13023);function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Z.apply(this,arguments)}var O,N,E,F=function(e){return i.createElement("svg",Z({viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=i.createElement("rect",{x:.75,y:.75,width:46.5,height:46.5,rx:23.25,fill:"#FF8F0C",fillOpacity:.12,stroke:"#FF8F0C",strokeWidth:1.5})),n||(n=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m25.153 17.25 3.726-3.75-.994-.987-3.852 3.877L21 12.75l-1.076.896 3.004 3.604H13.5v6h.8V35.2h19.4V23.25h.8v-6h-9.347Zm-1.803 1.4H14.9v3.2h8.45v-3.2Zm1.4 0v3.2h8.35v-3.2h-8.35Zm-1.4 4.6H15.7V33.8h7.65V23.25Zm1.4 10.55V23.25h7.55V33.8h-7.55Z",fill:"#FF8F0C"})))};function C(){return C=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},C.apply(this,arguments)}var I,D,W,S,T,A=function(e){return i.createElement("svg",C({viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),O||(O=i.createElement("rect",{x:.7,y:.7,width:46.6,height:46.6,rx:23.3,fill:"#7035D1",fillOpacity:.12,stroke:"#7035D1",strokeWidth:1.4})),N||(N=i.createElement("rect",{x:19.45,y:14.2,width:9.1,height:10.6,rx:4.55,stroke:"#7035D1",strokeWidth:1.4})),E||(E=i.createElement("path",{d:"M33 33.75a8.25 8.25 0 0 0-8.25-8.25h-1.5A8.25 8.25 0 0 0 15 33.75",stroke:"#7035D1",strokeWidth:1.4})))};function B(){return B=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},B.apply(this,arguments)}var K,L,V=function(e){return i.createElement("svg",B({viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),I||(I=i.createElement("rect",{x:.7,y:.7,width:46.6,height:46.6,rx:23.3,fill:"#0060F5",fillOpacity:.12,stroke:"#0060F5",strokeWidth:1.4})),D||(D=i.createElement("rect",{x:18.7,y:12.7,width:9.1,height:10.6,rx:4.55,stroke:"#0060F5",strokeWidth:1.4})),W||(W=i.createElement("path",{d:"M32.25 32.25A8.25 8.25 0 0 0 24 24h-1.5a8.25 8.25 0 0 0-8.25 8.25",stroke:"#0060F5",strokeWidth:1.4}
1)),S||(S=i.createElement("circle",{cx:32.25,cy:30.75,r:4.55,fill:"#E0ECFD",stroke:"#0060F5",strokeWidth:1.4})),T||(T=i.createElement("path",{d:"m30.75 30.75 1.125 1.125L33.75 30",stroke:"#0060F5",strokeWidth:1.4,strokeLinecap:"round"})))};function q(){return q=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},q.apply(this,arguments)}var X=function(e){return i.createElement("svg",q({viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),K||(K=i.createElement("rect",{x:.75,y:.75,width:46.5,height:46.5,rx:23.25,fill:"#E4F8EF",stroke:"#1C8D57",strokeWidth:1.5})),L||(L=i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m15.22 32.193 16.951-16.638.981.999-16.951 16.638-.98-1Zm3.05-12.737a1.16 1.16 0 1 0 0-2.318 1.16 1.16 0 0 0 0 2.318Zm0 1.4a2.56 2.56 0 1 0 0-5.118 2.56 2.56 0 0 0 0 5.118Zm13.315 9.597a1.16 1.16 0 1 1-2.319 0 1.16 1.16 0 0 1 2.319 0Zm1.4 0a2.56 2.56 0 1 1-5.119 0 2.56 2.56 0 0 1 5.119 0Z",fill:"#1C8D57"})))},G=t(89552),H=[X,F,A,V];var M=!0,z=(0,o.Pi)((function(){var e=(0,x.m)().rootStore,r=e.authStore.isLogined,t=e.refProgramStore,a=(0,s.Z)((function(e){return e.breakpoints.down("tablet")})),n=(0,s.Z)((function(e){return e.breakpoints.down("desktop")})),o=(0,p.$G)().t;(0,i.useEffect)((function(){r&&t.init()}),[r]);var v=t.refProgramSettings,_=v.estimationCommission,b=v.numberOfReferrals,P=t.defaultRefProgram,j=P.commissionRate,Z=P.numberOfReferralsWithKyc,O=["".concat(j,"%"),"".concat(_," BTC"),"".concat(b),"".concat(Z)];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d.Z,{}),(0,l.jsx)("div",{className:w().top,children:(0,l.jsxs)(c.Z,{className:w().topContainer,children:[(0,l.jsx)(f.Z,{variant:a?"h4":n?"h2":"h1",mb:{mobile:1,tablet:2,desktop:3},maxWidth:{tablet:560,desktop:650,largeDesktop:"none"},children:o("referralProgram.inviteFriends")}),(0,l.jsx)(f.Z,{variant:a?"text":n?"body2":"h4",color:"primary",children:o("referralProgram.description",{percent:r?j:"15"})})]})}),(0,l.jsx)("div",{className:w().content,children:r?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.Z,{className:w().invite,children:(0,l.jsx)(u.Z,{})}),(0,l.jsx)("div",{className:w().infoWrap,children:(0,l.jsxs)(c.Z,{className:w().infoContainer,children:[(0,l.jsx)(f.Z,{variant:a?"h4":"h3",mb:{mobile:2},children:o("referralProgram.yourAccount")}),(0,l.jsx)(m.ZP,{container:!0,rowSpacing:{mobile:1,desktop:3},columnSpacing:{laptop:1,desktop:3},children:H.map((function(e,r){return(0,l.jsx)(m.ZP,{item:!0,mobile:12,laptop:6,largeDesktop:3,children:(0,l.jsxs)(h.Z,{className:w().itemBox,children:[(0,l.jsx)(e,{className:w().itemIcon}),(0,l.jsxs)(h.Z,{children:[(0,l.jsx)(f.Z,{variant:"textSmall",color:"gray.text",fontSize:{laptop:14},children:o("referralProgram.accountTitle.".concat(r))}),(0,l.jsx)(f.Z,{variant:"h4",children:O[r]})]})]})},r)}))})]})}),(0,l.jsxs)(c.Z,{className:w().bottom,children:[(0,l.jsx)("div",{className:w().title,children:o("referralProgram.referralLinks")}),(0,l.jsx)("div",{className:w().referrals,children:(0,l.jsx)(y,{})}),(0,l.jsx)("div",{className:w().title,children:o("referralProgram.referralsActivity")}),(0,l.jsx)(k,{})]})]}):(0,l.jsxs)("div",{className:w().step,children:[(0,l.jsx)("div",{className:w().stepTitle,children:o("referralProgram.howToInvite")}),(0,l.jsx)(g.Z,{}),(0,l.jsxs)("div",{className:w().stepLink,children:[o("referralProgram.loginToCheck")," \xa0",(0,l.jsx)(R.Z,{path:G._j.login.path,children:o("referralProgram.loginNow")})]})]})})]})}))},69796:function(e){e.exports={top:"ReferralProgram_top__NNlDW",topContainer:"ReferralProgram_topContainer__fqvvr",step:"ReferralProgram_step__ZYssj",stepTitle:"ReferralProgram_stepTitle__ac0F8",stepLink:"ReferralProgram_stepLink__e6tpS",invite:"ReferralProgram_invite__MJc0C",content:"ReferralProgram_content__ePp7J",title:"ReferralProgram_title__698Vj",infoWrap:"ReferralProgram_infoWrap__uNAfh",infoContainer:"ReferralProgram_infoContainer__SlZXA",itemBox:"ReferralProgram_itemBox__Kq8VN",itemIcon:"ReferralProgram_itemIcon___viuO",bottom:"ReferralProgram_bottom__XlGqg",referrals:"ReferralProgram_referrals__WtMTf",tableId:"ReferralProgram_tableId__HXigi",tableIdIcon:"ReferralProgram_tableIdIcon__OQ5bs",tableKyc:"ReferralProgram_tableKyc__1rUOT",tableInvite:"ReferralProgram_tableInvite__YcObw",tableInviteTh:"ReferralProgram_tableInviteTh__iXqq0",tableDateOfPayment:"ReferralProgram_tableDateOfPayment__0J72a",tablePerio
1d:"ReferralProgram_tablePeriod__E6oDz"}}},function(e){e.O(0,[89,4458,6785,7258,7794,6586,9774,2888,179],(function(){return r=81632,e(e.s=r);var r}));var r=e.O();_N_E=r}]);

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.