/*!
 *
 * carbon-angular v0.0.5 | code-snippet.component.ngfactory.js
 *
 * Copyright 2014, 2019 IBM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0

 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */


/**
 * @fileoverview This file was generated by the Angular template compiler. Do not edit.
 *
 * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
 * tslint:disable
 */ 
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../../../node_modules/@rocketsoftware/icons-angular/lib/copy/16.ngfactory";
import * as i3 from "@rocketsoftware/icons-angular/lib/copy/16";
import * as i4 from "../../../node_modules/@rocketsoftware/icons-angular/lib/chevron--down/16.ngfactory";
import * as i5 from "@rocketsoftware/icons-angular/lib/chevron--down/16";
import * as i6 from "./code-snippet.component";
import * as i7 from "../i18n/i18n.service";
var styles_CodeSnippet = [];
var RenderType_CodeSnippet = i0.ɵcrt({ encapsulation: 2, styles: styles_CodeSnippet, data: {} });
export { RenderType_CodeSnippet as RenderType_CodeSnippet };
function View_CodeSnippet_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null); }
function View_CodeSnippet_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null); }
function View_CodeSnippet_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_2)), i0.ɵdid(2, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_3)), i0.ɵdid(4, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = i0.ɵnov(_v.parent, 4); _ck(_v, 2, 0, currVal_0); var currVal_1 = i0.ɵnov(_v.parent, 5); _ck(_v, 4, 0, currVal_1); }, null); }
function View_CodeSnippet_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "span", [], null, null, null, null, null))], null, null); }
function View_CodeSnippet_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, "span", [], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 0, "span", [], null, null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 0, "span", [], null, null, null, null, null))], null, null); }
function View_CodeSnippet_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, null, null, null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_6)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), (_l()(), i0.ɵand(0, [["multiSkeleton", 2]], null, 0, null, View_CodeSnippet_7))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.display === "single"); var currVal_1 = i0.ɵnov(_v, 3); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }
function View_CodeSnippet_9(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null); }
function View_CodeSnippet_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "pre", [], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_9)), i0.ɵdid(2, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null)], function (_ck, _v) { var currVal_0 = i0.ɵnov(_v.parent.parent, 4); _ck(_v, 2, 0, currVal_0); }, null); }
function View_CodeSnippet_11(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, null, null, null, null, null, null, null))], null, null); }
function View_CodeSnippet_10(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "button", [["class", "bx--snippet-button"], ["tabindex", "0"]], [[1, "aria-label", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.onCopyButtonClicked() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, "ibm-icon-copy16", [["class", "bx--snippet__icon"]], null, null, null, i2.View_Copy16_0, i2.RenderType_Copy16)), i0.ɵdid(2, 49152, null, 0, i3.Copy16, [], null, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_11)), i0.ɵdid(4, 540672, null, 0, i1.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, "ngTemplateOutlet"] }, null)], function (_ck, _v) { var currVal_1 = i0.ɵnov(_v.parent.parent, 5); _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.translations.COPY_CODE; _ck(_v, 0, 0, currVal_0); }); }
function View_CodeSnippet_12(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "button", [["class", "bx--btn bx--btn--ghost bx--btn--sm bx--snippet-btn--expand"], ["type", "button"]], null, [[null, "click"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if (("click" === en)) {
        var pd_0 = (_co.toggleSnippetExpansion() !== false);
        ad = (pd_0 && ad);
    } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, "span", [["class", "bx--snippet-btn--text"]], null, null, null, null, null)), (_l()(), i0.ɵted(2, null, ["", ""])), (_l()(), i0.ɵeld(3, 0, null, null, 1, "ibm-icon-chevron-down16", [["class", "bx--icon-chevron--down"]], null, null, null, i4.View_ChevronDown16_0, i4.RenderType_ChevronDown16)), i0.ɵdid(4, 49152, null, 0, i5.ChevronDown16, [], { ariaLabel: [0, "ariaLabel"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.translations.SHOW_MORE_ICON; _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.expanded ? _co.translations.SHOW_LESS : _co.translations.SHOW_MORE); _ck(_v, 2, 0, currVal_0); }); }
