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

/***/ 55566:
/*!*************************************!*\
  !*** ./src/app/deep/deep.module.ts ***!
  \*************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "DeepPageModule": () => (/* binding */ DeepPageModule)
/* harmony export */ });
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/router */ 61380);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var _shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../shared-module/shared-module.module */ 69270);
/* harmony import */ var _deep_page__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./deep.page */ 26833);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/core */ 45449);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_3__);





const routes = [
    {
        path: '',
        component: _deep_page__WEBPACK_IMPORTED_MODULE_2__.DeepPage
    }
];
class DeepPageModule {
}
DeepPageModule.ɵfac = function DeepPageModule_Factory(t) { return new (t || DeepPageModule)(); };
DeepPageModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineNgModule"]({ type: DeepPageModule });
DeepPageModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵdefineInjector"]({ imports: [_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_1__.SharedModuleModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule.forChild(routes)] });
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_3__["ɵɵsetNgModuleScope"](DeepPageModule, { declarations: [_deep_page__WEBPACK_IMPORTED_MODULE_2__.DeepPage], imports: [_shared_module_shared_module_module__WEBPACK_IMPORTED_MODULE_1__.SharedModuleModule, _angular_router__WEBPACK_IMPORTED_MODULE_0__.RouterModule] }); })();


/***/ }),

/***/ 26833:
/*!***********************************!*\
  !*** ./src/app/deep/deep.page.ts ***!
  \***********************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "DeepPage": () => (/* binding */ DeepPage)
/* harmony export */ });
/* harmony import */ var _Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */ 71670);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ 45449);
/* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_angular_core__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 61380);
/* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_angular_router__WEBPACK_IMPORTED_MODULE_2__);
/* harmony import */ var _shared_services__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @shared/services */ 17253);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 90944);
/* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_angular_common__WEBPACK_IMPORTED_MODULE_4__);
/* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ 93819);
/* harmony import */ var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ngx-translate/core */ 38699);








function DeepPage_div_19_Template(rf, ctx) {
  if (rf & 1) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 12)(1, "div", 13);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](3, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
  }

  if (rf & 2) {
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](2);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](3, 1, "PG_DEEP_TEXT_EMPY_INVITES"));
  }
}

function DeepPage_div_20_Template(rf, ctx) {
  if (rf & 1) {
    const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵgetCurrentView"]();

    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "div", 14)(1, "div", 15)(2, "div", 16)(3, "div", 17);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](5, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "div", 18);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](7);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](8, "div", 19)(9, "button", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function DeepPage_div_20_Template_button_click_9_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r3);
      const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r2.rejectInvite());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](10);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](11, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](12, "button", 20);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵlistener"]("click", function DeepPage_div_20_Template_button_click_12_listener() {
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵrestoreView"](_r3);
      const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
      return _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵresetView"](ctx_r4.acceptInvite());
    });
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](14, "translate");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()();
  }

  if (rf & 2) {
    const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵnextContext"]();
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("className", "pendency");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](4);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](5, 5, "PG_DEEP_TEXT_COMPANY_INVITE"));
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](ctx_r1.invite.company.name);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](11, 7, "PG_DEEP_BTN_REFUSE"), " ");
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
    _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate1"](" ", _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](14, 9, "PG_DEEP_BTN_ACCEPT"), " ");
  }
}

