1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3890],{5902:(e,t,l)=>{"use strict";l.d(t,{A:()=>s,i:()=>n});var r=l(37876),_=l(14232),a=l(70402),i=l(22390);function s(e){var t;let{initPerPage:l,perPage:s,loadedCount:n,loading:d,searchData:o,setSearchData:c,text:u="ÐоказаÑÑ Ð±Ð¾Ð»ÑÑе",isNested:h=!1,autoLoad:m=!1}=e,g=h?"pagination.offset":"offset",b=null!=(t=(0,i.Dg)(o,g))?t:0,f=(0,_.useRef)(null),p=(0,_.useRef)(!1),[x,y]=(0,_.useState)(!1),C=void 0!==l&&n===l&&0===b||n===s,v=(0,_.useCallback)(()=>{c(e=>{var t;let r=null!=(t=(0,i.Dg)(e,g))?t:0,_=void 0!==l&&0===r?l:s,a=r+_;return h?{...e,pagination:{...e.pagination,offset:a,limit:s}}:{...e,offset:a,limit:s}})},[c,g,l,s,h]);if((0,_.useEffect)(()=>{if(!m||!C)return;let e=f.current;if(!e||"undefined"==typeof IntersectionObserver)return;let t=new IntersectionObserver(e=>{var t,l;return y(null!=(l=null==(t=e[0])?void 0:t.isIntersecting)&&l)},{rootMargin:"".concat(200,"px 0px")});return t.observe(e),()=>t.disconnect()},[m,C]),(0,_.useEffect)(()=>{if(d){p.current=!1;return}if(!m||!C||!x||p.current)return;let e=f.current;if(!e)return;let t=e.getBoundingClientRect();t.top-200<window.innerHeight&&t.bottom+200>0&&(p.current=!0,v())},[m,C,x,d,v]),!C)return(0,r.jsx)(r.Fragment,{});let w=(0,r.jsx)(a.Ay,{wide:!0,disabled:d,onClick:v,children:d&&b>0?"ÐагÑÑжаем...":u});return m?(0,r.jsx)("div",{ref:f,children:w}):w}function n(e){let{perPage:t,loadedCount:l,loading:_,text:i="ÐоказаÑÑ Ð±Ð¾Ð»ÑÑе",model:s,nextCursor:n}=e;return l!==t?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)(a.Ay,{wide:!0,disabled:_,onClick:()=>s.setFormData(e=>({...e,cursor:n})),children:_?"ÐагÑÑжаем...":i})}},9534:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var r=l(37876),_=l(54587),a=l.n(_),i=l(35284),s=l.n(i);let n={src:"/_next/static/media/arrow-left.aa44af1c.svg",height:20,width:20,blurWidth:0,blurHeight:0};var d=l(89099),o=l(69241),c=l(77328),u=l.n(c),h=l(49908);function m(e){let{children:t,marginBottom:l=8,backButton:_,setDocumentTitle:i=!0,documentTitle:c,size:m="default",backButtonInline:g=!1,onBackButtonClick:b}=e,f=(0,d.useRouter)(),{back:p}=(0,h.O)();return(0,r.jsxs)("h1",{style:{marginBottom:l},className:(0,o.A)(s().title,s().has_back_button,s()["size_".concat(m)],{[s().inline]:g}),children:[("string"==typeof t||c)&&i&&(0,r.jsx)(u(),{children:(0,r.jsx)("title",{children:null!=c?c:t})}),(_||b)&&(0,r.jsx)(a(),{className:s().back_button,src:n,alt:"Ðазад",draggable:!1,onClick:null!=b?b:()=>{"string"==typeof _?f.push(_):"function"==typeof _?_(f):p()}}),(0,r.jsx)("div",{children:t})]})}},12347:e=>{e.exports={filters:"orders-filters_filters__8xULW"}},14545:e=>{e.exports={table:"table_table__1aAxY",not_found:"table_not_found__BbT1_",table_head:"table_table_head__Ox64l",table_body:"table_table_body__9SFfO",table_item:"table_table_item__VN7KC",ver:"table_ver__dvmOR",table_filter_button:"table_table_filter_button__nQHv9",align_right:"table_align_right__3zXaP",table_empty:"table_table_empty__L7w0a",loading:"table_loading__Wj8TJ",new_table__head:"table_new_table__head__J_x1J",new_table__head__cell:"table_new_table__head__cell__GfkZC",full_width:"table_full_width__9Pp2t",flat:"table_flat__fjoDw",no_margin:"table_no_margin__UXU4D"}},14760:(e,t,l)=>{"use strict";l.d(t,{A:()=>g});var r=l(37876),_=l(14232),a=l(12347),i=l.n(a),s=l(62096),n=l(54624),d=l(70402),o=l(56750),c=l(73207),u=l(26915),h=l(22390),m=l(99979);function g(e){let{onUpdateFilters:t,games:l,isSells:a,showTypeFilter:g}=e,[b,f]=(0,_.useState)({shortId:"",username:"",status:null,gameId:void 0,categoryId:void 0}),p={formData:b,setFormData:f};return(0,r.jsxs)("form",{className:i().filters,onSubmit:e=>{var l;e.preventDefault(),t({...b,shortId:(0,u.q0)(null!=(l=b.shortId)?l:""),username:""===b.username?void 0:b.username})},children:[(0,r.jsx)(o.A,{placeholder:"ÐÐ¾Ð¼ÐµÑ Ð·Ð°ÐºÐ°Ð·Ð°",size:"filter",style:{flexGrow:1,flexShrink:1},model:(0,h.ch)("shortId",p)}),(0,r.jsx)(o.A,{placeholder:a?"ÐокÑпаÑелÑ":"ÐÑодавеÑ",size:"filter",style:{flexGrow:1,flexShrink:1},model:(0,h.ch)("username",p)}),(0,r.jsx)(s.A,{title:"СÑаÑÑÑ",size:"small",width:168,light:!0,model:(0,h.ch)("status",p),items:(0,u.P9)(a?[m.ex.FAILED]:[])}),(0,r.jsx)(s.A,{title:"ÐÑе игÑÑ",size:"small",model:(0,h.ch)("gameId",p),width:228,light:!0,items:(0,n.t)(l),onChange:()=>{f(e=>({...e,categoryId:void 0}))}}),b.gameId&&(0,r.jsx)(s.A,{title:"ÐÑе каÑегоÑии",size:"small",width:151,light:!0,items:(0,c.Jr)(l.find(e=>e.id===b.gameId).categories).map(e=>({title:e.name,index:e.id})),model:(0,h.ch)("categoryId",p)}),g&&(0,r.jsx)(s.A,{title:"Тип",showTitleInMenu:!1,size:"small",width:151,light:!0,items:[{title:"ÐÑе",index:"both"},{title:"ÐокÑпка",index:"buyer"},{title:"ÐÑодажа",index:"seller"}],model:(0,h.ch)("userType",p)}),(0,r.jsx)(d.Ay,{medium:!0,primary:!0,children:"ÐоказаÑÑ"})]})}},29083:e=>{e.exports={root:"date-ago_root__SOkCc",medium:"date-ago_medium__AqKv3",mobile_friendly:"date-ago_mobile_friendly__X57SM"}},35284:e=>{e.exports={title:"title_title__rb9tp",back_button:"title_back_button__rC0dy",
1size_medium:"title_size_medium__898B4",size_small:"title_size_small__KTExz",inline:"title_inline__RV1QZ",has_back_button:"title_has_back_button__tiNiF"}},54624:(e,t,l)=>{"use strict";l.d(t,{t:()=>d});var r=l(37876),_=l(1327),a=l.n(_),i=l(56591),s=l(54587),n=l.n(s);function d(e){return e.map(e=>({index:e.id,title:e.name,icon:(0,r.jsx)(n(),{className:a().game_icon,src:(0,i.VI)(e),width:20,height:20,alt:""})}))}},58673:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});var r=l(37876),_=l(77249),a=l.n(_),i=l(73207),s=l(69241);function n(e){let{className:t,text:l,messageText:_=!1}=e;return(0,r.jsx)("button",{className:(0,s.A)(a().copy_button,t),title:"СкопиÑоваÑÑ",children:(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:()=>(0,i.f8)(l,_),children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.44093 4.66666H8.55899C8.91041 4.66665 9.2136 4.66664 9.46331 4.68704C9.72687 4.70857 9.98902 4.75612 10.2413 4.88465C10.6176 5.07639 10.9236 5.38235 11.1153 5.75868C11.2438 6.01093 11.2914 6.27308 11.3129 6.53664C11.3333 6.78635 11.3333 7.08951 11.3333 7.44093V12.559C11.3333 12.9104 11.3333 13.2136 11.3129 13.4633C11.2914 13.7269 11.2438 13.9891 11.1153 14.2413C10.9236 14.6176 10.6176 14.9236 10.2413 15.1153C9.98902 15.2439 9.72687 15.2914 9.46331 15.3129C9.21361 15.3333 8.91046 15.3333 8.55905 15.3333H3.44094C3.08954 15.3333 2.78631 15.3333 2.53661 15.3129C2.27304 15.2914 2.0109 15.2439 1.75864 15.1153C1.38232 14.9236 1.07636 14.6176 0.884612 14.2413C0.756083 13.9891 0.708539 13.7269 0.687005 13.4633C0.666602 13.2136 0.666614 12.9104 0.666627 12.559V7.44098C0.666614 7.08954 0.666602 6.78636 0.687005 6.53664C0.708539 6.27308 0.756083 6.01093 0.884612 5.75868C1.07636 5.38235 1.38232 5.07639 1.75864 4.88465C2.0109 4.75612 2.27304 4.70857 2.53661 4.68704C2.78632 4.66664 3.08951 4.66665 3.44093 4.66666Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M12.559 0.666657H7.44093C7.08951 0.666646 6.78632 0.666636 6.53661 0.687038C6.27305 0.708572 6.0109 0.756116 5.75865 0.884645C5.38232 1.07639 5.07636 1.38235 4.88462 1.75868C4.75609 2.01093 4.70854 2.27308 4.68701 2.53664C4.66872 2.76049 4.66683 3.02731 4.66665 3.33334L8.5872 3.33333C8.91296 3.33325 9.26617 3.33317 9.57189 3.35815C9.9179 3.38642 10.375 3.45639 10.8466 3.69665C11.4738 4.01623 11.9837 4.52617 12.3033 5.15337C12.5436 5.62492 12.6135 6.08206 12.6418 6.42808C12.6668 6.7338 12.6667 7.08701 12.6666 7.41277L12.6666 11.3333C12.9726 11.3331 13.2395 11.3312 13.4633 11.3129C13.7269 11.2914 13.989 11.2439 14.2413 11.1153C14.6176 10.9236 14.9236 10.6176 15.1153 10.2413C15.2438 9.98905 15.2914 9.72691 15.3129 9.46334C15.3333 9.21364 15.3333 8.91049 15.3333 8.55909V3.44098C15.3333 3.08957 15.3333 2.78634 15.3129 2.53664C15.2914 2.27308 15.2438 2.01093 15.1153 1.75868C14.9236 1.38235 14.6176 1.07639 14.2413 0.884645C13.989 0.756116 13.7269 0.708572 13.4633 0.687038C13.2136 0.666636 12.9104 0.666646 12.559 0.666657Z",fill:"currentColor"})]})})}},62808:(e,t,l)=>{"use strict";l.d(t,{XI:()=>u,nd:()=>c,bl:()=>b});var r=l(37876),_=l(14545),a=l.n(_),i=l(69241),s=l(54587),n=l.n(s),d=l(22390),o=l(5902);function c(e){let{items:t,className:l,flat:_,noMargin:s}=e;return(0,r.jsx)("div",{className:(0,i.A)(a().new_table__head,l,{[a().flat]:_,[a().no_margin]:s}),children:t.filter(e=>void 0!==e).map((e,t)=>{var l;let _=null!=(l=e.id)?l:t;return e.sort?(0,r.jsx)(b,{...e.sort,align:e.align,className:e.className,width:e.width,children:e.title},_):(0,r.jsx)("div",{style:{width:e.width},className:(0,i.A)(a().new_table__head__cell,e.className,{[a().align_right]:"right"===e.align,[a().full_width]:void 0===e.width}),children:e.title},_)})})}function u(e){var t;let{children:l,perPage:_,head:s,items:n,className:d,loading:u,formModel:h,loadedCount:m,notFoundText:g="ÐиÑего не найдено",emptyState:b,loadMoreText:f="ÐоказаÑÑ Ð±Ð¾Ð»ÑÑе",cursorPagination:p=!1}=e;return(0,r.jsxs)("div",{className:(0,i.A)(a().table,{[a().loading]:u}),children:[(0,r.jsx)(c,{...s}),n.length>0&&(0,r.jsx)("div",{className:a().table_body,children:l}),0===n.length&&(null!=b?b:(0,r.jsx)("div",{className:a().table_empty,children:g})),p?!!n.length&&(0,r.jsx)(o.i,{perPage:_,nextCursor:null==(t=n.at(-1))?void 0:t.id,loadedCount:m,loading:u,model:h,text:f}):(0,r.jsx)(o.A,{perPage:_,loadedCount:m,loading:u,searchData:h.formData,setSearchData:h.setFormData,text:f})]})}let h={DEFAULT:{src:"/_next/static/media/double-arrow.539d5cba.svg",height:12,width:12,blurWidth:0,blurHeight:0},DESC:{src:"/_next/static/media/bottom-arrow.8603bb8d.svg",height:4,width:8,blurWidth:0,blurHeight:0},ASC:{src:"/_next/static/media/top-arrow.7a85c6f6.svg",height:4,width:8,blurWidth:0,blurHeight:0}},m=["ASC","DESC"],g=[void 0,...m];function b(e){let{value:t,model:l,fieldName:_,name:s,children:o,onChange:c,align:u="left",className:b,flatValue:f=!1,sortOrdersWithReset:p=!0,reverseSortOrder:x=!1,width:y,dirFieldName:C="order",byFieldName:v="field"}=e;s=null!=s?s:null==l?void 0:l.name;let w=f?{[v]:(0,d.Hp)(l,"sortBy"),[C]:(0,d.Hp)(l,"sortDir")}:l?(0,d.Hp)(l,s):t,j=(null==w?void 0:w[v])===_?null==w?void 0:w[C]:void 0,A=p?g:m,D=x?A.toReversed():A;return(0,r.jsx)("span",{className:(0,i.A)(a().new_table__head__cell,b,{[a().align_right]:"right"===u,[a().full_width]:void 0===y}),style:{width:y,justifySelf:"right"===u?"flex-end":"flex-start",justifyContent:"right"===u?"flex-end":"flex-start"},children:(0,r.jsxs)("button",{onClick:function(){let e={[v]:_,[C]:D[(D.indexOf(j)+1)%D.length]};f?((0,d.HW)(l,"sortBy",e[C]?e[v]:void 0),(0,d.HW)(l,"sortDir",e[C])):(0,d.HW)(l,s,e[C]?e:void 0),null==c||c(e)},className:a().table_filter_button,children:[o,(0,r.jsx)(n(),{src:h[null!=j?j:"DEFAULT"],alt:""})]})})}},67692:e=>{e.exports={header:"my-orders-page_header__j2AA8",tabs_wrapper:"my-orders-page_tabs_wrapper__wh72h",tab_counter:"my-orders-page_tab_counter__TZnL5",tab_counter_active:"my-orders-page_tab_counter_active__pJWNk",mobile_category:"my-orders-page_mobile_category__pFTFD",sb:"my-orders-page_sb__TLoOj",status_CREATED:"my-orders-page_status_CREATED__MFQ6L",status_REFUND:"my-orders-page_status_REFUND__TziL7",row:"my-orders-page_row__WjZPP",order_id_row:"my-orders-page_order_id_row__eKPWZ",copy_button:"my-orders-page_copy_button__lfTsG",cell__status:"my-orders-page_cell__status__3KMQB",status_with_icon:"my-orders-page_status_with_icon__yx7Ab",cell__amount:"my-orders-page_cell__amount__z_vXn",amount:"my-orders-page_amount__LaDwF",cell__desc:"my-orders-page_cell__desc__eu_UF",head_cell__desc:"my-orders-page_head_cell__desc__y0NUb",head_cell__amount:"my-orders-page_head_cell__amount__aADlG",head_cell__date:"my-orders-page_head_cell__date__5zSP_",head_cell__user:"my-orders-page_head_cell__user__j9356",head_cell__status:"my-orders-page_head_cell__status__ss5g2",cell__date:"my-orders-page_cell__date__t792c",cell__user:"my-orders-page_cell__user__0Ry5n",order_id_prefix:"my-orders-page_order_id_prefix__eD_6N"}},81716:(e,t,l)=>{"use strict";l.d(t,{I:()=>n});var r=l(37876),_=l(69241),a=l(29083),i=l.n(a),s=l(5847);function n(e){let{date:t,className:l,addBrackets:a,medium:n,mobileFriendly:d,forceTime:o=!1,forceYear:c=!1,forceDateDiff:u=!1}=e,{formatDate:h,formatDateDiff:m}=(0,s.S)();return(0,r.jsxs)("div",{suppressHydrationWarning:!0,className:(0,_.A)(i().root,l,{[i().medium]:n,[i().mobile_friendly]:d}),children:[(0,r.jsx)("h6",{suppressHydrationWarning:!0,children:h(new Date(t),c,o)}),!u&&(0,r.jsx)("span",{suppressHydrationWarning:!0,children:a?"(".concat(m(new Date(t)),")"):m(new Date(t))})]})}}}]);
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.