PageSourceSearch

https://www.papyrus.com/chunk-3GZELM6E.js

js papyrus.com collected 2026-09-25 00:02:10 UTC 18,832 bytes, 2 lines download raw bytes

1import{a as He,b as Ve,c as ze}from"./chunk-ITLP4KXY.js";import{a as s}from"./chunk-WRMC6QJS.js";import{a as Me,f as se}from"./chunk-XLM4RFBD.js";import{a as je,b as Ge,c as Q,d as Ye}from"./chunk-HRHOADID.js";import"./chunk-DMFKIQAW.js";import"./chunk-FVH45NT7.js";import{b as J,c as q,d as Ne,e as x,f as $e,g as ve,i as ke}from"./chunk-YFPKEUSL.js";import"./chunk-3ICXMQFV.js";import{a as Pe}from"./chunk-HXB54FRB.js";import{b as De}from"./chunk-6PKH3KR6.js";import"./chunk-BLL3HEUP.js";import"./chunk-RX6PMT2E.js";import{b as O}from"./chunk-5CI3XQKA.js";import"./chunk-AFFS3J3T.js";import{b as l,c as b}from"./chunk-DOWVMEVY.js";import"./chunk-OTP7XGIZ.js";import{b as Fe}from"./chunk-Q5YWWFBM.js";import"./chunk-STHBGIKD.js";import{a as K}from"./chunk-OOJVWWZO.js";import{$ as M,Xa as I,c as we,vb as T,y as xe,z as W}from"./chunk-KSGNXWY7.js";import"./chunk-HGVM42XE.js";import"./chunk-IGMJC6Q6.js";import"./chunk-EGRHWZRV.js";import{Rb as N,tb as Le}from"./chunk-7GJ6CXYX.js";import"./chunk-FRDP2BN5.js";import{a as re,i as C}from"./chunk-S5SZ437D.js";import"./chunk-GIUIFHET.js";import{$c as U,B as _e,Pc as be,Xb as Oe,Ya as ye,eb as w,ha as Re,hc as _,na as D,oa as j,oc as P,pa as m,qa as Ae,ra as Te,sa as S,ta as Ce,ua as p,va as Ie}from"./chunk-BN7OOEKA.js";import{A as u,Ba as h,C as me,Fa as V,Ha as fe,Na as y,O as L,Oa as z,Q as Be,Qa as Ee,Ra as g,T as he,W as A,Y as te,ba as ge,da as v,ia as k,kc as Z,t as R}from"./chunk-QXAPDLYY.js";import{a as B,b as E}from"./chunk-BGTCPBC3.js";var Ze=(()=>{class t{constructor(e){this.converter=e}convert(e,i){return i===void 0&&(i=B({},e)),i.results=e.results.map(n=>B({},this.converter.convert(n,Q))),i}static{this.\u0275fac=function(i){return new(i||t)(g(Oe))}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var We=Ae(J);var G=m(We,t=>t[q]),Ke=m(G,t=>t&&t.entities),ie=t=>m(Ke,o=>C.entityLoaderStateSelector(o,t)),Je=t=>m(ie(t),o=>w.loaderValueSelector(o)),mt=()=>m(G,t=>t&&t.search||void 0),oe=t=>m(mt(),o=>o&&o[t]||void 0),X=t=>m(oe(t),o=>o&&o.searchParams||void 0),qe=t=>m(oe(t),o=>o&&o.pagination||void 0),Qe=t=>m(oe(t),o=>o&&o.pages||void 0),Xe=(t,o)=>m(X(t),Qe(t),(e,i)=>{let n=o||o===0?o:e?.page;return e&&i&&i[n]&&w.loaderLoadingSelector(i[n])||!1}),Bt=t=>m(X(t),Qe(t),(o,e)=>{let i=[];return o&&e&&[...Array(o.page+1).keys()].forEach(n=>{e[n]&&i.push(...w.loaderValueSelector(e[n]).results)}),i}),ht=t=>m(Bt(t),Ke,(o,e)=>o&&e&&o.map(i=>e.entities[i])||void 0),et=t=>m(ht(t),o=>o&&o.map(e=>w.loaderValueSelector(e))||void 0),ae=m(G,t=>t&&t.statuses||C.initialLoaderState),vt=m(ae,t=>w.loaderValueSelector(t)),ne=m(G,(t,o)=>t&&t.roles.entities[o]||C.initialLoaderState),ce=m(G,t=>t&&t.delete||C.initialLoaderState),tt=m(ce,t=>t&&w.loaderValueSelector(t)||C.initialLoaderState);var ue=(()=>{class t{constructor(e,i){this.store=e,this.userIdService=i}load(e){this.userIdService.takeUserId(!0).subscribe(i=>this.store.dispatch(new s.LoadB2BUser({userId:i,orgCustomerId:e})),()=>{})}getB2BUserValue(e){return this.store.select(Je(e)).pipe(L(Boolean))}get(e){let i=this.getB2BUserState(e).pipe(he(0),V(n=>{n.loading||n.success||n.error||this.load(e)}));return Be(()=>i.subscribe(),()=>this.getB2BUserValue(e))}searchB2BUsers(e,i){this.userIdService.takeUserId(!0).subscribe(n=>this.store.dispatch(new s.SearchB2BUsers({userId:n,searchParams:e,optimizationOptions:i})),()=>{})}getB2BUserSearchItemSearchParams(e){return this.store.select(X(e)).pipe(u(i=>i))}updateB2BUserSearchItemSearchParams(e){this.store.dispatch(new De(e,x))}getB2BUserSearchItemResults(e){return this.store.select(et(e))}getB2BUserSearchItemPagination(e){return this.store.select(qe(e))}getB2BUserSearchItemPageLoading(e,i){return this.store.select(Xe(e,i))}clearB2BUsersSearch(e){this.store.dispatch(new s.ClearB2BUsersSearch(e))}create(e){this.userIdService.takeUserId(!0).subscribe(i=>this.store.dispatch(new s.CreateB2BUser({userId:i,orgCustomerCreation:e})),()=>{})}update(e,i){this.userIdService.takeUserId(!0).subscribe(n=>this.store.dispatch(new s.UpdateB2BUser({userId:n,orgCustomerId:e,orgCustomerModification:i})),()=>{})}updateRole(e,i){this.userIdService.takeUserId(!0).subscribe(n=>this.store.dispatch(new s.UpdateB2BUserRole({userId:n,orgCustomerId:e,roleId:i})),()=>{})}updateSoldTos(e,i){this.userIdService.takeUserId(!0).subscribe(n=>this.store.dispatch(new s.UpdateB2BUserSoldTos({userId:n,orgCustomerId:e,soldToIds:i})),()=>{})}updateShipToAssignment(e,i){this.userIdService.takeUserId(!0).subscribe(n=>this.store.dispatch(new s.UpdateB2BUserShipToAssignment({userId:n,orgCustomerId:e,orgCustomerShipToAssignment:i})),()=>{})}updateStatus(e,i,n,f={}){this.userIdService.takeUserId(!0).subscribe(ee=>this.store.dispatch(new s.UpdateB2BUserStatus({userId:ee,orgCustomerIds:e,previousUsersStatuses:i,status:n,options:f})),()=>{})}getB2BUserState(e){return this.store.select(ie(e))}deleteB2BUsers(e,i){this.userIdService.takeUserId(!0).subscribe(n=>this.store.dispatch(new s.DeleteB2BUsers({userId:n,orgCustomerIds:e,deletedUsersStatuses:i})),()=>{})}deleteB2BUsersLoading(){return this.store.select(ce).pipe(u(e=>e?.loading),k())}getDeleteB2BUsersSuccess(){return this.store.select(tt).pipe(k())}static{this.\u0275fac=function(i){return new(i||t)(g(D),g(P))}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac})}}return t})();var pe=(()=>{class t{constructor(e,i){this.store=e,this.userIdService=i}load(e,i,n){this.userIdService.takeUserId(!0).subscribe(f=>this.store.dispatch(new s.LoadUserRoles(e,f,i,n)),()=>{})}getUserRoles(e,i=[],n){return this.store.pipe(j(ne,e),L(f=>this.needsToLoad(f)?(this.load(e,i.join(),n),!1):f.success),u(f=>f.value))}getUserRolesLoading(e){return this.store.pipe(j(ne,e),u(i=>i.loading),k())}needsToLoad(e){return!e.success&&!e.error&&!e.loading}static{this.\u0275fac=function(i){return new(i||t)(g(D),g(P))}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac})}}return t})();var de=(()=>{class t{constructor(e){this.store=e}getB2BUserStatuses(){return this.store.pipe(j(ae),L(e=>this.needsToLoad(e)?(this.load(),!1):e.success),u(e=>e.value),ge(1))}load(){this.store.dispatch(new s.LoadB2BUserStatuses)}needsToLoad(e){return!e.success&&!e.loading&&!e.error}static{this.\u0275fac=function(i){return new(i||t)(g(D))}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac})}}return t})();var it=(()=>{class t{constructor(e,i,n,f,ee){this.actions$=e,this.b2bUserConnector=i,this.routingService=n,this.userService=f,this.userIdService=ee,this.contextChange$=this.actions$.pipe(p(xe.CurrencyChange,W.LanguageChange,K.Logout)),this.loadB2BUser$=S(()=>this.actions$.pipe(p(s.LOAD_B2B_USER),u(r=>r.payload),h(({userId:r,orgCustomerId:a})=>this.b2bUserConnector.get(r,a).pipe(u(c=>new s.LoadB2BUserSuccess([c])),A(c=>R(new s.LoadB2BUserFail({orgCustomerId:a,error:T(c)}))))),_(this.contextChange$))),this.createB2BUser$=S(()=>this.actions$.pipe(p(s.CREATE_B2B_USER),u(r=>r.payload),me(({userId:r,orgCustomerCreation:a})=>this.b2bUserConnector.create(r,a).pipe(V(c=>this.redirectToUserDetails(c.customerId)),h(c=>[new s.CreateB2BUserSuccess(c),new N.UpdateBadgeCountForFeedData({amount:1,badgeType:M.NEW_USERS_COUNT,shouldDecrement:!1})]),A(c=>R(new s.CreateB2BUserFail(T(c)))))),_(this.contextChange$))),this.handleFailureForCreateB2BUser$=S(()=>this.actions$.pipe(p(s.CREATE_B2B_USER_FAIL),u(r=>b(r.payload?.status)?new O.NoOpAction:new l.AddMessage({text:{key:"users.createUserFailure_message"}
1,type:U.MSG_TYPE_ERROR})))),this.updateB2BUser$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER),u(r=>r.payload),h(({userId:r,orgCustomerId:a,orgCustomerModification:c})=>this.b2bUserConnector.update(r,a,c).pipe(u(d=>new s.UpdateB2BUserSuccess(d)),A(d=>R(new s.UpdateB2BUserFail({orgCustomerId:a,error:T(d)}))))),_(this.contextChange$))),this.handleSuccessForUpdateB2BUser$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SUCCESS),v(new l.AddMessage({text:{key:"users.updateUserSuccess_message"},type:U.MSG_TYPE_CONFIRMATION})))),this.handleFailureForUpdateB2BUser$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_FAIL),u(r=>r.payload),h(r=>{if(b(r?.error?.status))return[new O.NoOpAction];if(Array.isArray(r?.error?.details)){let a=r.error.details.filter(c=>c.message).map(c=>new l.AddMessage({text:{raw:c.message},type:U.MSG_TYPE_ERROR}));if(a.length)return a}return[new l.AddMessage({text:{key:"users.updateUserFailure_message"},type:U.MSG_TYPE_ERROR})]}))),this.updateB2BUserRole$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_ROLE),u(r=>r.payload),h(({userId:r,orgCustomerId:a,roleId:c})=>this.b2bUserConnector.updateRole(r,a,c).pipe(u(d=>new s.UpdateB2BUserRoleSuccess(d)),A(d=>R(new s.UpdateB2BUserRoleFail({orgCustomerId:a,error:T(d)}))))),_(this.contextChange$))),this.handleSuccessForUpdateB2BUserRole$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_ROLE_SUCCESS),v(new l.AddMessage({text:{key:"users.updateUserSuccess_message"},type:U.MSG_TYPE_CONFIRMATION})))),this.handleFailureForUpdateB2BUserRole$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_ROLE_FAIL),u(r=>r.payload),h(r=>{if(b(r?.error?.status))return[new O.NoOpAction];if(Array.isArray(r?.error?.details)){let a=r.error.details.filter(c=>c.message).map(c=>new l.AddMessage({text:{raw:c.message},type:U.MSG_TYPE_ERROR}));if(a.length)return a}return[new l.AddMessage({text:{key:"users.updateUserFailure_message"},type:U.MSG_TYPE_ERROR})]}))),this.updateB2BUserSoldTos$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SOLDTOS),u(r=>r.payload),h(({userId:r,orgCustomerId:a,soldToIds:c})=>this.b2bUserConnector.updateSoldTos(r,a,c).pipe(u(d=>new s.UpdateB2BUserSoldTosSuccess(d)),A(d=>R(new s.UpdateB2BUserSoldTosFail({orgCustomerId:a,error:T(d)}))))),_(this.contextChange$))),this.handleSuccessForUpdateB2BUserSoldTos$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SOLDTOS_SUCCESS),v(new l.AddMessage({text:{key:"users.updateUserSuccess_message"},type:U.MSG_TYPE_CONFIRMATION})))),this.handleFailureForUpdateB2BUserSoldTos$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SOLDTOS_FAIL),u(r=>r.payload),h(r=>{if(b(r?.error?.status))return[new O.NoOpAction];if(Array.isArray(r?.error?.details)){let a=r.error.details.filter(c=>c.message).map(c=>new l.AddMessage({text:{raw:c.message},type:U.MSG_TYPE_ERROR}));if(a.length)return a}return[new l.AddMessage({text:{key:"users.updateUserFailure_message"},type:U.MSG_TYPE_ERROR})]}))),this.updateB2BUserShipToAssignment$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SHIP_TO_ASSIGNMENT),u(r=>r.payload),h(({userId:r,orgCustomerId:a,orgCustomerShipToAssignment:c})=>this.b2bUserConnector.updateShipToAssignment(r,a,c).pipe(u(d=>new s.UpdateB2BUserShipToAssignmentSuccess(d)),A(d=>R(new s.UpdateB2BUserShipToAssignmentFail({orgCustomerId:a,error:T(d)}))))),_(this.contextChange$))),this.handleSuccessForUpdateB2BUserShipToAssignment$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SHIP_TO_ASSIGNMENT_SUCCESS),v(new l.AddMessage({text:{key:"users.shipToAssignmentUpdateSuccess_message"},type:U.MSG_TYPE_CONFIRMATION})))),this.handleFailureForUpdateB2BUserShipToAssignment$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SHIP_TO_ASSIGNMENT_FAIL),u(r=>b(r.payload?.error?.status)?new O.NoOpAction:new l.AddMessage({text:{key:"users.shipToAssignmentFailure_message"},type:U.MSG_TYPE_ERROR})))),this.checkSelfEmailUpdate$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_SUCCESS),u(r=>r.payload),fe(this.userService.get(),this.userIdService.getUserId()),h(([r,a])=>{let c=r.customerId===a.customerId&&r.email!==a.displayUid;return c&&this.routingService.go({cxRoute:"login"}),c?[new Fe.Logout]:[new s.OrganizationClearData]}),_(this.contextChange$))),this.searchB2BUsers$=S(()=>this.actions$.pipe(p(s.SEARCH_B2B_USERS),u(r=>r.payload),te(r=>this.b2bUserConnector.getB2BUsers(r.userId,r.searchParams,r.optimizationOptions).pipe(h(a=>{let c=a.results||[];return[new s.LoadB2BUserSuccess(c),new s.SearchB2BUsersSuccess(E(B({},r),{searchResultPage:a}))]}),A(a=>R(new s.SearchB2BUsersFail(E(B({},r),{error:T(a)})))))),_(this.contextChange$))),this.loadB2BUserStatuses$=S(()=>this.actions$.pipe(p(s.LOAD_B2B_USER_STATUSES),h(()=>this.b2bUserConnector.loadB2BUserStatuses().pipe(u(r=>new s.LoadB2BUserStatusesSuccess(r)),A(r=>R(new s.LoadB2BUserStatusesFail(T(r)))))),_(this.contextChange$))),this.loadUserRoles$=S(()=>this.actions$.pipe(p(s.LOAD_USER_ROLES),u(r=>r),te(r=>this.b2bUserConnector.loadUserRoles(r.userId,r.configurations,r.configurationsConjunction).pipe(u(a=>new s.LoadUserRolesSuccess({key:r.key,roleList:a})),A(a=>R(new s.LoadUserRolesFail({key:r.key,error:T(a)}))))),_(this.contextChange$))),this.updateB2BUserStatus$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_STATUS),u(r=>r.payload),h(({userId:r,orgCustomerIds:a,previousUsersStatuses:c,status:d,options:Y})=>this.b2bUserConnector.updateStatus(r,a,d).pipe(h(F=>{let H=[],Ue=this.getNumberOfStatusOccurrences(I.NEW,c),le=this.getNumberOfStatusOccurrences(I.LOCKED_OUT,c);return H.push(new s.UpdateB2BUserStatusSuccess({orgCustomerIds:a,status:d,resultStatus:F,options:Y})),Ue>0&&H.push(new N.UpdateBadgeCountForFeedData({amount:Ue,badgeType:M.NEW_USERS_COUNT,shouldDecrement:!0})),le>0&&H.push(new N.UpdateBadgeCountForFeedData({amount:le,badgeType:M.LOCKED_OUT_USERS_COUNT,shouldDecrement:!0})),H}),A(F=>R(new s.UpdateB2BUserStatusFail({orgCustomerIds:a,status:d,error:T(F)}))),_(this.contextChange$))))),this.handleSuccessForUpdateB2BUserStatus$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_STATUS_SUCCESS),u(r=>r.payload.status===I.ACTIVE?new l.AddMessage({text:{key:r.payload.options?.eachActivationRequiresEmailConfirmation?"users.activationEmailSent_message":"users.activationSent_message"}
1,type:U.MSG_TYPE_CONFIRMATION}):r.payload.status===I.INACTIVE?new l.AddMessage({text:{key:"users.userDeactivated_message"},type:U.MSG_TYPE_CONFIRMATION}):r.payload.status===I.REJECTED?new l.AddMessage({text:{key:"users.userRejectionSuccess_message",params:{count:r.payload.orgCustomerIds.length}},type:U.MSG_TYPE_CONFIRMATION}):new O.NoOpAction))),this.handleFailureForUpdateB2BUserStatus$=S(()=>this.actions$.pipe(p(s.UPDATE_B2B_USER_STATUS_FAIL),u(r=>{if(!b(r.payload?.error?.status)){if(r.payload.status===I.ACTIVE)return new l.AddMessage({text:{key:"users.userActivationFailure_message"},type:U.MSG_TYPE_ERROR});if(r.payload.status===I.INACTIVE)return new l.AddMessage({text:{key:"users.userDeactivationFailure_message"},type:U.MSG_TYPE_ERROR});if(r.payload.status===I.REJECTED)return new l.AddMessage({text:{key:"users.userRejectionFailure_message",params:{count:r.payload.orgCustomerIds.length}},type:U.MSG_TYPE_ERROR})}return new O.NoOpAction}))),this.deleteB2BUsers$=S(()=>this.actions$.pipe(p(s.DELETE_B2B_USERS),u(r=>r.payload),h(({userId:r,orgCustomerIds:a,deletedUsersStatuses:c})=>this.b2bUserConnector.deleteB2BUsers(r,a).pipe(h(()=>{let d=[],Y=this.getNumberOfStatusOccurrences(I.NEW,c),F=this.getNumberOfStatusOccurrences(I.LOCKED_OUT,c);return d.push(new s.DeleteB2BUsersSuccess(a)),Y>0&&d.push(new N.UpdateBadgeCountForFeedData({amount:Y,badgeType:M.NEW_USERS_COUNT,shouldDecrement:!0})),F>0&&d.push(new N.UpdateBadgeCountForFeedData({amount:F,badgeType:M.LOCKED_OUT_USERS_COUNT,shouldDecrement:!0})),d}),A(d=>R(new s.DeleteB2BUsersFail({error:T(d)}))))),_(this.contextChange$))),this.handleSuccessForDeleteB2BUsers$=S(()=>this.actions$.pipe(p(s.DELETE_B2B_USERS_SUCCESS),u(()=>new l.AddMessage({text:{key:"users.userDeletionSuccess_message"},type:U.MSG_TYPE_CONFIRMATION})))),this.handleFailureForDeleteB2BUsers$=S(()=>this.actions$.pipe(p(s.DELETE_B2B_USERS_FAIL),u(r=>b(r.payload?.status)?new O.NoOpAction:new l.AddMessage({text:{key:"users.userDeletionFailure_message"},type:U.MSG_TYPE_ERROR}))))}getNumberOfStatusOccurrences(e,i){return i.filter(n=>n===e).length}redirectToUserDetails(e){this.routingService.go({cxRoute:"userDetails",params:{customerId:e}})}static{this.\u0275fac=function(i){return new(i||t)(g(Ce),g(Ge),g(be),g(Le),g(P))}}static{this.\u0275prov=y({token:t,factory:t.\u0275fac})}}return t})();var ot=[it];var gt={lastUpdateTime:void 0,pages:{},pagination:void 0,sorts:[]},ft={lastUpdateTime:void 0,results:[]},Et=void 0,_t=void 0,Rt=void 0,At=void 0;function nt(t=At,o){switch(o.type){case s.LOAD_B2B_USER_SUCCESS:case s.UPDATE_B2B_USER_SUCCESS:case s.UPDATE_B2B_USER_ROLE_SUCCESS:case s.UPDATE_B2B_USER_SOLDTOS_SUCCESS:case s.UPDATE_B2B_USER_SHIP_TO_ASSIGNMENT_SUCCESS:return o.payload;case s.UPDATE_B2B_USER_STATUS_SUCCESS:return E(B({},t),{status:o.payload.resultStatus})}return t}function ct(t=gt,o){switch(o.type){case s.SEARCH_B2B_USERS:case s.SEARCH_B2B_USERS_FAIL:{let e=o,i=e.payload.searchParams,n=re(x,at)(void 0,e);return E(B({},t),{pages:E(B({},t.pages),{[i.page]:n})})}case s.SEARCH_B2B_USERS_SUCCESS:{let e=o,i=e.payload.searchResultPage,n=e.payload.searchParams,f=re(x,at)(t.pages&&B({},t.pages[n.page]),e);return E(B({},t),{lastUpdateTime:new Date().toISOString(),pagination:i.pagination,sorts:i.sorts,pages:E(B({},t.pages),{[n.page]:f})})}case s.CLEAR_B2B_USERS_SEARCH:return{searchParams:void 0,lastUpdateTime:new Date().toISOString(),pagination:void 0,sorts:void 0,pages:void 0,orderCard:void 0}}return t}function at(t=ft,o){switch(o.type){case s.SEARCH_B2B_USERS_SUCCESS:{let n=o.payload.searchResultPage.results.map(f=>f?.customerId);return E(B({},t),{lastUpdateTime:new Date().toISOString(),results:n})}case s.SEARCH_B2B_USERS_FAIL:return E(B({},t),{lastUpdateTime:new Date().toISOString()})}return t}function ut(t=Et,o){return o.type===s.LOAD_B2B_USER_STATUSES_SUCCESS?o.payload:t}function pt(t=_t,o){return o.type===s.LOAD_USER_ROLES_SUCCESS?o.payload.roleList:t}function dt(t=Rt,o){return o.type===s.DELETE_B2B_USERS_SUCCESS?o.payload:t}function Tt(){return{[q]:Re({entities:C.entityLoaderReducer(Ne,nt),search:Pe(x,ct),statuses:C.loaderReducer($e,ut),roles:C.entityLoaderReducer(ve,pt),delete:C.loaderReducer(ke,dt)})}}var Se=new Ee("OrganizationReducers"),St={provide:Se,useFactory:Tt};function Ct(t){return function(o,e){switch(e.type){case s.CLEAR_ORGANIZATION_DATA:o=void 0;break;case K.Logout:o=void 0;break;case W.LanguageChange:o=void 0;break}return t(o,e)}}function It(t){return function(o,e){return e.type===s.DELETE_B2B_USERS_SUCCESS&&(o=E(B({},o),{b2bUser:E(B({},o.b2bUser),{search:void 0})})),t(o,e)}}var Ut=[Ct,It];var lt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Z({type:t})}
1static{this.\u0275inj=z({providers:[St],imports:[Te.forFeature(J,Se,{metaReducers:Ut}),Ie.forFeature(ot)]})}}return t})();var us=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Z({type:t})}static{this.\u0275inj=z({providers:[ue,{provide:Ve,useExisting:ue},pe,{provide:ze,useExisting:pe},de,{provide:He,useExisting:de},ye(we),se,{provide:je,useClass:se},{provide:Q,useExisting:Me,multi:!0},{provide:Ye,useExisting:Ze,multi:!0}],imports:[_e,lt]})}}return t})();export{us as OrganizationBaseModule};
2//# sourceMappingURL=chunk-3GZELM6E.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.