class DeepPage {
  constructor(activatedRoute, apiService, loadingService, notificatorService, authService, navigationService, logService, translateConfigService, showToastModalErroCodeZero) {
    var _this = this;

    this.activatedRoute = activatedRoute;
    this.apiService = apiService;
    this.loadingService = loadingService;
    this.notificatorService = notificatorService;
    this.authService = authService;
    this.navigationService = navigationService;
    this.logService = logService;
    this.translateConfigService = translateConfigService;
    this.showToastModalErroCodeZero = showToastModalErroCodeZero;

    this.notifyAboutBrokenLink = () => {
      const notification = {
        title: this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_LINK_TITLE'),
        message: this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_LINK_MESSAGE'),
        type: 'error',
        timeout: 5000
      };
      this.notificatorService.notify(notification);
      this.goToHome();
    };

    this.validateLink = () => {
      this.loadingService.show(this.translateConfigService.translate('PG_DEEP_LOADING_INVITE_VALIDATING'), 'invite-validation');
      let token = '';
      this.authService.getToken().then(tokenReceived => {
        token = tokenReceived;
        return this.authService.getForeigner();
      }).then(foreignerReceived => {
        const foreigner = !!foreignerReceived;
        this.apiService.validateInvite(this.locator, this.invitationKey, token, foreigner).subscribe(this.processValidateInviteSuccessResponse, this.processValidateInviteErrorResponse);
      });
    };

    this.processValidateInviteSuccessResponse = response => {
      this.loadingService.hide(null, 'invite-validation').then(this.getInvite);
    };

    this.processValidateInviteErrorResponse = response => {
      console.log('processValidateInviteErrorResponse');
      console.log('response:', JSON.stringify(response));
      this.silentlyRejectInvite();
      this.loadingService.hide(null, 'invite-validation').then(() => {
        if (response && response?.status) {
          if (response?.status === 0) {
            this.showToastModalErroCodeZero.showToast();
            this.logService.logError('http::processValidateInviteErrorResponse', 'Unknown error', response);
            return;
          }

          if (response.status === 400 && response.error && response.error.message === 'error.invitenotvalid') {
            return this.toastInvalidInvite();
          } else if (response.status === 400 && response.error && response.error.message === 'error.accountnotfound') {
            const notification = {
              title: this.translateConfigService.translate('PG_DEEP_TOAST_ACCOUNT_NOTFOUND_TITLE'),
              message: this.translateConfigService.translate('PG_DEEP_TOAST_ACCOUNT_NOTFOUND_MESSAGE'),
              type: 'error',
              timeout: 5000
            };
            return this.notificatorService.notify(notification);
          } else if (response.status === 400 && response.error && response.error.message === 'error.invitenotmatched') {
            const notification = {
              title: this.translateConfigService.translate('PG_DEEP_TOAST_NO_MATCHED_INVITE_TITLE'),
              message: this.translateConfigService.translate('PG_DEEP_TOAST_NO_MATCHED_INVITE_MESSAGE'),
              type: 'error',
              timeout: 5000
            };
            return this.notificatorService.notify(notification);
          } else {
            this.logService.logError('http::processValidateInviteErrorResponse:error.invitenotmatched', '', response);
            return this.toastNotificationError(response.status);
          }
        } else {
          this.logService.logError('http::processValidateInviteErrorResponse', '', response);
          this.toastNotificationError('NKNwN');
        }

        this.goToHome();
      });
    };

    this.getInvite = () => {
      this.authService.getToken().then(token => {
        this.apiService.getInvite(this.locator, this.invitationKey, token).subscribe(this.processGetInviteSuccessResponse, this.processGetInviteErrorResponse);
      });
    };

    this.processGetInviteSuccessResponse = response => {
      console.log('processGetInviteSuccessResponse');
      console.log('response:', response);
      this.invite = response;
    };

    this.processGetInviteErrorResponse = response => {
      console.log('processGetInviteErrorResponse');
      console.log('response:', response);

      if (response?.status === 0) {
        this.showToastModalErroCodeZero.showToast();
        this.logService.logError('http::processGetInviteErrorResponse', 'Unknown error', response);
        return;
      }

      if (response && response?.status) {
        if (response.status === 404) {
          const notification = {
            title: this.translateConfigService.translate('PG_DEEP_TOAST_INVITE_NOTFOUND_TITLE'),
            message: this.translateConfigService.translate('PG_DEEP_TOAST_INVITE_NOTFOUND_MESSAGE'),
            type: 'error',
            timeout: 5000
          };
          this.notificatorService.notify(notification);
        } else {
          this.logService.logError('http::processGetInviteErrorResponse', '', response);
          this.toastNotificationError(response.status);
        }
      } else {
        this.logService.logError('http::processGetInviteErrorResponse', '', response);
        this.toastNotificationError('NKNwN');
      }

      this.goToHome();
    };

    this.acceptInvite = () => {
      this.loadingService.show(this.translateConfigService.translate('PG_DEEP_LOADING_INVITE_ACCEPTING'), 'accept-invite');
      this.authService.getToken().then(token => {
        this.apiService.acceptInvite(this.locator, this.invitationKey, this.origin, token).subscribe(this.processAcceptInviteSuccessResponse, this.processAcceptInviteErrorResponse);
      });
    };

    this.processAcceptInviteSuccessResponse = response => {
      // TODO Avisar sucesso na aceitação e redirecionar para a home.
      console.log('processAcceptInviteSuccessResponse');
      console.log('response:', response);
      this.loadingService.hide(null, 'accept-invite').then(() => {
        this.goToHome();
      });
    }; // TODO Mandar um reject caso dê problema de notmatch


    this.processAcceptInviteErrorResponse = response => {
      console.log('processAcceptInviteErrorResponse');
      console.log('response:', response);
      this.loadingService.hide(null, 'accept-invite').then( /*#__PURE__*/(0,_Volumes_case_workspace_work_APPS_KA_APP_WORK_NOW_KA_PASS_V2_2_6_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function* () {
        if (response.status === 0) {
          _this.showToastModalErroCodeZero.showToast();

          _this.logService.logError('http::processAcceptInviteErrorResponse', 'Unknown error', response);

          return;
        }

        if (response && response?.status) {
          if (response.status === 400 && response.error && response.error.message === 'error.invitenotvalid') {
            _this.toastInvalidInvite();
          } else if (response.error.message === 'error.nomatchforeignflag') {
            _this.logService.logError('http::accountActivateErrorResponseNoMatch', '', response);

            const notification = {
              title: _this.translateConfigService.translate('PG_DEEP_TOAST_NO_MATCH_FOREIGN_FLAG_TITLE'),
              message: _this.translateConfigService.translate('PG_DEEP_TOAST_NO_MATCH_FOREIGN_FLAG_MESSAGE'),
              type: 'error',
              timeout: 5000
            };

            _this.notificatorService.notify(notification); // error.invitenotmatched

          } else if (response.status === 400 && response.error && response.error.message === 'error.invitenotmatched') {
            const foreign = yield _this.authService.getForeigner();

            const textDocumentForeign = _this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_NAME_MESSAGE_TEXT_FOREIGN');

            const textMessage = _this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_NAME_MESSAGE');

            const message = `${textMessage} ${foreign ? textDocumentForeign : 'CPF'}.`;
            const notification = {
              title: _this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_NAME_TITLE'),
              message,
              type: 'error',
              timeout: 12000
            };

            _this.notificatorService.notify(notification);
          } else {
            _this.logService.logError('http::processAcceptInviteErrorResponse', '', response);

            _this.toastNotificationError(response.status);
          }
        } else {
          _this.logService.logError('http::processAcceptInviteErrorResponse', '', response);

          _this.toastNotificationError('NKNwN');
        }

        _this.goToHome();
      }));
    };

    this.silentlyRejectInvite = () => {
      this.authService.getToken().then(token => {
        this.apiService.rejectInvite(this.locator, this.invitationKey, this.origin, token).subscribe(() => {}, () => {});
      });
    };

    this.rejectInvite = () => {
      this.loadingService.show(this.translateConfigService.translate('PG_DEEP_LOADING_INVITE_REJECTING'), 'reject-invite');
      this.authService.getToken().then(token => {
        this.apiService.rejectInvite(this.locator, this.invitationKey, this.origin, token).subscribe(this.processRejectInviteSuccessResponse, this.processRejectInviteErrorResponse);
      });
    };

    this.processRejectInviteSuccessResponse = response => {
      console.log('processRejectInviteSuccessResponse');
      console.log('response:', response);
      this.loadingService.hide(null, 'reject-invite').then(() => {
        const notification = {
          title: this.translateConfigService.translate('PG_DEEP_TOAST_INVITE_REJECT_TITLE'),
          message: this.translateConfigService.translate('PG_DEEP_TOAST_INVITE_REJECT_MESSAGE'),
          type: 'success',
          timeout: 5000
        };
        this.notificatorService.notify(notification);
        this.goToHome();
      });
    };

    this.processRejectInviteErrorResponse = response => {
      console.log('processRejectInviteErrorResponse');
      console.log('response:', response);
      this.loadingService.hide(null, 'reject-invite').then(() => {
        if (response?.status === 0) {
          this.showToastModalErroCodeZero.showToast();
          this.logService.logError('http::processRejectInviteErrorResponse', 'Unknown error', response);
          return;
        }

        if (response && response?.status) {
          if (response.status === 400 && response.error && response.error.message === 'error.inviterejecterror') {
            this.toastInvalidInvite();
          } else {
            this.logService.logError('http::processRejectInviteErrorResponse::error.inviterejecterror', '', response);
            this.toastNotificationError(response.status);
          }
        } else {
          this.logService.logError('http::processRejectInviteErrorResponse', '', response);
          this.toastNotificationError('NKNwN');
        }

        this.goToHome();
      });
    };

    this.goToHome = () => {
      this.navigationService.root(['/home']);
    };

    this.activatedRoute.queryParams.subscribe(params => {
      this.locator = params.l ? params.l : null;
      this.invitationKey = params.k ? params.k : null;
      this.origin = params.origin;

      if (this.locator && this.invitationKey) {
        this.validateLink();
      } else {
        this.notifyAboutBrokenLink();
      }
    });
  }

