(self["webpackChunkapp"] = self["webpackChunkapp"] || []).push([["src_app_pages_tabs_more_faq_faq_module_ts"],{

/***/ 15558:
/*!***********************************************************!*\
  !*** ./src/app/pages/tabs/more/faq/faq-routing.module.ts ***!
  \***********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FaqPageRoutingModule: () => (/* binding */ FaqPageRoutingModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/router */ 95072);
/* harmony import */ var _faq_page__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./faq.page */ 14008);




const routes = [{
  path: '',
  component: _faq_page__WEBPACK_IMPORTED_MODULE_0__.FaqPage
}];
let FaqPageRoutingModule = class FaqPageRoutingModule {};
FaqPageRoutingModule = (0,tslib__WEBPACK_IMPORTED_MODULE_1__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.NgModule)({
  imports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule.forChild(routes)],
  exports: [_angular_router__WEBPACK_IMPORTED_MODULE_3__.RouterModule]
})], FaqPageRoutingModule);


/***/ }),

/***/ 35919:
/*!***************************************************!*\
  !*** ./src/app/pages/tabs/more/faq/faq.module.ts ***!
  \***************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FaqPageModule: () => (/* binding */ FaqPageModule)
/* harmony export */ });
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 60316);
/* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/forms */ 34456);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ 21507);
/* harmony import */ var _faq_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./faq-routing.module */ 15558);
/* harmony import */ var _faq_page__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./faq.page */ 14008);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @ngx-translate/core */ 597);








let FaqPageModule = class FaqPageModule {};
FaqPageModule = (0,tslib__WEBPACK_IMPORTED_MODULE_2__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.NgModule)({
  imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_forms__WEBPACK_IMPORTED_MODULE_5__.FormsModule, _ionic_angular__WEBPACK_IMPORTED_MODULE_6__.IonicModule, _faq_routing_module__WEBPACK_IMPORTED_MODULE_0__.FaqPageRoutingModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_7__.TranslateModule],
  declarations: [_faq_page__WEBPACK_IMPORTED_MODULE_1__.FaqPage]
})], FaqPageModule);


/***/ }),

/***/ 14008:
/*!*************************************************!*\
  !*** ./src/app/pages/tabs/more/faq/faq.page.ts ***!
  \*************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   FaqPage: () => (/* binding */ FaqPage)
/* harmony export */ });
/* harmony import */ var D_progr_mobileappv3_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 89204);
/* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! tslib */ 24398);
/* harmony import */ var _faq_page_html_ngResource__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./faq.page.html?ngResource */ 20952);
/* harmony import */ var _faq_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./faq.page.scss?ngResource */ 54156);
/* harmony import */ var _faq_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_faq_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/core */ 37580);
/* harmony import */ var _services_request_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../services/request.service */ 80931);
/* harmony import */ var _services_helper_service__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../services/helper.service */ 54102);
/* harmony import */ var _environments_storage__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../environments/storage */ 12960);
/* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! rxjs/operators */ 89475);









let FaqPage = class FaqPage {
  constructor(request, helper) {
    this.request = request;
    this.helper = helper;
    this.loading$ = (0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.signal)(false);
  }
  ngOnInit() {
    if (this.request.faq.value === null) {
      this.timerLoad = setTimeout(() => {
        this.loading$.set(true);
      }, 100);
      this.loadData().finally(() => {
        clearTimeout(this.timerLoad);
        this.loading$.set(false);
      });
    }
    this.request.getStorage(_environments_storage__WEBPACK_IMPORTED_MODULE_5__.FAQ, this.request.faq).then(() => {});
  }
  loadData() {
    var _this = this;
    return new Promise(resolve => {
      // Выполняем запрос
      this.request.getRequest(this.request.uri.settingsFAQGet(), {
        preloader: false
      }).pipe((0,rxjs_operators__WEBPACK_IMPORTED_MODULE_7__.finalize)(() => {
        resolve(true);
      })).subscribe(/*#__PURE__*/function () {
        var _ref = (0,D_progr_mobileappv3_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* (result) {
          // Вызываем функцию коллбэк
          yield _this.request.loadFAQCallback()(result);
        });
        return function (_x) {
          return _ref.apply(this, arguments);
        };
      }());
    });
  }
  static {
    this.ctorParameters = () => [{
      type: _services_request_service__WEBPACK_IMPORTED_MODULE_3__.RequestService
    }, {
      type: _services_helper_service__WEBPACK_IMPORTED_MODULE_4__.HelperService
    }];
  }
};
FaqPage = (0,tslib__WEBPACK_IMPORTED_MODULE_8__.__decorate)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_6__.Component)({
  selector: 'app-faq',
  template: _faq_page_html_ngResource__WEBPACK_IMPORTED_MODULE_1__,
  styles: [(_faq_page_scss_ngResource__WEBPACK_IMPORTED_MODULE_2___default())]
})], FaqPage);


/***/ }),

