PageSourceSearch

https://www.smarttask.io/chunk-4IQPVIND.js

js smarttask.io collected 2026-10-02 11:15:42 UTC 61,770 bytes, 2 lines download raw bytes

1import{j as n,k as a,m as l}from"./chunk-XSLDFPQL.js";import{h as ct}from"./chunk-RMYOL77E.js";import{Da as Ee,Ed as rt,Ga as he,Ib as fe,Jc as ce,K as qe,Mc as X,Nb as tt,Nc as q,Oa as Ye,Pc as te,Qa as Ne,Ub as Ce,Vb as ie,Vc as Re,Wb as ot,Wc as ge,Xc as Q,Yb as x,Zb as y,d as Z,gc as G,hc as $,ic as re,ja as ee,kb as et,lb as De,ma as Qe,mc as Ae,md as oe,nc as Se,nd as it,oa as m,pa as Xe,pc as Le,qc as Pe,sb as O,ua as de,va as pe,wc as st,xc as Oe,ya as ue,yc as b,za as Te}from"./chunk-HZJVRD5I.js";import{a as i,b as r}from"./chunk-ETF4AQIE.js";var nt=["toast-component",""];function Bs(e,t){if(e&1){let o=Le();G(0,"button",2),Oe("click",function(){de(o);let c=b();return pe(c.remove())}),G(1,"span",3),q(2,"\xD7"),$()()}}function Hs(e,t){if(e&1&&(Ae(0),q(1),Se()),e&2){let o=b(2);O(),te("[",o.duplicatesCount+1,"]")}}function zs(e,t){if(e&1&&(G(0,"div"),q(1),x(2,Hs,2,1,"ng-container"),$()),e&2){let o=b(),s=Q(0);X(s.titleClass),ie("aria-label",o.title()),O(),te(" ",o.title()," "),O(),y(o.duplicatesCount?2:-1)}}function Gs(e,t){if(e&1&&re(0,"div",6),e&2){let o=b(2),s=Q(0);X(s.messageClass),Pe("innerHTML",o.message(),De)}}function Ws(e,t){if(e&1&&(G(0,"div",7),q(1),$()),e&2){let o=b(2),s=Q(0);X(s.messageClass),ie("aria-label",o.message()),O(),te(" ",o.message()," ")}}function Ks(e,t){if(e&1&&x(0,Gs,1,3,"div",4)(1,Ws,2,4,"div",5),e&2){b();let o=Q(0);y(o.enableHtml?0:1)}}function Zs(e,t){if(e&1&&(G(0,"div"),re(1,"div",8),$()),e&2){let o=b();O(),ce("width",o.width()+"%")}}function $s(e,t){if(e&1){let o=Le();G(0,"button",2),Oe("click",function(){de(o);let c=b();return pe(c.remove())}),G(1,"span",3),q(2,"\xD7"),$()()}}function qs(e,t){if(e&1&&(Ae(0),q(1),Se()),e&2){let o=b(2);O(),te("[",o.duplicatesCount+1,"]")}}function Qs(e,t){if(e&1&&(G(0,"div"),q(1),x(2,qs,2,1,"ng-container"),$()),e&2){let o=b(),s=Q(0);X(s.titleClass),ie("aria-label",o.title()),O(),te(" ",o.title()," "),O(),y(o.duplicatesCount?2:-1)}}function Xs(e,t){if(e&1&&re(0,"div",6),e&2){let o=b(2),s=Q(0);X(s.messageClass),Pe("innerHTML",o.message(),De)}}function Ys(e,t){if(e&1&&(G(0,"div",7),q(1),$()),e&2){let o=b(2),s=Q(0);X(s.messageClass),ie("aria-label",o.message()),O(),te(" ",o.message()," ")}}function Ns(e,t){if(e&1&&x(0,Xs,1,3,"div",4)(1,Ys,2,4,"div",5),e&2){b();let o=Q(0);y(o.enableHtml?0:1)}}function ei(e,t){if(e&1&&(G(0,"div"),re(1,"div",8),$()),e&2){let o=b();O(),ce("width",o.width()+"%")}}var ne=class{toastId;config;message;title;toastType;toastRef;_onTap=new Z;_onAction=new Z;constructor(t,o,s,c,_,Y){this.toastId=t,this.config=o,this.message=s,this.title=c,this.toastType=_,this.toastRef=Y,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(t){this._onAction.next(t)}onAction(){return this._onAction.asObservable()}},_t={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing"},at=new Qe("ToastConfig"),me=class{_attachedHost;component;viewContainerRef;injector;constructor(t,o){this.component=t,this.injector=o}attach(t,o){return this._attachedHost=t,t.attach(this,o)}detach(){let t=this._attachedHost;if(t)return this._attachedHost=void 0,t.detach()}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},be=class{_attachedPortal;_disposeFn;attach(t,o){return this._attachedPortal=t,this.attachComponentPortal(t,o)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(t){this._disposeFn=t}},xe=class extends be{_hostDomElement;_appRef;constructor(t,o){super(),this._hostDomElement=t,this._appRef=o}attachComponentPortal(t,o){let s=rt(t.component,{environmentInjector:this._appRef.injector,elementInjector:t.injector});return this._appRef.attachView(s.hostView),this.setDisposeFn(()=>{this._appRef.detachView(s.hostView),s.destroy()}),o?this._hostDomElement.insertBefore(this._getComponentRootNode(s),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(s)),s}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},ti=(()=>{class e{_document=m(Te);_containerElement;ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let o=this._document.createElement("div");o.classList.add("overlay-container"),o.setAttribute("aria-live","polite"),this._document.body.appendChild(o),this._containerElement=o}static \u0275fac=function(s){return new(s||e)};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ye=class{_portalHost;constructor(t){this._portalHost=t}attach(t,o=!0){return this._portalHost.attach(t,o)}detach(){return this._portalHost.detach()}},oi=(()=>{class e{_overlayContainer=m(ti);_appRef=m(Ce);_document=m(Te);_paneElements=new Map;create(o,s){return this._createOverlayRef(this.getPaneElement(o,s))}getPaneElement(o="",s){return this._paneElements.get(s)||this._paneElements.set(s,{}),this._paneElements.get(s)[o]||(this._paneElements.get(s)[o]=this._createPaneElement(o,s)),this._paneElements.get(s)[o]}_createPaneElement(o,s){let c=this._document.createElement("div");return c.id="toast-container",c.classList.add(o),c.classList.add("toast-container"),s?s.getContainerElement().appendChild(c):this._overlayContainer.getContainerElement().appendChild(c),c}
vendor: 4,708 bytes, line 1
1_createPortalHost(o){return new xe(o,this._appRef)}_createOverlayRef(o){return new ye(this._createPortalHost(o))}static \u0275fac=function(s){return new(s||e)};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),Ie=class{_overlayRef;componentInstance;duplicatesCount=0;_afterClosed=new Z;_activate=new Z;_manualClose=new Z;_resetTimeout=new Z;_countDuplicate=new Z;constructor(t){this._overlayRef=t}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.closed}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(t,o){t&&this._resetTimeout.next(),o&&this._countDuplicate.next(++this.duplicatesCount)}},si=(()=>{class e{overlay=m(oi);_injector=m(ue);sanitizer=m(ct);ngZone=m(Ee);toastrConfig;currentlyActive=0;toasts=[];overlayContainer;previousToastMessage;index=0;constructor(){let o=m(at);this.toastrConfig=i(i({},o.default),o.config),o.config.iconClasses&&(this.toastrConfig.iconClasses=i(i({},o.default.iconClasses),o.config.iconClasses))}show(o,s,c={},_=""){return this._preBuildNotification(_,o,s,this.applyConfig(c))}success(o,s,c={}){let _=this.toastrConfig.iconClasses.success||"";return this._preBuildNotification(_,o,s,this.applyConfig(c))}error(o,s,c={}){let _=this.toastrConfig.iconClasses.error||"";return this._preBuildNotification(_,o,s,this.applyConfig(c))}info(o,s,c={}){let _=this.toastrConfig.iconClasses.info||"";return this._preBuildNotification(_,o,s,this.applyConfig(c))}warning(o,s,c={}){let _=this.toastrConfig.iconClasses.warning||"";return this._preBuildNotification(_,o,s,this.applyConfig(c))}clear(o){for(let s of this.toasts)if(o!==void 0){if(s.toastId===o){s.toastRef.manualClose();return}}else s.toastRef.manualClose()}remove(o){let s=this._findToast(o);if(!s||(s.activeToast.toastRef.close(),this.toasts.splice(s.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActive<this.toastrConfig.maxOpened&&this.toasts[this.currentlyActive]){let c=this.toasts[this.currentlyActive].toastRef;c.isInactive()||(this.currentlyActive=this.currentlyActive+1,c.activate())}return!0}findDuplicate(o="",s="",c,_){let{includeTitleDuplicates:Y}=this.toastrConfig;for(let N of this.toasts){let _e=Y&&N.title===o;if((!Y||_e)&&N.message===s)return N.toastRef.onDuplicate(c,_),N}return null}applyConfig(o={}){return i(i({},this.toastrConfig),o)}_findToast(o){for(let s=0;s<this.toasts.length;s++)if(this.toasts[s].toastId===o)return{index:s,activeToast:this.toasts[s]};return null}_preBuildNotification(o,s,c,_){return _.onActivateTick?this.ngZone.run(()=>this._buildNotification(o,s,c,_)):this._buildNotification(o,s,c,_)}_buildNotification(o,s,c,_){if(!_.toastComponent)throw new Error("toastComponent required");let Y=this.findDuplicate(c,s,this.toastrConfig.resetTimeoutOnDuplicate&&_.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&c||s)&&this.toastrConfig.preventDuplicates&&Y!==null)return Y;this.previousToastMessage=s;let N=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(N=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));let _e=this.overlay.create(_.positionClass,this.overlayContainer);this.index=this.index+1;let Ze=s;s&&_.enableHtml&&(Ze=this.sanitizer.sanitize(et.HTML,s));let se=new Ie(_e),ae=new ne(this.index,_,Ze,c,o,se),Fs=[{provide:ne,useValue:ae}],Vs=ue.create({providers:Fs,parent:this._injector}),Js=new me(_.toastComponent,Vs),$e=_e.attach(Js,_.newestOnTop);se.componentInstance=$e.instance;let le={toastId:this.index,title:c||"",message:s||"",toastRef:se,onShown:se.afterActivate(),onHidden:se.afterClosed(),onTap:ae.onTap(),onAction:ae.onAction(),portal:$e};return N||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{le.toastRef.activate()})),this.toasts.push(le),le}static \u0275fac=function(s){return new(s||e)};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),ii=(()=>{class e{ngZone=m(Ee);setInterval(o,s){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setInterval(()=>this.runInsideAngular(o),s)):window.setInterval(()=>
1o(),s)}setTimeout(o,s){return this.ngZone?this.ngZone.runOutsideAngular(()=>window.setTimeout(()=>this.runInsideAngular(o),s)):window.setTimeout(()=>o(),s)}runInsideAngular(o){this.ngZone?this.ngZone.run(()=>o()):o()}static \u0275fac=function(s){return new(s||e)};static \u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})(),lt=(()=>{class e{toastPackage=m(ne);toastrService=m(si);appRef=m(Ce);timeoutsService=m(ii);duplicatesCount;hideTime;width=he(-1);state=he("inactive");displayStyle=oe(()=>this.state()==="inactive"?"none":void 0);message=oe(()=>this.toastPackage.message);title=oe(()=>this.toastPackage.title);options=it(()=>this.toastPackage.config);originalTimeout=oe(()=>this.toastPackage.config.timeOut);toastClasses=oe(()=>`${this.toastPackage.toastType} ${this.toastPackage.config.toastClass}`);timeout;intervalId;afterActivateSubscription;manualClosedSubscription;timeoutResetSubscription;countDuplicateSubscription;constructor(){this.afterActivateSubscription=this.toastPackage.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.manualClosedSubscription=this.toastPackage.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.timeoutResetSubscription=this.toastPackage.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.countDuplicateSubscription=this.toastPackage.toastRef.countDuplicate().subscribe(o=>{this.duplicatesCount=o})}ngOnDestroy(){this.afterActivateSubscription.unsubscribe(),this.manualClosedSubscription.unsubscribe(),this.timeoutResetSubscription.unsubscribe(),this.countDuplicateSubscription.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){let o=this.options();this.state.set("active"),!(o.disableTimeOut===!0||o.disableTimeOut==="timeOut")&&o.timeOut&&(this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),o.timeOut),this.hideTime=new Date().getTime()+o.timeOut,o.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10)))}updateProgress(){let o=this.options();if(this.width()===0||this.width()===100||!o.timeOut)return;let s=new Date().getTime(),c=this.hideTime-s;this.width.set(c/o.timeOut*100),o.progressAnimation==="increasing"&&this.width.update(_=>100-_),this.width()<=0&&this.width.set(0),this.width()>=100&&this.width.set(100)}resetTimeout(){let o=this.options();clearTimeout(this.timeout),clearInterval(this.intervalId),this.state.set("active"),this.options.update(s=>r(i({},s),{timeOut:this.originalTimeout()})),this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),this.originalTimeout()),this.hideTime=new Date().getTime()+(this.originalTimeout()||0),this.width.set(-1),o.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){this.state()!=="removed"&&(this.toastPackage.triggerTap(),this.options().tapToDismiss&&this.remove())}stickAround(){this.state()!=="removed"&&this.options().disableTimeOut!=="extendedTimeOut"&&(clearTimeout(this.timeout),this.options.update(o=>r(i({},o),{timeOut:0})),this.hideTime=0,clearInterval(this.intervalId),this.width.set(0))}delayedHideToast(){let o=this.options();if(o.disableTimeOut===!0||o.disableTimeOut==="extendedTimeOut"||o.extendedTimeOut===0||this.state()==="removed")return;let s=o.extendedTimeOut;this.timeout=this.timeoutsService.setTimeout(()=>this.remove(),s),this.options.update(c=>r(i({},c),{timeOut:s})),this.hideTime=new Date().getTime()+(s||0),this.width.set(-1),o.progressBar&&(this.intervalId=this.timeoutsService.setInterval(()=>this.updateProgress(),10))}static \u0275fac=function(s){return new(s||e)};static \u0275cmp=fe({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(s,c){s&1&&st("mouseenter",function(){return c.stickAround()})("mouseleave",function(){return c.delayedHideToast()})("click",function(){return c.tapToast()}),s&2&&(X(c.toastClasses()),ce("display",c.displayStyle()))},attrs:nt,decls:5,vars:5,consts:[["type","button","aria-label","Close",1,"toast-close-button"],[3,"class"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"class","innerHTML"],["role","alert",3,"class"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(s,c){if(s&1&&(Re(0),x(1,Bs,3,0,"button",0),x(2,zs,3,5,"div",1),x(3,Ks,2,1),x(4,Zs,2,2,"div")),s&2){let _=ge(c.options());O(),y(_.closeButton?1:-1),O(),y(c.title()?2:-1),O(),y(c.message()?3:-1),O(),y(_.progressBar?4:-1)}},encapsulation:2,changeDetection:0})}return e})(),ri=(()=>{class e extends lt{params={easeTime:this.toastPackage.config.easeTime,easing:"ease-in"};elementRef=m(Ne);remove(){this.state()!=="removed"&&(clearTimeout(this.timeout),this.state.set("removed"),this.elementRef.nativeElement.classList.add("toast-out"),this.timeout=this.timeoutsService.setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.params.easeTime))}static \u0275fac=(()=>{let o;return function(c){return(o||(o=Ye(e)))(c||e)}})();static \u0275cmp=fe({type:e,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(s,c){s&1&&ot("toast-in"),s&2&&ce("--animation-easing",c.params.easing)("--animation-duration",c.params.easeTime+"ms")},features:[tt],attrs:nt,decls:5,vars:5,consts:[["type","button","aria-label","Close",1,"toast-close-button"],[3,"class"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"class","innerHTML"],["role","alert",3,"class"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(s,c){if(s&1&&(Re(0),x(1,$s,3,0,"button",0),x(2,Qs,3,5,"div",1),x(3,Ns,2,1),x(4,ei,2,2,"div")),s&2){let _=ge(c.options());O(),y(_.closeButton?1:-1),O(),y(c.title()?2:-1),O(),y(c.message()?3:-1),O(),y(_.progressBar?4:-1)}},styles:[".toast-in[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--animation-duration) var(--animation-easing)}.toast-out[_nghost-%COMP%]{animation:_ngcontent-%COMP%_toast-animation var(--animation-duration) var(--animation-easing) reverse forwards}@keyframes _ngcontent-%COMP%_toast-animation{0%{opacity:0}
1to{opacity:1}}"],changeDetection:0})}return e})(),ci=r(i({},_t),{toastComponent:ri}),dr=(e={})=>Xe([{provide:at,useValue:{default:ci,config:e}}]);var pr=r(i({},_t),{toastComponent:lt});var d=(function(e){return e.ADD_VIEW="[View] Create View",e.ADD_VIEWS="[View] Add Views",e.UPSERT_VIEW="[View] Upsert View",e.UPSERT_VIEWS="[View] Upsert Views",e.UPDATE_VIEW="[View] Update View",e.UPDATE_VIEWS="[View] Update Views",e.DELETE_VIEW="[View] Delete View",e.DELETE_VIEWS="[View] Delete Views",e.DELETE_ALL_VIEWS="[View] Delete All Views",e.DELETE_ALL="[View] Delete All",e.UPDATE_SELECTED_ID="[view] Update SelectedId",e})(d||{}),dt=class{constructor(t){this.selected_view_id=t,this.type=d.UPDATE_SELECTED_ID}},pt=class{constructor(t){this.view=t,this.type=d.ADD_VIEW}},ut=class{constructor(t){this.views=t,this.type=d.ADD_VIEWS}},Tt=class{constructor(t){this.view=t,this.type=d.UPSERT_VIEW}},Et=class{constructor(t){this.views=t,this.type=d.UPSERT_VIEWS}},ht=class{constructor(t){this.view=t,this.type=d.UPDATE_VIEW}},Dt=class{constructor(t){this.views=t,this.type=d.UPDATE_VIEWS}},ft=class{constructor(t){this.id=t,this.type=d.DELETE_VIEW}},Ct=class{constructor(t){this.ids=t,this.type=d.DELETE_VIEWS}};var At=class{constructor(){this.type=d.DELETE_ALL}};var I=l({selectId:e=>e.view_id}),_i=I.getInitialState({selected_view_id:void 0});function Dr(e=_i,t){switch(t.type){case d.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_view_id:t.selected_view_id}),e;case d.ADD_VIEW:return I.addOne(t.view,e);case d.ADD_VIEWS:return I.addMany(t.views,e);case d.UPSERT_VIEW:return I.upsertOne(t.view,e);case d.UPSERT_VIEWS:return I.upsertMany(t.views,e);case d.UPDATE_VIEW:return I.updateOne(t.view,e);case d.UPDATE_VIEWS:return I.updateMany(t.views,e);case d.DELETE_VIEW:return I.removeOne(t.id,e);case d.DELETE_VIEWS:return I.removeMany(t.ids,e);case d.DELETE_ALL_VIEWS:return I.removeMany(t.ids,e);case d.DELETE_ALL:return I.removeAll(e);default:return e}}var Ue=a("view"),{selectIds:fr,selectEntities:Cr,selectAll:Ar,selectTotal:Sr}=I.getSelectors(Ue),ai=e=>e.selected_view_id,Lr=n(Ue,ai),Pr=n(Ue,e=>{if(e.selected_view_id!=null)return e.entities[e.selected_view_id]});var p=(function(e){return e.ADD_TASK="[Task] Create Task",e.ADD_TASKS="[Task] Add Tasks",e.UPSERT_TASK="[Task] Upsert Task",e.UPSERT_TASKS="[Task] Upsert Tasks",e.UPDATE_TASK="[Task] Update Task",e.UPDATE_TASKS="[Task] Update Tasks",e.DELETE_TASK="[Task] Delete Task",e.DELETE_TASKS="[Task] Delete Tasks",e.DELETE_ALL_TASKS="[Task] Delete All Tasks",e.DELETE_ALL="[Task] Delete All",e.UPDATE_SELECTED_ID="[Task] Update SelectedId",e})(p||{}),St=class{constructor(t){this.selected_record_id=t,this.type=p.UPDATE_SELECTED_ID}},Lt=class{constructor(t){this.task=t,this.type=p.ADD_TASK}},Pt=class{constructor(t){this.tasks=t,this.type=p.ADD_TASKS}},Ot=class{constructor(t){this.task=t,this.type=p.UPSERT_TASK}},Rt=class{constructor(t){this.tasks=t,this.type=p.UPSERT_TASKS}},gt=class{constructor(t){this.task=t,this.type=p.UPDATE_TASK}},mt=class{constructor(t){this.tasks=t,this.type=p.UPDATE_TASKS}},bt=class{constructor(t){this.id=t,this.type=p.DELETE_TASK}},xt=class{constructor(t){this.ids=t,this.type=p.DELETE_TASKS}};var U=l({selectId:e=>e.record_id}),di=U.getInitialState({selected_record_id:void 0});function br(e=di,t){switch(t.type){case p.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_record_id:t.selected_record_id}),e;case p.ADD_TASK:return U.addOne(t.task,e);case p.ADD_TASKS:return U.addMany(t.tasks,e);case p.UPSERT_TASK:return U.upsertOne(t.task,e);case p.UPSERT_TASKS:return U.upsertMany(t.tasks,e);case p.UPDATE_TASK:return U.updateOne(t.task,e);case p.UPDATE_TASKS:return U.updateMany(t.tasks,e);case p.DELETE_TASK:return U.removeOne(t.id,e);case p.DELETE_TASKS:return U.removeMany(t.ids,e);case p.DELETE_ALL_TASKS:return U.removeMany(t.ids,e);case p.DELETE_ALL:return U.removeAll(e);default:return e}}var we=a("task"),{selectIds:xr,selectEntities:yr,selectAll:Ir,selectTotal:Ur}=U.getSelectors(we),pi=e=>e.selected_record_id,wr=n(we,pi),vr=n(we,e=>{if(e.selected_record_id!=null)return e.entities[e.selected_record_id]});var u=(function(e){return e.ADD_PROJECT="[Project] Create Project",e.ADD_PROJECTS="[Project] Add Projects",e.UPSERT_PROJECT="[Project] Upsert Project",e.UPSERT_PROJECTS="[Project] Upsert Projects",e.UPDATE_PROJECT="[Project] Update Project",e.UPDATE_PROJECTS="[Project] Update Projects",e.DELETE_PROJECT="[Project] Delete Project",e.DELETE_PROJECTS="[Project] Delete Projects",e.DELETE_ALL_PROJECTS="[Project] Delete All Projects",e.DELETE_ALL="[Project] Delete All",e.UPDATE_SELECTED_ID="[Project] Update SelectedId",e})(u||{}),yt=class{constructor(t){this.selected_project_id=t,this.type=u.UPDATE_SELECTED_ID}},It=class{constructor(t){this.project=t,this.type=u.ADD_PROJECT}},Ut=class{constructor(t){this.projects=t,this.type=u.ADD_PROJECTS}},wt=class{constructor(t){this.project=t,this.type=u.UPSERT_PROJECT}},vt=class{constructor(t){this.projects=t,this.type=u.UPSERT_PROJECTS}},jt=class{constructor(t){this.project=t,this.type=u.UPDATE_PROJECT}},Mt=class{constructor(t){this.projects=t,this.type=u.UPDATE_PROJECTS}},Ft=class{constructor(t){this.id=t,this.type=u.DELETE_PROJECT}},Vt=class{constructor(t){this.ids=t,this.type=u.DELETE_PROJECTS}};var w=l({selectId:e=>e.project_id}),Ti=w.getInitialState({selected_project_id:void 0});function Jr(e=Ti,t){switch(t.type){case u.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_project_id:t.selected_project_id}),e;case u.ADD_PROJECT:return w.addOne(t.project,e);case u.ADD_PROJECTS:return w.addMany(t.projects,e);case u.UPSERT_PROJECT:return w.upsertOne(t.project,e);case u.UPSERT_PROJECTS:return w.upsertMany(t.projects,e);case u.UPDATE_PROJECT:return w.updateOne(t.project,e);case u.UPDATE_PROJECTS:return w.updateMany(t.projects,e);case u.DELETE_PROJECT:return w.removeOne(t.id,e);case u.DELETE_PROJECTS:return w.removeMany(t.ids,e);case u.DELETE_ALL_PROJECTS:return w.removeMany(t.ids,e);case u.DELETE_ALL:return w.removeAll(e);default:return e}}var ve=a("project"),{selectIds:kr,selectEntities:Br,selectAll:Hr,selectTotal:zr}=w.getSelectors(ve),Ei=e=>e.selected_project_id,Gr=n(ve,Ei),Wr=n(ve,e=>{if(e.selected_project_id!=null)return e.entities[e.selected_project_id]});var hi=(function(e){return e.login="login",e.refresh_token_expired="refresh_token_expired",e.logout="logout",e.after_logout="after_logout",e.goto_login_page="goto_login_page",e.app_init_successful="app_init_successful",e.signalr_reconnected="signalr_reconnected",e.route_change_success="route_change_success",e.call_subscribe="call_subscribe",e.call_unsubscribe="call_unsubscribe",e.call_new="call_new",e.capacity_subscribe="capacity_subscribe",e.capacity_unsubscribe="capacity_unsubscribe",e.capacity_organization_update="capacity_organization_update",e.capacity_job_role_update="capacity_job_role_update",e.capacity_user_update="capacity_user_update",e.chat_subscribe="chat_subscribe",e.chat_unsubscribe="chat_unsubscribe",e.chat_channel_new="chat_channel_new",e.chat_channel_name_update="chat_channel_name_update",e.chat_channel_access_update="chat_channel_access_update",e.chat_channel_delete="
1chat_channel_delete",e.chat_channel_collaborators_upsert="chat_channel_collaborators_upsert",e.chat_channel_collaborators_remove="chat_channel_collaborators_remove",e.chat_channel_message_upsert="chat_channel_message_upsert",e.chat_channel_message_reaction="chat_channel_message_reaction",e.chat_channel_message_delete="chat_channel_message_delete",e.chat_popver_show="chat_popver_show",e.contact_view_subscribe="contact_view_subscribe",e.contact_view_unsubscribe="contact_view_unsubscribe",e.contact_view_upsert="contact_view_upsert",e.contact_view_order_update="contact_view_order_update",e.contact_view_name_update="contact_view_name_update",e.contact_view_delete="contact_view_delete",e.contact_view_column_upsert="contact_view_column_upsert",e.contact_view_column_delete="contact_view_column_delete",e.custom_field_subscribe="custom_field_subscribe",e.custom_field_unsubscribe="custom_field_unsubscribe",e.custom_field_create="custom_field_create",e.custom_field_update="custom_field_update",e.custom_field_type_update="custom_field_type_update",e.custom_field_delete="custom_field_delete",e.custom_field_project_create="custom_field_project_create",e.custom_field_project_delete="custom_field_project_delete",e.discussion_subscribe="discussion_subscribe",e.discussion_unsubscribe="discussion_unsubscribe",e.discussion_new="discussion_new",e.discussion_update="discussion_update",e.discussion_reactions_update="discussion_reactions_update",e.discussion_followers_update="discussion_followers_update",e.discussion_delete="discussion_delete",e.discussion_comment_new="discussion_comment_new",e.discussion_comment_update="discussion_comment_update",e.discussion_comment_reactions_update="discussion_comment_reactions_update",e.discussion_comment_delete="discussion_comment_delete",e.form_subscribe="form_subscribe",e.form_unsubscribe="form_unsubscribe",e.form_update="form_update",e.form_delete="form_delete",e.form_element_add="form_element_add",e.form_element_update="form_element_update",e.form_element_order_update="form_element_order_update",e.form_element_delete="form_element_delete",e.group_subscribe="group_subscribe",e.group_unsubscribe="group_unsubscribe",e.group_create="group_create",e.group_base_update="group_base_update",e.group_order_update="group_order_update",e.group_delete="group_delete",e.membership_subscribe="membership_subscribe",e.membership_unsubscribe="membership_unsubscribe",e.membership_access_update="membership_access_update",e.membership_add="membership_add",e.membership_update_role="membership_update_role",e.membership_remove="membership_remove",e.organization_subscribe="organization_subscribe",e.organization_unsubscribe="organization_unsubscribe",e.organization_users_refresh="organization_users_refresh",e.organization_users_new="organization_users_new",e.organization_user_delete="organization_user_delete",e.organization_user_role_update="organization_user_role_update",e.organization_user_name_update="organization_user_name_update",e.organization_user_avatar_update="organization_user_avatar_update",e.organization_user_job_details_update="organization_user_job_details_update",e.organization_user_about_me_update="organization_user_about_me_update",e.organization_user_manager_update="organization_user_manager_update",e.organization_user_status_update="organization_user_status_update",e.organization_user_karma_points_update="organization_user_karma_points_update",e.organization_user_ping="organization_user_ping",e.organization_holiday_upsert="organization_holiday_upsert",e.organization_holiday_delete="organization_holiday_delete",e.organization_force_refresh="organization_force_refresh",e.organization_user_subscribe="organization_user_subscribe",e.organization_user_unsubscribe="organization_user_unsubscribe",e.organization_user_notification_new="organization_user_notification_new",e.organization_user_notification_all_archive_state="organization_user_notification_all_archive_state",e.organization_user_notifications_archive_state="organization_user_notifications_archive_state",e.organization_admin_changed="organization_admin_changed",e.out_of_office_subscribe="out_of_office_subscribe",e.out_of_office_unsubscribe="out_of_office_unsubscribe",e.out_of_office_upsert="out_of_office_upsert",e.out_of_office_delete="out_of_office_delete",e.portfolio_subscribe="portfolio_subscribe",e.portfolio_unsubscribe="portfolio_unsubscribe",e.portfolio_create="portfolio_create",e.portfolio_name_update="portfolio_name_update",e.portfolio_icon_color_update="portfolio_icon_color_update",e.portfolio_order_update="portfolio_order_update",e.portfolio_column_upsert="portfolio_column_upsert",e.portfolio_column_delete="portfolio_column_delete",e.portfolio_delete="portfolio_delete",e.portfolio_projects_add="portfolio_projects_add",e.portfolio_project_order_update="portfolio_project_order_update",e.portfolio_project_remove="portfolio_project_remove",e.project_subscribe="project_subscribe",e.project_unsubscribe="project_unsubscribe",e.project_create="project_create",e.project_copied="project_copied",e.project_name_update="project_name_update",e.project_order_update="project_order_update",e.project_details_update="project_details_update",e.project_description_update="project_description_update",e.project_dates_update="project_dates_update",e.project_owner_update="project_owner_update",e.project_icon_color_update="project_icon_color_update",e.project_parent_update="project_parent_update",e.project_scheduling_update="project_scheduling_update",e.project_move_due_date_on_completion="project_move_due_date_on_completion",e.project_custom_field_value_update="project_custom_field_value_update",e.project_sprint_config_update="project_sprint_config_update",e.project_archive_update="project_archive_update",e.project_delete="project_delete",e.record_subscribe="record_subscribe",e.re
1cord_unsubscribe="record_unsubscribe",e.record_new="record_new",e.record_update="record_update",e.record_update_multiple="record_update_multiple",e.record_delete="record_delete",e.record_activity_new="record_activity_new",e.record_activity_update="record_activity_update",e.record_activity_delete="record_activity_delete",e.record_estimate_update="record_estimate_update",e.record_billable_update="record_billable_update",e.record_timelog_billable_update="record_timelog_billable_update",e.record_timelog_upsert="record_timelog_upsert",e.report_subscribe="report_subscribe",e.report_unsubscribe="report_unsubscribe",e.report_create="report_create",e.report_name_update="report_name_update",e.report_icon_color_update="report_icon_color_update",e.report_order_update="report_order_update",e.report_delete="report_delete",e.report_card_add="report_card_add",e.report_card_update="report_card_update",e.report_card_remove="report_card_remove",e.workflow_subscribe="workflow_subscribe",e.workflow_unsubscribe="workflow_unsubscribe",e.workflow_create="workflow_create",e.workflow_name_update="workflow_name_update",e.workflow_order_update="workflow_order_update",e.workflow_delete="workflow_delete",e.workflow_node_subscribe="workflow_node_subscribe",e.workflow_node_unsubscribe="workflow_node_unsubscribe",e.workflow_node_upsert="workflow_node_upsert",e.workflow_node_delete="workflow_node_delete",e.view_subscribe="view_subscribe",e.view_unsubscribe="view_unsubscribe",e.view_create="view_create",e.view_update="view_update",e.view_name_update="view_name_update",e.view_order_update="view_order_update",e.view_access_update="view_access_update",e.view_delete="view_delete",e.view_column_upsert="view_column_upsert",e.view_column_delete="view_column_delete",e})(hi||{});var Xr=(()=>{class e{constructor(){this.subject=new Z}broadcast(o){this.subject.next(o)}on(o,s){return this.subject.pipe(qe(c=>c.name===o)).subscribe(s)}static{this.\u0275fac=function(s){return new(s||e)}}static{this.\u0275prov=ee({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var T=(function(e){return e.ADD_USER="[OrganizationUser] Create User",e.ADD_USERS="[OrganizationUser] Add Users",e.UPSERT_USER="[OrganizationUser] Upsert User",e.UPSERT_USERS="[OrganizationUser] Upsert Users",e.UPDATE_USER="[OrganizationUser] Update User",e.UPDATE_USERS="[OrganizationUser] Update Users",e.DELETE_USER="[OrganizationUser] Delete User",e.DELETE_USERS="[OrganizationUser] Delete Users",e.DELETE_ALL_USERS="[OrganizationUser] Delete All Users",e.DELETE_ALL="[OrganizationUser] Delete All",e.UPDATE_SELECTED_ID="[OrganizationUser] Update SelectedId",e})(T||{}),Jt=class{constructor(t){this.selected_user_id=t,this.type=T.UPDATE_SELECTED_ID}},kt=class{constructor(t){this.user=t,this.type=T.ADD_USER}},Bt=class{constructor(t){this.users=t,this.type=T.ADD_USERS}},Ht=class{constructor(t){this.user=t,this.type=T.UPSERT_USER}},zt=class{constructor(t){this.users=t,this.type=T.UPSERT_USERS}},Gt=class{constructor(t){this.user=t,this.type=T.UPDATE_USER}},Wt=class{constructor(t){this.users=t,this.type=T.UPDATE_USERS}},Kt=class{constructor(t){this.id=t,this.type=T.DELETE_USER}},Zt=class{constructor(t){this.ids=t,this.type=T.DELETE_USERS}};var v=l({selectId:e=>e.user_id}),fi=v.getInitialState({selected_user_id:void 0});function tc(e=fi,t){switch(t.type){case T.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_user_id:t.selected_user_id}),e;case T.ADD_USER:return v.addOne(t.user,e);case T.ADD_USERS:return v.addMany(t.users,e);case T.UPSERT_USER:return v.upsertOne(t.user,e);case T.UPSERT_USERS:return v.upsertMany(t.users,e);case T.UPDATE_USER:return v.updateOne(t.user,e);case T.UPDATE_USERS:return v.updateMany(t.users,e);case T.DELETE_USER:return v.removeOne(t.id,e);case T.DELETE_USERS:return v.removeMany(t.ids,e);case T.DELETE_ALL_USERS:return v.removeMany(t.ids,e);case T.DELETE_ALL:return v.removeAll(e);default:return e}}var je=a("organizationUser"),{selectIds:oc,selectEntities:sc,selectAll:ic,selectTotal:rc}=v.getSelectors(je),Ci=e=>e.selected_user_id,cc=n(je,Ci),nc=n(je,e=>{if(e.selected_user_id!=null)return e.entities[e.selected_user_id]});var E=(function(e){return e.ADD_GROUP="[Group] Create Group",e.ADD_GROUPS="[Group] Add Groups",e.UPSERT_GROUP="[Group] Upsert Group",e.UPSERT_GROUPS="[Group] Upsert Groups",e.UPDATE_GROUP="[Group] Update Group",e.UPDATE_GROUPS="[Group] Update Groups",e.DELETE_GROUP="[Group] Delete Group",e.DELETE_GROUPS="[Group] Delete Groups",e.DELETE_ALL_GROUPS="[Group] Delete All Groups",e.DELETE_ALL="[Group] Delete All",e.UPDATE_SELECTED_ID="[group] Update SelectedId",e})(E||{}),$t=class{constructor(t){this.selected_group_id=t,this.type=E.UPDATE_SELECTED_ID}},qt=class{constructor(t){this.group=t,this.type=E.ADD_GROUP}},Qt=class{constructor(t){this.groups=t,this.type=E.ADD_GROUPS}},Xt=class{constructor(t){this.group=t,this.type=E.UPSERT_GROUP}},Yt=class{constructor(t){this.groups=t,this.type=E.UPSERT_GROUPS}},Nt=class{constructor(t){this.group=t,this.type=E.UPDATE_GROUP}},eo=class{constructor(t){this.groups=t,this.type=E.UPDATE_GROUPS}},to=class{constructor(t){this.id=t,this.type=E.DELETE_GROUP}},oo=class{constructor(t){this.ids=t,this.type=E.DELETE_GROUPS}};var j=l({selectId:e=>e.group_id}),Si=j.getInitialState({selected_group_id:void 0});function pc(e=Si,t){switch(t.type){case E.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_group_id:t.selected_group_id}),e;case E.ADD_GROUP:return j.addOne(t.group,e);case E.ADD_GROUPS:return j.addMany(t.groups,e);case E.UPSERT_GROUP:return j.upsertOne(t.group,e);case E.UPSERT_GROUPS:return j.upsertMany(t.groups,e);case E.UPDATE_GROUP:return j.updateOne(t.group,e);case E.UPDATE_GROUPS:return j.updateMany(t.groups,e);case E.DELETE_GROUP:return j.removeOne(t.id,e);case E.DELETE_GROUPS:return j.removeMany(t.ids,e);case E.DELETE_ALL_GROUPS:return j.removeMany(t.ids,e);case E.DELETE_ALL:return j.removeAll(e);default:return e}}var Me=a("group"),{selectIds:uc,selectEntities:Tc,selectAll:Ec,selectTotal:hc}=j.getSelectors(Me),Li=e=>e.selected_group_id,Dc=n(Me,Li),fc=n(Me,e=>
1{if(e.selected_group_id!=null)return e.entities[e.selected_group_id]});var h=(function(e){return e.ADD_MEMBER="[Membership] Create Member",e.ADD_MEMBERS="[Membership] Add Members",e.UPSERT_MEMBER="[Membership] Upsert Member",e.UPSERT_MEMBERS="[Membership] Upsert Members",e.UPDATE_MEMBER="[Membership] Update Member",e.UPDATE_MEMBERS="[Membership] Update Members",e.DELETE_MEMBER="[Membership] Delete Member",e.DELETE_MEMBERS="[Membership] Delete Members",e.DELETE_ALL_MEMBERS="[Membership] Delete All Members",e.DELETE_ALL="[Membership] Delete All",e.UPDATE_SELECTED_ID="[Membership] Update SelectedId",e})(h||{}),so=class{constructor(t){this.selected_membership_id=t,this.type=h.UPDATE_SELECTED_ID}},io=class{constructor(t){this.member=t,this.type=h.ADD_MEMBER}},ro=class{constructor(t){this.members=t,this.type=h.ADD_MEMBERS}},co=class{constructor(t){this.member=t,this.type=h.UPSERT_MEMBER}},no=class{constructor(t){this.members=t,this.type=h.UPSERT_MEMBERS}},_o=class{constructor(t){this.member=t,this.type=h.UPDATE_MEMBER}},ao=class{constructor(t){this.members=t,this.type=h.UPDATE_MEMBERS}},lo=class{constructor(t){this.membership_id=t,this.type=h.DELETE_MEMBER}},po=class{constructor(t){this.membership_ids=t,this.type=h.DELETE_MEMBERS}};var M=l({selectId:e=>e.membership_id}),Oi=M.getInitialState({selected_membership_id:void 0});function Pc(e=Oi,t){switch(t.type){case h.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_membership_id:t.selected_membership_id}),e;case h.ADD_MEMBER:return M.addOne(t.member,e);case h.ADD_MEMBERS:return M.addMany(t.members,e);case h.UPSERT_MEMBER:return M.upsertOne(t.member,e);case h.UPSERT_MEMBERS:return M.upsertMany(t.members,e);case h.UPDATE_MEMBER:return M.updateOne(t.member,e);case h.UPDATE_MEMBERS:return M.updateMany(t.members,e);case h.DELETE_MEMBER:return M.removeOne(t.membership_id,e);case h.DELETE_MEMBERS:return M.removeMany(t.membership_ids,e);case h.DELETE_ALL_MEMBERS:return M.removeMany(t.membership_ids,e);case h.DELETE_ALL:return M.removeAll(e);default:return e}}var Fe=a("membership"),{selectIds:Oc,selectEntities:Rc,selectAll:gc,selectTotal:mc}=M.getSelectors(Fe),Ri=e=>e.selected_membership_id,bc=n(Fe,Ri),xc=n(Fe,e=>{if(e.selected_membership_id!=null)return e.entities[e.selected_membership_id]});var R=(function(e){return e.ADD_CONTACTVIEW="[ContactView] Create View",e.UPSERT_CONTACTVIEW="[ContactView] Upsert View",e.ADD_CONTACTVIEWS="[ContactView] Add Views",e.UPSERT_CONTACTVIEWS="[ContactView] Upsert Views",e.UPDATE_CONTACTVIEW="[ContactView] Update View",e.UPDATE_CONTACTVIEWS="[ContactView] Update Views",e.DELETE_CONTACTVIEW="[ContactView] Delete View",e.DELETE_CONTACTVIEWS="[ContactView] Delete Views",e.DELETE_STATE="[ContactView] Delete State",e.UPDATE_SELECTED_ID="[ContactView] Update SelectedId",e})(R||{}),uo=class{constructor(t){this.selected_view_id=t,this.type=R.UPDATE_SELECTED_ID}};var To=class{constructor(t){this.view=t,this.type=R.UPSERT_CONTACTVIEW}},Eo=class{constructor(t){this.views=t,this.type=R.UPSERT_CONTACTVIEWS}},ho=class{constructor(t,o){this.view_id=t,this.changes=o,this.type=R.UPDATE_CONTACTVIEW}},Do=class{constructor(t){this.updates=t,this.type=R.UPDATE_CONTACTVIEWS}},fo=class{constructor(t){this.id=t,this.type=R.DELETE_CONTACTVIEW}},Co=class{constructor(t){this.ids=t,this.type=R.DELETE_CONTACTVIEWS}};var W=l({selectId:e=>e.view_id}),mi=W.getInitialState({selected_view_id:void 0});function vc(e=mi,t){switch(t.type){case R.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_view_id:t.selected_view_id}),e;case R.ADD_CONTACTVIEW:return W.addOne(t.view,r(i({},e),{selected_view_id:e.selected_view_id}));case R.ADD_CONTACTVIEWS:return W.addMany(t.views,r(i({},e),{selected_view_id:e.selected_view_id}));case R.UPSERT_CONTACTVIEW:return W.upsertOne(t.view,r(i({},e),{selected_view_id:e.selected_view_id}));case R.UPSERT_CONTACTVIEWS:return W.upsertMany(t.views,r(i({},e),{selected_view_id:e.selected_view_id}));case R.UPDATE_CONTACTVIEW:return W.updateOne({id:t.view_id,changes:t.changes},r(i({},e),{selected_view_id:e.selected_view_id}));case R.UPDATE_CONTACTVIEWS:return W.updateMany(t.updates,r(i({},e),{selected_view_id:e.selected_view_id}));case R.DELETE_CONTACTVIEW:return W.removeOne(t.id,r(i({},e),{selected_view_id:e.selected_view_id}));case R.DELETE_CONTACTVIEWS:return W.removeMany(t.ids,r(i({},e),{selected_view_id:e.selected_view_id}));case R.DELETE_STATE:return e.selected_view_id=void 0,W.removeAll(e);default:return e}}
1var Ve=a("contactView"),bi=e=>e.selected_view_id,jc=n(Ve,bi),Mc=n(Ve,e=>{if(e.selected_view_id!=null)return e.entities[e.selected_view_id]}),{selectIds:Fc,selectEntities:Vc,selectAll:Jc,selectTotal:kc}=W.getSelectors(Ve);var D=(function(e){return e.ADD_CUSTOM_FIELD="[CustomField] Create CustomField",e.ADD_CUSTOM_FIELDS="[CustomField] Add CustomFields",e.UPSERT_CUSTOM_FIELD="[CustomField] Upsert CustomField",e.UPSERT_CUSTOM_FIELDS="[CustomField] Upsert CustomFields",e.UPDATE_CUSTOM_FIELD="[CustomField] Update CustomField",e.UPDATE_CUSTOM_FIELDS="[CustomField] Update CustomFields",e.DELETE_CUSTOM_FIELD="[CustomField] Delete CustomField",e.DELETE_CUSTOM_FIELDS="[CustomField] Delete CustomFields",e.DELETE_ALL_CUSTOM_FIELDS="[CustomField] Delete All CustomFields",e.DELETE_ALL="[CustomField] Delete All",e.UPDATE_SELECTED_ID="[custom_field] Update SelectedId",e})(D||{}),Ao=class{constructor(t){this.selected_custom_field_id=t,this.type=D.UPDATE_SELECTED_ID}},So=class{constructor(t){this.custom_field=t,this.type=D.ADD_CUSTOM_FIELD}},Lo=class{constructor(t){this.custom_fields=t,this.type=D.ADD_CUSTOM_FIELDS}},Po=class{constructor(t){this.custom_field=t,this.type=D.UPSERT_CUSTOM_FIELD}},Oo=class{constructor(t){this.custom_fields=t,this.type=D.UPSERT_CUSTOM_FIELDS}},Ro=class{constructor(t){this.custom_field=t,this.type=D.UPDATE_CUSTOM_FIELD}},go=class{constructor(t){this.custom_fields=t,this.type=D.UPDATE_CUSTOM_FIELDS}},mo=class{constructor(t){this.id=t,this.type=D.DELETE_CUSTOM_FIELD}},bo=class{constructor(t){this.ids=t,this.type=D.DELETE_CUSTOM_FIELDS}};var F=l({selectId:e=>e.custom_field_id}),yi=F.getInitialState({selected_custom_field_id:void 0});function Wc(e=yi,t){switch(t.type){case D.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_custom_field_id:t.selected_custom_field_id}),e;case D.ADD_CUSTOM_FIELD:return F.addOne(t.custom_field,e);case D.ADD_CUSTOM_FIELDS:return F.addMany(t.custom_fields,e);case D.UPSERT_CUSTOM_FIELD:return F.upsertOne(t.custom_field,e);case D.UPSERT_CUSTOM_FIELDS:return F.upsertMany(t.custom_fields,e);case D.UPDATE_CUSTOM_FIELD:return F.updateOne(t.custom_field,e);case D.UPDATE_CUSTOM_FIELDS:return F.updateMany(t.custom_fields,e);case D.DELETE_CUSTOM_FIELD:return F.removeOne(t.id,e);case D.DELETE_CUSTOM_FIELDS:return F.removeMany(t.ids,e);case D.DELETE_ALL_CUSTOM_FIELDS:return F.removeMany(t.ids,e);case D.DELETE_ALL:return F.removeAll(e);default:return e}}var Je=a("customField"),{selectIds:Kc,selectEntities:Zc,selectAll:$c,selectTotal:qc}=F.getSelectors(Je),Ii=e=>e.selected_custom_field_id,Qc=n(Je,Ii),Xc=n(Je,e=>{if(e.selected_custom_field_id!=null)return e.entities[e.selected_custom_field_id]});var g=(function(e){return e.ADD_CONTACT="[Contact] Create Contact",e.UPSERT_CONTACT="[Contact] Upsert Contact",e.ADD_CONTACTS="[Contact] Add Contacts",e.UPSERT_CONTACTS="[Contact] Upsert Contacts",e.UPDATE_CONTACT="[Contact] Update Contact",e.UPDATE_CONTACTS="[Contact] Update Contacts",e.DELETE_CONTACT="[Contact] Delete Contact",e.DELETE_CONTACTS="[Contact] Delete Contacts",e.DELETE_STATE="[Contact] Delete State",e.UPDATE_SELECTED_ID="[Contact] Update SelectedId",e})(g||{}),xo=class{constructor(t){this.selected_record_id=t,this.type=g.UPDATE_SELECTED_ID}};var yo=class{constructor(t){this.contact=t,this.type=g.UPSERT_CONTACT}},Io=class{constructor(t){this.contacts=t,this.type=g.UPSERT_CONTACTS}},Uo=class{constructor(t,o){this.id=t,this.changes=o,this.type=g.UPDATE_CONTACT}},wo=class{constructor(t){this.updates=t,this.type=g.UPDATE_CONTACTS}},vo=class{constructor(t){this.id=t,this.type=g.DELETE_CONTACT}},jo=class{constructor(t){this.ids=t,this.type=g.DELETE_CONTACTS}};var K=l({selectId:e=>e.record_id}),wi=K.getInitialState({selected_record_id:void 0});function on(e=wi,t){switch(t.type){case g.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_record_id:t.selected_record_id}),e;case g.ADD_CONTACT:return K.addOne(t.contact,r(i({},e),{selected_record_id:e.selected_record_id}));case g.ADD_CONTACTS:return K.addMany(t.contacts,r(i({},e),{selected_record_id:e.selected_record_id}));case g.UPSERT_CONTACT:return K.upsertOne(t.contact,r(i({},e),{selected_record_id:e.selected_record_id}));case g.UPSERT_CONTACTS:return K.upsertMany(t.contacts,r(i({},e),{selected_record_id:e.selected_record_id}));
1case g.UPDATE_CONTACT:return K.updateOne({id:t.id,changes:t.changes},r(i({},e),{selected_record_id:e.selected_record_id}));case g.UPDATE_CONTACTS:return K.updateMany(t.updates,r(i({},e),{selected_record_id:e.selected_record_id}));case g.DELETE_CONTACT:return K.removeOne(t.id,r(i({},e),{selected_record_id:e.selected_record_id}));case g.DELETE_CONTACTS:return K.removeMany(t.ids,r(i({},e),{selected_record_id:e.selected_record_id}));case g.DELETE_STATE:return e.selected_record_id=void 0,K.removeAll(e);default:return e}}var ke=a("contact"),vi=e=>e.selected_record_id,sn=n(ke,vi),rn=n(ke,e=>{if(e.selected_record_id!=null)return e.entities[e.selected_record_id]}),{selectIds:cn,selectEntities:nn,selectAll:_n,selectTotal:an}=K.getSelectors(ke);var f=(function(e){return e.ADD_PORTFOLIO_PROJECT="[PortfolioProject] Create PortfolioProject",e.ADD_PORTFOLIO_PROJECTS="[PortfolioProject] Add PortfolioProjects",e.UPSERT_PORTFOLIO_PROJECT="[PortfolioProject] Upsert PortfolioProject",e.UPSERT_PORTFOLIO_PROJECTS="[PortfolioProject] Upsert PortfolioProjects",e.UPDATE_PORTFOLIO_PROJECT="[PortfolioProject] Update PortfolioProject",e.UPDATE_PORTFOLIO_PROJECTS="[PortfolioProject] Update PortfolioProjects",e.DELETE_PORTFOLIO_PROJECT="[PortfolioProject] Delete PortfolioProject",e.DELETE_PORTFOLIO_PROJECTS="[PortfolioProject] Delete PortfolioProjects",e.DELETE_ALL_PORTFOLIO_PROJECTS="[PortfolioProject] Delete All PortfolioProjects",e.DELETE_ALL="[PortfolioProject] Delete All",e.UPDATE_SELECTED_ID="[PortfolioProject] Update SelectedId",e})(f||{}),Mo=class{constructor(t){this.selected_project_id=t,this.type=f.UPDATE_SELECTED_ID}},Fo=class{constructor(t){this.portfolio_project=t,this.type=f.ADD_PORTFOLIO_PROJECT}},Vo=class{constructor(t){this.portfolio_projects=t,this.type=f.ADD_PORTFOLIO_PROJECTS}},Jo=class{constructor(t){this.portfolio_project=t,this.type=f.UPSERT_PORTFOLIO_PROJECT}},ko=class{constructor(t){this.portfolio_projects=t,this.type=f.UPSERT_PORTFOLIO_PROJECTS}},Bo=class{constructor(t){this.portfolio_project=t,this.type=f.UPDATE_PORTFOLIO_PROJECT}},Ho=class{constructor(t){this.portfolio_projects=t,this.type=f.UPDATE_PORTFOLIO_PROJECTS}},zo=class{constructor(t){this.id=t,this.type=f.DELETE_PORTFOLIO_PROJECT}},Go=class{constructor(t){this.ids=t,this.type=f.DELETE_PORTFOLIO_PROJECTS}};var V=l({selectId:e=>e.project.project_id}),Mi=V.getInitialState({selected_project_id:void 0});function Tn(e=Mi,t){switch(t.type){case f.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_project_id:t.selected_project_id}),e;case f.ADD_PORTFOLIO_PROJECT:return V.addOne(t.portfolio_project,e);case f.ADD_PORTFOLIO_PROJECTS:return V.addMany(t.portfolio_projects,e);case f.UPSERT_PORTFOLIO_PROJECT:return V.upsertOne(t.portfolio_project,e);case f.UPSERT_PORTFOLIO_PROJECTS:return V.upsertMany(t.portfolio_projects,e);case f.UPDATE_PORTFOLIO_PROJECT:return V.updateOne(t.portfolio_project,e);case f.UPDATE_PORTFOLIO_PROJECTS:return V.updateMany(t.portfolio_projects,e);case f.DELETE_PORTFOLIO_PROJECT:return e.selected_project_id==t.id&&(e.selected_project_id=void 0),V.removeOne(t.id,e);case f.DELETE_PORTFOLIO_PROJECTS:return t.ids.indexOf(e.selected_project_id)>-1&&(e.selected_project_id=void 0),V.removeMany(t.ids,e);case f.DELETE_ALL_PORTFOLIO_PROJECTS:return V.removeMany(t.ids,e);case f.DELETE_ALL:return V.removeAll(e);default:return e}}var Be=a("portfolioProject"),{selectIds:En,selectEntities:hn,selectAll:Dn,selectTotal:fn}=V.getSelectors(Be),Fi=e=>e.selected_project_id,Cn=n(Be,Fi),An=n(Be,e=>
1{if(e.selected_project_id!=null)return e.entities[e.selected_project_id]});var C=(function(e){return e.ADD_PORTFOLIO="[Portfolio] Create Portfolio",e.ADD_PORTFOLIOS="[Portfolio] Add Portfolios",e.UPSERT_PORTFOLIO="[Portfolio] Upsert Portfolio",e.UPSERT_PORTFOLIOS="[Portfolio] Upsert Portfolios",e.UPDATE_PORTFOLIO="[Portfolio] Update Portfolio",e.UPDATE_PORTFOLIOS="[Portfolio] Update Portfolios",e.DELETE_PORTFOLIO="[Portfolio] Delete Portfolio",e.DELETE_PORTFOLIOS="[Portfolio] Delete Portfolios",e.DELETE_ALL_PORTFOLIOS="[Portfolio] Delete All Portfolios",e.DELETE_ALL="[Portfolio] Delete All",e.UPDATE_SELECTED_ID="[portfolio] Update SelectedId",e})(C||{}),Wo=class{constructor(t){this.selected_portfolio_id=t,this.type=C.UPDATE_SELECTED_ID}},Ko=class{constructor(t){this.portfolio=t,this.type=C.ADD_PORTFOLIO}},Zo=class{constructor(t){this.portfolios=t,this.type=C.ADD_PORTFOLIOS}},$o=class{constructor(t){this.portfolio=t,this.type=C.UPSERT_PORTFOLIO}},qo=class{constructor(t){this.portfolios=t,this.type=C.UPSERT_PORTFOLIOS}},Qo=class{constructor(t){this.portfolio=t,this.type=C.UPDATE_PORTFOLIO}},Xo=class{constructor(t){this.portfolios=t,this.type=C.UPDATE_PORTFOLIOS}},Yo=class{constructor(t){this.id=t,this.type=C.DELETE_PORTFOLIO}},No=class{constructor(t){this.ids=t,this.type=C.DELETE_PORTFOLIOS}};var J=l({selectId:e=>e.portfolio_id}),Ji=J.getInitialState({selected_portfolio_id:void 0});function Rn(e=Ji,t){switch(t.type){case C.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_portfolio_id:t.selected_portfolio_id}),e;case C.ADD_PORTFOLIO:return J.addOne(t.portfolio,e);case C.ADD_PORTFOLIOS:return J.addMany(t.portfolios,e);case C.UPSERT_PORTFOLIO:return J.upsertOne(t.portfolio,e);case C.UPSERT_PORTFOLIOS:return J.upsertMany(t.portfolios,e);case C.UPDATE_PORTFOLIO:return J.updateOne(t.portfolio,e);case C.UPDATE_PORTFOLIOS:return J.updateMany(t.portfolios,e);case C.DELETE_PORTFOLIO:return J.removeOne(t.id,e);case C.DELETE_PORTFOLIOS:return J.removeMany(t.ids,e);case C.DELETE_ALL_PORTFOLIOS:return J.removeMany(t.ids,e);case C.DELETE_ALL:return J.removeAll(e);default:return e}}var He=a("portfolio"),{selectIds:gn,selectEntities:mn,selectAll:bn,selectTotal:xn}=J.getSelectors(He),ki=e=>e.selected_portfolio_id,yn=n(He,ki),In=n(He,e=>{if(e.selected_portfolio_id!=null)return e.entities[e.selected_portfolio_id]});var A=(function(e){return e.ADD_REPORT="[Report] Create Report",e.ADD_REPORTS="[Report] Add Reports",e.UPSERT_REPORT="[Report] Upsert Report",e.UPSERT_REPORTS="[Report] Upsert Reports",e.UPDATE_REPORT="[Report] Update Report",e.UPDATE_REPORTS="[Report] Update Reports",e.DELETE_REPORT="[Report] Delete Report",e.DELETE_REPORTS="[Report] Delete Reports",e.DELETE_ALL_REPORTS="[Report] Delete All Reports",e.DELETE_ALL="[Report] Delete All",e.UPDATE_SELECTED_ID="[Report] Update SelectedId",e})(A||{}),es=class{constructor(t){this.selected_report_id=t,this.type=A.UPDATE_SELECTED_ID}},ts=class{constructor(t){this.report=t,this.type=A.ADD_REPORT}},os=class{constructor(t){this.reports=t,this.type=A.ADD_REPORTS}},ss=class{constructor(t){this.report=t,this.type=A.UPSERT_REPORT}},is=class{constructor(t){this.reports=t,this.type=A.UPSERT_REPORTS}},rs=class{constructor(t){this.report=t,this.type=A.UPDATE_REPORT}},cs=class{constructor(t){this.reports=t,this.type=A.UPDATE_REPORTS}},ns=class{constructor(t){this.id=t,this.type=A.DELETE_REPORT}},_s=class{constructor(t){this.ids=t,this.type=A.DELETE_REPORTS}};var k=l({selectId:e=>e.report_id}),Hi=k.getInitialState({selected_report_id:void 0});function Mn(e=Hi,t){switch(t.type){case A.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_report_id:t.selected_report_id}),e;case A.ADD_REPORT:return k.addOne(t.report,e);case A.ADD_REPORTS:return k.addMany(t.reports,e);case A.UPSERT_REPORT:return k.upsertOne(t.report,e);case A.UPSERT_REPORTS:return k.upsertMany(t.reports,e);case A.UPDATE_REPORT:return k.updateOne(t.report,e);case A.UPDATE_REPORTS:return k.updateMany(t.reports,e);case A.DELETE_REPORT:return k.removeOne(t.id,e);case A.DELETE_REPORTS:return k.removeMany(t.ids,e);case A.DELETE_ALL_REPORTS:return k.removeMany(t.ids,e);case A.DELETE_ALL:return k.removeAll(e);default:return e}}var ze=a("report"),{selectIds:Fn,selectEntities:Vn,selectAll:Jn,selectTotal:kn}=k.getSelectors(ze),zi=e=>e.selected_report_id,Bn=n(ze,zi),Hn=n(ze,e=>{if(e.selected_report_id!=null)return e.entities[e.selected_report_id]});var S=(function(e){return e.ADD_SESSION="[Session] Create Session",e.UPSERT_SESSION="[Session] Upsert Session",e.ADD_SESSIONS="[Session] Add Sessions",e.UPSERT_SESSIONS="[Session] Upsert Sessions",e.UPDATE_SESSION="[Session] Update Session",e.UPDATE_SESSIONS="[Session] Update Sessions",e.DELETE_SESSION="[Session] Delete Session",e.DELETE_SESSIONS="[Session] Delete Sessions",e.DELETE_ALL_SESSIONS="[Session] Delete All Sessions",e.DELETE_ALL="[Session] Delete All",e.UPDATE_SELECTED_ID="[Session] Update SelectedId",e})(S||{}),as=class{constructor(t){this.selected_session_id=t,this.type=S.UPDATE_SELECTED_ID}},ls=class{constructor(t){this.session=t,this.type=S.ADD_SESSION}},ds=class{constructor(t){this.sessions=t,this.type=S.ADD_SESSIONS}},ps=class{constructor(t){this.session=t,this.type=S.UPSERT_SESSION}},us=class{constructor(t){this.sessions=t,this.type=S.UPSERT_SESSIONS}},Ts=class{constructor(t){this.session=t,this.type=S.UPDATE_SESSION}},Es=class{constructor(t){this.sessions=t,this.type=S.UPDATE_SESSIONS}},hs=class{constructor(t){this.id=t,this.type=S.DELETE_SESSION}},Ds=class{constructor(t){this.ids=t,this.type=S.DELETE_SESSIONS}};var B=l({selectId:e=>e.session_id}),Wi=B.getInitialState({selected_session_id:void 0});function Zn(e=Wi,t){switch(t.type){case S.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_session_id:t.selected_session_id}),e;case S.ADD_SESSION:return B.addOne(t.session,r(i({},e),{selected_session_id:e.selected_session_id}));case S.ADD_SESSIONS:return B.addMany(t.sessions,r(i({},e),{selected_session_id:e.selected_session_id}));case S.UPSERT_SESSION:return B.upsertOne(t.session,r(i({},e),{selected_session_id:e.selected_session_id}));case S.UPSERT_SESSIONS:return B.upsertMany(t.sessions,r(i({},e),{selected_session_id:e.selected_session_id}));case S.UPDATE_SESSION:return B.updateOne(t.session,r(i({},e),{selected_session_id:e.selected_session_id}));case S.UPDATE_SESSIONS:return B.updateMany(t.sessions,r(i({},e),{selected_session_id:e.selected_session_id}));case S.DELETE_SESSION:return B.removeOne(t.id,r(i({},e),{selected_session_id:e.selected_session_id}));case S.DELETE_SESSIONS:return B.removeMany(t.ids,r(i({},e),{selected_session_id:e.selected_session_id}));case S.DELETE_ALL_SESSIONS:return B.removeMany(t.ids,r(i({},e),{selected_session_id:e.selected_session_id}));case S.DELETE_ALL:return e.selected_session_id=void 0,B.removeAll(e);default:return e}}var Ge=a("session"),{selectIds:$n,selectEntities:qn,selectAll:Qn,selectTotal:Xn}=B.getSelectors(Ge),Ki=e=>e.selected_session_id,Yn=n(Ge,Ki),Nn=n(Ge,e=>{if(e.selected_session_id!=null)return e.entities[e.selected_session_id]});var fs=class{};var L=(function(e){return e.ADD_JOB_ROLE="[OrganizationJobRole] Create JobRole",e.ADD_JOB_ROLES="[OrganizationJobRole] Add JobRoles",e.UPSERT_JOB_ROLE="[OrganizationJobRole] Upsert JobRole",e.UPSERT_JOB_ROLES="[OrganizationJobRole] Upsert JobRoles",e.UPDATE_JOB_ROLE="[OrganizationJobRole] Update JobRole",e.UPDATE_JOB_ROLES="[OrganizationJobRole] Update JobRoles",e.DELETE_JOB_ROLE="[OrganizationJobRole] Delete JobRole",e.DELETE_JOB_ROLES="[OrganizationJobRole] Delete JobRoles",e.DELETE_ALL_JOB_ROLES="[OrganizationJobRole] Delete All JobRoles",e.DELETE_ALL="[OrganizationJobRole] Delete All",e.UPDATE_SELECTED_ROLE="[OrganizationJobRole] Update SelectedRole",e})(L||{}),Cs=class{constructor(t){this.selected_job_role=t,this.type=L.UPDATE_SELECTED_ROLE}},As=class{constructor(t){this.job_role=t,this.type=L.ADD_JOB_ROLE}},Ss=class{constructor(t){this.job_roles=t,this.type=L.ADD_JOB_ROLES}},Ls=class{constructor(t){this.job_role=t,this.type=L.UPSERT_JOB_ROLE}},Ps=class{constructor(t){this.job_roles=t,this.type=L.UPSERT_JOB_ROLES}},Os=class{constructor(t){this.job_role=t,this.type=L.UPDATE_JOB_ROLE}},Rs=class{constructor(t){this.job_roles=t,this.type=L.UPDATE_JOB_ROLES}},gs=class{constructor(t){this.id=t,this.type=L.DELETE_JOB_ROLE}},ms=class{constructor(t){this.ids=t,this.type=L.DELETE_JOB_ROLES}};var H=l({selectId:e=>e.job_role_id}),$i=H.getInitialState({selected_job_role:void 0});function r_(e=$i,t){switch(t.type){case L.UPDATE_SELECTED_ROLE:return e=r(i({},e),{selected_job_role:t.selected_job_role}),e;case L.ADD_JOB_ROLE:return H.addOne(t.job_role,e);case L.ADD_JOB_ROLES:return H.addMany(t.job_roles,e);case L.UPSERT_JOB_ROLE:return H.upsertOne(t.job_role,e);case L.UPSERT_JOB_ROLES:return H.upsertMany(t.job_roles,e);case L.UPDATE_JOB_ROLE:return H.updateOne(t.job_role,e);case L.UPDATE_JOB_ROLES:return H.updateMany(t.job_roles,e);case L.DELETE_JOB_ROLE:return H.removeOne(t.id,e);case L.DELETE_JOB_ROLES:return H.removeMany(t.ids,e);case L.DELETE_ALL_JOB_ROLES:return H.removeMany(t.ids,e);case L.DELETE_ALL:return H.removeAll(e);default:return e}}var We=a("organizationJobRole"),{selectIds:c_,selectEntities:n_,selectAll:__,selectTotal:a_}=H.getSelectors(We),qi=e=>e.selected_job_role,l_=n(We,qi),d_=n(We,e=>{if(e.selected_job_role!=null)return e.entities[e.selected_job_role]}
1);var P=(function(e){return e.ADD_CHATCHANNEL="[ChatChannel] Add ChatChannel",e.ADD_CHATCHANNELS="[ChatChannel] Add ChatChannels",e.UPSERT_CHATCHANNEL="[ChatChannel] Upsert ChatChannel",e.UPSERT_CHATCHANNELS="[ChatChannel] Upsert ChatChannels",e.UPDATE_CHATCHANNEL="[ChatChannel] Update ChatChannel",e.UPDATE_CHATCHANNELS="[ChatChannel] Update ChatChannels",e.DELETE_CHATCHANNEL="[ChatChannel] Delete ChatChannel",e.DELETE_CHATCHANNELS="[ChatChannel] Delete ChatChannels",e.DELETE_ALL_CHATCHANNELS="[ChatChannel] Delete All ChatChannels",e.DELETE_ALL="[ChatChannel] Delete All",e.UPDATE_SELECTED_ID="[ChatChannel] Update SelectedId",e})(P||{}),bs=class{constructor(t){this.selected_channel_id=t,this.type=P.UPDATE_SELECTED_ID}},xs=class{constructor(t){this.channel=t,this.type=P.ADD_CHATCHANNEL}},ys=class{constructor(t){this.channels=t,this.type=P.ADD_CHATCHANNELS}},Is=class{constructor(t){this.channel=t,this.type=P.UPSERT_CHATCHANNEL}},Us=class{constructor(t){this.channels=t,this.type=P.UPSERT_CHATCHANNELS}},ws=class{constructor(t){this.channel=t,this.type=P.UPDATE_CHATCHANNEL}},vs=class{constructor(t){this.channels=t,this.type=P.UPDATE_CHATCHANNELS}},js=class{constructor(t){this.id=t,this.type=P.DELETE_CHATCHANNEL}},Ms=class{constructor(t){this.ids=t,this.type=P.DELETE_CHATCHANNELS}};var z=l({selectId:e=>e.channel_id}),Xi=z.getInitialState({selected_channel_id:void 0});function h_(e=Xi,t){switch(t.type){case P.UPDATE_SELECTED_ID:return e=r(i({},e),{selected_channel_id:t.selected_channel_id}),e;case P.ADD_CHATCHANNEL:return z.addOne(t.channel,e);case P.ADD_CHATCHANNELS:return z.addMany(t.channels,e);case P.UPSERT_CHATCHANNEL:return z.upsertOne(t.channel,e);case P.UPSERT_CHATCHANNELS:return z.upsertMany(t.channels,e);case P.UPDATE_CHATCHANNEL:return z.updateOne(t.channel,e);case P.UPDATE_CHATCHANNELS:return z.updateMany(t.channels,e);case P.DELETE_CHATCHANNEL:return z.removeOne(t.id,e);case P.DELETE_CHATCHANNELS:return z.removeMany(t.ids,e);case P.DELETE_ALL_CHATCHANNELS:return z.removeMany(t.ids,e);case P.DELETE_ALL:return z.removeAll(e);default:return e}}var Ke=a("chatChannel"),{selectIds:D_,selectEntities:f_,selectAll:C_,selectTotal:A_}=z.getSelectors(Ke),Yi=e=>e.selected_channel_id,S_=n(Ke,Yi),L_=n(Ke,e=>{if(e.selected_channel_id!=null)return e.entities[e.selected_channel_id]});export{yt as a,It as b,Ut as c,wt as d,vt as e,jt as f,Mt as g,Ft as h,Vt as i,Jr as j,Hr as k,Gr as l,Wr as m,hi as n,si as o,ri as p,dr as q,Xr as r,Jt as s,kt as t,Bt as u,Ht as v,zt as w,Gt as x,Wt as y,Kt as z,Zt as A,tc as B,ic as C,cc as D,nc as E,$t as F,qt as G,Qt as H,Xt as I,Yt as J,Nt as K,eo as L,to as M,oo as N,pc as O,Ec as P,Dc as Q,fc as R,so as S,io as T,ro as U,co as V,no as W,_o as X,ao as Y,lo as Z,po as _,Pc as $,gc as aa,bc as ba,xc as ca,uo as da,To as ea,Eo as fa,ho as ga,Do as ha,fo as ia,Co as ja,vc as ka,jc as la,Mc as ma,Jc as na,Ao as oa,So as pa,Lo as qa,Po as ra,Oo as sa,Ro as ta,go as ua,mo as va,bo as wa,Wc as xa,$c as ya,Qc as za,Xc as Aa,xo as Ba,yo as Ca,Io as Da,Uo as Ea,wo as Fa,vo as Ga,jo as Ha,on as Ia,sn as Ja,rn as Ka,_n as La,Mo as Ma,Fo as Na,Vo as Oa,Jo as Pa,ko as Qa,Bo as Ra,Ho as Sa,zo as Ta,Go as Ua,Tn as Va,Dn as Wa,Cn as Xa,An as Ya,dt as Za,pt as _a,ut as $a,Tt as ab,Et as bb,ht as cb,Dt as db,ft as eb,Ct as fb,At as gb,Dr as hb,Ar as ib,Lr as jb,Pr as kb,St as lb,Lt as mb,Pt as nb,Ot as ob,Rt as pb,gt as qb,mt as rb,bt as sb,xt as tb,br as ub,Ir as vb,wr as wb,vr as xb,Wo as yb,Ko as zb,Zo as Ab,$o as Bb,qo as Cb,Qo as Db,Xo as Eb,Yo as Fb,No as Gb,Rn as Hb,bn as Ib,yn as Jb,In as Kb,es as Lb,ts as Mb,os as Nb,ss as Ob,is as Pb,rs as Qb,cs as Rb,ns as Sb,_s as Tb,Mn as Ub,Jn as Vb,Bn as Wb,Hn as Xb,as as Yb,ls as Zb,ds as _b,ps as $b,us as ac,Ts as bc,Es as cc,hs as dc,Ds as ec,Zn as fc,Qn as gc,Yn as hc,Nn as ic,fs as jc,Cs as kc,As as lc,Ss as mc,Ls as nc,Ps as oc,Os as pc,Rs as qc,gs as rc,ms as sc,r_ as tc,__ as uc,l_ as vc,d_ as wc,bs as xc,xs as yc,ys as zc,Is as Ac,Us as Bc,ws as Cc,vs as Dc,js as Ec,Ms as Fc,h_ as Gc,C_ as Hc,S_ as Ic,L_ as Jc};
2//# sourceMappingURL=chunk-4IQPVIND.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.