import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "ngx-skeleton-loader";
var _c0 = function () { return { width: "60%", height: "20px" }; };
var _c1 = function () { return { height: "16px", "margin-bottom": "7px" }; };
var WidgetLoaderComponent = /** @class */ (function () {
    function WidgetLoaderComponent() {
        this.topLines = 1;
        this.bottomLines = 4;
    }
    WidgetLoaderComponent.prototype.ngOnInit = function () { };
    WidgetLoaderComponent.ɵfac = function WidgetLoaderComponent_Factory(t) { return new (t || WidgetLoaderComponent)(); };
    WidgetLoaderComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WidgetLoaderComponent, selectors: [["ins-widget-loader"]], inputs: { topLines: "topLines", bottomLines: "bottomLines" }, decls: 5, vars: 6, consts: [[1, "widget-pack"], [1, "wp-head"], [1, "null-container", 3, "theme", "count"], [1, "wp-body"]], template: function WidgetLoaderComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵelementStart(0, "section", 0);
            i0.ɵɵelementStart(1, "div", 1);
            i0.ɵɵelement(2, "ngx-skeleton-loader", 2);
            i0.ɵɵelementEnd();
            i0.ɵɵelementStart(3, "div", 3);
            i0.ɵɵelement(4, "ngx-skeleton-loader", 2);
            i0.ɵɵelementEnd();
            i0.ɵɵelementEnd();
        } if (rf & 2) {
            i0.ɵɵadvance(2);
            i0.ɵɵproperty("theme", i0.ɵɵpureFunction0(4, _c0))("count", ctx.topLines);
            i0.ɵɵadvance(2);
            i0.ɵɵproperty("theme", i0.ɵɵpureFunction0(5, _c1))("count", ctx.bottomLines);
        } }, directives: [i1.NgxSkeletonLoaderComponent], styles: [".widget-pack[_ngcontent-%COMP%]{background:#fff;border-radius:.5rem;padding:.9375rem}.wp-body[_ngcontent-%COMP%], .wp-foot[_ngcontent-%COMP%]{margin-top:.9375rem}.wp-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;color:#061a73;margin:0;font-family:Lato,sans-serif}.wp-link[_ngcontent-%COMP%]{color:#6e6f70;font-size:.875rem;cursor:pointer}.wp-link[_ngcontent-%COMP%]:hover{text-decoration:underline}[_nghost-%COMP%] ngx-skeleton-loader .loader{display:block}.null-container[_ngcontent-%COMP%]{display:contents}[_nghost-%COMP%]{display:contents}"] });
    return WidgetLoaderComponent;
}());
export { WidgetLoaderComponent };
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(WidgetLoaderComponent, [{
        type: Component,
        args: [{
                selector: 'ins-widget-loader',
                templateUrl: './widget-loader.component.html',
                styleUrls: ['./widget-loader.component.scss'],
            }]
    }], function () { return []; }, { topLines: [{
            type: Input
        }], bottomLines: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lkZ2V0LWxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9pbnNwaXJlLWxpYnJhcnkvIiwic291cmNlcyI6WyJsaWIvbG9hZGVycy93aWRnZXQtbG9hZGVyL3dpZGdldC1sb2FkZXIuY29tcG9uZW50LnRzIiwibGliL2xvYWRlcnMvd2lkZ2V0LWxvYWRlci93aWRnZXQtbG9hZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDOzs7OztBQUV6RDtJQVNFO1FBSFMsYUFBUSxHQUFHLENBQUMsQ0FBQztRQUNiLGdCQUFXLEdBQUcsQ0FBQyxDQUFDO0lBRVYsQ0FBQztJQUVoQix3Q0FBUSxHQUFSLGNBQWtCLENBQUM7OEZBTlIscUJBQXFCOzhEQUFyQixxQkFBcUI7WUNQbEMsa0NBQ0U7WUFBQSw4QkFDRTtZQUFBLHlDQUl1QjtZQUN6QixpQkFBTTtZQUNOLDhCQUNFO1lBQUEseUNBSXVCO1lBQ3pCLGlCQUFNO1lBQ1IsaUJBQVU7O1lBWEosZUFBMEM7WUFBMUMsa0RBQTBDLHV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