  ngOnInit() {
    console.log('origin:', this.origin);
  }

  toastInvalidInvite() {
    const notification = {
      title: this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_INVITE_TITLE'),
      message: this.translateConfigService.translate('PG_DEEP_TOAST_INVALID_INVITE_MESSAGE'),
      type: 'error',
      timeout: 5000
    };
    this.notificatorService.notify(notification);
  }

  toastNotificationError(codeError) {
    const title = this.translateConfigService.translate('PG_DEEP_TOAST_SERVICE_ERROR_TITLE');
    const message = `${this.translateConfigService.translate('TOAST_SERVICE_TEMPORARILY_UNAVAILABLE_MESSAGE')} (cod. ${codeError})`;
    const notification = {
      title,
      message,
      type: 'error',
      timeout: 5000
    };
    this.notificatorService.notify(notification);
  }

}

DeepPage.ɵfac = function DeepPage_Factory(t) {
  return new (t || DeepPage)(_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_2__.ActivatedRoute), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.ApiService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.NotificatorService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.AuthService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.NavigationService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.LogService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.TranslateConfigService), _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdirectiveInject"](_shared_services__WEBPACK_IMPORTED_MODULE_3__.ShowToastAndModalErroCodeZeroService));
};

DeepPage.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineComponent"]({
  type: DeepPage,
  selectors: [["app-deep"]],
  decls: 21,
  vars: 8,
  consts: [["mode", "ios"], ["slot", "start", "margin-start", "1"], ["src", "../../assets/toolbar-logo.png"], ["slot", "end", "margin-end", "1"], ["auto-hide", "false"], ["slot", "icon-only", "mode", "ios", "name", "menu"], [1, "page-title"], [1, "title"], [1, "sub-title"], [1, "pendencies"], ["class", "empty", 4, "ngIf"], [3, "className", 4, "ngIf"], [1, "empty"], [1, "text"], [3, "className"], [1, "bottom"], [1, "checkin-done-at"], [1, "label"], [1, "value"], [1, "actions"], ["type", "button", 3, "click"]],
  template: function DeepPage_Template(rf, ctx) {
    if (rf & 1) {
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](0, "ion-header", 0)(1, "ion-toolbar", 0)(2, "ion-buttons", 1);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](3, "ion-img", 2);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](4, "ion-title");
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](5, " KeyAccesss ");
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](6, "ion-buttons", 3)(7, "ion-menu-toggle", 4)(8, "ion-button");
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelement"](9, "ion-icon", 5);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()()()()();
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](10, "ion-content")(11, "div", 6)(12, "div", 7);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](13);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](14, "translate");
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]();
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](15, "div", 8);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtext"](16);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipe"](17, "translate");
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementStart"](18, "div", 9);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](19, DeepPage_div_19_Template, 4, 3, "div", 10);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtemplate"](20, DeepPage_div_20_Template, 15, 11, "div", 11);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵelementEnd"]()();
    }

    if (rf & 2) {
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](13);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](14, 4, "PG_DEEP_TEXT_TITLE"));
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵpipeBind1"](17, 6, "PG_DEEP_TEXT_SUBTITLE"));
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](3);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", !ctx.invite);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵadvance"](1);
      _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵproperty"]("ngIf", ctx.invite);
    }
  },
  dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonButton, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonButtons, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonContent, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonHeader, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonIcon, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonImg, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonMenuToggle, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonTitle, _ionic_angular__WEBPACK_IMPORTED_MODULE_5__.IonToolbar, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_6__.TranslatePipe],
  styles: ["ion-toolbar[_ngcontent-%COMP%] {\n  font-family: \"Nunito\", sans-serif;\n  --background: #fff;\n  padding-inline: 16px;\n}\nion-toolbar[_ngcontent-%COMP%]   ion-img[_ngcontent-%COMP%] {\n  height: 25px;\n  width: 25px;\n}\nion-toolbar[_ngcontent-%COMP%]   ion-title[_ngcontent-%COMP%] {\n  letter-spacing: 1px;\n}\nion-toolbar[_ngcontent-%COMP%]   ion-button[_ngcontent-%COMP%]   fa-icon[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  height: 24px;\n  padding: 0;\n  width: 24px;\n  margin: 0;\n  font-size: 19px;\n  color: #656768;\n}\nion-toolbar[_ngcontent-%COMP%]   ion-button.hover[_ngcontent-%COMP%] {\n  background: #fff;\n}\n.page-title[_ngcontent-%COMP%] {\n  margin-top: 24px;\n  margin-bottom: 32px;\n  width: 85%;\n  margin-left: auto;\n  margin-right: auto;\n}\n.page-title[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%] {\n  font-size: initial !important;\n  font-weight: bold;\n  text-align: center;\n}\n.page-title[_ngcontent-%COMP%]   .sub-title[_ngcontent-%COMP%] {\n  text-align: center;\n  color: #656768;\n  font-size: 0.9em;\n  margin-top: 4px;\n}\n.pendencies[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  padding: 3em;\n  color: #656768;\n  font-size: 0.9em;\n}\n.pendencies[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%] {\n  text-align: center;\n}\n.pendencies[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%] {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  margin-top: 1em;\n}\n.pendencies[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  border: 1px solid #eee;\n  padding: 0.25em 0.75em;\n  border-radius: 32px;\n  margin-right: 8px;\n}\n.pendencies[_ngcontent-%COMP%]   .empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%], .pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%] {\n  margin-left: 4px;\n  color: #0ec254;\n  margin-top: 2px;\n}\n.pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  padding: 1em;\n  color: #656768;\n  font-size: 0.9em;\n  margin-bottom: 2em;\n}\n.pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%] {\n  text-align: center;\n}\n.pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%] {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  margin-top: 0;\n}\n.pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%] {\n  display: inline-flex;\n  justify-content: center;\n  align-items: center;\n  border: 1px solid #eee;\n  padding: 0.25em 0.75em;\n  border-radius: 32px;\n  margin-right: 8px;\n}\n.pendencies[_ngcontent-%COMP%]   .not-empty[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]   .pull-to-reload-message[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   ion-icon[_ngcontent-%COMP%] {\n  margin-left: 4px;\n  color: #0ec254;\n  margin-top: 2px;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%] {\n  border: 1px solid #eee;\n  box-shadow: 2px 2px 8px rgba(67, 60, 98, 0.1);\n  border-radius: 8px;\n  width: 90%;\n  margin: 12px auto;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%] {\n  display: flex;\n  padding: 16px;\n  border-bottom: 1px solid #eee;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .initials[_ngcontent-%COMP%] {\n  height: 38px;\n  width: 38px;\n  border-radius: 38px;\n  text-align: center;\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  background-color: #eee;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .initials[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%] {\n  font-size: 0.9em;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .user-event-data[_ngcontent-%COMP%] {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: flex-start;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .user-event-data[_ngcontent-%COMP%]   .full-name[_ngcontent-%COMP%] {\n  display: flex;\n  align-items: center;\n  margin-left: 12px;\n  font-size: 0.9em;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .user-event-data[_ngcontent-%COMP%]   .full-name[_ngcontent-%COMP%]   .last-name[_ngcontent-%COMP%] {\n  margin-left: 4px;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .top[_ngcontent-%COMP%]   .user-event-data[_ngcontent-%COMP%]   .event[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%] {\n  margin-left: 12px;\n  font-size: 0.9em !important;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%] {\n  display: flex;\n  padding: 16px;\n  flex-direction: column;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]   .checkin-done-at[_ngcontent-%COMP%] {\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  align-items: flex-start;\n  width: 100%;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]   .checkin-done-at[_ngcontent-%COMP%]   .label[_ngcontent-%COMP%] {\n  font-size: 0.8em;\n  color: #656768;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  width: 100%;\n  margin-top: 24px;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\n  font-size: 1em;\n  color: #0ec254;\n  background-color: #fff;\n  padding: 0.5em 1.25em;\n  border-radius: 32px;\n  border: 1px solid #0ec254;\n  transition: background-color 0.1s ease-out;\n}\n.pendencies[_ngcontent-%COMP%]   .pendency[_ngcontent-%COMP%]   .bottom[_ngcontent-%COMP%]   .actions[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]:active {\n  background-color: #0ec254;\n  color: #fff;\n  transition: background-color 0.1s ease-out;\n}\n/*# sourceMappingURL=data:application/json;base64,[encoded data, 8408 characters] */"]
});

/***/ })

}])
//# sourceMappingURL=5566.js.map