1try{let 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]="35fdafd3-1d31-4002-9694-39e04d26d7aa",e._sentryDebugIdIdentifier="sentry-dbid-35fdafd3-1d31-4002-9694-39e04d26d7aa")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[680,7756],{6131:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s,r=a(14232);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let l=e=>r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 15 15"},e),s||(s=r.createElement("path",{d:"M14.423.208a1.252 1.252 0 0 0-.952-.18 1.253 1.253 0 0 0-.798.56l-7.09 11.137-3.459-3.258a1.262 1.262 0 0 0-.908-.342 1.255 1.255 0 0 0-.88.413 1.304 1.304 0 0 0 .07 1.822l4.54 4.278s.131.114.191.154a1.252 1.252 0 0 0 .953.18 1.254 1.254 0 0 0 .798-.56l7.908-12.42a1.302 1.302 0 0 0 .176-.971 1.301 1.301 0 0 0-.549-.813Z"})))},9411:(e,t,a)=>{"use strict";a.d(t,{N9:()=>u,aR:()=>i,f_:()=>d,m0:()=>c});var s=a(37876),r=a(89848),n=a(36712),l=a.n(n);let o="top-right",i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return(0,r.oR)(e,{autoClose:t,type:"error",position:a})},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return(0,r.oR)(e,{type:"warning",autoClose:t,position:a})},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o;return(0,r.oR)(e,{type:"success",autoClose:t,position:a})},u=()=>(0,s.jsx)("div",{"data-ui-component":"ProductToast","data-ui-variant":"top-right",children:(0,s.jsx)(r.N9,{className:l().container,draggable:!0,newestOnTop:!0,pauseOnHover:!0,theme:"light",toastClassName:l().toast,progressClassName:l().progress})})},11163:(e,t,a)=>{"use strict";a.d(t,{q:()=>l});var s=a(37876),r=a(58925),n=a(69241);function l(e){let{scrollTop:t,forceMount:a,className:l,classNameRoot:o,children:i,variant:c,...d}=e,u=null!=c?c:"primary";return(0,s.jsxs)(r.bL,{className:o,...d,children:[(0,s.jsx)(r.LM,{className:(0,n.$)(l,"overflow-hidden"),onPointerLeave:e=>{if(t){var a;null==(a=e.currentTarget)||a.scrollTo({top:0,behavior:"smooth"})}},children:i}),(0,s.jsx)(r.Ze,{forceMount:a,className:(0,n.$)("flex select-none touch-none p-1 data-[state=hidden]:hidden scrollbar",{"bg-gray-50":"primary"===u}),orientation:"vertical",children:(0,s.jsx)(r.zi,{className:(0,n.$)("px-0.5 py-1 rounded-md",{"bg-indigo-950":"primary"===u,"bg-separate-secondary":"secondary"===u})})}),(0,s.jsx)(r.OK,{className:"bg-gray-100"})]})}},15654:(e,t,a)=>{"use strict";a.d(t,{H:()=>o});var s=a(37876),r=a(14232),n=a(36225),l=a(37380);let o=(0,r.forwardRef)(function(e,t){let{onClick:a,...r}=e,{setOpen:o}=(0,l.h)();return(0,s.jsx)(n.$,{type:"button",...r,ref:t,onClick:e=>{null==a||a.call(null,e),o(!1)}})})},18644:(e,t,a)=>{"use strict";a.d(t,{u:()=>l});var s=a(91040),r=a(55737),n=a(61392);let l=s.A.create({baseURL:r.H,headers:{Accept:"application/json"}});l.interceptors.response.use(...n.x),l.interceptors.request.use(...n.l)},19437:e=>{e.exports={"product-page":"styles_product-page__zosgR","product-page-header":"styles_product-page-header__XnPkZ","product-page-header__heading":"styles_product-page-header__heading__qPhLs","product-page-header__title-row":"styles_product-page-header__title-row___fQP7","product-page-header__title":"styles_product-page-header__title__lrAf7","product-page-header__meta":"styles_product-page-header__meta__MChJH","product-page-header__description":"styles_product-page-header__description__efbQr","product-page-header__actions":"styles_product-page-header__actions__nub5u","product-page-content":"styles_product-page-content__QJCaX","product-page-content--surface":"styles_product-page-content--surface__rd9H7","product-page-content--padded":"styles_product-page-content--padded__b_FnG","product-page-content--grow":"styles_product-page-content--grow__a_11f","product-page-content--overflow-auto":"styles_product-page-content--overflow-auto__RpN7T","product-page-content--overflow-hidden":"styles_product-page-content--overflow-hidden__DZFWB","product-page-content--overflow-visible":"styles_product-page-content--overflow-visible__Tt9qG",button:"styles_button__l_EP0","button--secondary":"styles_button--secondary__zL63
1n","button--primary":"styles_button--primary__vZhrw","button--ghost":"styles_button--ghost__LxGGf","button--danger":"styles_button--danger__31LrT","icon-button":"styles_icon-button__wKLwi",checkbox:"styles_checkbox__MJbNm","input-root":"styles_input-root__4DYVJ",input:"styles_input__7MwmV","raw-input":"styles_raw-input__XORmC","raw-input--invalid":"styles_raw-input--invalid__eVwB1",search:"styles_search__NA80d",search__icon:"styles_search__icon__rvV3M",search__input:"styles_search__input__ch8HC","input-shell":"styles_input-shell__hPxyJ","input-shell--invalid":"styles_input-shell--invalid__EX5Sg",field:"styles_field__3eccB",field__label:"styles_field__label__paVil",field__help:"styles_field__help__Ry7he","field--error":"styles_field--error__J7ls4","dialog-content":"styles_dialog-content__FEWW_","dialog-header":"styles_dialog-header__xJISL","dialog-heading":"styles_dialog-heading__11b9g","dialog-body":"styles_dialog-body__OwY2E","dialog-message":"styles_dialog-message__pK_Ix","dialog-footer":"styles_dialog-footer__FeySq",popover:"styles_popover__UAw72","popover--filter":"styles_popover--filter__RrjIa","popover-header":"styles_popover-header__j__Eo","action-menu":"styles_action-menu__0YjC2","action-menu--wide":"styles_action-menu--wide__aVlbP","action-menu__header":"styles_action-menu__header__fJeLC","action-menu__title":"styles_action-menu__title__GB4_E","action-menu__description":"styles_action-menu__description__sPX2e","action-menu__item":"styles_action-menu__item__IP9Rk","action-menu__item--danger":"styles_action-menu__item--danger__2MfgV","action-menu__icon":"styles_action-menu__icon__DbVxi","action-menu__copy":"styles_action-menu__copy__jgfiK","action-menu__label":"styles_action-menu__label__yB_97","action-menu__item-description":"styles_action-menu__item-description__LdjC1","action-menu__trailing":"styles_action-menu__trailing__eF5R6","action-menu__divider":"styles_action-menu__divider__GhWU8","product-tooltip":"styles_product-tooltip__iVoT7",toggle:"styles_toggle__q7T_W",toggle__copy:"styles_toggle__copy__rjRV4",toggle__label:"styles_toggle__label__9qx_Z",toggle__description:"styles_toggle__description__Xzw2T",toggle__input:"styles_toggle__input__4OiQg",toggle__control:"styles_toggle__control__6myK1",toggle__thumb:"styles_toggle__thumb__gfv66",callout:"styles_callout__rutGe",chip:"styles_chip__zU48h","chip--green":"styles_chip--green__YHZLC","chip--blue":"styles_chip--blue__JInAU","chip--purple":"styles_chip--purple__JMDuW","chip--orange":"styles_chip--orange__WlAdz","chip--neutral":"styles_chip--neutral__t1jD7",chip__text:"styles_chip__text__8a2Vr","select-chip":"styles_select-chip__hCe5A","chip-button":"styles_chip-button__xoNsj",status:"styles_status__OG_dg","status--processing":"styles_status--processing__hEq9Y","status--ready":"styles_status--ready__vs9_m","status--waiting":"styles_status--waiting__6duyz","status--error":"styles_status--error__x_lHa","page-state":"styles_page-state__qTmn_","page-state--processing":"styles_page-state--processing___UGOz","page-state__progress":"styles_page-state__progress__Sjn6P","page-state--empty":"styles_page-state--empty__qR1G8","page-state--error":"styles_page-state--error__RbyuF","page-state__actions":"styles_page-state__actions__HLyJY"}},26780:(e,t,a)=>{"use strict";a.d(t,{r:()=>l});var s=a(37876),r=a(74158),n=a(60888);let l=(e,t)=>{let{id:a}=t;return(0,n.z)(e,e=>{let{children:t}=e;return(0,s.jsx)(r.B,{orgId:a,children:t})})}},27641:(e,t,a)=>{"use strict";a.d(t,{G:()=>k});var s=a(37876),r=a(13008),n=a(390),l=a(17405),o=a(61112),i=a(53452),c=a(69875),d=a(17700),u=a(85377),p=a(84933),_=a(69241),m=a(29157),g=a(5661),h=a(48615),x=a(79185),f=a(77632),v=a(19437),y=a.n(v),b=a(11163),j=a(74016),w=a(50593),N=a(98971),P=a(6131);let $=e=>{let{children:t,item:a,variant:r}=e;return(0,s.jsxs)(j.x,{item:a,className:(0,_.$)("relative flex w-full cursor-default select-none items-center text-xs outline-none focus:text-accent-foreground overflow-hidden","py-1.5 pl-3 pr-8","hover:data-[state=checked]:bg-red-200 active:data-[state=checked]:bg-red-400","hover:cursor-pointer hover:bg-gray-50 active:bg-gray-400 justify-between relative","product"===r&&"!min-h-[30px] !rounded-[7px] !px-[7px] !py-0 !text-[11px] !font-normal
1!text-[#454961] hover:!bg-[#eef4ff] hover:!text-[#0a5cfe] data-[state=checked]:!bg-[#eef4ff] data-[state=checked]:!text-[#0a5cfe]"),children:[(0,s.jsx)(w.K,{className:"overflow-hidden text-ellipsis break-keep whitespace-nowrap",children:t}),(0,s.jsx)(N.Q,{children:(0,s.jsx)(P.A,{className:"fill-green-500 w-2 h-2 absolute right-5 top-1/2 -translate-y-1/2"})})]})},k=e=>{let{errors:t,value:a,totalCount:v,placeholder:j,multiple:w,collection:N,onSearch:P,isLoading:k,onValueChange:C,selectedItemView:R,searchable:T,children:A,variant:D="large",triggerProps:E,closeOnSelect:I,className:V,positionerClassName:M,disabled:S,positioning:F}=e,[O,X]=(0,p.eY)(!1),q=null!=T?T:!!(v&&v>5),K="product"===D&&q&&!!w,L="product"===D&&!!w,z=(0,_.$)("error-message--ui-control",{"error-message--product-ui-control":"product"===D,"text-xs":"product"!==D}),B=(0,r.B)({value:a,closeOnSelect:I,disabled:S,positioning:F,multiple:!0,collection:N,selectionBehavior:K?"preserve":"clear",onInputValueChange:async e=>{let{inputValue:t}=e;await (P&&P(t))},onSelect:async e=>{let{value:t}=e;if(w)await (C&&C(t));else{let e=[];if(a)for(let s of t)a.includes(s)?B.clearValue(s):e.push(s);else e=t;await (C&&C(e))}},onOpenChange:async e=>{let{open:t}=e;X(t),t||await (P&&P(null))}});return(0,s.jsxs)(n.r,{value:B,lazyMount:!0,unmountOnExit:!0,"data-ui-component":"product"===D?"ProductSelect":void 0,"data-ui-variant":"product"===D?"".concat(q?"searchable-":"").concat(w?"multiple":"single"):void 0,className:V,children:[(0,s.jsxs)(l.x,{onClick:e=>{!(e.target instanceof Element&&e.target.closest("[data-combobox-control-action]"))&&(S||O||B.setOpen(!0))},className:(0,_.$)("text-input__src grid grid-cols-[1fr_auto] gap-1 justify-between items-center w-full data-[placeholder-shown]:text-gray-400 semantic-breakout focus-within:border-blue-600",{"text-input__src--small":"small"===D,"text-input__src--loading":k,"!min-h-[34px] !rounded-[9px] !border-[#dfe4ec] !bg-white !px-[10px] !py-0 !text-[11px] !font-normal !leading-[16px] focus-within:!border-[rgba(10,92,254,0.28)] focus-within:!shadow-none":"product"===D,"!h-auto !py-[4px]":L}),children:[(0,s.jsxs)(o.X.div,{className:(0,_.$)("min-w-0",L?"flex flex-wrap items-center gap-1":"grid grid-cols-1 gap-2"),children:[a&&a.length>0?L?B.selectedItems.map(e=>{var t,a;let r=null!=(t=N.getItemValue(e))?t:"",n=null!=(a=N.stringifyItem(e))?a:r;return(0,s.jsxs)("span",{title:n,className:(0,_.$)(y().chip,y()["chip--blue"],y()["select-chip"]),children:[(0,s.jsx)("span",{className:y().chip__text,children:n}),(0,s.jsx)("button",{type:"button","aria-label":"УдалиÑÑ ".concat(n),"data-combobox-control-action":"remove",onPointerDown:e=>{e.preventDefault(),e.stopPropagation(),null==C||C(B.value.filter(e=>e!==r))},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:e=>{e.preventDefault(),e.stopPropagation(),null==C||C(B.value.filter(e=>e!==r))},children:(0,s.jsx)(h.yGN,{"aria-hidden":"true"})})]},r)}):R?R(O):(0,s.jsx)("div",{title:B.valueAsString,className:(0,_.$)("block max-w-full overflow-hidden text-ellipsis whitespace-nowrap leading-[16px]",q&&O&&"hidden"),children:B.valueAsString}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(o.X.div,{className:(0,_.$)("placeholder",(q||(!O||a&&0!==a.length)&&(O||a&&0!==a.length))&&(!q||O||a&&0!==a.length)?"hidden":"flex"),children:j}),(0,s.jsx)(i.o,{placeholder:j,className:(0,_.$)("z-10 hidden min-w-0 w-full",{"data-[state=open]:flex":q,"flex-1 text-[11px] font-normal leading-[16px] outline-none placeholder:text-[#a0a4b5]":"product"===D,"!w-auto !min-w-[90px] !basis-[90px]":L})})]}),(0,s.jsxs)("div",{className:"relative z-10 flex items-center gap-1",children:[L&&(null==a?void 0:a.length)&&!S?(0,s.jsx)("button",{type:"button","aria-label":"ÐÑиÑÑиÑÑ Ð²ÑбÑаннÑе знаÑениÑ","data-combobox-control-action":"clear",className:"grid h-5 w-5 place-items-center rounded-[5px] text-[#85899e] hover:bg-[#f0f2f6] hover:text-[#454961] focus-visible:outline focus-visible:outline-2 focus-visible:outline-[#b8cbff]",onPointerDown:e=>{e.preventDefault(),e.stopPropagation(),B.setInputValue(""),null==C||C([])},onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},onClick:e=>{e.preventDefault(),e.stopPropagation(),B.setInputValue(""),null==C||C([])},children:(0,s.jsx)(h.yGN,{"aria-hidden":"true",className:"h-3 w-3"})}):null,(0,s.jsx)(o.X.button,{...(0,g.v6)(null!=E?E:{},{className:(0,_.$)("focus-visible:outline-none data-[disabled]:cursor-default","product"!==D&&"semantic-breakout__target after:rounded-[5px] after:w-full after:h-full after:top-[0px] after:left-[0px] data-[disabled]:after:cursor-default")},{...B.getTriggerProps({focusable:!0}),..."product"===D&&"string"==typeof j?{"aria-label":j}:{}}),children:(0,s.jsx)(x.A,{className:(0,_.$)("w-2 h-1 fill-control-accent",{"rotate-180":O})})})]})]}),v&&v>0&&0===N.items.length?(0,s.jsx)(o.X.span,{className:z,children:(0,s.jsx)(m.T,{keyName:"common.search.not-found",defaultValue:"ÐиÑего не найдено"})}):(0,s.jsx)(s.Fragment,{}),Array.isArray(t)?t.length>0?(0,s.jsx)(o.X.ul,{className:"product"===D?void 0:"leading-none",children:t.map((e,t)=>(0,s.jsx)(o.X.li,{children:(0,s.jsx)(o.X.span,{className:z,children:e})},t))}):(0,s.jsx)(s.Fragment,{}):t?(0,s.jsx)(o.X.span,{className:(0,_.$)(z,"product"!==D&&"leading-none"),children:t}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)(c.Z,{children:(0,s.jsx)(d.o,{className:M,children:N.items.length>0?(0,s.jsx)(u.h,{className:(0,_.$)("z-[1050] bg-white rounded-md","bg-white text-black shadow-md w-full overflow-hidden","border border-indigo-950/30","space-y-1 overflow-hidden","product"===D&&"!min-w-[220px] !rounded-[11px] !border-[#e7ebf2] !p-[6px] !shadow-[0_16px_40px_rgba(24,32,79,0.15)]"),children:(0,s.jsx)(b.q,{className:(0,_.$)("max-h-32 [&>div]:overflow-hidden [&>div]:!flex [&>div]:flex-col","product"===D&&"!max-h-40"),children:A?A(N.items):N.items.map((e,t)=>(0,s.jsx)($,{item:e,variant:D,children:N?N.stringifyItem(e):f.b.itemToString(e)},t))})}):(0,s.jsx)(s.Fragment,{})})})]})}},35063:(e,t,a)=>{"use strict";a.d(t,{k:()=>o});var s=a(37876),r=a(14232),n=a(69241);let l=e=>e&&("string"==typeof e||Array.isArray(e)),o=(0,r.forwardRef)((e,t)=>{let{placeholder:a,className:r,variant:o,after:i,before:c,type:d,errors:u,inputClassName:p,isLoading:_,disabled:m,errorContainerClassName:g,readOnly:h,...x}=e;return(0,s.jsxs)("div",{className:(0,n.$)("text-input",r),children:[c?(0,s.jsx)("div",{className:"text-input__before-assets",children:c}):null,(0,s.jsx)("input",{...x,type:null!=d?d:"text",disabled:m,placeholder:a,className:(0,n.$)("text-input__src",{"text-input__src--readonly":h,"text-input__src--disabled":m,"text-input__src--loading":_,"text-input__src--error":l(u),"text-input__src--small":"small"===o},p),ref:t}),i?(0,s.jsx)("div",{className:"text-input__after-assets",children:i}):null,l(u)?Array.isArray(u)?(0,s.jsx)("ul",{className:(0,n.$)("error-message--ui-control",g,"small"===o?"error-message--small":null),children:u.map((e,t)=>(0,s.jsx)("li",{className:"mt-1",children:e},t))}):(0,s.jsx)("div",{className:(0,n.$)("mt-1 error-message--ui-control",g,"small"===o?"error-message--small":null),children:u}):null]})});o.displayName="TextInput"},36225:(e,t,a)=>{"use strict";a.d(t,{$:()=>l});var s=a(37876),r=a(14232),n=a(69241);let l=(0,r.forwardRef)((e,t)=>
1{let{rounded:a,outline:r,children:l,highlight:o,className:i,iconBefore:c,primary:d,danger:u,small:p,..._}=e;return(0,s.jsxs)("button",{ref:t,className:(0,n.$)("btn",{"btn--small":p,"btn--primary":d,"btn--danger":u,"btn--rounded":a,"btn--highlight":o,"btn--outline":r},i),..._,children:[c,l]})})},36397:(e,t,a)=>{"use strict";a.d(t,{Ad:()=>s,Bb:()=>i,RH:()=>o,X2:()=>c,to:()=>n,wM:()=>l,xv:()=>r});class s extends Error{constructor(e,t){super("Api error response"),this.status=e,this.response=t,this.name="ApiErrorResponse",this.response=t}}class r extends Error{constructor(e,t){super("Bad api request"),this.apiErrors=e,this.response=t,this.name="ApiBadRequest",this.response=t}}class n extends Error{constructor(e){super("Файл ÑлиÑком болÑÑой."),this.response=e,this.name="ApiContentTooLarge",this.response=e}}class l extends Error{constructor(e,t){super(e),this.message=e,this.response=t,this.message=e,this.name="ApiUnauthorizedResponse",this.response=t}}class o extends Error{constructor(e,t){super(e),this.response=t,this.name="ApiForbiddenResponse",this.response=t}}class i extends Error{constructor(e,t){super("Api not found response"),this.messageList=e,this.response=t,this.name="ApiNotFoundResponse",this.response=t}}class c extends Error{constructor(e){super("Api not acceptable response"),this.response=e,this.name="ApiNotAcceptableResponse",this.response=e}}},36712:e=>{e.exports={container:"Toast_container__NVgCj",toast:"Toast_toast__9cRM6",progress:"Toast_progress__C_G9s"}},37380:(e,t,a)=>{"use strict";a.d(t,{M:()=>r,h:()=>n});var s=a(14232);let r=(0,s.createContext)(null),n=()=>{let e=(0,s.useContext)(r);if(null==e)throw Error("Dialog components must be wrapped in <Dialog />");return e}},37723:(e,t,a)=>{"use strict";a.d(t,{S:()=>l});var s=a(37876),r=a(69241),n=a(14232);let l=(0,n.forwardRef)((e,t)=>{let{children:a,className:l,value:o,indeterminate:i,disabled:c,labelClassName:d,...u}=e,p=(0,n.useRef)(null),_=t||p;return(0,n.useEffect)(()=>{_&&"current"in _&&_.current&&(_.current.indeterminate=!!i)},[_,i]),(0,s.jsxs)("label",{className:(0,r.$)("checkbox",{"checkbox--disabled":c},l),children:[(0,s.jsx)("input",{...u,className:(0,r.$)("checkbox__src",i&&"checkbox__indeterminate"),type:"checkbox",checked:o,ref:_,disabled:c}),(0,s.jsx)("span",{className:"checkbox__mark"}),a?(0,s.jsx)("span",{className:(0,r.$)("checkbox__text",d),children:a}):null]})});l.displayName="Checkbox"},40416:(e,t,a)=>{"use strict";a.d(t,{c:()=>c});var s=a(37876),r=a(5661),n=a(14232),l=a(61112),o=a(13513),i=a(67949);let c=(0,n.forwardRef)((e,t)=>{let a=(0,i.K)(),n=(0,o.c)(),c=(0,r.v6)({...a.getTriggerProps(),"aria-controls":n.unmounted?void 0:a.getTriggerProps()["aria-controls"]},e);return(0,s.jsx)(l.X.button,{...c,ref:t})});c.displayName="MenuTrigger"},41687:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>X,default:()=>q});var s=a(37876),r=a(26780),n=a(69241),l=a(97192),o=a(85278),i=a(27459),c=a(32653),d=a(24627),u=a(89227),p=a(39703),_=a(49720),m=a(52443),g=a(18644);let h=(0,m.qA)(e=>{let t=e(p.tJ),a=e(p.l8);return{refetchOnMount:!0,queryKey:["org",t,"admin",a],queryFn:()=>g.u.get("/user/org/".concat(t,"/admin"),{params:{search:a}}).then(e=>e.data)}});var x=a(29157);let f=e=>{let{cell:t,row:a}=e,r=a.original[t.column.id];return(0,s.jsx)("div",{className:"overflow-hidden items-center flex",children:(0,s.jsx)("span",{className:"overflow-hidden text-ellipsis break-keep whitespace-nowrap ",children:r?String(r):"â"})})};var v=a(21313),y=a(6545),b=a(99542),j=a(14232),w=a(84531),N=a(18334),P=a(62862),$=a(8348),k=a(52169),C=a(97260),R=a(67949),T=a(20017),A=a(7886),D=a(20382);let E=(0,b.eU)(),I=(0,j.createContext)({registerRef:e=>{},curentTrigger:{current:null}}),V=e=>{let{children:t}=e,{data:a}=(0,T.x)(),{menu:r,menuId:n,registerRef:l,curentTrigger:o}=M();return(0,s.jsxs)(P.h,{value:r,lazyMount:!0,unmountOnExit:!0,children:[(0,s.jsx)(I.Provider,{value:{curentTrigger:o,registerRef:l},children:t}),(0,s.jsx)($.y,{children:(0,s.jsxs)(k.r,{className:"dropdown dropdown--ark",children:[(0,s.jsx)(C.D,{className:"dropdown__item dropdown__item--sm",value:"edit",children:(0,s.jsx)(x.T,{keyName:"org.users.action.edit.text",defaultValue:"РедакÑиÑоваÑÑ"})}),(0,s.jsx)(C.D,{className:"dropdown__item dropdown__item--sm",value:"groups",children:(0,s.jsx)(x.T,{keyName:"org.users.action.groups.text",defaultValue:"ÐÑÑппÑ"})}),a.id!==n?(0,s.jsx)(C.D,{className:"dropdown__item dropdown__item--danger dropdown__item--sm",value:"block",children:(0,s.jsx)(x.T,{keyName:"org.users.action.block.text",defaultValue:"ÐаблокиÑоваÑÑ"})}):(0,s.jsx)(s.Fragment,{})]})})]})};V.useOpenAction=e=>{let t=(0,R.K)(),[a,s]=(0,o.fp)(E),{registerRef:r,curentTrigger:n}=(0,j.useContext)(I);return l=>{a===e?s(void 0):requestAnimationFrame(()=>{s(void 0),requestAnimationFrame(()=>{s(e)})}),l.currentTarget.isSameNode(n.current)||(r(l.currentTarget),requestAnimationFrame(()=>{t.reposition()}))}};let M=function(){let{refetch:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,o.Xr)(A._),a=(0,o.Xr)(D._1),{mutate:s}=(0,_.T)(),[r,n]=(0,o.fp)(E),l=(0,j.useRef)(null),i=(0,w.b)({open:void 0!==r,positioning:{getAnchorRect:()=>{var e,t;return null!=(t=null==(e=l.current)?void 0:e.getBoundingClientRect())?t:null}},onSelect:async l=>{let{value:o}=l;n(void 0);try{if(r)switch(o){case"edit":t(r);break;case"groups":a(r);break;case"block":s(r)}}catch(e){(0,N.Cp)(e,{extra:{action:o,inviteId:r}})}finally{await (null==e?void 0:e())}},onPointerDownOutside:e=>{n(void 0)}});return{curentTrigger:l,registerRef:e=>{l.current=e},menu:i,menuId:r}},S=[{accessorKey:"name",header:()=>(0,s.jsx)(x.T,{keyName:"org.users.table.hr.name",defaultValue:"ÐмÑ"}
1),cell:f,meta:{cellCn:"max-lg:text-[12px] max-lg:col-start-1 max-lg:row-start-1 max-lg:leading-none"}},{accessorKey:"email",header:"E-mail",cell:f,meta:{cellCn:"max-lg:col-start-1 max-lg:row-start-2 text-secondary-text underline max-lg:leading-none"}},{accessorKey:"position",header:()=>(0,s.jsx)(x.T,{keyName:"org.users.table.hr.position",defaultValue:"ÐолжноÑÑÑ"}),cell:f,meta:{cellCn:"max-lg:col-start-1 max-lg:row-start-3 text-secondary-text max-lg:leading-none"}},{id:"actions",header:()=>(0,s.jsx)(s.Fragment,{}),cell:e=>{let{row:t}=e,{isRefetching:a}=(0,o.md)(h),r=V.useOpenAction(t.id);return(0,s.jsx)("button",{disabled:a,className:(0,n.$)({"pointer-events-none":a},"size-8 bg-secondary text-secondary-content flex justify-center items-center rounded-lg"),onClick:r,children:a?(0,s.jsx)(y.y,{className:"!size-5 !border-2"}):(0,s.jsx)(v.IXD,{className:"size-3"})})},meta:{cellCn:"justify-end max-lg:col-start-2 max-lg:row-start-1 max-lg:row-end-5"}}],F=e=>{let{className:t}=e,{table:a,isLoading:r}=(()=>{let{data:e,isLoading:t,refetch:a}=(0,o.md)(h);return{table:(0,i.N4)({data:null!=e?e:[],columns:S,getCoreRowModel:(0,c.HT)(),getRowId:e=>e.id}),refetch:a,isLoading:t}})();return(()=>{let e=(0,o.md)(p.l8),t=(0,o.md)(p.tJ),a=(0,o.md)(d.l);(0,_.l)("success",()=>Promise.all([a.invalidateQueries({queryKey:["org",t,"blocked",e],refetchType:"none"}),a.invalidateQueries({queryKey:["org",t,"admin",e]})])),(0,u.N)("success",()=>Promise.all([a.invalidateQueries({queryKey:["org",t,"admin",e]})]))})(),(0,s.jsx)(V,{children:(0,s.jsx)(l.r,{table:a,isLoading:r,rowClassName:"grid-rows-[repeat(3,auto)] lg:grid-cols-[repeat(3,1fr)_60px] grid-cols-[1fr_auto] lg:grid-rows-1",className:(0,n.$)(t,"animate-show")})})},O=()=>(0,s.jsx)(F,{className:"row-start-3"});O.getLayout=r.r;var X=!0;let q=O},45832:(e,t,a)=>{"use strict";a.d(t,{X:()=>o});var s=a(37876),r=a(14232),n=a(80613),l=a(37380);let o=(0,r.forwardRef)(function(e,t){let{children:a,...o}=e,{setLabelId:i}=(0,l.h)(),c=(0,n.Bi)();return(0,r.useLayoutEffect)(()=>(i(c),()=>i(void 0)),[c,i]),(0,s.jsx)("h2",{...o,ref:t,id:c,children:a})})},49720:(e,t,a)=>{"use strict";a.d(t,{T:()=>p,l:()=>m});var s=a(37876),r=a(85278),n=a(29157),l=a(18334),o=a(40097),i=a(18644),c=a(9411),d=a(39703),u=a(23927);let p=()=>{let e=(0,r.md)(d.tJ),t=(0,r.Xr)(_);return(0,o.n)({mutationKey:["org",e,"user","status"],mutationFn:t=>i.u.post("/user/org/".concat(e,"/user/").concat(t,"/status")).then(e=>e.data),onSuccess:e=>{e.isBlocked?(0,c.f_)((0,s.jsx)(n.T,{keyName:"org.users.action.block.success",defaultValue:"ÐолÑзоваÑÐµÐ»Ñ Ð·Ð°Ð±Ð»Ð¾ÐºÐ¸Ñован"})):(0,c.f_)((0,s.jsx)(n.T,{keyName:"org.users.action.unblock.success",defaultValue:"ÐолÑзоваÑÐµÐ»Ñ ÑазблокиÑован"})),t("success")},onError:(t,a)=>{(0,c.aR)((0,s.jsx)(n.T,{keyName:"unknown-error-toast",defaultValue:"ÐÐµÐ¾Ð¶Ð¸Ð´Ð°Ð½Ð½Ð°Ñ Ð¾Ñибка. ÐожалÑйÑÑа, ÑвÑжиÑеÑÑ Ñ Ð¿Ð¾Ð´Ð´ÐµÑжкой."})),(0,l.Cp)(t,{extra:{orgId:e,variables:a}})}})},[_,m]=(0,u.s)()},55737:(e,t,a)=>{"use strict";a.d(t,{H:()=>s});let s="".concat("https://api.follow-up.tech/").concat("api")},61392:(e,t,a)=>{"use strict";a.d(t,{l:()=>l,x:()=>n});var s=a(23237),r=a(36397);let n=[e=>e,async e=>{var t,a,s,n,l;if(!(null==e||null==(t=e.response)?void 0:t.status)&&!(null==e||null==(a=e.request)?void 0:a.status))throw e;let o=null!=(l=null==e||null==(s=e.response)?void 0:s.status)?l:e.request.status,i=null==e||null==(n=e.response)?void 0:n.data;switch(o){case 400:throw new r.xv(i,e.response);case 401:{let{message:t}=i;throw new r.wM(t,e.response)}case 403:{let{message:t}=i;throw new r.RH(t,e.response)}case 404:throw new r.Bb(i,e.response);case 406:throw new r.X2(e.response);case 413:throw new r.to(e.response);default:throw new r.Ad(o,e.response)}}],l=[e=>{let t=s.Pc.getLanguage();return t&&e.headers&&(e.headers["X-Lang"]=t),e},e=>Promise.reject(e)]},61869:(e,t,a)=>{"use strict";a.d(t,{C:()=>i});var s=a(37876),r=a(14232),n=a(80613),l=a(69241),o=a(37380);let i=(0,r.forwardRef)(function(e,t){let{className:a,...r}=e,{context:i,...c}=(0,o.h)(),d=(0,n.SV)([c.refs.setFloating,t]),u=(0,s.jsx)(s.Fragment,{});return i.open&&(u=(0,s.jsx)(n.XF,{id:"page-wrapper",children:(0,s.jsx)(n.zR,{className:"z-[1000] flex flex-col items-center justify-start bg-[#10133f47] py-4 backdrop-blur-[2px]",lockScroll:!0,
1children:(0,s.jsx)(n.s3,{context:i,children:(0,s.jsx)("div",{className:(0,l.$)(a,"island p-[15px] rounded-[20px] self-center my-auto"),ref:d,"aria-labelledby":c.labelId,"aria-describedby":c.descriptionId,...c.getFloatingProps(r),children:r.children})})})})),u})},65922:(e,t,a)=>{"use strict";a.d(t,{z:()=>c});var s=a(37876),r=a(5661),n=a(14232),l=a(61112),o=a(13513),i=a(94947);let c=(0,n.forwardRef)((e,t)=>{let a=(0,i.h)(),n=(0,o.c)(),c=(0,r.v6)({...a.getTriggerProps(),"aria-controls":n.unmounted?void 0:a.getTriggerProps()["aria-controls"]},e);return(0,s.jsx)(l.X.button,{...c,ref:t})});c.displayName="DialogTrigger"},69180:(e,t,a)=>{"use strict";a.d(t,{S:()=>d});var s=a(37876),r=a(5661),n=a(86291),l=a(10677),o=a(1089),i=a(13513),c=a(94947);let d=e=>{let[t,{value:a,children:d}]=(0,l.s)(e),[u]=(0,n.s9)(t),p=(0,o.x)((0,r.v6)({present:a.open},t));return(0,s.jsx)(c.C,{value:a,children:(0,s.jsx)(n.pf,{value:u,children:(0,s.jsx)(i.j,{value:p,children:d})})})}},71372:(e,t,a)=>{"use strict";a.d(t,{r:()=>o});var s=a(37876),r=a(14232),n=a(80613),l=a(37380);let o=(0,r.forwardRef)(function(e,t){let{children:a,...o}=e,{setDescriptionId:i}=(0,l.h)(),c=(0,n.Bi)();return(0,r.useLayoutEffect)(()=>(i(c),()=>i(void 0)),[c,i]),(0,s.jsx)("p",{...o,ref:t,id:c,children:a})})},77632:(e,t,a)=>{"use strict";a.d(t,{b:()=>r});var s=a(75073);let r={itemToValue:e=>"string"==typeof e?e:(0,s.Gv)(e)&&(0,s.cK)(e,"value")?e.value:"",itemToString:e=>"string"==typeof e?e:(0,s.Gv)(e)&&(0,s.cK)(e,"label")?e.label:r.itemToValue(e),isItemDisabled:e=>!!((0,s.Gv)(e)&&(0,s.cK)(e,"disabled"))&&!!e.disabled}},79171:(e,t,a)=>{"use strict";a.d(t,{A1:()=>v,AD:()=>K,CY:()=>T,GJ:()=>E,Li:()=>D,MK:()=>X,NW:()=>b,Nv:()=>h,OC:()=>q,PV:()=>V,Qu:()=>L,Tl:()=>F,UD:()=>P,Wx:()=>H,Xz:()=>S,Yr:()=>G,Z1:()=>A,ZK:()=>w,_u:()=>j,bF:()=>R,gA:()=>z,gh:()=>f,gj:()=>M,hw:()=>C,iz:()=>O,kX:()=>$,lJ:()=>J,mv:()=>x,oU:()=>N,qY:()=>I,tS:()=>y,wi:()=>k});var s=a(37876),r=a(14232),n=a(69241),l=a(48615),o=a(61869),i=a(45832),c=a(71372),d=a(15654),u=a(35063),p=a(37723),_=a(27641),m=a(19437),g=a.n(m);let h=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,"data-ui-component":"ProductPage",className:(0,n.$)(g()["product-page"],t)})},x=e=>{let{actions:t,className:a,description:r,heading:l,meta:o,title:i,...c}=e;return(0,s.jsxs)("header",{...c,"data-ui-component":"ProductPageHeader",className:(0,n.$)(g()["product-page-header"],a),children:[(0,s.jsxs)("div",{className:g()["product-page-header__heading"],children:[null!=l?l:(0,s.jsxs)("div",{className:g()["product-page-header__title-row"],children:[(0,s.jsx)("h1",{className:g()["product-page-header__title"],children:i}),o?(0,s.jsx)("span",{className:g()["product-page-header__meta"],children:o}):null]}),r?(0,s.jsx)("p",{className:g()["product-page-header__description"],children:r}):null]}),t?(0,s.jsx)("div",{className:g()["product-page-header__actions"],children:t}):null]})},f=e=>{let{className:t,grow:a=!0,overflow:r="auto",padded:l=!0,surface:o=!0,...i}=e;return(0,s.jsx)("section",{...i,"data-ui-component":"ProductPageContent","data-ui-variant":o?"surface":"plain",className:(0,n.$)(g()["product-page-content"],o&&g()["product-page-content--surface"],l&&g()["product-page-content--padded"],a&&g()["product-page-content--grow"],g()["product-page-content--overflow-".concat(r)],t)})},v=(0,r.forwardRef)(function(e,t){let{className:a,tone:r="secondary",type:l="button","data-ui-component":o="ProductButton",...i}=e;return(0,s.jsx)("button",{...i,ref:t,type:l,"data-ui-component":o,"data-ui-variant":r,className:(0,n.$)(g().button,g()["button--".concat(r)],a)})}),y=(0,r.forwardRef)(function(e,t){let{className:a,...r}=e;return(0,s.jsx)(v,{...r,ref:t,"data-ui-component":"ProductIconButton",className:(0,n.$)(g()["icon-button"],a)})}),b=(0,r.forwardRef)(function(e,t){let{className:a,...r}=e;return(0,s.jsx)(p.S,{...r,ref:t,"data-ui-component":"ProductCheckbox",className:(0,n.$)(g().checkbox,a)})}),j=e=>{let{isLoading:t=!1,...a}=e;return(0,s.jsx)(_.G,{...a,isLoading:t,variant:"product"})},w=(0,r.forwardRef)(function(e,t){let{className:a,errorContainerClassName:r,inputClassName:l,...o}=e;return(0,s.jsx)(u.k,{...o,ref:t,"data-ui-component":"ProductTextInput","data-ui-variant":"text",className:(0,n.$)(g()["input-root"],a),errorContainerClassName:(0,n.$)("error-message--product-ui-control",r),inputClassName:(0,n.$)(g().input,l)})}),N=(0,r.forwardRef)(function(e,t){let{className:a,invalid:r,...l}=e;return(0,s.jsx)("input",{...l,ref:t,"aria-invalid":r||void 0,"data-ui-component":"ProductRawInput","data-ui-variant":"text",className:(0,n.$)(g()["raw-input"],r&&g()["raw-input--invalid"],a)})}),P=(0,r.forwardRef)(function(e,t){let{className:a,containerClassName:r,icon:l,...o}=e;return(0,s.jsxs)("label",{"data-ui-component":"ProductSearchInput","data-ui-variant":"search",className:(0,n.$)(g().search,r),children:[(0,s.jsx)("span",{className:g().search__icon,children:l}),(0,s.jsx)("input",{...o,ref:t,className:(0,n.$)(g().search__input,a)})]})}),$=e=>{let{children:t,className:a,error:r,help:l,label:o,...i}=e;return(0,s.jsxs)("div",{...i,"data-ui-component":"ProductField","data-ui-state":r?"error":"default",className:(0,n.$)(g().field,r&&g()["field--error"],a),children:[o?(0,s.jsx)("span",{className:g().field__label,children:o}):null,t,r||l?(0,s.jsx)("span",{className:g().field__help,children:null!=r?r:l}):null]})},k=e=>
1{let{className:t,invalid:a,...r}=e;return(0,s.jsx)("div",{...r,"aria-invalid":a||void 0,"data-ui-component":"ProductInputShell","data-ui-variant":"composite",className:(0,n.$)(g()["input-shell"],a&&g()["input-shell--invalid"],t)})},C=(0,r.forwardRef)(function(e,t){let{className:a,...r}=e;return(0,s.jsx)(o.C,{...r,ref:t,"data-ui-component":"ProductDialogContent",className:(0,n.$)(g()["dialog-content"],a)})}),R=e=>{let{className:t,closeLabel:a="ÐакÑÑÑÑ",description:r,onClose:o,title:u,...p}=e;return(0,s.jsxs)("header",{...p,"data-ui-component":"ProductDialogHeader",className:(0,n.$)(g()["dialog-header"],t),children:[(0,s.jsxs)("div",{className:g()["dialog-heading"],children:[(0,s.jsx)(i.X,{children:u}),r?(0,s.jsx)(c.r,{children:r}):null]}),o?(0,s.jsx)(y,{"aria-label":a,onClick:o,children:(0,s.jsx)(l.yGN,{"aria-hidden":"true"})}):(0,s.jsx)(d.H,{className:(0,n.$)(g().button,g()["icon-button"]),"aria-label":a,"data-ui-component":"ProductIconButton","data-ui-variant":"secondary",children:(0,s.jsx)(l.yGN,{"aria-hidden":"true"})})]})},T=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,"data-ui-component":"ProductDialogBody",className:(0,n.$)(g()["dialog-body"],t)})},A=e=>{let{className:t,...a}=e;return(0,s.jsx)("p",{...a,"data-ui-component":"ProductDialogMessage",className:(0,n.$)(g()["dialog-message"],t)})},D=e=>{let{className:t,...a}=e;return(0,s.jsx)("footer",{...a,"data-ui-component":"ProductDialogFooter",className:(0,n.$)(g()["dialog-footer"],t)})},E=(0,r.forwardRef)(function(e,t){let{className:a,size:r="default",...l}=e;return(0,s.jsx)("div",{...l,ref:t,"data-ui-component":"ProductPopoverContent","data-ui-variant":r,className:(0,n.$)(g().popover,"filter"===r&&g()["popover--filter"],a)})}),I=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,"data-ui-component":"ProductPopoverHeader",className:(0,n.$)(g()["popover-header"],t)})},V=(0,r.forwardRef)(function(e,t){let{className:a,width:r="default",...l}=e;return(0,s.jsx)("div",{...l,ref:t,"data-ui-component":"ProductActionMenu","data-ui-variant":r,className:(0,n.$)(g()["action-menu"],"wide"===r&&g()["action-menu--wide"],a)})}),M=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,"data-ui-component":"ProductActionMenuHeader",className:(0,n.$)(g()["action-menu__header"],t)})},S=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,"data-ui-component":"ProductActionMenuTitle",className:(0,n.$)(g()["action-menu__title"],t)})},F=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,"data-ui-component":"ProductActionMenuDescription",className:(0,n.$)(g()["action-menu__description"],t)})},O=(0,r.forwardRef)(function(e,t){let{className:a,description:r,icon:l,label:o,tone:i="default",trailing:c,type:d="button",...u}=e;return(0,s.jsxs)("button",{...u,ref:t,type:d,"data-ui-component":"ProductActionMenuItem","data-ui-variant":i,className:(0,n.$)(g()["action-menu__item"],"danger"===i&&g()["action-menu__item--danger"],a),children:[l?(0,s.jsx)("span",{className:g()["action-menu__icon"],children:l}):null,(0,s.jsxs)("span",{className:g()["action-menu__copy"],children:[(0,s.jsx)("span",{className:g()["action-menu__label"],children:o}),r?(0,s.jsx)("span",{className:g()["action-menu__item-description"],children:r}):null]}),c?(0,s.jsx)("span",{className:g()["action-menu__trailing"],children:c}):null]})}),X=e=>{let{className:t,...a}=e;return(0,s.jsx)("hr",{...a,"data-ui-component":"ProductActionMenuDivider",className:(0,n.$)(g()["action-menu__divider"],t)})},q=(0,r.forwardRef)(function(e,t){let{className:a,...r}=e;return(0,s.jsx)("div",{...r,ref:t,role:"tooltip","data-ui-component":"ProductTooltipContent",className:(0,n.$)(g()["product-tooltip"],a)})}),K=(0,r.forwardRef)(function(e,t){let{className:a,description:r,label:l,...o}=e;return(0,s.jsxs)("label",{"data-ui-component":"ProductToggle",className:(0,n.$)(g().toggle,a),children:[(0,s.jsxs)("span",{className:g().toggle__copy,children:[(0,s.jsx)("span",{className:g().toggle__label,children:l}),r?(0,s.jsx)("span",{className:g().toggle__description,children:r}):null]}),(0,s.jsx)("input",{...o,ref:t,className:g().toggle__input,type:"checkbox"}),(0,s.jsx)("span",{"aria-hidden":"true",className:g().toggle__control,children:(0,s.jsx)("span",{className:g().toggle__thumb})})]})}),L=e=>{let{children:t,className:a,onRemove:r,removeLabel:o="УдалиÑÑ",tone:i="green",...c}=e;return(0,s.jsxs)("span",{...c,"data-ui-component":"ProductChip","data-ui-variant":i,className:(0,n.$)(g().chip,g()["chip--".concat(i)],a),children:[(0,s.jsx)("span",{className:g().chip__text,children:t}),r?(0,s.jsx)("button",{type:"button","aria-label":o,onClick:r,children:(0,s.jsx)(l.yGN,{"aria-hidden":"true"})}):null]})},z=(0,r.forwardRef)(function(e,t){let{children:a,className:r,tone:l="green",type:o="button",...i}=e;return(0,s.jsx)("button",{...i,ref:t,type:o,"data-ui-component":"ProductChipButton","data-ui-variant":l,className:(0,n.$)(g().chip,g()["chip-button"],g()["chip--".concat(l)],r),children:(0,s.jsx)("span",{className:g().chip__text,children:a})})}),B=e=>{let{className:t,tone:a,...r}=e;return(0,s.jsx)("span",{...r,"data-ui-component":"ProductStatus","data-ui-variant":a,className:(0,n.$)(g().status,g()["status--".concat(a)],t)})},G=e=>{let{className:t,label:a,progress:r,progressLabel:l="Progress",...o}=e,i="number"==typeof r?Math.min(100,Math.max(0,Math.floor(r))):null;return(0,s.jsxs)("div",{...o,role:"status","aria-live":"polite","data-ui-component":"ProductProgressState",className:(0,n.$)(g()["page-state"],g()["page-state--processing"],t),children:[(0,s.jsxs)(B,{tone:"processing",children:[a,null!==i?" \xb7 ".concat(i,"%"):null]}),null!==i?(0,s.jsx)("div",{className:g()["page-state__progress"],role:"progressbar","aria-label":l,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":i,children:(0,s.jsx)("span",{style:{width:"".concat(i,"%")}})}):null]})},H=e=>{let{className:t,...a}=e;return(0,s.jsx)("div",{...a,role:"status","data-ui-component":"ProductEmptyState",className:(0,n.$)(g()["page-state"],g()["page-state--empty"],t)})},J=e=>{let{actions:t,children:a,className:r,...l}=e;return(0,s.jsxs)("div",{...l,role:"alert","data-ui-component":"ProductErrorState",className:(0,n.$)(g()["page-state"],g()["page-state--error"],r),children:[(0,s.jsx)("div",{children:a}),t?(0,s.jsx)("div",{className:g()["page-state__actions"],children:t}):null]})}},79185:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var s,r=a(14232);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var s in a)({}).hasOwnProperty.call(a,s)&&(e[s]=a[s])}return e}).apply(null,arguments)}let l=e=>r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 9.3 5.4"},e),s||(s=r.createElement("path",{d:"M.195.195c.26-.26.683-.26.943 0l3.529 3.529L8.195.195a.667.667 0 0 1 .943.943l-4 4a.667.667 0 0 1-.943 0l-4-4a.667.667 0 0 1 0-.943z"})))},81764:(e,t,a)=>{"use strict";a.d(t,{i:()=>g});var s=a(37876),r=a(5661),n=a(14232),l=a(18249),o=a(27814),i=a(10677),c=a(1089),d=a(13513),u=a(84531),p=a(67949),_=a(99621),m=a(80572);let g=e=>
1{let[t,a]=(0,i.s)(e),[g,h]=(0,l.P)()(a,["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","open","positioning","typeahead"]),x=(0,p.K)(),f=(0,_.t)(),{api:v,service:y}=(0,u.b)(g),b=(0,c.x)((0,r.v6)({present:v.open},t));(0,o.S)(()=>{f&&x&&(x.setChild(y),v.setParent(f))});let j=(0,n.useCallback)(()=>x?.getTriggerItemProps(v),[v,x]);return(0,s.jsx)(m.q,{value:j,children:(0,s.jsx)(_.U,{value:y,children:(0,s.jsx)(p.B,{value:v,children:(0,s.jsx)(d.j,{value:b,...h})})})})}},83836:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/org/[id]/users/admins",function(){return a(41687)}])},89227:(e,t,a)=>{"use strict";a.d(t,{N:()=>h,R:()=>m});var s=a(37876),r=a(24627),n=a(18334),l=a(29157),o=a(40097),i=a(85278),c=a(39703),d=a(18644),u=a(9411),p=a(23927),_=a(7886);let m=()=>{let e=(0,i.md)(c.tJ),t=(0,i.md)(_._),a=(0,i.md)(r.l),p=(0,i.Xr)(g);return(0,o.n)({mutationKey:["org",e,"user",t],mutationFn:async s=>{if(t){let r=await d.u.put("/user/org/".concat(e,"/user/").concat(t),s).then(e=>e.data);a.setQueryData(["org",e,"user",t],()=>(0,c.s_)(r)),p("success")}},onSuccess:()=>(0,u.f_)((0,s.jsx)(l.T,{keyName:"org.users.edit.success",defaultValue:"ÐÐ·Ð¼ÐµÐ½ÐµÐ½Ð¸Ñ Ð²Ð½ÐµÑенÑ"})),onError:(t,a)=>{(0,n.Cp)(t,{extra:{orgId:e,data:a}})}})},[g,h]=(0,p.s)()},97192:(e,t,a)=>{"use strict";a.d(t,{r:()=>i});var s=a(37876),r=a(69241),n=a(27459),l=a(29157),o=a(6545);let i=e=>{let{table:t,isLoading:a,className:i,noHead:c,rowClassName:d,emptyPlaceholder:u}=e;return(0,s.jsxs)("table",{className:(0,r.$)(i,"w-full grid grid-cols-1 grid-rows-[auto_1fr] text-[10px] lg:text-[14px] px-[20px] lg:p-0"),children:[c?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)("thead",{className:"bg-secondary text-secondary-content",children:t.getHeaderGroups().map(e=>(0,s.jsx)("tr",{className:(0,r.$)(d,"hidden lg:grid "),children:e.headers.map(e=>{var t;return(0,s.jsx)("th",{className:(0,r.$)(null==(t=e.column.columnDef.meta)?void 0:t.headerCn,"px-3 py-[15px] flex overflow-hidden font-semibold"),children:(0,n.Kv)(e.column.columnDef.header,e.getContext())},e.id)})},e.id))}),(0,s.jsx)("tbody",{className:"grid-cols-1 grid-flow-row auto-rows-fr font-medium divide-y-[1px] divide-separate-secondary",children:a?(0,s.jsx)("tr",{className:"flex h-full w-full",children:(0,s.jsx)("td",{className:"flex flex-grow justify-center items-center",children:(0,s.jsx)(o.y,{})})}):t.getRowModel().rows.length>0?t.getRowModel().rows.map(e=>(0,s.jsx)("tr",{className:(0,r.$)(d,"grid max-lg:py-[15px]"),children:e.getVisibleCells().map(e=>{var t;return(0,s.jsx)("td",{className:(0,r.$)("lg:px-3 lg:py-2 flex overflow-hidden",null==(t=e.column.columnDef.meta)?void 0:t.cellCn),children:(0,n.Kv)(e.column.columnDef.cell,e.getContext())},e.id)})},e.id)):(0,s.jsx)("tr",{className:"flex h-full w-full",children:(0,s.jsx)("td",{className:"flex flex-grow justify-center items-center text-secondary-content",children:null!=u?u:(0,s.jsx)(l.T,{keyName:"common.search.not-found",defaultValue:"ÐиÑего не найдено"})})})})]})}}},e=>{e.O(0,[7141,5587,289,8433,3594,8688,4933,8508,1061,6308,4e3,1726,2595,8513,4302,3197,5946,553,5183,1684,6987,7073,7365,4321,73,535,636,6593,8792],()=>e(e.s=83836)),_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.