/***/ 54156:
/*!**************************************************************!*\
  !*** ./src/app/pages/tabs/more/faq/faq.page.scss?ngResource ***!
  \**************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {

// Imports
var ___CSS_LOADER_API_SOURCEMAP_IMPORT___ = __webpack_require__(/*! ../../../../../../node_modules/css-loader/dist/runtime/sourceMaps.js */ 53142);
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../../node_modules/css-loader/dist/runtime/api.js */ 35950);
var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);
// Module
___CSS_LOADER_EXPORT___.push([module.id, `@charset "UTF-8";
/*!
 * Copyright (c) 2022. Группа компаний "СТЕК". Все права защищены. Разработчик: Чуриков Антон Алексеевич
 */
:host {
  --ion-background-color: var(--alternative-color-page);
}

ion-content .content-page ion-accordion-group ion-accordion {
  margin: 8px 0;
  background: var(--alternative-color-item);
  transition: 0s;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item[slot=header] {
  --background-activated: transparent;
  --background-focused: transparent;
  --background-hover: transparent;
  --border-width: 0;
}
ion-content .content-page ion-accordion-group ion-accordion:first-child {
  margin-top: 0;
}
ion-content .content-page ion-accordion-group ion-accordion:last-child {
  margin-bottom: 0;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item {
  max-width: 562px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item ion-card {
  width: 100%;
  margin: 0;
  border-radius: 0;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item ion-card .card-header {
  align-items: flex-start;
  display: flex;
  margin-bottom: 1px;
  padding: 0 !important;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item ion-card .card-header-icon {
  padding: var(--card-padding) 0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item ion-card .card-header-icon .icon-block {
  width: 48px !important;
  height: 48px !important;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item ion-card ion-card-header {
  min-height: 48px;
  padding: 0;
  margin: 16px;
}
ion-content .content-page ion-accordion-group ion-accordion ion-item ion-card ion-card-header ion-card-title {
  font-size: 16px;
  font-weight: 500;
}
ion-content .content-page ion-accordion-group ion-accordion .accordion-content {
  padding: 0 24px 9px 24px;
  max-width: 562px !important;
  margin: 0 auto;
}
ion-content .content-page ion-accordion-group ion-accordion .accordion-content ion-item {
  padding: 0 !important;
}
ion-content .content-page ion-accordion-group ion-accordion .accordion-content ion-item div {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
ion-content .content-page ion-accordion-group ion-accordion .accordion-content ion-item div p {
  margin: 0;
  font-size: 12px;
}
ion-content .content-page ion-accordion-group ion-accordion .accordion-content ion-item:last-child {
  --inner-border-width: 0;
}`, "",{"version":3,"sources":["webpack://./src/app/pages/tabs/more/faq/faq.page.scss"],"names":[],"mappings":"AAAA,gBAAgB;AAAhB;;EAAA;AAIA;EACE,qDAAA;AACF;;AAMM;EACE,aAAA;EACA,yCAAA;EACA,cAAA;AAHR;AAKQ;EACE,mCAAA;EACA,iCAAA;EACA,+BAAA;EAEA,iBAAA;AAJV;AAOQ;EACE,aAAA;AALV;AAQQ;EACE,gBAAA;AANV;AASQ;EAEE,2BAAA;EACA,6BAAA;EACA,8BAAA;AARV;AAUU;EACE,WAAA;EACA,SAAA;EACA,gBAAA;AARZ;AAUY;EACE,uBAAA;EACA,aAAA;EACA,kBAAA;EACA,qBAAA;AARd;AAUc;EACE,8BAAA;EACA,kBAAA;EACA,aAAA;EACA,uBAAA;EACA,mBAAA;AARhB;AAUgB;EACE,sBAAA;EACA,uBAAA;AARlB;AAaY;EACE,gBAAA;EACA,UAAA;EACA,YAAA;AAXd;AAac;EACE,eAAA;EACA,gBAAA;AAXhB;AAiBQ;EACE,wBAAA;EACA,2BAAA;EACA,cAAA;AAfV;AAgBU;EACE,qBAAA;AAdZ;AAeY;EACE,aAAA;EACA,8BAAA;EACA,WAAA;AAbd;AAcc;EACE,SAAA;EACA,eAAA;AAZhB;AAgBY;EACE,uBAAA;AAdd","sourcesContent":["/*!\n * Copyright (c) 2022. Группа компаний \"СТЕК\". Все права защищены. Разработчик: Чуриков Антон Алексеевич\n */\n\n:host {\n  --ion-background-color: var(--alternative-color-page);\n}\n\nion-content {\n  .content-page {\n    ion-accordion-group {\n      //border-top: 16px solid var(--alternative-color-item);\n      ion-accordion {\n        margin: 8px 0;\n        background: var(--alternative-color-item);\n        transition: 0s;\n\n        ion-item[slot=\"header\"] {\n          --background-activated: transparent;\n          --background-focused: transparent;\n          --background-hover: transparent;\n          //padding: 0 14px 0 24px;\n          --border-width: 0;\n        }\n\n        &:first-child {\n          margin-top: 0;\n        }\n\n        &:last-child {\n          margin-bottom: 0;\n        }\n\n        ion-item {\n          //--background: var(--ion-background-color);\n          max-width: 562px !important;\n          padding-left: 24px !important;\n          padding-right: 24px !important;\n\n          ion-card {\n            width: 100%;\n            margin: 0;\n            border-radius: 0;\n\n            .card-header {\n              align-items: flex-start;\n              display: flex;\n              margin-bottom: 1px;\n              padding: 0 !important;\n\n              &-icon {\n                padding: var(--card-padding) 0;\n                border-radius: 8px;\n                display: flex;\n                justify-content: center;\n                align-items: center;\n\n                .icon-block {\n                  width: 48px !important;\n                  height: 48px !important;\n                }\n              }\n            }\n\n            ion-card-header {\n              min-height: 48px;\n              padding: 0;\n              margin: 16px;\n\n              ion-card-title {\n                font-size: 16px;\n                font-weight: 500;\n              }\n            }\n          }\n        }\n\n        .accordion-content {\n          padding: 0 24px 9px 24px;\n          max-width: 562px !important;\n          margin: 0 auto;\n          ion-item {\n            padding: 0 !important;\n            div {\n              display: flex;\n              justify-content: space-between;\n              width: 100%;\n              p {\n                margin: 0;\n                font-size: 12px;\n              }\n            }\n\n            &:last-child {\n              --inner-border-width: 0;\n            }\n          }\n        }\n      }\n    }\n  }\n}\n"],"sourceRoot":""}]);
// Exports
module.exports = ___CSS_LOADER_EXPORT___.toString();


