import { Component, Input } from "@angular/core";
import * as i0 from "@angular/core";
import * as i1 from "../services/model.service";
export class StiProgressComponent {
    constructor(model) {
        this.model = model;
    }
    ngOnInit() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StiProgressComponent, deps: [{ token: i1.StiModelService }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: StiProgressComponent, selector: "sti-progress", inputs: { display: "display" }, ngImport: i0, template: `
    <div
      style="position: absolute; z-index: 99999999; left: calc(50% - 35px);top: calc(50% - 100px);"
      [style.display]="display ? '' : 'none'"
    >
      <div class="sti_loader sti_loader_default"></div>
    </div>

    <style>
      .sti_loader {
        margin: 60px auto;
        font-size: 10px;
        position: relative;
        text-indent: -9999em;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation: load8 1.1s infinite linear;
        animation: load8 1.1s infinite linear;
        box-sizing: border-box;
      }

      .sti_loader_default {
        border-top: 6px solid rgba(25, 71, 138, 0.2);
        border-right: 6px solid rgba(25, 71, 138, 0.2);
        border-bottom: 6px solid rgba(25, 71, 138, 0.2);
        border-left: 6px solid #19478a;
      }

      .sti_loader,
      .sti_loader:after {
        border-radius: 50%;
        width: 64px;
        height: 64px;
      }

      @-webkit-keyframes load8 {
        0% {
          -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        100% {
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
        }
      }

      @keyframes load8 {
        0% {
          -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        100% {
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
        }
      }
    </style>
  `, isInline: true, styles: ["\n      .sti_loader {\n        margin: 60px auto;\n        font-size: 10px;\n        position: relative;\n        text-indent: -9999em;\n        -webkit-transform: translateZ(0);\n        -ms-transform: translateZ(0);\n        transform: translateZ(0);\n        -webkit-animation: load8 1.1s infinite linear;\n        animation: load8 1.1s infinite linear;\n        box-sizing: border-box;\n      }\n\n      .sti_loader_default {\n        border-top: 6px solid rgba(25, 71, 138, 0.2);\n        border-right: 6px solid rgba(25, 71, 138, 0.2);\n        border-bottom: 6px solid rgba(25, 71, 138, 0.2);\n        border-left: 6px solid #19478a;\n      }\n\n      .sti_loader,\n      .sti_loader:after {\n        border-radius: 50%;\n        width: 64px;\n        height: 64px;\n      }\n\n      @-webkit-keyframes load8 {\n        0% {\n          -webkit-transform: rotate(0deg);\n          transform: rotate(0deg);\n        }\n        100% {\n          -webkit-transform: rotate(360deg);\n          transform: rotate(360deg);\n        }\n      }\n\n      @keyframes load8 {\n        0% {\n          -webkit-transform: rotate(0deg);\n          transform: rotate(0deg);\n        }\n        100% {\n          -webkit-transform: rotate(360deg);\n          transform: rotate(360deg);\n        }\n      }\n    "] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: StiProgressComponent, decorators: [{
            type: Component,
            args: [{
                    selector: "sti-progress",
                    template: `
    <div
      style="position: absolute; z-index: 99999999; left: calc(50% - 35px);top: calc(50% - 100px);"
      [style.display]="display ? '' : 'none'"
    >
      <div class="sti_loader sti_loader_default"></div>
    </div>

    <style>
      .sti_loader {
        margin: 60px auto;
        font-size: 10px;
        position: relative;
        text-indent: -9999em;
        -webkit-transform: translateZ(0);
        -ms-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-animation: load8 1.1s infinite linear;
        animation: load8 1.1s infinite linear;
        box-sizing: border-box;
      }

      .sti_loader_default {
        border-top: 6px solid rgba(25, 71, 138, 0.2);
        border-right: 6px solid rgba(25, 71, 138, 0.2);
        border-bottom: 6px solid rgba(25, 71, 138, 0.2);
        border-left: 6px solid #19478a;
      }

      .sti_loader,
      .sti_loader:after {
        border-radius: 50%;
        width: 64px;
        height: 64px;
      }

      @-webkit-keyframes load8 {
        0% {
          -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        100% {
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
        }
      }

      @keyframes load8 {
        0% {
          -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
        }
        100% {
          -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
        }
      }
    </style>
  `,
                }]
        }], ctorParameters: function () { return [{ type: i1.StiModelService }]; }, propDecorators: { display: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RpLXByb2dyZXNzLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3N0aW11bHNvZnQtZm9ybXMvc3JjL2xpYi9jb21wb25lbnRzL3N0aS1wcm9ncmVzcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7OztBQWlFekQsTUFBTSxPQUFPLG9CQUFvQjtJQUUvQixZQUFtQixLQUFzQjtRQUF0QixVQUFLLEdBQUwsS0FBSyxDQUFpQjtJQUFHLENBQUM7SUFFN0MsUUFBUSxLQUFJLENBQUM7K0dBSkYsb0JBQW9CO21HQUFwQixvQkFBb0Isb0ZBNURyQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztHQTBEVDs7NEZBRVUsb0JBQW9CO2tCQTlEaEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUsY0FBYztvQkFDeEIsUUFBUSxFQUFFOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0dBMERUO2lCQUNGO3NHQUV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UgbGluZWFyO1xyXG4gICAgICAgIGFuaW1hdGlvbjogbG9hZDggMS4xcyBpbmZpbml0ZSBsaW5lYXI7XHJcbiAgICAgICAgYm94LXNpemluZzogYm9yZGVyLWJveDtcclxuICAgICAgfVxyXG5cclxuICAgICAgLnN0aV9sb2FkZXJfZGVmYXVsdCB7XHJcbiAgICAgICAgYm9yZGVyLXRvcDogNnB4IHNvbGlkIHJnYmEoMjUsIDcxLCAxMzgsIDAuMik7XHJcbiAgICAgICAgYm9yZGVyLXJpZ2h0OiA2cHggc29saWQgcmdiYSgyNSwgNzEsIDEzOCwgMC4yKTtcclxuICAgICAgICBib3JkZXItYm90dG9tOiA2cHggc29saWQgcmdiYSgyNSwgNzEsIDEzOCwgMC4yKTtcclxuICAgICAgICBib3JkZXItbGVmdDogNnB4IHNvbGlkICMxOTQ3OGE7XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIC5zdGlfbG9hZGVyLFxyXG4gICAgICAuc3RpX2xvYWRlcjphZnRlciB7XHJcbiAgICAgICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG4gICAgICAgIHdpZHRoOiA2NHB4O1xyXG4gICAgICAgIGhlaWdodDogNjRweDtcclxuICAgICAgfVxyXG5cclxuICAgICAgQC13ZWJraXQta2V5ZnJhbWVzIGxvYWQ4IHtcclxuICAgICAgICAwJSB7XHJcbiAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpO1xyXG4gICAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMGRlZyk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIDEwMCUge1xyXG4gICAgICAgICAgLXdlYmtpdC10cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpO1xyXG4gICAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoMzYwZGVnKTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIEBrZXlmcmFtZXMgbG9hZDgge1xyXG4gICAgICAgIDAlI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