text: !function(){function n(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function a(n,a){for(var e=0;e<a.length;e++){var t=a[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(self.webpackChunkngx_dt_table=self.webpackChunkngx_dt_table||[]).push([[776],{1776:function(e,t,i){"use strict";i.r(t),i.d(t,{RowDetailTemplateModule:function(){return U}});var o=i(2994),l=i(4500),u=i(8311),r=i(9906),c=i(7831),d=i(8337),m=i(5221),p=i(9618),f=i(7190);function g(n,a){1&n&&(u.TgZ(0,"mat-icon"),u._uU(1,"keyboard_arrow_right"),u.qZA())}function s(n,a){1&n&&(u.TgZ(0,"mat-icon"),u._uU(1,"keyboard_arrow_down"),u.qZA())}function b(n,a){if(1&n&&(u.TgZ(0,"button",8),u.NdJ("click",function(){var n=a.$implicit;return n.expanded=!n.expanded}),u.YNc(1,g,2,0,"mat-icon",9),u.YNc(2,s,2,0,"mat-icon",9),u.qZA()),2&n){var e=a.$implicit;u.xp6(1),u.Q6J("ngIf",!e.expanded),u.xp6(1),u.Q6J("ngIf",!!e.expanded)}}function Z(n,a){if(1&n&&(u.TgZ(0,"h2"),u._uU(1),u.qZA(),u.TgZ(2,"p"),u.TgZ(3,"b"),u._uU(4,"Age: "),u.qZA(),u.TgZ(5,"i"),u._uU(6),u.qZA(),u._uU(7,", "),u.TgZ(8,"b"),u._uU(9,"Club: "),u.qZA(),u.TgZ(10,"i"),u._uU(11),u.qZA(),u._uU(12,", "),u.TgZ(13,"b"),u._uU(14,"National: "),u.qZA(),u.TgZ(15,"i"),u._uU(16),u.qZA(),u.qZA()),2&n){var e=a.$implicit;u.xp6(1),u.Oqu(e.name),u.xp6(5),u.Oqu(e.id),u.xp6(5),u.Oqu(e.club),u.xp6(5),u.Oqu(e.national)}}var _,y,h=[{path:"",component:(_=function(){function e(){n(this,e),this.players=[{id:1,age:27,club:"Barcelona",name:"Leonel Messi",national:"Argentina"},{id:2,age:29,club:"Real Madrid",name:"Cristiano Ronaldo",national:"Portugal"},{id:3,age:34,club:"Liverpool",name:"Steven Gerrard",national:"England"},{id:4,age:22,club:"Barcelona",name:"Neymar",national:"Brazil"},{id:5,age:25,club:"Borussia Dortmund",name:"Marco Reus",national:"Germany"},{id:6,age:26,club:"Real Madrid",name:"Karim Benzema",national:"France"},{id:7,age:30,club:"Manchester United",name:"Robin Van Persie",national:"Holland"},{id:8,age:28,club:"Manchester City",name:"David Silva",national:"Spain"},{id:9,age:35,club:"Juventus",name:"Andrea Pirlo",national:"Italy"},{id:10,age:34,club:"Juventus",name:"Andrea Pirlo",national:"Italy"},{id:11,age:34,club:"Real Madrid",name:"Andrea Pirlo",national:"Italy"}]}var t,i,o;return t=e,(i=[{key:"ngOnInit",value:function(){}}])&&a(t.prototype,i),o&&a(t,o),e}(),_.\u0275fac=function(n){return new(n||_)},_.\u0275cmp=u.Xpm({type:_,selectors:[["app-detail-row-template"]],decls:8,vars:1,consts:[[3,"data"],["field","id","header","Id"],["field","name","header","Name"],["field","age","header","Age"],["field","club","header","Club"],["field","national","header","National"],["mat-icon-button","","type","button",3,"click",4,"dtExpandRowButton"],["dtRowDetail",""],["mat-icon-button","","type","button",3,"click"],[4,"ngIf"]],template:function(n,a){1&n&&(u.TgZ(0,"dt-table",0),u._UZ(1,"dt-column",1),u._UZ(2,"dt-column",2),u._UZ(3,"dt-column",3),u._UZ(4,"dt-column",4),u._UZ(5,"dt-column",5),u.YNc(6,b,3,2,"button",6),u.YNc(7,Z,17,4,"ng-template",7),u.qZA()),2&n&&u.Q6J("data",a.players)},directives:[r.W,c.yc,d.C,m.Z,p.lW,o.O5,f.Hw],styles:[""]}),_)}],A=function(){var a=function a(){n(this,a)};return a.\u0275fac=function(n){return new(n||a)},a.\u0275mod=u.oAB({type:a}),a.\u0275inj=u.cJS({imports:[[l.Bz.forChild(h)],l.Bz]}),a}(),v=i(7718),U=((y=function a(){n(this,a)}).\u0275fac=function(n){return new(n||y)},y.\u0275mod=u.oAB({type:y}),y.\u0275inj=u.cJS({imports:[[o.ez,A,v.TC,f.Ps,p.ot]]}),y)}}])}();