function View_CodeSnippet_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, "div", [["class", "bx--snippet-container"]], [[1, "aria-label", 0]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_5)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_8)), i0.ɵdid(4, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_10)), i0.ɵdid(6, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_12)), i0.ɵdid(8, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.skeleton; _ck(_v, 2, 0, currVal_1); var currVal_2 = !_co.skeleton; _ck(_v, 4, 0, currVal_2); var currVal_3 = !_co.skeleton; _ck(_v, 6, 0, currVal_3); var currVal_4 = ((_co.display === "multi") && _co.shouldShowExpandButton); _ck(_v, 8, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.translations.CODE_SNIPPET_TEXT; _ck(_v, 0, 0, currVal_0); }); }
function View_CodeSnippet_13(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, [[1, 0], ["code", 1]], null, 1, "code", [], null, null, null, null, null)), i0.ɵncd(null, 0)], null, null); }
function View_CodeSnippet_14(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, "div", [["class", "bx--btn--copy__feedback"]], [[1, "data-feedback", 0]], null, null, null, null)), i0.ɵdid(1, 278528, null, 0, i1.NgClass, [i0.IterableDiffers, i0.KeyValueDiffers, i0.ElementRef, i0.Renderer2], { klass: [0, "klass"], ngClass: [1, "ngClass"] }, null), i0.ɵpod(2, { "bx--btn--copy__feedback--displayed": 0 })], function (_ck, _v) { var _co = _v.component; var currVal_1 = "bx--btn--copy__feedback"; var currVal_2 = _ck(_v, 2, 0, _co.showFeedback); _ck(_v, 1, 0, currVal_1, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.feedbackText; _ck(_v, 0, 0, currVal_0); }); }
export function View_CodeSnippet_0(_l) { return i0.ɵvid(0, [i0.ɵqud(671088640, 1, { code: 0 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_CodeSnippet_1)), i0.ɵdid(2, 16384, null, 0, i1.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, "ngIf"], ngIfElse: [1, "ngIfElse"] }, null), (_l()(), i0.ɵand(0, [["notInline", 2]], null, 0, null, View_CodeSnippet_4)), (_l()(), i0.ɵand(0, [["codeTemplate", 2]], null, 0, null, View_CodeSnippet_13)), (_l()(), i0.ɵand(0, [["feedbackTemplate", 2]], null, 0, null, View_CodeSnippet_14))], function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.display === "inline"); var currVal_1 = i0.ɵnov(_v, 3); _ck(_v, 2, 0, currVal_0, currVal_1); }, null); }
export function View_CodeSnippet_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, "ibm-code-snippet", [], [[2, "bx--snippet--expand", null], [2, "bx--skeleton", null], [2, "bx--snippet", null], [2, "bx--snippet--single", null], [2, "bx--snippet--multi", null], [2, "bx--snippet--inline", null], [2, "bx--snippet--light", null], [2, "bx--btn--copy", null], [4, "display", null], [1, "type", 0]], [[null, "click"]], function (_v, en, $event) { var ad = true; if (("click" === en)) {
        var pd_0 = (i0.ɵnov(_v, 1).hostClick() !== false);
        ad = (pd_0 && ad);
    } return ad; }, View_CodeSnippet_0, RenderType_CodeSnippet)), i0.ɵdid(1, 49152, null, 0, i6.CodeSnippet, [i7.I18n], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).expanded; var currVal_1 = i0.ɵnov(_v, 1).skeleton; var currVal_2 = i0.ɵnov(_v, 1).snippetClass; var currVal_3 = i0.ɵnov(_v, 1).snippetSingleClass; var currVal_4 = i0.ɵnov(_v, 1).snippetMultiClass; var currVal_5 = i0.ɵnov(_v, 1).snippetInlineClass; var currVal_6 = i0.ɵnov(_v, 1).snippetInlineLightClass; var currVal_7 = i0.ɵnov(_v, 1).btnCopyClass; var currVal_8 = i0.ɵnov(_v, 1).displayStyle; var currVal_9 = i0.ɵnov(_v, 1).attrType; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9); }); }
var CodeSnippetNgFactory = i0.ɵccf("ibm-code-snippet", i6.CodeSnippet, View_CodeSnippet_Host_0, { display: "display", translations: "translations", theme: "theme", feedbackText: "feedbackText", feedbackTimeout: "feedbackTimeout", expanded: "expanded", skeleton: "skeleton" }, {}, ["*"]);
export { CodeSnippetNgFactory as CodeSnippetNgFactory };
//# sourceMappingURL=code-snippet.component.ngfactory.js.map