!function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var o=0;o<e.length;o++){var n=e[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function o(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}(window.webpackJsonp=window.webpackJsonp||[]).push([[18],{RVRs:function(e,n,i){"use strict";i.r(n),i.d(n,"UserCollectionModule",function(){return mt});var a=i("ofXK"),c=i("3Pt+"),r=i("0LvA"),l=i("lR5k"),m=i("QPBi"),s=i("jIBr"),b=i("dcRk"),u=i("iasb"),d=i("tyNb"),p=i("fXoL"),f=i("M9IT"),h=i("Dh3D"),g=i("VRyK"),C=i("LRne"),v=i("JX91"),x=i("eIep"),y=i("lJxs"),E=i("JIr8"),k=i("o0su"),V=i("/t3+"),w=i("bTqV"),W=i("Qu3c"),M=i("NFeN"),D=i("+0xr");function I(t,e){1&t&&(p.Wb(0,"th",16),p.Fc(1,"#"),p.Vb())}function F(t,e){if(1&t){var o=p.Xb();p.Wb(0,"td",17),p.Wb(1,"div"),p.Fc(2),p.Wb(3,"button",18),p.jc(4,"transloco"),p.Wb(5,"mat-icon"),p.Fc(6,"launch"),p.Vb(),p.Vb(),p.Wb(7,"button",2),p.ec("click",function(){p.xc(o);var t=e.$implicit;return p.ic().onPreview(t.ID)}),p.jc(8,"transloco"),p.Wb(9,"mat-icon"),p.Fc(10,"slideshow"),p.Vb(),p.Vb(),p.Wb(11,"button",19),p.jc(12,"transloco"),p.Wb(13,"mat-icon"),p.Fc(14,"edit"),p.Vb(),p.Vb(),p.Wb(15,"button",20),p.ec("click",function(){p.xc(o);var t=e.$implicit;return p.ic().onDeleteItem(t.ID)}),p.jc(16,"transloco"),p.Wb(17,"mat-icon"),p.Fc(18,"remove_circle"),p.Vb(),p.Vb(),p.Vb(),p.Vb()}if(2&t){var n=e.$implicit,i=p.ic();p.Eb(2),p.Hc(" ",n.ID," "),p.Eb(1),p.qc("routerLink","display/",n.ID,""),p.pc("matTooltip",p.kc(4,11,"Common.Display")),p.oc("disabled",!i.isExpertMode),p.Eb(4),p.pc("matTooltip",p.kc(8,13,"Common.Preview")),p.oc("disabled",!(i.isExpertMode&&n.Items&&n.Items.length>0)),p.Eb(4),p.qc("routerLink","edit/",n.ID,""),p.pc("matTooltip",p.kc(12,15,"Common.Change")),p.oc("disabled",!i.isExpertMode),p.Eb(4),p.pc("matTooltip",p.kc(16,17,"Common.Delete")),p.oc("disabled",!i.isExpertMode)}}function j(t,e){1&t&&(p.Wb(0,"th",16),p.Fc(1),p.jc(2,"transloco"),p.Vb()),2&t&&(p.Eb(1),p.Gc(p.kc(2,1,"Common.Name")))}function S(t,e){if(1&t&&(p.Wb(0,"td",17),p.Fc(1),p.Vb()),2&t){var o=e.$implicit;p.Eb(1),p.Gc(o.Name)}}function O(t,e){1&t&&(p.Wb(0,"th",16),p.Fc(1),p.jc(2,"transloco"),p.Vb()),2&t&&(p.Eb(1),p.Gc(p.kc(2,1,"Common.Comment")))}function R(t,e){if(1&t&&(p.Wb(0,"td",17),p.Fc(1),p.Vb()),2&t){var o=e.$implicit;p.Eb(1),p.Gc(o.Comment)}}function G(t,e){1&t&&(p.Wb(0,"th",21),p.Fc(1),p.jc(2,"transloco"),p.Vb()),2&t&&(p.Eb(1),p.Gc(p.kc(2,1,"CreatedAt")))}function P(t,e){if(1&t&&(p.Wb(0,"td",17),p.Fc(1),p.jc(2,"date"),p.Vb()),2&t){var o=e.$implicit;p.Eb(1),p.Gc(p.lc(2,1,o.CreatedAt,"yyyy-M-d HH:mm:ss"))}}function U(t,e){1&t&&p.Rb(0,"tr",22)}function T(t,e){1&t&&p.Rb(0,"tr",23)}var _,H=((_=function(){function e(o,n){t(this,e),this.odataService=o,this.uiUtilSrv=n,this.displayedColumns=["id","name","comment","createdat"],this.dataSource=[],this.resultsLength=0,this.isLoadingResults=!0,this.refreshEvent=new p.o}return o(e,[{key:"isExpertMode",get:function(){return this.odataService.expertMode}},{key:"ngAfterViewInit",value:function(){var t=this;this.sort.sortChange.subscribe(function(){return t.paginator.pageIndex=0}),Object(g.a)(this.sort.sortChange,this.paginator.page,this.refreshEvent).pipe(Object(v.a)({}),Object(x.a)(function(){t.isLoadingResults=!0;var e=t.paginator.pageSize;return t.odataService.getUserCollections(e,e*t.paginator.pageIndex,t.sort.active,t.sort.direction)}),Object(y.a)(function(e){return t.isLoadingResults=!1,t.resultsLength=e.totalCount,e.items}),Object(E.a)(function(){return t.isLoadingResults=!1,Object(C.a)([])})).subscribe(function(e){return t.dataSource=e})}},{key:"onGoToSearch",value:function(){}},{key:"onPreview",value:function(t){var e=[];this.dataSource.forEach(function(o){o.ID===t&&o.Items.forEach(function(t){e.push({refType:t.RefType,refId:t.RefID})})}),this.uiUtilSrv.navigatePreviewPage(e)}},{key:"onDeleteItem",value:function(t){}},{key:"onRefreshList",value:function(){this.refreshEvent.emit()}},{key:"resetPaging",value:function(){this.paginator.pageIndex=0}}]),e}()).\u0275fac=function(t){return new(t||_)(p.Qb(k.b),p.Qb(k.d))},_.\u0275cmp=p.Kb({type:_,selectors:[["app-user-collection"]],viewQuery:function(t,e){var o;1&t&&(p.Kc(f.a,1),p.Kc(h.a,1)),2&t&&(p.uc(o=p.fc())&&(e.paginator=o.first),p.uc(o=p.fc())&&(e.sort=o.first))},decls:36,vars:20,consts:[[1,"toolbar-spacer"],["mat-icon-button","","color","primary","routerLink","create",3,"disabled","matTooltip"],["mat-icon-button","","color","accent",3,"disabled","matTooltip","click"],[1,"example-container","mat-elevation-z8"],[1,"example-table-container"],["mat-table","","matSort","",1,"example-table",3,"dataSource","matSortChange"],["matColumnDef","id"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","name"],["matColumnDef","comment"],["matColumnDef","createdat"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[3,"length","pageSize"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","color","primary",3,"disabled","routerLink","matTooltip"],["mat-icon-button","","color","accent",3,"disabled","routerLink","matTooltip"],["mat-icon-button","","color","warn",3,"disabled","matTooltip","click"],["mat-header-cell","","mat-sort-header",""],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(p.Wb(0,"mat-toolbar-row"),p.Wb(1,"span"),p.Fc(2),p.jc(3,"transloco"),p.Vb(),p.Rb(4,"span",0),p.Wb(5,"section"),p.Wb(6,"button",1),p.jc(7,"transloco"),p.Wb(8,"mat-icon"),p.Fc(9,"add_circle"),p.Vb(),p.Vb(),p.Wb(10,"button",2),p.ec("click",function(){return e.onGoToSearch()}),p.jc(11,"transloco"),p.Wb(12,"mat-icon"),p.Fc(13,"search"),p.Vb(),p.Vb(),p.Wb(14,"button",2),p.ec("click",function(){return e.onRefreshList()}),p.jc(15,"transloco"),p.Wb(16,"mat-icon"),p.Fc(17,"refresh"),p.Vb(),p.Vb(),p.Vb(),p.Vb(),p.Wb(18,"div",3),p.Wb(19,"div",4),p.Wb(20,"table",5),p.ec("matSortChange",function(){return e.resetPaging()}),p.Ub(21,6),p.Ec(22,I,2,0,"th",7),p.Ec(23,F,19,19,"td",8),p.Tb(),p.Ub(24,9),p.Ec(25,j,3,3,"th",7),p.Ec(26,S,2,1,"td",8),p.Tb(),p.Ub(27,10),p.Ec(28,O,3,3,"th",7),p.Ec(29,R,2,1,"td",8),p.Tb(),p.Ub(30,11),p.Ec(31,G,3,3,"th",12),p.Ec(32,P,3,4,"td",8),p.Tb(),p.Ec(33,U,1,0,"tr",13),p.Ec(34,T,1,0,"tr",14),p.Vb(),p.Vb(),p.Rb(35,"mat-paginator",15),p.Vb()),2&t&&(p.Eb(2),p.Gc(p.kc(3,12,"UserCollections")),p.Eb(4),p.pc("matTooltip",p.kc(7,14,"Common.Create")),p.oc("disabled",!e.isExpertMode),p.Eb(4),p.pc("matTooltip",p.kc(11,16,"Common.Search")),p.oc("disabled",!e.isExpertMode||e.dataSource.length<=0),p.Eb(4),p.pc("matTooltip",p.kc(15,18,"Common.Refresh")),p.oc("disabled",!e.isExpertMode),p.Eb(6),p.oc("dataSource",e.dataSource),p.Eb(13),p.oc("matHeaderRowDef",e.displayedColumns),p.Eb(1),p.oc("matRowDefColumns",e.displayedColumns),p.Eb(1),p.oc("length",e.resultsLength)("pageSize",20))},directives:[V.c,w.b,d.c,W.a,M.a,D.j,h.a,D.c,D.e,D.b,D.g,D.i,f.a,D.d,D.a,h.b,D.f,D.h],pipes:[m.d,a.e],styles:[".example-container[_ngcontent-%COMP%]{position:relative;min-height:200px}.table-container[_ngcontent-%COMP%]{position:relative;min-height:400px;overflow:auto}table[_ngcontent-%COMP%]{width:100%;height:100%}.example-loading-shade[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}.mat-column-id[_ngcontent-%COMP%]{max-width:300px;width:250px}.mat-column-itemtype[_ngcontent-%COMP%]{max-width:120px;width:120px}.mat-column-tags[_ngcontent-%COMP%]{max-width:250px;width:150px}.mat-column-created[_ngcontent-%COMP%]{max-width:120px;width:120px}"]}),_),L=i("jtHE"),N=i("rCpU"),A=i("VHTt"),$=i("0IaG"),Q=i("Wp6s"),z=i("7EHt"),K=i("kmnG"),X=i("qFsG"),q=i("XiUz");function J(t,e){if(1&t&&(p.Wb(0,"mat-expansion-panel"),p.Wb(1,"mat-expansion-panel-header"),p.Wb(2,"mat-panel-title"),p.Fc(3),p.jc(4,"transloco"),p.Vb(),p.Wb(5,"mat-panel-description"),p.Fc(6),p.jc(7,"transloco"),p.Wb(8,"mat-icon"),p.Fc(9,"info"),p.Vb(),p.Vb(),p.Vb(),p.Wb(10,"div",21),p.Wb(11,"div",22),p.Wb(12,"mat-form-field",3),p.Wb(13,"mat-label"),p.Fc(14),p.jc(15,"transloco"),p.Vb(),p.Rb(16,"input",23),p.jc(17,"transloco"),p.jc(18,"date"),p.Vb(),p.Vb(),p.Wb(19,"div",22),p.Wb(20,"mat-form-field",3),p.Wb(21,"mat-label"),p.Fc(22),p.jc(23,"transloco"),p.Vb(),p.Rb(24,"input",23),p.jc(25,"transloco"),p.jc(26,"date"),p.Vb(),p.Vb(),p.Vb(),p.Vb()),2&t){var o=p.ic();p.Eb(3),p.Gc(p.kc(4,8,"Administrative")),p.Eb(3),p.Gc(p.kc(7,10,"AdministrativeInfo")),p.Eb(8),p.Gc(p.kc(15,12,"CreatedAt")),p.Eb(2),p.pc("placeholder",p.kc(17,14,"CreatedAt")),p.oc("ngModel",p.lc(18,16,o.itemObject.CreatedAt,"yyyy-M-d HH:mm:ss")),p.Eb(6),p.Gc(p.kc(23,19,"ModifiedAt")),p.Eb(2),p.pc("placeholder",p.kc(25,21,"ModifiedAt")),p.oc("ngModel",p.lc(26,23,o.itemObject.ModifiedAt,"yyyy-M-d HH:mm:ss"))}}function B(t,e){1&t&&(p.Wb(0,"th",24),p.Fc(1,"ID"),p.Vb())}function Y(t,e){if(1&t){var o=p.Xb();p.Wb(0,"td",25),p.Fc(1),p.Wb(2,"button",26),p.ec("click",function(){p.xc(o);var t=e.$implicit;return p.ic().onDisplayExerciseItem(t.RefID)}),p.jc(3,"transloco"),p.Wb(4,"mat-icon"),p.Fc(5,"launch"),p.Vb(),p.Vb(),p.Wb(6,"button",27),p.ec("click",function(){p.xc(o);var t=e.$implicit;return p.ic().onChangeExerciseItem(t.RefID)}),p.jc(7,"transloco"),p.Wb(8,"mat-icon"),p.Fc(9,"edit"),p.Vb(),p.Vb(),p.Wb(10,"button",28),p.ec("click",function(){p.xc(o);var t=e.$implicit;return p.ic().onDeleteCollItem(t)}),p.jc(11,"transloco"),p.Wb(12,"mat-icon"),p.Fc(13,"remove_circle"),p.Vb(),p.Vb(),p.Vb()}if(2&t){var n=e.$implicit;p.Eb(1),p.Hc(" ",n.RefID," "),p.Eb(1),p.pc("matTooltip",p.kc(3,4,"Common.Display")),p.Eb(4),p.pc("matTooltip",p.kc(7,6,"Common.Change")),p.Eb(4),p.pc("matTooltip",p.kc(11,8,"Common.Delete"))}}function Z(t,e){1&t&&(p.Wb(0,"th",24),p.Fc(1),p.jc(2,"transloco"),p.Vb()),2&t&&(p.Eb(1),p.Gc(p.kc(2,1,"Quiz.Date")))}function tt(t,e){if(1&t&&(p.Wb(0,"td",25),p.Fc(1),p.jc(2,"date"),p.Vb()),2&t){var o=e.$implicit;p.Eb(1),p.Gc(p.lc(2,1,o.CreatedAt,"yyyy-M-d HH:mm:ss"))}}function et(t,e){1&t&&p.Rb(0,"tr",29)}function ot(t,e){1&t&&p.Rb(0,"tr",30)}var nt,it,at,ct=((nt=function(){function e(o,n,i,a){t(this,e),this.dialog=o,this.activateRoute=n,this.uiUtilSrv=i,this.odataService=a,this.routerID=-1,this.displayedColumns=["refid","createdat"],this.dataSource=[],this.resultsLength=0,this.isLoadingResults=!0,this.uiMode=N.b.Create,this.currentMode="",this.itemFormGroup=new c.g({idControl:new c.e({value:null,disabled:!0}),userControl:new c.e({value:this.odataService.currentUser,disabled:!0}),nameControl:new c.e,commentControl:new c.e})}return o(e,[{key:"isDisplayMode",get:function(){return this.uiMode===N.b.Display}},{key:"isCreateMode",get:function(){return this.uiMode===N.b.Create}},{key:"isUpdateMode",get:function(){return this.uiMode===N.b.Update}},{key:"isEditable",get:function(){return this.uiMode===N.b.Create||this.uiMode===N.b.Update}},{key:"ngOnInit",value:function(){var t=this;this.destroyed$=new L.a(1),this.activateRoute.url.subscribe({next:function(e){e instanceof Array&&e.length>0&&("create"===e[0].path?(t.routerID=-1,t.uiMode=N.b.Create,t.currentMode="Common.Create"):"edit"===e[0].path?(t.routerID=+e[1].path,t.uiMode=N.b.Update,t.currentMode="Common.Change"):"display"===e[0].path&&(t.routerID=+e[1].path,t.uiMode=N.b.Display,t.currentMode="Common.Display")),-1!==t.routerID&&t.odataService.readUserCollection(t.routerID,t.uiMode===N.b.Update).subscribe({next:function(e){t.onSetHeaderData(e),t.itemObject=e,t.dataSource=e.Items},error:function(e){t.uiUtilSrv.showSnackInfo(e)}})},error:function(e){t.uiUtilSrv.showSnackInfo(e)}})}},{key:"ngOnDestroy",value:function(){this.destroyed$&&(this.destroyed$.complete(),this.destroyed$=void 0)}},{key:"onSetHeaderData",value:function(t){var e,o,n,i,a,c;null===(e=this.itemFormGroup.get("idControl"))||void 0===e||e.setValue(t.ID),null===(o=this.itemFormGroup.get("idControl"))||void 0===o||o.disable(),null===(n=this.itemFormGroup.get("userControl"))||void 0===n||n.setValue(this.odataService.currentUser),null===(i=this.itemFormGroup.get("userControl"))||void 0===i||i.disable(),null===(a=this.itemFormGroup.get("nameControl"))||void 0===a||a.setValue(t.Name),null===(c=this.itemFormGroup.get("commentControl"))||void 0===c||c.setValue(t.Comment),this.isDisplayMode?this.itemFormGroup.disable():this.itemFormGroup.markAsPristine()}},{key:"onOK",value:function(){var t,e,o=this;if(this.isCreateMode){if(!this.itemFormGroup.valid)return void(this.itemFormGroup.errors&&this.uiUtilSrv.showSnackInfo(this.itemFormGroup.errors.toString()));this.itemObject=new A.F,this.itemObject.Name=null===(t=this.itemFormGroup.get("nameControl"))||void 0===t?void 0:t.value,this.itemObject.Comment=null===(e=this.itemFormGroup.get("commentControl"))||void 0===e?void 0:e.value,this.itemObject.User=this.odataService.currentUser,this.odataService.createUserCollection(this.itemObject).subscribe({next:function(t){o.uiUtilSrv.navigateUserCollectionDisplayPage(t.ID)},error:function(t){o.uiUtilSrv.showSnackInfo(t)}})}}},{key:"onReturnToList",value:function(){this.uiUtilSrv.navigateUserCollectionListPage()}},{key:"onCreateNewOne",value:function(){this.uiUtilSrv.navigateUserCollectionCreatePage()}},{key:"onCreateItem",value:function(){}},{key:"onDeleteCollItem",value:function(t){var e=this;this.odataService.removeExerciseItemFromCollection(t).subscribe({next:function(o){e.uiUtilSrv.showSnackInfo("DONE");var n=e.dataSource.findIndex(function(e){return e.RefID===t.RefID&&e.RefType===t.RefType});-1!==n&&e.dataSource.splice(n,1)},error:function(t){e.uiUtilSrv.showSnackInfo(t)}})}},{key:"onDisplayExerciseItem",value:function(t){this.uiUtilSrv.navigateExerciseItemDisplayPage(t)}},{key:"onChangeExerciseItem",value:function(t){this.uiUtilSrv.navigateExerciseItemChangePage(t)}}]),e}()).\u0275fac=function(t){return new(t||nt)(p.Qb($.b),p.Qb(d.a),p.Qb(k.d),p.Qb(k.b))},nt.\u0275cmp=p.Kb({type:nt,selectors:[["app-user-collection-detail"]],decls:64,vars:34,consts:[["multi","",1,"example-headers-align"],["expanded",""],[3,"formGroup"],["appearance","fill",1,"control-full-width"],["matInput","","type","text","placeholder","ID","formControlName","idControl"],["matInput","","type","text","placeholder","User","formControlName","userControl"],["matInput","","type","text","placeholder","Name","formControlName","nameControl"],["matInput","","type","text","placeholder","Comment","formControlName","commentControl"],[4,"ngIf"],[1,"toolbar-spacer"],[1,"example-container","mat-elevation-z8"],[1,"example-table-container"],["mat-table","",1,"example-table",3,"dataSource"],["matColumnDef","refid"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","createdat"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-button","",3,"disabled","click"],["mat-button","",3,"click"],["fxLayout","row",1,"control-full-width"],["fxFlex","50"],["matInput","","type","text","disabled","",3,"placeholder","ngModel"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","color","primary",3,"matTooltip","click"],["mat-icon-button","","color","accent",3,"matTooltip","click"],["mat-icon-button","","color","warn",3,"matTooltip","click"],["mat-header-row",""],["mat-row",""]],template:function(t,e){1&t&&(p.Wb(0,"mat-card"),p.Wb(1,"mat-card-header"),p.Wb(2,"mat-card-title"),p.Fc(3),p.jc(4,"transloco"),p.Vb(),p.Wb(5,"mat-card-subtitle"),p.Fc(6),p.jc(7,"transloco"),p.Vb(),p.Vb(),p.Wb(8,"mat-card-content"),p.Wb(9,"mat-accordion",0),p.Wb(10,"mat-expansion-panel",1),p.Wb(11,"mat-expansion-panel-header"),p.Wb(12,"mat-panel-title"),p.Fc(13),p.jc(14,"transloco"),p.Vb(),p.Wb(15,"mat-panel-description"),p.Fc(16),p.jc(17,"transloco"),p.Wb(18,"mat-icon"),p.Fc(19,"public"),p.Vb(),p.Vb(),p.Vb(),p.Wb(20,"form",2),p.Wb(21,"mat-form-field",3),p.Wb(22,"mat-label"),p.Fc(23,"#"),p.Vb(),p.Rb(24,"input",4),p.Vb(),p.Wb(25,"mat-form-field",3),p.Wb(26,"mat-label"),p.Fc(27,"User"),p.Vb(),p.Rb(28,"input",5),p.Vb(),p.Wb(29,"mat-form-field",3),p.Wb(30,"mat-label"),p.Fc(31),p.jc(32,"transloco"),p.Vb(),p.Rb(33,"input",6),p.Vb(),p.Wb(34,"mat-form-field",3),p.Wb(35,"mat-label"),p.Fc(36),p.jc(37,"transloco"),p.Vb(),p.Rb(38,"input",7),p.Vb(),p.Vb(),p.Vb(),p.Ec(39,J,27,26,"mat-expansion-panel",8),p.Vb(),p.Wb(40,"mat-toolbar-row"),p.Rb(41,"span",9),p.Rb(42,"section"),p.Vb(),p.Wb(43,"div",10),p.Wb(44,"div",11),p.Wb(45,"table",12),p.Ub(46,13),p.Ec(47,B,2,0,"th",14),p.Ec(48,Y,14,10,"td",15),p.Tb(),p.Ub(49,16),p.Ec(50,Z,3,3,"th",14),p.Ec(51,tt,3,4,"td",15),p.Tb(),p.Ec(52,et,1,0,"tr",17),p.Ec(53,ot,1,0,"tr",18),p.Vb(),p.Vb(),p.Vb(),p.Vb(),p.Wb(54,"mat-card-actions"),p.Wb(55,"button",19),p.ec("click",function(){return e.onOK()}),p.Fc(56),p.jc(57,"transloco"),p.Vb(),p.Wb(58,"button",20),p.ec("click",function(){return e.onReturnToList()}),p.Fc(59),p.jc(60,"transloco"),p.Vb(),p.Wb(61,"button",19),p.ec("click",function(){return e.onCreateNewOne()}),p.Fc(62),p.jc(63,"transloco"),p.Vb(),p.Vb(),p.Vb()),2&t&&(p.Eb(3),p.Gc(p.kc(4,16,"UserCollection")),p.Eb(3),p.Gc(p.kc(7,18,e.currentMode)),p.Eb(7),p.Gc(p.kc(14,20,"Header")),p.Eb(3),p.Gc(p.kc(17,22,"HeaderInfo")),p.Eb(4),p.oc("formGroup",e.itemFormGroup),p.Eb(11),p.Gc(p.kc(32,24,"Common.Name")),p.Eb(5),p.Gc(p.kc(37,26,"Common.Comment")),p.Eb(3),p.oc("ngIf",!e.isCreateMode&&e.itemObject),p.Eb(6),p.oc("dataSource",e.dataSource),p.Eb(7),p.oc("matHeaderRowDef",e.displayedColumns),p.Eb(1),p.oc("matRowDefColumns",e.displayedColumns),p.Eb(2),p.oc("disabled",!(e.isEditable&&e.itemFormGroup.valid)),p.Eb(1),p.Gc(p.kc(57,28,"Save")),p.Eb(3),p.Gc(p.kc(60,30,"Common.ReturnToList")),p.Eb(2),p.oc("disabled",!e.isDisplayMode),p.Eb(1),p.Gc(p.kc(63,32,"Common.CreateAnotherOne")))},directives:[Q.a,Q.d,Q.g,Q.f,Q.c,z.a,z.c,z.e,z.f,z.d,M.a,c.v,c.o,c.h,K.c,K.g,X.b,c.c,c.n,c.f,a.m,V.c,D.j,D.c,D.e,D.b,D.g,D.i,Q.b,w.b,q.c,q.a,c.q,D.d,D.a,W.a,D.f,D.h],pipes:[m.d,a.e],styles:[".example-container[_ngcontent-%COMP%]{position:relative;min-height:200px}.table-container[_ngcontent-%COMP%]{position:relative;min-height:400px;overflow:auto}table[_ngcontent-%COMP%]{width:100%;height:100%}.example-loading-shade[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:flex;align-items:center;justify-content:center}.mat-column-id[_ngcontent-%COMP%]{max-width:300px;width:250px}.mat-column-itemtype[_ngcontent-%COMP%]{max-width:120px;width:120px}.mat-column-tags[_ngcontent-%COMP%]{max-width:250px;width:150px}.mat-column-created[_ngcontent-%COMP%]{max-width:120px;width:120px}.example-action-buttons[_ngcontent-%COMP%]{padding-bottom:20px}.example-headers-align[_ngcontent-%COMP%]{margin:8px}.example-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%], .example-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-basis:0}.example-headers-align[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.example-headers-align[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%]{margin-left:8px}"]}),nt),rt=[{path:"",component:H},{path:"display/:id",component:ct},{path:"create",component:ct},{path:"edit/:id",component:ct}],lt=((at=function e(){t(this,e)}).\u0275fac=function(t){return new(t||at)},at.\u0275mod=p.Ob({type:at}),at.\u0275inj=p.Nb({imports:[[d.e.forChild(rt)],d.e]}),at),mt=((it=function e(){t(this,e)}).\u0275fac=function(t){return new(t||it)},it.\u0275mod=p.Ob({type:it}),it.\u0275inj=p.Nb({imports:[[a.c,c.i,c.s,s.a,b.a,r.b,l.b.forChild(),m.c,u.a,lt]]}),it)}}])}();