/***/ }),

/***/ 20952:
/*!**************************************************************!*\
  !*** ./src/app/pages/tabs/more/faq/faq.page.html?ngResource ***!
  \**************************************************************/
/***/ ((module) => {

"use strict";
module.exports = "<!--\n  ~ Copyright (c) 2022. Группа компаний \"СТЕК\". Все права защищены. Разработчик: Чуриков Антон Алексеевич\n  -->\n\n<ion-header class=\"ion-no-border\">\n    @if (loading$()) {\n        <ion-toolbar>\n            <ion-buttons slot=\"start\">\n                <ion-back-button text=\"\" icon=\"/assets/icons/Chevron_Left.svg\"></ion-back-button>\n            </ion-buttons>\n            <ion-title>\n                <div class=\"header-fullscreen\">\n                    <div class=\"title\">\n                        <ion-spinner></ion-spinner> {{ 'UPDATING' | translate }}\n                    </div>\n                </div>\n            </ion-title>\n        </ion-toolbar>\n    } @else {\n        <ion-toolbar>\n            <ion-buttons slot=\"start\">\n                <ion-back-button text=\"\" icon=\"/assets/icons/Chevron_Left.svg\"></ion-back-button>\n            </ion-buttons>\n            <ion-title>{{ 'MORE.FAQ_PAGE.TITLE' | translate }}</ion-title>\n        </ion-toolbar>\n    }\n</ion-header>\n\n<ion-content>\n\n  <div class=\"content-page\">\n      @if (!request.faq.value && !loading$()) {\n          <ion-card>\n              <div class=\"card-header\">\n                  <ion-card-header>\n                      <ion-card-title>{{ 'ERROR_STRING.NODATA' | translate }}</ion-card-title>\n                  </ion-card-header>\n              </div>\n          </ion-card>\n      }\n\n      @if (request.faq.value) {\n          <div class=\"list-pointer\">\n              <ion-accordion-group [multiple]=\"true\">\n                  @for (faq of request.faq.value; track faq) {\n                      <ion-accordion>\n                          <ion-item slot=\"header\" lines=\"none\">\n                              <ion-card>\n                                  <ion-item class=\"card-header\" lines=\"none\">\n                                      <div class=\"card-header-icon\">\n                                          <div class=\"icon-block icon-gas\">\n                                              <ion-icon src=\"/assets/icons/Gas.svg\"></ion-icon>\n                                          </div>\n                                      </div>\n\n                                      <ion-card-header>\n                                          <ion-card-title>{{ faq.title }} </ion-card-title>\n                                      </ion-card-header>\n                                  </ion-item>\n                              </ion-card>\n\n\n                          </ion-item>\n                          <div class=\"accordion-content\" slot=\"content\">\n                              <ion-item>\n                                  <div>\n                                      <p>{{ faq.description }}</p>\n                                  </div>\n                              </ion-item>\n                          </div>\n                      </ion-accordion>\n                  }\n              </ion-accordion-group>\n          </div>\n      }\n  </div>\n\n</ion-content>\n";

/***/ })

}]);
//# sourceMappingURL=src_app_pages_tabs_more_faq_faq_module_ts.js.map