PageSourceSearch

https://p2pb2b.com/_next/static/chunks/5408-4c130eab7978ae35.js

js p2pb2b.com collected 2026-10-02 17:05:02 UTC 8,875 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5408],{28542:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return I}});var r=n(85893),a=n(67294),o=n(71217),i=n(33931),s=n(86010),l=n(93302),c=n.n(l),u=n(27361),d=n.n(u),p=n(34386),f=n(84458),m=n(93946),v=n(87109),g=n(28259),x=n(98396),h=n(51978),b=n(8842),w=n(51342),j=n(6103),_=n(94615),y=n(77745),P=n(56534),Z=n(12240),k=n(33206),S=n.n(k);function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){O(e,t,n[t])}))}return e}function C(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var D=(0,g.Z)((function(){return{arrow:{color:"#222 !important"},tooltip:{backgroundColor:"#222 !important",color:"#fff !important",borderRadius:"3px !important"}}})),I=(0,o.Pi)((function(e){var t,n=e.name,o=e.formKey,l=e.storeKey,u=e.label,g=e.type,k=void 0===g?"text":g,O=e.incDec,I=void 0!==O&&O,N=e.trusted,M=void 0!==N&&N,F=e.disabled,T=void 0!==F&&F,W=e.readOnly,E=void 0!==W&&W,L=e.isNumber,A=void 0!==L&&L,z=e.noTrim,R=void 0!==z&&z,K=e.required,V=void 0!==K&&K,$=e.isPassword,H=void 0!==$&&$,U=e.noValidate,Y=void 0!==U&&U,q=e.disablePaste,G=void 0!==q&&q,X=e.multiline,J=void 0!==X&&X,Q=e.precision,ee=void 0===Q?-1:Q,te=e.maxLength,ne=void 0===te?20:te,re=e.additionalButton,ae=e.rightAdornment,oe=e.leftAdornment,ie=e.extraClassName,se=e.onBlur,le=e.onFocus,ce=e.theme,ue=void 0===ce?"standard":ce,de=e.interceptor,pe=e.inputRef,fe=e.showTooltip,me=e.hint,ve=e.handleMaxClick,ge=e.validate,xe=void 0!==ge&&ge,he=e.autocomplete,be=(0,P.m)(),we=be.rootStore.pairsStore,je=C(be.rootStore,["pairsStore"])[l],_e=d()(je,o),ye=(0,i.$G)().t,Pe=(0,y.FS)(),Ze=Pe.referralId,ke=Pe.time,Se=Pe.constParams,Oe=(0,x.Z)((function(e){return e.breakpoints.up("desktop")})),Be=(0,a.useState)({id:"BaseInputId-".concat(o,"-").concat(n),weightRange:"",showPassword:!1}),Ce=Be[0],De=Be[1],Ie=(0,a.useState)(""),Ne=Ie[0],Me=Ie[1],Fe=D(),Te=(0,x.Z)("(max-width: 767px)"),We=function(){De(B({},Ce,{showPassword:!Ce.showPassword}))},Ee=function(e){e.preventDefault()},Le=function(e){var t=we.getCurrentPair,r=t.min_price,a=void 0===r?"0":r,i=t.max_price,s=void 0===i?"0":i,l=t.tick_size,u=void 0===l?"0":l,d=t.min_amount,p=void 0===d?"0":d,f=t.max_amount,m=void 0===f?"0":f,v=t.step_size,g=void 0===v?"0":v,x="0",h="0",b="0";switch(n){case"price":x=+u?u:ee>0?"0.".concat("0".repeat(ee-1),"1"):"1",h=a,b=s;break;case"amount":x=+g?g:ee>0?"0.".concat("0".repeat(ee-1),"1"):"1",h=p,b=m}var w=new(c())(_e.getField(n)||"0")[e](x);if("plus"===e){if(Number(b)&&w.gt(b))return}else if(w.lt(h))return;var j=B({referralId:Ze,eventType:"input_".concat(o,"_").concat(n),time:ke(),eventProperties:{value:w.toString()}},Se);Z.Z.submitMetrics({body:j}),_e.changeField({field:n,value:w.toString(),trusted:M})},Ae={name:n,id:Ce.id,value:_e.getField(n),disabled:T,readOnly:E,inputProps:A?{maxLength:ne}:void 0,onChange:(t=n,function(e){var n=R?e.target.value:e.target.value.trim();de&&(n=de(n)),A&&((n=n.replace(",",".")).startsWith("00")&&"twoFA"!==t&&(n="0"),n.startsWith(".")&&(n="0.")),_e.changeField({field:t,value:n,trusted:M,validate:xe}),fe&&Me(ze())}),onKeyDown:A?function(e){var t=e.target,n=t.value,r=t.selectionEnd,a=t.selectionStart,o=e.key,i=e.keyCode,s=e.ctrlKey,l=e.metaKey;"."!==o&&","!==o||-1===n.indexOf(".")&&-1===n.indexOf(",")&&0!==ee||e.preventDefault();var c=-1!==[8,46,27,9,13,110].indexOf(i),u=/65|67|86|88/.test(i.toString())&&(!0===s||!0===l)&&(!0===s||!0===l);"."===o||","===o||c||u||i>=35&&i<=40||(/^\d+((\.|,)\d+)?$/.test(o)||e.preventDefault(),ee>0&&a>n.indexOf(".")&&a===r&&(n.split(".")[1]||[]).length+1>ee&&e.preventDefault())}:void 0,onPaste:function(e){G&&(e.preventDefault(),H&&_.Z.warning(ye("validators.passwordTyped")))},onBlur:function(e){_e.onBlur({field:n,noValidate:Y||xe}),se&&se(n,R?e.target.value:e.target.value.trim())},onFocus:function(e){fe&&Me(ze()),le&&le(n,R?e.target.value:e.target.value.trim())},inputRef:pe,multiline:J,autoComplete:he},ze=function(){var e=_e.getField(n);if(!+e||"USD"===we.getMoneyTicker||"USDT"===we.getMoneyTicker)return"";var t=we.calculateValueForTooltip(e);return+t?"$ ".concat(t):""},Re=function(){return(0,r.jsx)(m.Z,{className:S().btnMax,onClick:ve,children:ye("co
1des.max")})};return(0,r.jsx)("div",{className:(0,s.Z)(S().wrapper,ie),children:(0,r.jsx)(p.Z,{title:fe?Ne:"",arrow:!0,placement:Te?"top":"right",disableTouchListener:!0,disableHoverListener:!0,classes:Fe,children:(0,r.jsx)(f.Z,B({label:u,required:V,error:!!_e.getError(n),helperText:me||_e.getError(n),variant:ue,fullWidth:!0,type:H?Ce.showPassword?k:"password":k,InputProps:{endAdornment:(0,r.jsxs)(v.Z,{position:"end",children:[ae,H?(0,r.jsx)(m.Z,{onClick:We,onMouseDown:Ee,children:Ce.showPassword?(0,r.jsx)(b.Z,{}):(0,r.jsx)(h.Z,{})}):A&&I?(0,r.jsxs)("div",{className:S().incDecButtons,children:[(0,r.jsx)(m.Z,{onClick:function(){return Le("minus")},className:(0,s.Z)(S().button,S().incDecButtonsLeft),children:(0,r.jsx)(w.Z,{})}),(0,r.jsx)(m.Z,{onClick:function(){return Le("plus")},className:S().button,children:(0,r.jsx)(j.Z,{})})]}):(0,r.jsxs)(r.Fragment,{children:[ve&&Re(),re]})]}),startAdornment:oe?(0,r.jsx)(v.Z,{position:"start",children:oe}):null},sx:{marginBottom:me||_e.getError(n)?"4px":"24px"},size:Oe?"medium":"small"},Ae))})})}))},30717:function(e,t,n){"use strict";n.d(t,{v:function(){return x}});var r=n(85893),a=n(67294),o=n(26793),i=n(36822),s=n(15861),l=n(93946),c=n(19572),u=n(26215),d=n(95469),p=n(42166),f=n(26509),m=n.n(f),v={label:"".concat(p.Wt),value:p.Wt},g=[v,{label:"10",value:10},{label:"15",value:15},{label:"20",value:20}],x=function(e){var t=e.next,n=e.prev,f=e.rowsPerPage,x=e.setRowsPerPage,h=e.currentPage,b=e.maxPage,w=e.totalCount,j=e.goToPage,_=e.paginationOptionsProp,y=w>p.Wt,P=(0,o.$)().t,Z=_||g;(0,a.useEffect)((function(){(f>=w||h===b)&&j(1)}),[f]);var k=(null===g||void 0===g?void 0:g.find((function(e){return e.value===f})))||v,S=1===h?1:h*f-f+1,O=function(){var e=f*h;return e>w?w:e};return(0,r.jsx)(r.Fragment,{children:y?(0,r.jsxs)(i.Z,{mt:{mobile:2,tablet:1.25,desktop:2.5},display:"flex",alignItems:"center",justifyContent:"flex-end",children:[(0,r.jsxs)(i.Z,{display:"flex",alignItems:"center",children:[(0,r.jsx)(s.Z,{variant:"textSmall",mr:1.25,sx:{fontSize:{desktop:"14px"}},color:"gray.color2",children:P("common.rowsPage")}),(0,r.jsx)(d.Z,{extraClassName:m().paginationSelect,instanceId:"table-pagination",options:Z.slice(0,b),value:k,onChange:function(e){var t=e.value;return x(t)},theme:"table"})]}),(0,r.jsxs)(i.Z,{display:"flex",alignItems:"center",mr:{mobile:3,tablet:5},ml:{mobile:3,tablet:4},children:[(0,r.jsxs)(s.Z,{variant:"textSmall",sx:{fontSize:{desktop:"14px"},fontWeight:{mobile:600,desktop:530}},children:[S," - ",O()]}),(0,r.jsx)(s.Z,{variant:"textSmall",sx:{fontSize:{desktop:"14px"},fontWeight:{mobile:600,desktop:530}},mx:1,children:P("common.of")}),(0,r.jsx)(s.Z,{variant:"textSmall",sx:{fontSize:{desktop:"14px"},fontWeight:{mobile:600,desktop:530}},children:w})]}),(0,r.jsxs)(i.Z,{display:"flex",alignItems:"center",className:m().paginationNavs,children:[(0,r.jsx)(l.Z,{className:m().paginationArrow,onClick:n,disabled:1===h,children:(0,r.jsx)(c.Z,{})}),(0,r.jsx)(l.Z,{className:m().paginationArrow,onClick:t,disabled:O()===w,children:(0,r.jsx)(u.Z,{})})]})]}):null})}},5664:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var r=n(67294),a=n(42166);function o(e,t){var n=(0,r.useState)(1),o=n[0],i=n[1],s=Math.ceil(e.length/a.Wt),l=e.length;return{next:function(){i((function(e){return Math.min(e+1,s)}))},prev:function(){i((function(e){return Math.max(e-1,1)}))},goToPage:function(e){var t=Math.max(1,e);i(Math.min(t,s))},currentData:function(){var n=(o-1)*t,r=n+t;return e.slice(n,r)},currentPage:o,maxPage:s,totalCount:l}}},33206:function(e){e.exports={wrapper:"BaseInput_wrapper__dajVH",button:"BaseInput_button__XUYjO",incDecButtons:"BaseInput_incDecButtons__YLreK",incDecButtonsLeft:"BaseInput_incDecButtonsLeft__bReLR",btnMax:"BaseInput_btnMax__WPMC8"}},26509:function(e){e.exports={paginationSelect:"BasePagination_paginationSelect__WDY0s",paginationNavs:"BasePagination_paginationNavs__o8162","MuiIconButton-root":"BasePagination_MuiIconButton-root__GsHpi",paginationArrow:"BasePagination_paginationArrow__0_EL_"}}}]);

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.