1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="75bc4a52-8e78-40a1-87cb-2cb324247eaf",e._sentryDebugIdIdentifier="sentry-dbid-75bc4a52-8e78-40a1-87cb-2cb324247eaf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5730],{96539:function(e,t,n){var r=n(77400).Symbol;e.exports=r},99736:function(e,t,n){var r=n(96539),l=n(34840),i=n(21258),o=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?l(e):i(e)}},74833:function(e,t,n){var r=n(56127),l=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(l,""):e}},39120:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},34840:function(e,t,n){var r=n(96539),l=Object.prototype,i=l.hasOwnProperty,o=l.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var l=o.call(e);return r&&(t?e[s]=n:delete e[s]),l}},21258:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},77400:function(e,t,n){var r=n(39120),l="object"==typeof self&&self&&self.Object===Object&&self,i=r||l||Function("return this")();e.exports=i},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},66726:function(e,t,n){var r=n(11611),l=n(82846),i=n(91936),o=Math.max,s=Math.min;e.exports=function(e,t,n){var a,c,d,u,f,x,h=0,p=!1,m=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var n=a,r=c;return a=c=void 0,h=t,u=e.apply(r,n)}function g(e){var n=e-x,r=e-h;return void 0===x||n>=t||n<0||m&&r>=d}function j(){var e,n,r,i=l();if(g(i))return w(i);f=setTimeout(j,(e=i-x,n=i-h,r=t-e,m?s(r,d-n):r))}function w(e){return(f=void 0,v&&a)?b(e):(a=c=void 0,u)}function y(){var e,n=l(),r=g(n);if(a=arguments,c=this,x=n,r){if(void 0===f)return h=e=x,f=setTimeout(j,t),p?b(e):u;if(m)return clearTimeout(f),f=setTimeout(j,t),b(x)}return void 0===f&&(f=setTimeout(j,t)),u}return t=i(t)||0,r(n)&&(p=!!n.leading,d=(m="maxWait"in n)?o(i(n.maxWait)||0,t):d,v="trailing"in n?!!n.trailing:v),y.cancel=function(){void 0!==f&&clearTimeout(f),h=0,a=x=c=f=void 0},y.flush=function(){return void 0===f?u:w(l())},y}},11611:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},92360:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},55193:function(e,t,n){var r=n(99736),l=n(92360);e.exports=function(e){return"symbol"==typeof e||l(e)&&"[object Symbol]"==r(e)}},82846:function(e,t,n){var r=n(77400);e.exports=function(){return r.Date.now()}},91936:function(e,t,n){var r=n(74833),l=n(11611),i=n(55193),o=0/0,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return o;if(l(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=l(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=a.test(e);return n||c.test(e)?d(e.slice(2),n?2:8):s.test(e)?o:+e}},81258:function(e,t,n){"use strict";var r=n(24246),l=n(60042),i=n.n(l),o=n(20227);let s=e=>{let{className:t,...n}=e;return(0,r.jsx)("div",{className:(0,o.m)(i()("rounded bg-light p-5 shadow md:p-8",t)),...n})};t.Z=s},24634:function(e,t,n){"use strict";var r=n(24246),l=n(60042),i=n.n(l),o=n(20227);let s=e=>{let{title:t,className:n,...l}=e;return(0,r.jsx)("h2",{className:(0,o.m)(i()("before:content-'' relative text-lg font-semibold text-heading before:absolute before:-top-0.5 before:h-8 before:rounded-tr-md before:rounded-br-md before:bg-accent ltr:before:-left-8 rtl:before:-right-8 md:before:w-1",n)),...l,children:t})};t.Z=s},75737:function(e,t,n){"use strict";var r=n(24246),l=n(60042),i=n.n(l),o=n(66726),s=n.n(o),a=n(65422),c=n(27378),d=n(88039),u=n(20227),f=n(29581),x=n(44066);let h={root:"ps-10 pe-4 h-12 flex items-center w-full rounded-md appearance-none transition duration-300 ease-in-out text-heading text-sm focus:outline-none focus:ring-0",normal:"bg-gray-100 border border-border-base focus:shadow focus:bg-light focus:border-accent",solid:"bg-gray-100 border border-border-100 focus:bg-light focus:border-accent",outline:"border border-border-base focus:border-accent",shadow:"focus:shadow"},p=e=>{let{className:t,onSearch:n,variant:l="outline",shadow:o=!1,inputClassName:p,placeholderText:m,defaultValue:v="",...b}=e,{register:g,handleSubmit:j,watch:w,reset:y,formState:{errors:N}}=(0,d.cI)({defaultValues:{searchText:null!=v?v:""}}),O=w("searchText"),{t:k}=(0,a.$G)(),Z=(0,c.useRef)(s()((e,t)=>{t({searchText:e})},300)),T=(0,c.useRef)(Boolean(v));(0,c.useEffect)(()=>
1{if(T.current){T.current=!1;return}if(!O){n({searchText:""});return}O.length>=3&&Z.current(O,n)},[O]),(0,c.useEffect)(()=>()=>{Z.current.cancel()},[]);let A=i()(h.root,{[h.normal]:"normal"===l,[h.solid]:"solid"===l,[h.outline]:"outline"===l},{[h.shadow]:o},p);return(0,r.jsxs)("form",{noValidate:!0,role:"search",className:(0,u.m)(i()("relative flex w-full items-center",t)),onSubmit:j(n),children:[(0,r.jsx)("label",{htmlFor:"search",className:"sr-only",children:k("form:input-label-search")}),(0,r.jsx)("button",{className:"absolute top-1/2 -translate-y-1/2 p-2 text-body outline-none start-1 focus:outline-none active:outline-none",children:(0,r.jsx)(x.W,{className:"h-5 w-5"})}),(0,r.jsx)("input",{type:"text",id:"search",...g("searchText"),className:(0,u.m)(A),placeholder:null!=m?m:k("form:input-placeholder-search"),"aria-label":"Search",autoComplete:"off",...b}),N.searchText&&(0,r.jsx)("p",{children:N.searchText.message}),!!O&&(0,r.jsx)("button",{type:"button",onClick:function(){y(),n({searchText:""})},className:"absolute top-1/2 -translate-y-1/2 p-2 text-body outline-none end-1 focus:outline-none active:outline-none",children:(0,r.jsx)(f.T,{className:"h-5 w-5"})})]})};t.Z=p},44066:function(e,t,n){"use strict";n.d(t,{W:function(){return l}});var r=n(24246);let l=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",...e,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})})},40792:function(e,t,n){"use strict";n.r(t);var r=n(24246),l=n(60042),i=n.n(l),o=n(78976),s=n(65422),a=n(86677),c=n(32722),d=n(33683),u=n(60511),f=n(58837),x=n(20395),h=n(97046),p=n(52329),m=n(62005),v=n(30957),b=n(84905);let g=e=>{let{menuItems:t}=e,{t:n}=(0,s.$G)(),[l,i]=(0,o.KO)(v.Hf),{childMenu:a}=t,{width:c}=(0,b.Z)();return(0,r.jsx)("div",{className:"space-y-2",children:null==a?void 0:a.map(e=>{let{href:t,label:i,icon:o,childMenu:s,id:a}=e;return(0,r.jsx)(u.Z,{href:t,label:n(i),icon:o,childMenu:s,miniSidebar:l&&c>=v.h2},null!=a?a:i)})})},j=()=>{var e,t,n,l,a;let{t:c}=(0,s.$G)(),[d,u]=(0,o.KO)(v.Hf),f=null===m.U||void 0===m.U?void 0:null===(e=m.U.sidebarLinks)||void 0===e?void 0:e.admin,h=Object.values(f),{width:j}=(0,b.Z)(),{settings:w}=(0,p.n)({language:"ru"}),y=null!==(a=null==w?void 0:null===(t=w.options)||void 0===t?void 0:null===(n=t.menu)||void 0===n?void 0:null===(l=n.hiddenMenuItemsAdmin)||void 0===l?void 0:l.map(e=>{let{value:t}=e;return t}))&&void 0!==a?a:[],N=(0,x.j)(h,y);return(0,r.jsx)(r.Fragment,{children:null==N?void 0:N.map((e,t)=>{var n;if((null==e?void 0:e.childMenu)&&(null==e?void 0:null===(n=e.childMenu)||void 0===n?void 0:n.length))return(0,r.jsxs)("div",{className:i()("flex flex-col px-5",d&&j>=v.h2?"border-b border-dashed border-gray-200 py-5":"pt-6 pb-3"),children:[(0,r.jsx)("div",{className:i()("px-3 pb-5 text-xs font-semibold uppercase tracking-[0.05em] text-body/60",d&&j>=v.h2?"hidden":""),children:c(null==e?void 0:e.label)}),(0,r.jsx)(g,{menuItems:e})]},t)})})},w=e=>{let{children:t}=e,{locale:n}=(0,a.useRouter)(),[l,s]=(0,o.KO)(v.Hf),{width:u}=(0,b.Z)();return(0,r.jsxs)("div",{className:"flex min-h-screen flex-col bg-gray-100 transition-colors duration-150",dir:"ar"===n||"he"===n?"rtl":"ltr",children:[(0,r.jsx)(f.Z,{}),(0,r.jsx)(d.Z,{children:(0,r.jsx)(j,{})}),(0,r.jsxs)("div",{className:"flex flex-1",children:[(0,r.jsx)("aside",{className:i()("fixed bottom-0 z-10 hidden h-full w-72 bg-white pt-20 shadow transition-[width] duration-300 ltr:left-0 ltr:right-auto rtl:right-0 rtl:left-auto lg:block",l&&u>=v.h2?"lg:w-24":"lg:w-76"),children:(0,r.jsx)("div",{className:"sidebar-scrollbar h-full w-full overflow-x-hidden",children:(0,r.jsx)(h.Z,{className:"h-full w-full",options:{scrollbars:{autoHide:"never"}},children:(0,r.jsx)(j,{})})})}),(0,r.jsxs)("main",{className:i()("relative flex w-full flex-col justify-start pt-[72px] transition-[padding] duration-300 lg:pt-20",l&&u>=v.h2?"ltr:lg:pl-24 rtl:lg:pr-24":"ltr:xl:pl-76 rtl:xl:pr-76 ltr:lg:pl-72 rtl:lg:pr-72 rtl:lg:pl-0"),children:[(0,r.jsx)("div",{className:"h-full p-5 md:p-8",children:t}),(0,r.jsx)(c.Z,{})]})]})]})};t.default=w},83002:function(e,t,n){"use strict";var r=n(24246),l=n(60042),i=n.n(l),o=n(65422),s=n(20227);let a=e=>{let{t}=(0,o.$G)(),{className:n,color:l,textColor:a,text:c,textKey:d,animate:u=!1,dataTestId:f}=e,x={root:"px-3 py-1.5 rounded text-xs whitespace-nowrap relative font-medium",animate:"animate-pulse",default:"bg-accent",text:"text-light"};return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("span",{"data-testid":f,className:(0,s.m)(i()("inline-block",x.root,{[x.default]:!l,[x.text]:!a,[x.animate]:u},l,a,n)),children:d?t(d):c})})};t.Z=a},61849:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(24246),l=n(73131);let i=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20",...t,children:(0,r.jsx)("path",{d:"M294.1 256L167 129c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.3 34 0L345 239c9.1 9.1 9.3 23.7.7 33.1L201.1 417c-4.7 4.7-10.9 7-17 7s-12.3-2.3-17-7c-9.4-9.4-9.4-24.6 0-33.9l127-127.1z",fill:"
1currentColor",stroke:"currentColor"})})},o=e=>{let{...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20",...t,children:(0,r.jsx)("path",{d:"M217.9 256L345 129c9.4-9.4 9.4-24.6 0-33.9-9.4-9.4-24.6-9.3-34 0L167 239c-9.1 9.1-9.3 23.7-.7 33.1L310.9 417c4.7 4.7 10.9 7 17 7s12.3-2.3 17-7c9.4-9.4 9.4-24.6 0-33.9L217.9 256z",fill:"currentColor",stroke:"currentColor"})})};n(41809);let s=e=>(0,r.jsx)(l.Z,{nextIcon:(0,r.jsx)(i,{}),prevIcon:(0,r.jsx)(o,{}),...e});var a=s},99996:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(24246),l=n(60042),i=n.n(l);n(27378);let o=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 123.959 123.958",...e,children:(0,r.jsx)("path",{d:"M117.979 28.017h-112c-5.3 0-8 6.4-4.2 10.2l56 56c2.3 2.3 6.1 2.3 8.401 0l56-56c3.799-3.8 1.099-10.2-4.201-10.2z",fill:"currentColor"})}),s=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 123.959 123.959",...e,children:(0,r.jsx)("path",{d:"M66.18 29.742c-2.301-2.3-6.101-2.3-8.401 0l-56 56c-3.8 3.801-1.1 10.2 4.2 10.2h112c5.3 0 8-6.399 4.2-10.2l-55.999-56z",fill:"currentColor"})}),a=e=>{let{title:t,ascending:n,isActive:l=!0,className:a}=e;return(0,r.jsxs)("span",{className:i()("inline-flex items-center",a),children:[(0,r.jsx)("span",{title:"Sort by ".concat(t),children:t}),n?(0,r.jsx)(s,{width:"9",className:i()("flex-shrink-0 text-gray-300 ms-1.5",{"!text-heading":l})}):(0,r.jsx)(o,{width:"9",className:i()("flex-shrink-0 text-gray-300 ms-1.5",{"!text-heading":l})})]})};var c=a},95530:function(e,t,n){"use strict";var r=n(24246),l=n(65204),i=n(83002),o=n(65422),s=n(27378),a=n(62289),c=n(86903),d=n(61849),u=n(40447),f=n(99996),x=n(93691),h=n(53139),p=n(55300);let m=e=>{let{customers:t,paginatorInfo:n,onPagination:m,onSort:v,onOrder:b}=e,{t:g}=(0,o.$G)(),{alignLeft:j}=(0,p.S)(),[w,y]=(0,s.useState)({sort:h.As.Desc,column:null}),N=e=>({onClick:()=>{v(e=>e===h.As.Desc?h.As.Asc:h.As.Desc),b(e),y({sort:w.sort===h.As.Desc?h.As.Asc:h.As.Desc,column:e})}}),O=[{title:(0,r.jsx)(f.Z,{title:g("table:table-item-id"),ascending:w.sort===h.As.Asc&&"id"===w.column,isActive:"id"===w.column}),className:"cursor-pointer",dataIndex:"id",key:"id",align:j,width:150,onHeaderCell:()=>N("id"),render:e=>"#".concat(g("table:table-item-id"),": ").concat(e)},{title:(0,r.jsx)(f.Z,{title:"ÐолÑзоваÑелÑ",ascending:w.sort===h.As.Asc&&"id"===w.column,isActive:"id"===w.column}),className:"cursor-pointer",dataIndex:"name",key:"name",align:j,width:250,ellipsis:!0,onHeaderCell:()=>N("name"),render:(e,t)=>{var n;let{profile:i,email:o}=t;return(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(l.Z,{name:e,src:null==i?void 0:null===(n=i.avatar)||void 0===n?void 0:n.thumbnail}),(0,r.jsxs)("div",{className:"flex flex-col whitespace-nowrap font-medium ms-2",children:[e,(0,r.jsx)("span",{className:"text-[13px] font-normal text-gray-500/80",children:o})]})]})}},{title:g("table:table-item-permissions"),dataIndex:"permissions",key:"permissions",align:j,width:300,render:e=>(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5 whitespace-nowrap",children:null==e?void 0:e.map(e=>(0,r.jsx)("span",{className:"rounded bg-gray-200/50 px-2.5 py-1",children:"string"==typeof e?e:null==e?void 0:e.name},"string"==typeof e?e:null==e?void 0:e.name))})},{title:"ÐÐ¾Ð¼ÐµÑ ÑелеÑона",dataIndex:"phone",key:"phone",align:j,width:300,render:e=>(0,r.jsx)("div",{className:"flex flex-wrap gap-1.5 whitespace-nowrap",children:null!=e?e:"Ðе Ñказан"})},{title:"ÐÐ¾Ð¼ÐµÑ ÑелеÑона подÑвеÑжден",dataIndex:"is_phone_confirmed",key:"is_phone_confirmed",align:"center",width:200,render:e=>(0,r.jsx)("span",{children:e?"Ðа":"ÐеÑ"})},{title:"Удален",dataIndex:"deleted_at",key:"deleted_at",align:"center",width:150,render:e=>(0,r.jsx)("span",{children:e?"Ðа":"ÐеÑ"})},{title:g("table:table-item-status"),width:150,className:"cursor-pointer",dataIndex:"is_active",key:"is_active",align:"center",render:e=>(0,r.jsx)(i.Z,{textKey:e?"common:text-active":"common:text-inactive",color:e?"bg-accent/10 !text-accent":"bg-status-failed/10 text-status-failed"})},{title:g("table:table-item-actions"),dataIndex:"id",key:"actions",align:"right",width:120,render:function(e,t){let{is_active:n,deleted_at:l}=t,{data:i}=(0,x.UE)();return(0,r.jsx)(r.Fragment,{children:(null==i?void 0:i.id)!=e&&(0,r.jsx)(a.Z,{id:e,userStatus:!0,isUserActive:n,showAddWalletPoints:!0,showMakeAdminButton:!0,isUserDeleted:!!l})})}}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"mb-6 overflow-hidden rounded shadow",children:(0,r.jsx)(u.i,{columns:O,emptyText:()=>(0,r.jsxs)("div",{className:"flex flex-col items-center py-7",children:[(0,r.jsx)(c.m,{className:"w-52"}),(0,r.jsx)("div",{className:"mb-1 pt-6 text-base font-semibold text-heading",children:g("table:empty-table-data")}),(0,r.jsx)("p",{className:"text-[13px]",children:g("table:empty-table-sorry-text")})]}),data:t,rowKey:"id",scroll:{x:1e3}})}),!!(null==n?void 0:n.total)&&(0,r.jsx)("div",{className:"flex items-center justify-end",children:(0,r.jsx)(d.Z,{total:n.total,current:n.currentPage,pageSize:n.perPage,onChange:m})})]})};t.Z=m},90364:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(27597);function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}var i=n(99492);function o(e){var t=l();return function(){var n,l=(0,r.Z)(e);if(t){var o=(0,r.Z)(this).constructor;n=Reflect.construct(l,arguments,o)}else n=l.apply(this,arguments);return(0,i.Z)(this,n)}}},50189:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(64649);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?l(Object(n),!0).forEach(function(t){(0,r.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}}}]); 2//# sourceMappingURL=5730-55fb189a2f3fd379.js.map
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.