-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcode-code-tabs-module-es5.070a040f77e5f8468e7c.js
2 lines (2 loc) · 39.9 KB
/
code-code-tabs-module-es5.070a040f77e5f8468e7c.js
1
2
function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function _iterableToArray(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function _get(t,e,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var a=_superPropBase(t,e);if(a){var i=Object.getOwnPropertyDescriptor(a,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _possibleConstructorReturn(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?_assertThisInitialized(t):e}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),t}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{g5Zp:function(t,e,n){"use strict";n.r(e);var a,i,o=n("ofXK"),r=n("6CTB"),s=n("fXoL"),c=n("R1ws"),l=n("FKr1"),b=[1,"mat-card"],d=["*",[["mat-card-footer"]]],u=["*","mat-card-footer"],h=((i=function t(e){_classCallCheck(this,t),this._animationMode=e}).\u0275fac=function(t){return new(t||i)(s.Pb(c.a,8))},i.\u0275cmp=s.Jb({type:i,selectors:[["mat-card"]],hostBindings:function(t,e,n){1&t&&(s.Bb(1),s.Ub(b)),2&t&&s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)},exportAs:["matCard"],ngContentSelectors:u,decls:2,vars:0,template:function(t,e){1&t&&(s.lc(d),s.kc(0),s.kc(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}@media(-ms-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 .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-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}/*# sourceMappingURL=card.css.map */\n"],encapsulation:2,changeDetection:0}),i),m=((a=function t(){_classCallCheck(this,t)}).\u0275mod=s.Nb({type:a}),a.\u0275inj=s.Mb({factory:function(t){return new(t||a)},imports:[[l.b],l.b]}),a),p=n("GU7r"),f=n("+rOU"),g=n("u47x"),_=n("XNiG"),y=n("quSY"),v=n("VRyK"),x=n("xgIS"),C=n("LRne"),k=n("PqYM"),P=n("R0Ic"),w=n("JX91"),T=n("/uUt"),I=n("1G5W"),O=n("8LU1"),L=n("nLfN"),D=n("FtGj"),S=n("cH1L"),R=n("vxfF"),A=[1,"mat-ink-bar"];function j(t,e){1&t&&s.kc(0)}var E=["*"],F=[1,"mat-tab-body"];function M(t,e){}var B=function(t){return{animationDuration:t}},H=function(t,e){return{value:t,params:e}},W=["tabBodyWrapper"],z=["tabHeader"],V=[1,"mat-tab-group"];function K(t,e){}function U(t,e){if(1&t&&s.Ec(0,K,0,0,"ng-template",9),2&t){var n=s.hc().$implicit;s.mc("cdkPortalOutlet",n.templateLabel)}}function Q(t,e){if(1&t&&s.Gc(0),2&t){var n=s.hc().$implicit;s.Hc(n.textLabel)}}function N(t,e){if(1&t){var n=s.Wb();s.Vb(0,"div",6),s.dc("click",(function(t){s.vc(n);var a=e.$implicit,i=e.index,o=s.hc(),r=s.sc(1);return o._handleClick(a,r,i)})),s.Vb(1,"div",7),s.Ec(2,U,1,1,"ng-template",8),s.Ec(3,Q,1,1,"ng-template",8),s.Tb(),s.Tb()}if(2&t){var a=e.$implicit,i=e.index,o=s.hc();s.Fb("mat-tab-label-active",o.selectedIndex==i),s.mc("id",o._getTabLabelId(i))("disabled",a.disabled)("matRippleDisabled",a.disabled||o.disableRipple),s.Cb("tabIndex",o._getTabIndex(a,i))("aria-posinset",i+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(i))("aria-selected",o.selectedIndex==i)("aria-label",a.ariaLabel||null)("aria-labelledby",!a.ariaLabel&&a.ariaLabelledby?a.ariaLabelledby:null),s.Ab(2),s.mc("ngIf",a.templateLabel),s.Ab(1),s.mc("ngIf",!a.templateLabel)}}function G(t,e){if(1&t){var n=s.Wb();s.Vb(0,"mat-tab-body",10),s.dc("_onCentered",(function(t){return s.vc(n),s.hc()._removeTabBodyWrapperHeight()})),s.dc("_onCentering",(function(t){return s.vc(n),s.hc()._setTabBodyWrapperHeight(t)})),s.Tb()}if(2&t){var a=e.$implicit,i=e.index,o=s.hc();s.Fb("mat-tab-body-active",o.selectedIndex==i),s.mc("id",o._getTabContentId(i))("content",a.content)("position",a.position)("origin",a.origin)("animationDuration",o.animationDuration),s.Cb("aria-labelledby",o._getTabLabelId(i))}}var J,q,$,Y,X,Z,tt,et,nt,at,it,ot,rt,st,ct=["tabListContainer"],lt=["tabList"],bt=["nextPaginator"],dt=["previousPaginator"],ut=[1,"mat-tab-header"],ht=new s.p("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),mt=(($=function(){function t(e,n,a,i){_classCallCheck(this,t),this._elementRef=e,this._ngZone=n,this._inkBarPositioner=a,this._animationMode=i}return _createClass(t,[{key:"alignToElement",value:function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}]),t}()).\u0275fac=function(t){return new(t||$)(s.Pb(s.k),s.Pb(s.y),s.Pb(ht),s.Pb(c.a,8))},$.\u0275dir=s.Kb({type:$,selectors:[["mat-ink-bar"]],hostBindings:function(t,e,n){1&t&&(s.Bb(1),s.Ub(A)),2&t&&s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),$),pt=((q=function t(e){_classCallCheck(this,t),this.template=e}).\u0275fac=function(t){return new(t||q)(s.Pb(s.L))},q.\u0275dir=s.Kb({type:q,selectors:[["","matTabContent",""]]}),q),ft=((J=function(t){function e(){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).apply(this,arguments))}return _inherits(e,t),e}(f.b)).\u0275fac=function(t){return gt(t||J)},J.\u0275dir=s.Kb({type:J,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[s.xb]}),J),gt=s.Xb(ft),_t=Object(l.h)((function t(){_classCallCheck(this,t)})),yt=((Y=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this)))._viewContainerRef=t,n.textLabel="",n._contentPortal=null,n._stateChanges=new _.a,n.position=null,n.origin=null,n.isActive=!1,n}return _inherits(e,t),_createClass(e,[{key:"ngOnChanges",value:function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new f.i(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"content",get:function(){return this._contentPortal}}]),e}(_t)).\u0275fac=function(t){return new(t||Y)(s.Pb(s.O))},Y.\u0275cmp=s.Jb({type:Y,selectors:[["mat-tab"]],contentQueries:function(t,e,n){var a;1&t&&(s.Hb(n,ft,!0),s.zc(n,pt,!0,s.L)),2&t&&(s.rc(a=s.ec())&&(e.templateLabel=a.first),s.rc(a=s.ec())&&(e._explicitContent=a.first))},viewQuery:function(t,e){var n;1&t&&s.Ac(s.L,!0),2&t&&s.rc(n=s.ec())&&(e._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[s.xb,s.yb()],ngContentSelectors:E,decls:1,vars:0,template:function(t,e){1&t&&(s.lc(),s.Ec(0,j,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),Y),vt={translateTab:Object(P.j)("translateTab",[Object(P.g)("center, void, left-origin-center, right-origin-center",Object(P.h)({transform:"none"})),Object(P.g)("left",Object(P.h)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(P.g)("right",Object(P.h)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(P.i)("* => left, * => right, left => center, right => center",Object(P.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(P.i)("void => left-origin-center",[Object(P.h)({transform:"translate3d(-100%, 0, 0)"}),Object(P.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(P.i)("void => right-origin-center",[Object(P.h)({transform:"translate3d(100%, 0, 0)"}),Object(P.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},xt=((tt=function(t){function e(t,n,a){var i;return _classCallCheck(this,e),(i=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this,t,n)))._host=a,i._centeringSub=y.a.EMPTY,i._leavingSub=y.a.EMPTY,i}return _inherits(e,t),_createClass(e,[{key:"ngOnInit",value:function(){var t=this;_get(_getPrototypeOf(e.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(w.a)(this._host._isCenterPosition(this._host._position))).subscribe((function(e){e&&!t.hasAttached()&&t.attach(t._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){t.detach()}))}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(e.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),e}(f.c)).\u0275fac=function(t){return new(t||tt)(s.Pb(s.j),s.Pb(s.O),s.Pb(Object(s.T)((function(){return kt}))))},tt.\u0275dir=s.Kb({type:tt,selectors:[["","matTabBodyHost",""]],features:[s.xb]}),tt),Ct=((Z=function(){function t(e,n,a){var i=this;_classCallCheck(this,t),this._elementRef=e,this._dir=n,this._dirChangeSubscription=y.a.EMPTY,this._translateTabComplete=new _.a,this._onCentering=new s.m,this._beforeCentering=new s.m,this._afterLeavingCenter=new s.m,this._onCentered=new s.m(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe((function(t){i._computePositionAnimationState(t),a.markForCheck()}))),this._translateTabComplete.pipe(Object(T.a)((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){i._isCenterPosition(t.toState)&&i._isCenterPosition(i._position)&&i._onCentered.emit(),i._isCenterPosition(t.fromState)&&!i._isCenterPosition(i._position)&&i._afterLeavingCenter.emit()}))}return _createClass(t,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(){var t=this._getLayoutDirection();return"ltr"==t&&this.origin<=0||"rtl"==t&&this.origin>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}}]),t}()).\u0275fac=function(t){return new(t||Z)(s.Pb(s.k),s.Pb(S.b,8),s.Pb(s.h))},Z.\u0275dir=s.Kb({type:Z,selectors:[["do-not-use-abstract-mat-tab-body-base"]],inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),Z),kt=((X=function(t){function e(t,n,a){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).call(this,t,n,a))}return _inherits(e,t),e}(Ct)).\u0275fac=function(t){return new(t||X)(s.Pb(s.k),s.Pb(S.b,8),s.Pb(s.h))},X.\u0275cmp=s.Jb({type:X,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var n;1&t&&s.Lc(f.f,!0),2&t&&s.rc(n=s.ec())&&(e._portalHost=n.first)},hostBindings:function(t,e,n){1&t&&s.Ub(F)},features:[s.xb],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(s.Vb(0,"div",0,1),s.dc("@translateTab.start",(function(t){return e._onTranslateTabStarted(t)})),s.dc("@translateTab.done",(function(t){return e._translateTabComplete.next(t)})),s.Ec(2,M,0,0,"ng-template",2),s.Tb()),2&t&&s.mc("@translateTab",s.qc(3,H,e._position,s.pc(1,B,e.animationDuration)))},directives:[xt],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}/*# sourceMappingURL=tab-body.css.map */\n"],encapsulation:2,data:{animation:[vt.translateTab]},changeDetection:0}),X),Pt=0,wt=function t(){_classCallCheck(this,t)},Tt=new s.p("MAT_TABS_CONFIG"),It=Object(l.f)(Object(l.g)((function t(e){_classCallCheck(this,t),this._elementRef=e})),"primary"),Ot=((nt=function(t){function e(t,n,a,i){var o;return _classCallCheck(this,e),(o=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this,t)))._changeDetectorRef=n,o._animationMode=i,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=y.a.EMPTY,o._tabLabelSubscription=y.a.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new s.m,o.focusChange=new s.m,o.animationDone=new s.m,o.selectedTabChange=new s.m(!0),o._groupId=Pt++,o.animationDuration=a&&a.animationDuration?a.animationDuration:"500ms",o}return _inherits(e,t),_createClass(e,[{key:"ngAfterContentChecked",value:function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(n,a){n.position=a-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var t=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n<e.length;n++)if(e[n].isActive){t._indexToSelect=t._selectedIndex=n;break}t._subscribeToTabLabels(),t._changeDetectorRef.markForCheck()}))}},{key:"ngOnDestroy",value:function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}},{key:"realignInkBar",value:function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}},{key:"_focusChanged",value:function(t){this.focusChange.emit(this._createChangeEvent(t))}},{key:"_createChangeEvent",value:function(t){var e=new wt;return e.index=t,this._tabs&&this._tabs.length&&(e.tab=this._tabs.toArray()[t]),e}},{key:"_subscribeToTabLabels",value:function(){var t=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Object(v.a).apply(void 0,_toConsumableArray(this._tabs.map((function(t){return t._stateChanges})))).subscribe((function(){return t._changeDetectorRef.markForCheck()}))}},{key:"_clampTabIndex",value:function(t){return Math.min(this._tabs.length-1,Math.max(t||0,0))}},{key:"_getTabLabelId",value:function(t){return"mat-tab-label-".concat(this._groupId,"-").concat(t)}},{key:"_getTabContentId",value:function(t){return"mat-tab-content-".concat(this._groupId,"-").concat(t)}},{key:"_setTabBodyWrapperHeight",value:function(t){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var e=this._tabBodyWrapper.nativeElement;e.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(e.style.height=t+"px")}}},{key:"_removeTabBodyWrapperHeight",value:function(){var t=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=t.clientHeight,t.style.height="",this.animationDone.emit()}},{key:"_handleClick",value:function(t,e,n){t.disabled||(this.selectedIndex=e.focusIndex=n)}},{key:"_getTabIndex",value:function(t,e){return t.disabled?null:this.selectedIndex===e?0:-1}},{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(t){this._dynamicHeight=Object(O.b)(t)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){this._indexToSelect=Object(O.e)(t,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(t){var e=this._elementRef.nativeElement;e.classList.remove("mat-background-".concat(this.backgroundColor)),t&&e.classList.add("mat-background-".concat(t)),this._backgroundColor=t}}]),e}(It)).\u0275fac=function(t){return new(t||nt)(s.Pb(s.k),s.Pb(s.h),s.Pb(Tt,8),s.Pb(c.a,8))},nt.\u0275dir=s.Kb({type:nt,selectors:[["do-not-use-abstract-mat-tab-group-base"]],inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[s.xb]}),nt),Lt=((et=function(t){function e(t,n,a,i){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).call(this,t,n,a,i))}return _inherits(e,t),e}(Ot)).\u0275fac=function(t){return new(t||et)(s.Pb(s.k),s.Pb(s.h),s.Pb(Tt,8),s.Pb(c.a,8))},et.\u0275cmp=s.Jb({type:et,selectors:[["mat-tab-group"]],contentQueries:function(t,e,n){var a;1&t&&s.Hb(n,yt,!1),2&t&&s.rc(a=s.ec())&&(e._tabs=a)},viewQuery:function(t,e){var n;1&t&&(s.Lc(W,!0),s.Lc(z,!0)),2&t&&(s.rc(n=s.ec())&&(e._tabBodyWrapper=n.first),s.rc(n=s.ec())&&(e._tabHeader=n.first))},hostBindings:function(t,e,n){1&t&&(s.Bb(2),s.Ub(V)),2&t&&(s.Fb("mat-tab-group-dynamic-height",e.dynamicHeight),s.Fb("mat-tab-group-inverted-header","below"===e.headerPosition))},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[s.xb],decls:6,vars:5,consts:[[3,"selectedIndex","disableRipple","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label",3,"id","disabled","matRippleDisabled","click"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(t,e){1&t&&(s.Vb(0,"mat-tab-header",0,1),s.dc("indexFocused",(function(t){return e._focusChanged(t)})),s.dc("selectFocusedIndex",(function(t){return e.selectedIndex=t})),s.Ec(2,N,4,13,"div",2),s.Tb(),s.Vb(3,"div",3,4),s.Ec(5,G,1,7,"mat-tab-body",5),s.Tb()),2&t&&(s.mc("selectedIndex",e.selectedIndex)("disableRipple",e.disableRipple),s.Ab(2),s.mc("ngForOf",e._tabs),s.Ab(1),s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Ab(2),s.mc("ngForOf",e._tabs))},directives:function(){return[Et,o.j,St,l.c,g.b,o.k,f.c,kt]},styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media(-ms-high-contrast: active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media(-ms-high-contrast: active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media(-ms-high-contrast: active){.mat-tab-label{opacity:1}}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}/*# sourceMappingURL=tab-group.css.map */\n"],encapsulation:2,changeDetection:0}),et),Dt=Object(l.h)((function t(){_classCallCheck(this,t)})),St=((at=function(t){function e(t){var n;return _classCallCheck(this,e),(n=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this))).elementRef=t,n}return _inherits(e,t),_createClass(e,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),e}(Dt)).\u0275fac=function(t){return new(t||at)(s.Pb(s.k))},at.\u0275dir=s.Kb({type:at,selectors:[["","matTabLabelWrapper",""]],hostBindings:function(t,e,n){1&t&&s.Bb(2),2&t&&(s.Cb("aria-disabled",!!e.disabled),s.Fb("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[s.xb]}),at),Rt=Object(L.e)({passive:!0}),At=((st=function(){function t(e,n,a,i,o,r,c){var l=this;_classCallCheck(this,t),this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=i,this._ngZone=o,this._platform=r,this._animationMode=c,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new _.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new _.a,this._selectedIndex=0,this.selectFocusedIndex=new s.m,this.indexFocused=new s.m,o.runOutsideAngular((function(){Object(x.a)(e.nativeElement,"mouseleave").pipe(Object(I.a)(l._destroyed)).subscribe((function(){l._stopInterval()}))}))}return _createClass(t,[{key:"ngAfterViewInit",value:function(){var t=this;Object(x.a)(this._previousPaginator.nativeElement,"touchstart",Rt).pipe(Object(I.a)(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),Object(x.a)(this._nextPaginator.nativeElement,"touchstart",Rt).pipe(Object(I.a)(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var t=this,e=this._dir?this._dir.change:Object(C.a)(null),n=this._viewportRuler.change(150),a=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new g.c(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(a):a(),Object(v.a)(e,n,this._items.changes).pipe(Object(I.a)(this._destroyed)).subscribe((function(){a(),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(Object(I.a)(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(t){if(!Object(D.o)(t))switch(t.keyCode){case D.f:this._keyManager.setFirstItemActive(),t.preventDefault();break;case D.c:this._keyManager.setLastItemActive(),t.preventDefault();break;case D.d:case D.j:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t);break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){var t=this.scrollDistance,e=this._platform,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(n),"px)"),e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){var e=this._items?this._items.toArray()[t]:null;if(e){var n,a,i=this._tabListContainer.nativeElement.offsetWidth,o=e.elementRef.nativeElement,r=o.offsetLeft,s=o.offsetWidth;"ltr"==this._getLayoutDirection()?a=(n=r)+s:n=(a=this._tabList.nativeElement.offsetWidth-r)-s;var c=this.scrollDistance,l=this.scrollDistance+i;n<c?this.scrollDistance-=c-n+60:a>l&&(this.scrollDistance+=a-l+60)}}},{key:"_checkPaginationEnabled",value:function(){var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}},{key:"_checkScrollingControls",value:function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t){var e=this;this._stopInterval(),Object(k.a)(650,100).pipe(Object(I.a)(Object(v.a)(this._stopScrolling,this._destroyed))).subscribe((function(){var n=e._scrollHeader(t),a=n.maxScrollDistance,i=n.distance;(0===i||i>=a)&&e._stopInterval()}))}},{key:"_scrollTo",value:function(t){var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=Object(O.e)(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItemIndex(t))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}}]),t}()).\u0275fac=function(t){return new(t||st)(s.Pb(s.k),s.Pb(s.h),s.Pb(R.e),s.Pb(S.b,8),s.Pb(s.y),s.Pb(L.a),s.Pb(c.a,8))},st.\u0275dir=s.Kb({type:st,selectors:[["do-not-use-abstract-mat-paginated-tab-header"]]}),st),jt=((rt=function(t){function e(t,n,a,i,o,r,s){var c;return _classCallCheck(this,e),(c=_possibleConstructorReturn(this,_getPrototypeOf(e).call(this,t,n,a,i,o,r,s)))._disableRipple=!1,c}return _inherits(e,t),_createClass(e,[{key:"_itemSelected",value:function(t){t.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Object(O.b)(t)}}]),e}(At)).\u0275fac=function(t){return new(t||rt)(s.Pb(s.k),s.Pb(s.h),s.Pb(R.e),s.Pb(S.b,8),s.Pb(s.y),s.Pb(L.a),s.Pb(c.a,8))},rt.\u0275dir=s.Kb({type:rt,selectors:[["do-not-use-abstract-mat-tab-header-base"]],inputs:{disableRipple:"disableRipple"},features:[s.xb]}),rt),Et=((ot=function(t){function e(t,n,a,i,o,r,s){return _classCallCheck(this,e),_possibleConstructorReturn(this,_getPrototypeOf(e).call(this,t,n,a,i,o,r,s))}return _inherits(e,t),e}(jt)).\u0275fac=function(t){return new(t||ot)(s.Pb(s.k),s.Pb(s.h),s.Pb(R.e),s.Pb(S.b,8),s.Pb(s.y),s.Pb(L.a),s.Pb(c.a,8))},ot.\u0275cmp=s.Jb({type:ot,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){var a;1&t&&s.Hb(n,St,!1),2&t&&s.rc(a=s.ec())&&(e._items=a)},viewQuery:function(t,e){var n;1&t&&(s.Ac(mt,!0),s.Ac(ct,!0),s.Ac(lt,!0),s.Lc(bt,!0),s.Lc(dt,!0)),2&t&&(s.rc(n=s.ec())&&(e._inkBar=n.first),s.rc(n=s.ec())&&(e._tabListContainer=n.first),s.rc(n=s.ec())&&(e._tabList=n.first),s.rc(n=s.ec())&&(e._nextPaginator=n.first),s.rc(n=s.ec())&&(e._previousPaginator=n.first))},hostBindings:function(t,e,n){1&t&&(s.Bb(2),s.Ub(ut)),2&t&&(s.Fb("mat-tab-header-pagination-controls-enabled",e._showPaginationControls),s.Fb("mat-tab-header-rtl","rtl"==e._getLayoutDirection()))},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[s.xb],ngContentSelectors:E,decls:13,vars:5,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(s.lc(),s.Vb(0,"div",0,1),s.dc("click",(function(t){return e._handlePaginatorClick("before")})),s.dc("mousedown",(function(t){return e._handlePaginatorPress("before")})),s.dc("touchend",(function(t){return e._stopInterval()})),s.Qb(2,"div",2),s.Tb(),s.Vb(3,"div",3,4),s.dc("keydown",(function(t){return e._handleKeydown(t)})),s.Vb(5,"div",5,6),s.dc("cdkObserveContent",(function(t){return e._onContentChanges()})),s.Vb(7,"div",7),s.kc(8),s.Tb(),s.Qb(9,"mat-ink-bar"),s.Tb(),s.Tb(),s.Vb(10,"div",8,9),s.dc("mousedown",(function(t){return e._handlePaginatorPress("after")})),s.dc("click",(function(t){return e._handlePaginatorClick("after")})),s.dc("touchend",(function(t){return e._stopInterval()})),s.Qb(12,"div",2),s.Tb()),2&t&&(s.Fb("mat-tab-header-pagination-disabled",e._disableScrollBefore),s.mc("matRippleDisabled",e._disableScrollBefore||e.disableRipple),s.Ab(5),s.Fb("_mat-animation-noopable","NoopAnimations"===e._animationMode),s.Ab(5),s.Fb("mat-tab-header-pagination-disabled",e._disableScrollAfter),s.mc("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[l.c,p.a,mt],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media(-ms-high-contrast: active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media(-ms-high-contrast: active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media(-ms-high-contrast: active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media(-ms-high-contrast: active){.mat-tab-label{opacity:1}}@media(max-width: 599px){.mat-tab-label{min-width:72px}}/*# sourceMappingURL=tab-header.css.map */\n'],encapsulation:2,changeDetection:0}),ot),Ft=((it=function t(){_classCallCheck(this,t)}).\u0275mod=s.Nb({type:it}),it.\u0275inj=s.Mb({factory:function(t){return new(t||it)},imports:[[o.c,l.b,f.h,l.d,p.c,g.a],l.b]}),it),Mt=["content"];function Bt(t,e){if(1&t&&(s.Vb(0,"span"),s.Gc(1),s.Tb()),2&t){var n=s.hc().$implicit;s.Db(n.class),s.Ab(1),s.Hc(n.header)}}function Ht(t,e){if(1&t&&(s.Vb(0,"mat-tab",4),s.Ec(1,Bt,2,4,"ng-template",5),s.Qb(2,"aio-code",6),s.Tb()),2&t){var n=e.$implicit;s.Ab(2),s.Db(n.class),s.mc("language",n.language)("linenums",n.linenums)("path",n.path)("region",n.region)("header",n.header)}}var Wt,zt=["*"],Vt=((Wt=function(){function t(){_classCallCheck(this,t)}return _createClass(t,[{key:"ngOnInit",value:function(){this.tabs=[];for(var t=0,e=Array.from(this.content.nativeElement.querySelectorAll("code-pane"));t<e.length;t++){var n=e[t];this.tabs.push(this.getTabInfo(n))}}},{key:"ngAfterViewInit",value:function(){var t=this;this.codeComponents.toArray().forEach((function(e,n){e.code=t.tabs[n].code}))}},{key:"getTabInfo",value:function(t){return{class:t.getAttribute("class")||"",code:t.innerHTML,path:t.getAttribute("path")||"",region:t.getAttribute("region")||"",header:t.getAttribute("header")||void 0,language:t.getAttribute("language")||void 0,linenums:t.getAttribute("linenums")||this.linenums}}}]),t}()).\u0275fac=function(t){return new(t||Wt)},Wt.\u0275cmp=s.Jb({type:Wt,selectors:[["code-tabs"]],viewQuery:function(t,e){var n;1&t&&(s.Ac(Mt,!0),s.Lc(r.a,!0)),2&t&&(s.rc(n=s.ec())&&(e.content=n.first),s.rc(n=s.ec())&&(e.codeComponents=n))},inputs:{linenums:"linenums"},ngContentSelectors:zt,decls:6,vars:2,consts:[[2,"display","none"],["content",""],[1,"code-tab-group",3,"disableRipple"],["style","overflow-y: hidden;",4,"ngFor","ngForOf"],[2,"overflow-y","hidden"],["mat-tab-label",""],[3,"language","linenums","path","region","header"]],template:function(t,e){1&t&&(s.lc(),s.Vb(0,"div",0,1),s.kc(2),s.Tb(),s.Vb(3,"mat-card"),s.Vb(4,"mat-tab-group",2),s.Ec(5,Ht,3,8,"mat-tab",3),s.Tb(),s.Tb()),2&t&&(s.Ab(4),s.mc("disableRipple",!0),s.Ab(1),s.mc("ngForOf",e.tabs))},directives:[h,Lt,o.j,yt,ft,r.a],encapsulation:2}),Wt),Kt=n("V90o");n.d(e,"CodeTabsModule",(function(){return Qt}));var Ut,Qt=((Ut=function t(){_classCallCheck(this,t),this.customElementComponent=Vt}).\u0275mod=s.Nb({type:Ut}),Ut.\u0275inj=s.Mb({factory:function(t){return new(t||Ut)},imports:[[o.c,m,Ft,Kt.a]]}),Ut)}}]);
//# sourceMappingURL=code-code-tabs-module-es5.070a040f77e5f8468e7c.js.map