-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path1648-es5.ae318ecd796bbe7f3edf.js
1 lines (1 loc) · 9.05 KB
/
1648-es5.ae318ecd796bbe7f3edf.js
1
!function(){function t(t,a){if(!(t instanceof a))throw new TypeError("Cannot call a class as a function")}(self.webpackChunkmaterial_angular_io=self.webpackChunkmaterial_angular_io||[]).push([[1648],{21648:function(a,n,r){"use strict";r.r(n),r.d(n,{CardExamplesModule:function(){return g},CardFancyExample:function(){return l},CardHarnessExample:function(){return p},CardOverviewExample:function(){return u}});var i,e,c,o,d=r(35366),m=r(84369),s=r(22797),l=((o=function a(){t(this,a)}).\u0275fac=function(t){return new(t||o)},o.\u0275cmp=d.Xpm({type:o,selectors:[["card-fancy-example"]],decls:16,vars:0,consts:[[1,"example-card"],["mat-card-avatar","",1,"example-header-image"],["mat-card-image","","src","https://material.angular.io/assets/img/examples/shiba2.jpg","alt","Photo of a Shiba Inu"],["mat-button",""]],template:function(t,a){1&t&&(d.TgZ(0,"mat-card",0),d.TgZ(1,"mat-card-header"),d._UZ(2,"div",1),d.TgZ(3,"mat-card-title"),d._uU(4,"Shiba Inu"),d.qZA(),d.TgZ(5,"mat-card-subtitle"),d._uU(6,"Dog Breed"),d.qZA(),d.qZA(),d._UZ(7,"img",2),d.TgZ(8,"mat-card-content"),d.TgZ(9,"p"),d._uU(10," The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan. A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally bred for hunting. "),d.qZA(),d.qZA(),d.TgZ(11,"mat-card-actions"),d.TgZ(12,"button",3),d._uU(13,"LIKE"),d.qZA(),d.TgZ(14,"button",3),d._uU(15,"SHARE"),d.qZA(),d.qZA(),d.qZA())},directives:[s.a8,s.dk,s.kc,s.n5,s.$j,s.G2,s.dn,s.hq,m.lW],styles:[".example-card[_ngcontent-%COMP%] {\n max-width: 400px;\n}\n\n.example-header-image[_ngcontent-%COMP%] {\n background-image: url('https://material.angular.io/assets/img/examples/shiba1.jpg');\n background-size: cover;\n}"]}),o),u=((c=function a(){t(this,a)}).\u0275fac=function(t){return new(t||c)},c.\u0275cmp=d.Xpm({type:c,selectors:[["card-overview-example"]],decls:2,vars:0,template:function(t,a){1&t&&(d.TgZ(0,"mat-card"),d._uU(1,"Simple card"),d.qZA())},directives:[s.a8],encapsulation:2}),c),p=((e=function a(){t(this,a)}).\u0275fac=function(t){return new(t||e)},e.\u0275cmp=d.Xpm({type:e,selectors:[["card-harness-example"]],decls:17,vars:0,consts:[["mat-card-avatar",""],["mat-card-image",""],["mat-button",""]],template:function(t,a){1&t&&(d._UZ(0,"mat-card"),d.TgZ(1,"mat-card"),d.TgZ(2,"mat-card-header"),d._UZ(3,"div",0),d.TgZ(4,"mat-card-title"),d._uU(5,"Shiba Inu"),d.qZA(),d.TgZ(6,"mat-card-subtitle"),d._uU(7,"Dog Breed"),d.qZA(),d.qZA(),d._UZ(8,"div",1),d.TgZ(9,"mat-card-content"),d.TgZ(10,"p"),d._uU(11," The Shiba Inu is the smallest of the six original and distinct spitz breeds of dog from Japan. A small, agile dog that copes very well with mountainous terrain, the Shiba Inu was originally bred for hunting. "),d.qZA(),d.qZA(),d.TgZ(12,"mat-card-actions"),d.TgZ(13,"button",2),d._uU(14,"LIKE"),d.qZA(),d.TgZ(15,"button",2),d._uU(16,"SHARE"),d.qZA(),d.qZA(),d.qZA())},directives:[s.a8,s.dk,s.kc,s.n5,s.$j,s.G2,s.dn,s.hq,m.lW],encapsulation:2}),e),g=((i=function a(){t(this,a)}).\u0275fac=function(t){return new(t||i)},i.\u0275mod=d.oAB({type:i}),i.\u0275inj=d.cJS({imports:[[m.ot,s.QW]]}),i)},22797:function(a,n,r){"use strict";r.d(n,{a8:function(){return x},hq:function(){return g},kc:function(){return f},dn:function(){return l},dk:function(){return b},G2:function(){return h},QW:function(){return v},$j:function(){return p},n5:function(){return u}});var i=r(26136),e=r(87064),c=r(35366),o=["*",[["mat-card-footer"]]],d=["*","mat-card-footer"],m=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],s=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n [mat-card-title], [mat-card-subtitle],\n [matCardTitle], [matCardSubtitle]","*"],l=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.lG2({type:a,selectors:[["mat-card-content"],["","mat-card-content",""],["","matCardContent",""]],hostAttrs:[1,"mat-card-content"]}),a}(),u=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.lG2({type:a,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),a}(),p=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.lG2({type:a,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),a}(),g=function(){var a=function a(){t(this,a),this.align="start"};return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.lG2({type:a,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(t,a){2&t&&c.ekj("mat-card-actions-align-end","end"===a.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),a}(),h=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.lG2({type:a,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-card-image"]}),a}(),f=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275dir=c.lG2({type:a,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),a}(),x=function(){var a=function a(n){t(this,a),this._animationMode=n};return a.\u0275fac=function(t){return new(t||a)(c.Y36(i.Qb,8))},a.\u0275cmp=c.Xpm({type:a,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(t,a){2&t&&c.ekj("_mat-animation-noopable","NoopAnimations"===a._animationMode)},exportAs:["matCard"],ngContentSelectors:d,decls:2,vars:0,template:function(t,a){1&t&&(c.F$t(o),c.Hsn(0),c.Hsn(1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),a}(),b=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275cmp=c.Xpm({type:a,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:s,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(t,a){1&t&&(c.F$t(m),c.Hsn(0),c.TgZ(1,"div",0),c.Hsn(2,1),c.qZA(),c.Hsn(3,2))},encapsulation:2,changeDetection:0}),a}(),v=function(){var a=function a(){t(this,a)};return a.\u0275fac=function(t){return new(t||a)},a.\u0275mod=c.oAB({type:a}),a.\u0275inj=c.cJS({imports:[[e.BQ],e.BQ]}),a}()}}])}();