text: webpackJsonp([62],{
  
  /***/ 1852:
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  
  // EXTERNAL MODULE: ./node_modules/@angular/core/esm5/core.js
  var core = __webpack_require__(1);
  
  // EXTERNAL MODULE: ./node_modules/tslib/tslib.es6.js
  var tslib_es6 = __webpack_require__(0);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/index.js + 3 modules
  var ionic_angular = __webpack_require__(10);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/index.js + 1 modules
  var _ngx_translate_core = __webpack_require__(5);
  
  // EXTERNAL MODULE: ./src/providers/sites.ts
  var sites = __webpack_require__(2);
  
  // EXTERNAL MODULE: ./src/providers/utils/dom.ts
  var dom = __webpack_require__(4);
  
  // EXTERNAL MODULE: ./src/core/user/providers/user.ts
  var user = __webpack_require__(45);
  
  // EXTERNAL MODULE: ./src/core/comments/providers/comments.ts
  var comments = __webpack_require__(156);
  
  // CONCATENATED MODULE: ./src/core/comments/pages/viewer/viewer.ts
  
  
  
  
  
  
  
  
  
  /**
   * Page that displays comments.
   */
  var CoreCommentsViewerPage = /*@__PURE__*/ (function () {
      function CoreCommentsViewerPage(navParams, sitesProvider, userProvider, domUtils, translate, commentsProvider) {
          this.userProvider = userProvider;
          this.domUtils = domUtils;
          this.translate = translate;
          this.commentsProvider = commentsProvider;
          this.comments = [];
          this.commentsLoaded = false;
          this.contextLevel = navParams.get('contextLevel');
          this.instanceId = navParams.get('instanceId');
          this.component = navParams.get('component');
          this.itemId = navParams.get('itemId');
          this.area = navParams.get('area') || '';
          this.page = navParams.get('page') || 0;
          this.title = navParams.get('title') || this.translate.instant('core.comments');
      }
      /**
       * View loaded.
       */
      CoreCommentsViewerPage.prototype.ionViewDidLoad = function () {
          var _this = this;
          this.fetchComments().finally(function () {
              _this.commentsLoaded = true;
          });
      };
      /**
       * Fetches the comments.
       *
       * @return {Promise<any>} Resolved when done.
       */
      CoreCommentsViewerPage.prototype.fetchComments = function () {
          var _this = this;
          // Get comments data.
          return this.commentsProvider.getComments(this.contextLevel, this.instanceId, this.component, this.itemId, this.area, this.page).then(function (comments) {
              _this.comments = comments;
              _this.comments.sort(function (a, b) { return b.timecreated - a.timecreated; });
              _this.comments.forEach(function (comment) {
                  // Get the user profile image.
                  _this.userProvider.getProfile(comment.userid, undefined, true).then(function (user) {
                      comment.profileimageurl = user.profileimageurl;
                  });
              });
          }).catch(function (error) {
              if (error) {
                  if (_this.component == 'assignsubmission_comments') {
                      _this.domUtils.showAlertTranslated('core.notice', 'core.commentsnotworking');
                  }
                  else {
                      _this.domUtils.showErrorModal(error);
                  }
              }
              else {
                  _this.domUtils.showErrorModal(_this.translate.instant('core.error') + ': get_comments');
              }
              return Promise.reject(null);
          });
      };
      /**
       * Refresh the comments.
       *
       * @param {any} refresher Refresher.
       */
      CoreCommentsViewerPage.prototype.refreshComments = function (refresher) {
          var _this = this;
          this.commentsProvider.invalidateCommentsData(this.contextLevel, this.instanceId, this.component, this.itemId, this.area, this.page).finally(function () {
              return _this.fetchComments().finally(function () {
                  refresher.complete();
              });
          });
      };
      return CoreCommentsViewerPage;
  }());
  
  
  
  
  
  // EXTERNAL MODULE: ./src/components/components.module.ts
  var components_module = __webpack_require__(33);
  
  // EXTERNAL MODULE: ./src/directives/directives.module.ts + 2 modules
  var directives_module = __webpack_require__(29);
  
  // EXTERNAL MODULE: ./src/core/comments/components/components.module.ts
  var components_components_module = __webpack_require__(425);
  
  // CONCATENATED MODULE: ./src/core/comments/pages/viewer/viewer.module.ts
  
  
  
  
  
  
  
  
  var CoreCommentsViewerPageModule = /*@__PURE__*/ (function () {
      function CoreCommentsViewerPageModule() {
      }
      return CoreCommentsViewerPageModule;
  }());
  
  
  
  
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/action-sheet/action-sheet-component.ngfactory.js
  var action_sheet_component_ngfactory = __webpack_require__(1281);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/alert/alert-component.ngfactory.js
  var alert_component_ngfactory = __webpack_require__(1282);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/app/app-root.ngfactory.js
  var app_root_ngfactory = __webpack_require__(1283);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/loading/loading-component.ngfactory.js
  var loading_component_ngfactory = __webpack_require__(1284);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/modal/modal-component.ngfactory.js
  var modal_component_ngfactory = __webpack_require__(1285);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/picker/picker-component.ngfactory.js + 1 modules
  var picker_component_ngfactory = __webpack_require__(1286);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/popover/popover-component.ngfactory.js
  var popover_component_ngfactory = __webpack_require__(1287);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/select/select-popover-component.ngfactory.js
  var select_popover_component_ngfactory = __webpack_require__(1288);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toast/toast-component.ngfactory.js
  var toast_component_ngfactory = __webpack_require__(1289);
  
  // EXTERNAL MODULE: ./src/components/context-menu/context-menu-popover.ngfactory.js
  var context_menu_popover_ngfactory = __webpack_require__(1292);
  
  // EXTERNAL MODULE: ./src/components/course-picker-menu/course-picker-menu-popover.ngfactory.js
  var course_picker_menu_popover_ngfactory = __webpack_require__(1293);
  
  // EXTERNAL MODULE: ./src/components/recaptcha/recaptchamodal.ngfactory.js
  var recaptchamodal_ngfactory = __webpack_require__(1294);
  
  // EXTERNAL MODULE: ./src/core/comments/components/comments/comments.ngfactory.js
  var comments_ngfactory = __webpack_require__(643);
  
  // EXTERNAL MODULE: ./src/components/empty-box/empty-box.ngfactory.js
  var empty_box_ngfactory = __webpack_require__(164);
  
  // EXTERNAL MODULE: ./src/components/empty-box/empty-box.ts
  var empty_box = __webpack_require__(134);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/translate.pipe.js
  var translate_pipe = __webpack_require__(30);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/translate.service.js
  var translate_service = __webpack_require__(18);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/card/card.js
  var card = __webpack_require__(91);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/config/config.js
  var config = __webpack_require__(7);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/item/item.ngfactory.js + 1 modules
  var item_ngfactory = __webpack_require__(34);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/item/item.js
  var item = __webpack_require__(21);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/util/form.js
  var util_form = __webpack_require__(20);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/item/item-reorder.js + 1 modules
  var item_reorder = __webpack_require__(28);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/item/item-content.js
  var item_content = __webpack_require__(31);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/avatar/avatar.js
  var avatar = __webpack_require__(179);
  
  // EXTERNAL MODULE: ./src/directives/external-content.ts
  var external_content = __webpack_require__(162);
  
  // EXTERNAL MODULE: ./src/providers/logger.ts
  var logger = __webpack_require__(6);
  
  // EXTERNAL MODULE: ./src/providers/filepool.ts
  var filepool = __webpack_require__(17);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/platform/platform.js + 1 modules
  var platform = __webpack_require__(15);
  
  // EXTERNAL MODULE: ./src/providers/utils/url.ts
  var url = __webpack_require__(25);
  
  // EXTERNAL MODULE: ./src/providers/app.ts
  var app = __webpack_require__(11);
  
  // EXTERNAL MODULE: ./src/providers/utils/utils.ts
  var utils = __webpack_require__(3);
  
  // EXTERNAL MODULE: ./src/directives/user-link.ts
  var user_link = __webpack_require__(238);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/navigation/nav-controller.js
  var nav_controller = __webpack_require__(22);
  
  // EXTERNAL MODULE: ./src/directives/format-text.ts
  var format_text = __webpack_require__(40);
  
  // EXTERNAL MODULE: ./src/providers/utils/text.ts
  var utils_text = __webpack_require__(12);
  
  // EXTERNAL MODULE: ./src/core/contentlinks/providers/helper.ts
  var helper = __webpack_require__(23);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/content/content.js
  var content = __webpack_require__(24);
  
  // EXTERNAL MODULE: ./src/components/split-view/split-view.ts
  var split_view = __webpack_require__(35);
  
  // EXTERNAL MODULE: ./src/providers/utils/iframe.ts
  var iframe = __webpack_require__(38);
  
  // EXTERNAL MODULE: ./src/providers/events.ts
  var events = __webpack_require__(13);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toolbar/toolbar-header.js
  var toolbar_header = __webpack_require__(420);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/navigation/view-controller.js
  var view_controller = __webpack_require__(36);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toolbar/navbar.ngfactory.js
  var navbar_ngfactory = __webpack_require__(1290);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toolbar/navbar.js
  var navbar = __webpack_require__(191);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/app/app.js + 3 modules
  var app_app = __webpack_require__(27);
  
  // EXTERNAL MODULE: ./src/directives/back-button.ts
  var back_button = __webpack_require__(635);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toolbar/toolbar-title.ngfactory.js
  var toolbar_title_ngfactory = __webpack_require__(1291);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toolbar/toolbar-title.js
  var toolbar_title = __webpack_require__(326);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/toolbar/toolbar.js
  var toolbar = __webpack_require__(236);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/content/content.ngfactory.js
  var content_ngfactory = __webpack_require__(178);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/platform/dom-controller.js
  var dom_controller = __webpack_require__(26);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/platform/keyboard.js
  var keyboard = __webpack_require__(100);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/refresher/refresher.js
  var refresher = __webpack_require__(133);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/gestures/gesture-controller.js
  var gesture_controller = __webpack_require__(37);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/refresher/refresher-content.ngfactory.js
  var refresher_content_ngfactory = __webpack_require__(192);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/components/refresher/refresher-content.js
  var refresher_content = __webpack_require__(145);
  
  // EXTERNAL MODULE: ./src/components/loading/loading.ngfactory.js
  var loading_ngfactory = __webpack_require__(57);
  
  // EXTERNAL MODULE: ./src/components/loading/loading.ts
  var loading = __webpack_require__(51);
  
  // EXTERNAL MODULE: ./node_modules/@angular/common/esm5/common.js
  var common = __webpack_require__(9);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/navigation/nav-params.js
  var nav_params = __webpack_require__(60);
  
  // CONCATENATED MODULE: ./src/core/comments/pages/viewer/viewer.ngfactory.js
  /**
   * @fileoverview This file was generated by the Angular template compiler. Do not edit.
   *
   * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
   * tslint:disable
   */
  /** PURE_IMPORTS_START _angular_core,_.._.._.._components_empty_box_empty_box.ngfactory,_.._.._.._components_empty_box_empty_box,_ngx_translate_core_src_translate.pipe,_ngx_translate_core_src_translate.service,ionic_angular_components_card_card,ionic_angular_config_config,_.._.._.._.._node_modules_ionic_angular_components_item_item.ngfactory,ionic_angular_components_item_item,ionic_angular_util_form,ionic_angular_components_item_item_reorder,ionic_angular_components_item_item_content,ionic_angular_components_avatar_avatar,_.._.._.._directives_external_content,_.._.._.._providers_logger,_.._.._.._providers_filepool,ionic_angular_platform_platform,_.._.._.._providers_sites,_.._.._.._providers_utils_dom,_.._.._.._providers_utils_url,_.._.._.._providers_app,_.._.._.._providers_utils_utils,_.._.._.._directives_user_link,ionic_angular_navigation_nav_controller,_.._.._.._directives_format_text,_.._.._.._providers_utils_text,_.._.._contentlinks_providers_helper,ionic_angular_components_content_content,_.._.._.._components_split_view_split_view,_.._.._.._providers_utils_iframe,_.._.._.._providers_events,ionic_angular_components_toolbar_toolbar_header,ionic_angular_navigation_view_controller,_.._.._.._.._node_modules_ionic_angular_components_toolbar_navbar.ngfactory,ionic_angular_components_toolbar_navbar,ionic_angular_components_app_app,_.._.._.._directives_back_button,_.._.._.._.._node_modules_ionic_angular_components_toolbar_toolbar_title.ngfactory,ionic_angular_components_toolbar_toolbar_title,ionic_angular_components_toolbar_toolbar,_.._.._.._.._node_modules_ionic_angular_components_content_content.ngfactory,ionic_angular_platform_dom_controller,ionic_angular_platform_keyboard,ionic_angular_components_refresher_refresher,ionic_angular_gestures_gesture_controller,_.._.._.._.._node_modules_ionic_angular_components_refresher_refresher_content.ngfactory,ionic_angular_components_refresher_refresher_content,_.._.._.._components_loading_loading.ngfactory,_.._.._.._components_loading_loading,_angular_common,_viewer,ionic_angular_navigation_nav_params,_.._.._user_providers_user,_.._providers_comments PURE_IMPORTS_END */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  var styles_CoreCommentsViewerPage = [];
  var RenderType_CoreCommentsViewerPage = /*@__PURE__*/ core["_14" /* ɵcrt */]({ encapsulation: 2, styles: styles_CoreCommentsViewerPage, data: {} });
  
  function View_CoreCommentsViewerPage_1(_l) { return core["_42" /* ɵvid */](0, [(_l()(), core["_16" /* ɵeld */](0, 0, null, null, 2, "core-empty-box", [["icon", "chatbubbles"]], null, null, null, empty_box_ngfactory["b" /* View_CoreEmptyBoxComponent_0 */], empty_box_ngfactory["a" /* RenderType_CoreEmptyBoxComponent */])), core["_15" /* ɵdid */](1, 49152, null, 0, empty_box["a" /* CoreEmptyBoxComponent */], [], { message: [0, "message"], icon: [1, "icon"] }, null), core["_32" /* ɵpid */](131072, translate_pipe["a" /* TranslatePipe */], [translate_service["a" /* TranslateService */], core["i" /* ChangeDetectorRef */]])], function (_ck, _v) { var currVal_0 = core["_41" /* ɵunv */](_v, 1, 0, core["_29" /* ɵnov */](_v, 2).transform("core.nocomments")); var currVal_1 = "chatbubbles"; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }
  function View_CoreCommentsViewerPage_2(_l) { return core["_42" /* ɵvid */](0, [(_l()(), core["_16" /* ɵeld */](0, 0, null, null, 37, "ion-card", [], null, null, null, null, null)), core["_15" /* ɵdid */](1, 16384, null, 0, card["a" /* Card */], [config["a" /* Config */], core["p" /* ElementRef */], core["K" /* Renderer */]], null, null), (_l()(), core["_40" /* ɵted */](-1, null, ["\n            "])), (_l()(), core["_16" /* ɵeld */](3, 0, null, null, 22, "ion-item", [["class", "item item-block"], ["text-wrap", ""]], null, null, null, item_ngfactory["b" /* View_Item_0 */], item_ngfactory["a" /* RenderType_Item */])), core["_15" /* ɵdid */](4, 1097728, null, 3, item["a" /* Item */], [util_form["a" /* Form */], config["a" /* Config */], core["p" /* ElementRef */], core["K" /* Renderer */], [2, item_reorder["a" /* ItemReorder */]]], null, null), core["_37" /* ɵqud */](335544320, 2, { contentLabel: 0 }), core["_37" /* ɵqud */](603979776, 3, { _buttons: 1 }), core["_37" /* ɵqud */](603979776, 4, { _icons: 1 }), core["_15" /* ɵdid */](8, 16384, null, 0, item_content["a" /* ItemContent */], [], null, null), (_l()(), core["_40" /* ɵted */](-1, 2, ["\n                "])), (_l()(), core["_16" /* ɵeld */](10, 0, null, 0, 8, "ion-avatar", [["item-start", ""]], null, null, null, null, null)), core["_15" /* ɵdid */](11, 16384, null, 0, avatar["a" /* Avatar */], [], null, null), (_l()(), core["_40" /* ɵted */](-1, null, ["\n                    "])), (_l()(), core["_16" /* ɵeld */](13, 0, null, null, 4, "img", [["core-external-content", ""], ["core-user-link", ""], ["onError", "this.src='assets/img/user-avatar.png'"], ["role", "presentation"]], [[8, "src", 4], [8, "alt", 0]], null, null, null, null)), core["_15" /* ɵdid */](14, 4210688, null, 0, external_content["a" /* CoreExternalContentDirective */], [core["p" /* ElementRef */], logger["a" /* CoreLoggerProvider */], filepool["a" /* CoreFilepoolProvider */], platform["a" /* Platform */], sites["a" /* CoreSitesProvider */], dom["a" /* CoreDomUtilsProvider */], url["a" /* CoreUrlUtilsProvider */], app["a" /* CoreAppProvider */], utils["a" /* CoreUtilsProvider */]], null, null), core["_15" /* ɵdid */](15, 81920, null, 0, user_link["a" /* CoreUserLinkDirective */], [core["p" /* ElementRef */], [2, nav_controller["a" /* NavController */]]], { userId: [0, "userId"] }, null), core["_33" /* ɵpod */](16, { $a: 0 }), core["_32" /* ɵpid */](131072, translate_pipe["a" /* TranslatePipe */], [translate_service["a" /* TranslateService */], core["i" /* ChangeDetectorRef */]]), (_l()(), core["_40" /* ɵted */](-1, null, ["\n                "])), (_l()(), core["_40" /* ɵted */](-1, 2, ["\n                "])), (_l()(), core["_16" /* ɵeld */](20, 0, null, 2, 1, "h2", [], null, null, null, null, null)), (_l()(), core["_40" /* ɵted */](21, null, ["", ""])), (_l()(), core["_40" /* ɵted */](-1, 2, ["\n                "])), (_l()(), core["_16" /* ɵeld */](23, 0, null, 2, 1, "p", [], null, null, null, null, null)), (_l()(), core["_40" /* ɵted */](24, null, ["", ""])), (_l()(), core["_40" /* ɵted */](-1, 2, ["\n            "])), (_l()(), core["_40" /* ɵted */](-1, null, ["\n            "])), (_l()(), core["_16" /* ɵeld */](27, 0, null, null, 9, "ion-item", [["class", "item item-block"], ["text-wrap", ""]], null, null, null, item_ngfactory["b" /* View_Item_0 */], item_ngfactory["a" /* RenderType_Item */])), core["_15" /* ɵdid */](28, 1097728, null, 3, item["a" /* Item */], [util_form["a" /* Form */], config["a" /* Config */], core["p" /* ElementRef */], core["K" /* Renderer */], [2, item_reorder["a" /* ItemReorder */]]], null, null), core["_37" /* ɵqud */](335544320, 5, { contentLabel: 0 }), core["_37" /* ɵqud */](603979776, 6, { _buttons: 1 }), core["_37" /* ɵqud */](603979776, 7, { _icons: 1 }), core["_15" /* ɵdid */](32, 16384, null, 0, item_content["a" /* ItemContent */], [], null, null), (_l()(), core["_40" /* ɵted */](-1, 2, ["\n                "])), (_l()(), core["_16" /* ɵeld */](34, 0, null, 2, 1, "core-format-text", [["clean", "true"]], null, null, null, null, null)), core["_15" /* ɵdid */](35, 540672, null, 0, format_text["a" /* CoreFormatTextDirective */], [core["p" /* ElementRef */], sites["a" /* CoreSitesProvider */], dom["a" /* CoreDomUtilsProvider */], utils_text["a" /* CoreTextUtilsProvider */], translate_service["a" /* TranslateService */], platform["a" /* Platform */], utils["a" /* CoreUtilsProvider */], url["a" /* CoreUrlUtilsProvider */], logger["a" /* CoreLoggerProvider */], filepool["a" /* CoreFilepoolProvider */], app["a" /* CoreAppProvider */], helper["a" /* CoreContentLinksHelperProvider */], [2, nav_controller["a" /* NavController */]], [2, content["a" /* Content */]], [2, split_view["a" /* CoreSplitViewComponent */]], iframe["a" /* CoreIframeUtilsProvider */], events["a" /* CoreEventsProvider */]], { text: [0, "text"], clean: [1, "clean"] }, null), (_l()(), core["_40" /* ɵted */](-1, 2, ["\n            "])), (_l()(), core["_40" /* ɵted */](-1, null, ["\n        "]))], function (_ck, _v) { var currVal_2 = _v.context.$implicit.userid; _ck(_v, 15, 0, currVal_2); var currVal_5 = _v.context.$implicit.content; var currVal_6 = "true"; _ck(_v, 35, 0, currVal_5, currVal_6); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.profileimageurl; var currVal_1 = core["_41" /* ɵunv */](_v, 13, 1, core["_29" /* ɵnov */](_v, 17).transform("core.pictureof", _ck(_v, 16, 0, _v.context.$implicit.fullname))); _ck(_v, 13, 0, currVal_0, currVal_1); var currVal_3 = _v.context.$implicit.fullname; _ck(_v, 21, 0, currVal_3); var currVal_4 = _v.context.$implicit.time; _ck(_v, 24, 0, currVal_4); }); }
  function View_CoreCommentsViewerPage_0(_l) {
      return core["_42" /* ɵvid */](0, [core["_37" /* ɵqud */](402653184, 1, { content: 0 }), (_l()(), core["_16" /* ɵeld */](1, 0, null, null, 12, "ion-header", [], null, null, null, null, null)), core["_15" /* ɵdid */](2, 16384, null, 0, toolbar_header["a" /* Header */], [config["a" /* Config */], core["p" /* ElementRef */], core["K" /* Renderer */], [2, view_controller["a" /* ViewController */]]], null, null), (_l()(), core["_40" /* ɵted */](-1, null, ["\n    "])), (_l()(), core["_16" /* ɵeld */](4, 0, null, null, 8, "ion-navbar", [["class", "toolbar"], ["core-back-button", ""]], [[8, "hidden", 0], [2, "statusbar-padding", null]], null, null, navbar_ngfactory["b" /* View_Navbar_0 */], navbar_ngfactory["a" /* RenderType_Navbar */])), core["_15" /* ɵdid */](5, 49152, null, 0, navbar["a" /* Navbar */], [app_app["a" /* App */], [2, view_controller["a" /* ViewController */]], [2, nav_controller["a" /* NavController */]], config["a" /* Config */], core["p" /* ElementRef */], core["K" /* Renderer */]], null, null), core["_15" /* ɵdid */](6, 212992, null, 0, back_button["a" /* CoreBackButtonDirective */], [navbar["a" /* Navbar */], platform["a" /* Platform */], translate_service["a" /* TranslateService */], events["a" /* CoreEventsProvider */]], null, null), (_l()(), core["_40" /* ɵted */](-1, 3, ["\n        "])), (_l()(), core["_16" /* ɵeld */](8, 0, null, 3, 3, "ion-title", [], null, null, null, toolbar_title_ngfactory["b" /* View_ToolbarTitle_0 */], toolbar_title_ngfactory["a" /* RenderType_ToolbarTitle */])), core["_15" /* ɵdid */](9, 49152, null, 0, toolbar_title["a" /* ToolbarTitle */], [config["a" /* Config */], core["p" /* ElementRef */], core["K" /* Renderer */], [2, toolbar["a" /* Toolbar */]], [2, navbar["a" /* Navbar */]]], null, null), (_l()(), core["_16" /* ɵeld */](10, 0, null, 0, 1, "core-format-text", [], null, null, null, null, null)), core["_15" /* ɵdid */](11, 540672, null, 0, format_text["a" /* CoreFormatTextDirective */], [core["p" /* ElementRef */], sites["a" /* CoreSitesProvider */], dom["a" /* CoreDomUtilsProvider */], utils_text["a" /* CoreTextUtilsProvider */], translate_service["a" /* TranslateService */], platform["a" /* Platform */], utils["a" /* CoreUtilsProvider */], url["a" /* CoreUrlUtilsProvider */], logger["a" /* CoreLoggerProvider */], filepool["a" /* CoreFilepoolProvider */], app["a" /* CoreAppProvider */], helper["a" /* CoreContentLinksHelperProvider */], [2, nav_controller["a" /* NavController */]], [2, content["a" /* Content */]], [2, split_view["a" /* CoreSplitViewComponent */]], iframe["a" /* CoreIframeUtilsProvider */], events["a" /* CoreEventsProvider */]], { text: [0, "text"] }, null), (_l()(), core["_40" /* ɵted */](-1, 3, ["\n    "])), (_l()(), core["_40" /* ɵted */](-1, null, ["\n"])), (_l()(), core["_40" /* ɵted */](-1, null, ["\n"])), (_l()(), core["_16" /* ɵeld */](15, 0, null, null, 20, "ion-content", [], [[2, "statusbar-padding", null], [2, "has-refresher", null]], null, null, content_ngfactory["b" /* View_Content_0 */], content_ngfactory["a" /* RenderType_Content */])), core["_15" /* ɵdid */](16, 4374528, [[1, 4]], 0, content["a" /* Content */], [config["a" /* Config */], platform["a" /* Platform */], dom_controller["a" /* DomController */], core["p" /* ElementRef */], core["K" /* Renderer */], app_app["a" /* App */], keyboard["a" /* Keyboard */], core["D" /* NgZone */], [2, view_controller["a" /* ViewController */]], [2, nav_controller["a" /* NavController */]]], null, null), (_l()(), core["_40" /* ɵted */](-1, 1, ["\n    "])), (_l()(), core["_16" /* ɵeld */](18, 0, null, 2, 6, "ion-refresher", [], [[2, "refresher-active", null], [4, "top", null]], [[null, "ionRefresh"]], function (_v, en, $event) {
              var ad = true;
              var _co = _v.component;
              if (("ionRefresh" === en)) {
                  var pd_0 = (_co.refreshComments($event) !== false);
                  ad = (pd_0 && ad);
              }
              return ad;
          }, null, null)), core["_15" /* ɵdid */](19, 212992, null, 0, refresher["a" /* Refresher */], [platform["a" /* Platform */], content["a" /* Content */], core["D" /* NgZone */], gesture_controller["l" /* GestureController */]], { enabled: [0, "enabled"] }, { ionRefresh: "ionRefresh" }), (_l()(), core["_40" /* ɵted */](-1, null, ["\n        "])), (_l()(), core["_16" /* ɵeld */](21, 0, null, null, 2, "ion-refresher-content", [], [[1, "state", 0]], null, null, refresher_content_ngfactory["b" /* View_RefresherContent_0 */], refresher_content_ngfactory["a" /* RenderType_RefresherContent */])), core["_15" /* ɵdid */](22, 114688, null, 0, refresher_content["a" /* RefresherContent */], [refresher["a" /* Refresher */], config["a" /* Config */]], { pullingText: [0, "pullingText"] }, null), core["_32" /* ɵpid */](131072, translate_pipe["a" /* TranslatePipe */], [translate_service["a" /* TranslateService */], core["i" /* ChangeDetectorRef */]]), (_l()(), core["_40" /* ɵted */](-1, null, ["\n    "])), (_l()(), core["_40" /* ɵted */](-1, 1, ["\n    "])), (_l()(), core["_16" /* ɵeld */](26, 0, null, 1, 8, "core-loading", [], null, null, null, loading_ngfactory["b" /* View_CoreLoadingComponent_0 */], loading_ngfactory["a" /* RenderType_CoreLoadingComponent */])), core["_15" /* ɵdid */](27, 638976, null, 0, loading["a" /* CoreLoadingComponent */], [translate_service["a" /* TranslateService */], core["p" /* ElementRef */], events["a" /* CoreEventsProvider */], utils["a" /* CoreUtilsProvider */]], { hideUntil: [0, "hideUntil"] }, null), (_l()(), core["_40" /* ɵted */](-1, 0, ["\n        "])), (_l()(), core["_11" /* ɵand */](16777216, null, 0, 1, null, View_CoreCommentsViewerPage_1)), core["_15" /* ɵdid */](30, 16384, null, 0, common["k" /* NgIf */], [core["W" /* ViewContainerRef */], core["T" /* TemplateRef */]], { ngIf: [0, "ngIf"] }, null), (_l()(), core["_40" /* ɵted */](-1, 0, ["\n\n        "])), (_l()(), core["_11" /* ɵand */](16777216, null, 0, 1, null, View_CoreCommentsViewerPage_2)), core["_15" /* ɵdid */](33, 802816, null, 0, common["j" /* NgForOf */], [core["W" /* ViewContainerRef */], core["T" /* TemplateRef */], core["v" /* IterableDiffers */]], { ngForOf: [0, "ngForOf"] }, null), (_l()(), core["_40" /* ɵted */](-1, 0, ["\n    "])), (_l()(), core["_40" /* ɵted */](-1, 1, ["\n"])), (_l()(), core["_40" /* ɵted */](-1, null, ["\n"]))], function (_ck, _v) { var _co = _v.component; _ck(_v, 6, 0); var currVal_2 = _co.title; _ck(_v, 11, 0, currVal_2); var currVal_7 = _co.commentsLoaded; _ck(_v, 19, 0, currVal_7); var currVal_9 = core["_19" /* ɵinlineInterpolate */](1, "", core["_41" /* ɵunv */](_v, 22, 0, core["_29" /* ɵnov */](_v, 23).transform("core.pulltorefresh")), ""); _ck(_v, 22, 0, currVal_9); var currVal_10 = _co.commentsLoaded; _ck(_v, 27, 0, currVal_10); var currVal_11 = (!_co.comments || !_co.comments.length); _ck(_v, 30, 0, currVal_11); var currVal_12 = _co.comments; _ck(_v, 33, 0, currVal_12); }, function (_ck, _v) { var currVal_0 = core["_29" /* ɵnov */](_v, 5)._hidden; var currVal_1 = core["_29" /* ɵnov */](_v, 5)._sbPadding; _ck(_v, 4, 0, currVal_0, currVal_1); var currVal_3 = core["_29" /* ɵnov */](_v, 16).statusbarPadding; var currVal_4 = core["_29" /* ɵnov */](_v, 16)._hasRefresher; _ck(_v, 15, 0, currVal_3, currVal_4); var currVal_5 = (core["_29" /* ɵnov */](_v, 19).state !== "inactive"); var currVal_6 = core["_29" /* ɵnov */](_v, 19)._top; _ck(_v, 18, 0, currVal_5, currVal_6); var currVal_8 = core["_29" /* ɵnov */](_v, 22).r.state; _ck(_v, 21, 0, currVal_8); });
  }
  function View_CoreCommentsViewerPage_Host_0(_l) { return core["_42" /* ɵvid */](0, [(_l()(), core["_16" /* ɵeld */](0, 0, null, null, 1, "page-core-comments-viewer", [], null, null, null, View_CoreCommentsViewerPage_0, RenderType_CoreCommentsViewerPage)), core["_15" /* ɵdid */](1, 49152, null, 0, CoreCommentsViewerPage, [nav_params["a" /* NavParams */], sites["a" /* CoreSitesProvider */], user["a" /* CoreUserProvider */], dom["a" /* CoreDomUtilsProvider */], translate_service["a" /* TranslateService */], comments["a" /* CoreCommentsProvider */]], null, null)], null, null); }
  var CoreCommentsViewerPageNgFactory = /*@__PURE__*/ core["_12" /* ɵccf */]("page-core-comments-viewer", CoreCommentsViewerPage, View_CoreCommentsViewerPage_Host_0, {}, {}, []);
  
  
  
  
  
  // EXTERNAL MODULE: ./node_modules/@angular/forms/esm5/forms.js
  var esm5_forms = __webpack_require__(19);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/translate.loader.js
  var translate_loader = __webpack_require__(322);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/translate.compiler.js
  var translate_compiler = __webpack_require__(323);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/translate.parser.js
  var translate_parser = __webpack_require__(325);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/missing-translation-handler.js
  var missing_translation_handler = __webpack_require__(324);
  
  // EXTERNAL MODULE: ./node_modules/@ngx-translate/core/src/translate.store.js
  var translate_store = __webpack_require__(419);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/module.js
  var ionic_angular_module = __webpack_require__(634);
  
  // EXTERNAL MODULE: ./src/pipes/pipes.module.ts + 1 modules
  var pipes_module = __webpack_require__(110);
  
  // EXTERNAL MODULE: ./node_modules/ionic-angular/util/module-loader.js
  var module_loader = __webpack_require__(237);
  
  // CONCATENATED MODULE: ./src/core/comments/pages/viewer/viewer.module.ngfactory.js
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CoreCommentsViewerPageModuleNgFactory", function() { return CoreCommentsViewerPageModuleNgFactory; });
  /**
   * @fileoverview This file was generated by the Angular template compiler. Do not edit.
   *
   * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}
   * tslint:disable
   */
  /** PURE_IMPORTS_START _angular_core,_viewer.module,_.._.._.._.._node_modules_ionic_angular_components_action_sheet_action_sheet_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_alert_alert_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_app_app_root.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_loading_loading_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_modal_modal_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_picker_picker_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_popover_popover_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_select_select_popover_component.ngfactory,_.._.._.._.._node_modules_ionic_angular_components_toast_toast_component.ngfactory,_.._.._.._components_context_menu_context_menu_popover.ngfactory,_.._.._.._components_course_picker_menu_course_picker_menu_popover.ngfactory,_.._.._.._components_recaptcha_recaptchamodal.ngfactory,_.._components_comments_comments.ngfactory,_viewer.ngfactory,_angular_common,_angular_forms,_ngx_translate_core_src_translate.loader,_ngx_translate_core_src_translate.compiler,_ngx_translate_core_src_translate.parser,_ngx_translate_core_src_missing_translation_handler,_ngx_translate_core_src_translate.service,_ngx_translate_core_src_translate.store,ionic_angular_module,_ngx_translate_core_index,_.._.._.._directives_directives.module,_.._.._.._pipes_pipes.module,_.._.._.._components_components.module,_.._components_components.module,ionic_angular_util_module_loader,_viewer PURE_IMPORTS_END */
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  var CoreCommentsViewerPageModuleNgFactory = /*@__PURE__*/ core["_13" /* ɵcmf */](CoreCommentsViewerPageModule, [], function (_l) { return core["_25" /* ɵmod */]([core["_26" /* ɵmpd */](512, core["n" /* ComponentFactoryResolver */], core["_6" /* ɵCodegenComponentFactoryResolver */], [[8, [action_sheet_component_ngfactory["a" /* ActionSheetCmpNgFactory */], alert_component_ngfactory["a" /* AlertCmpNgFactory */], app_root_ngfactory["a" /* IonicAppNgFactory */], loading_component_ngfactory["a" /* LoadingCmpNgFactory */], modal_component_ngfactory["a" /* ModalCmpNgFactory */], picker_component_ngfactory["a" /* PickerCmpNgFactory */], popover_component_ngfactory["a" /* PopoverCmpNgFactory */], select_popover_component_ngfactory["a" /* SelectPopoverNgFactory */], toast_component_ngfactory["a" /* ToastCmpNgFactory */], context_menu_popover_ngfactory["a" /* CoreContextMenuPopoverComponentNgFactory */], course_picker_menu_popover_ngfactory["a" /* CoreCoursePickerMenuPopoverComponentNgFactory */], recaptchamodal_ngfactory["a" /* CoreRecaptchaModalComponentNgFactory */], comments_ngfactory["a" /* CoreCommentsCommentsComponentNgFactory */], CoreCommentsViewerPageNgFactory]], [3, core["n" /* ComponentFactoryResolver */]], core["B" /* NgModuleRef */]]), core["_26" /* ɵmpd */](4608, common["m" /* NgLocalization */], common["l" /* NgLocaleLocalization */], [core["x" /* LOCALE_ID */], [2, common["v" /* ɵa */]]]), core["_26" /* ɵmpd */](4608, esm5_forms["x" /* ɵi */], esm5_forms["x" /* ɵi */], []), core["_26" /* ɵmpd */](4608, esm5_forms["d" /* FormBuilder */], esm5_forms["d" /* FormBuilder */], []), core["_26" /* ɵmpd */](4608, translate_loader["b" /* TranslateLoader */], translate_loader["a" /* TranslateFakeLoader */], []), core["_26" /* ɵmpd */](4608, translate_compiler["a" /* TranslateCompiler */], translate_compiler["b" /* TranslateFakeCompiler */], []), core["_26" /* ɵmpd */](4608, translate_parser["b" /* TranslateParser */], translate_parser["a" /* TranslateDefaultParser */], []), core["_26" /* ɵmpd */](4608, missing_translation_handler["b" /* MissingTranslationHandler */], missing_translation_handler["a" /* FakeMissingTranslationHandler */], []), core["_26" /* ɵmpd */](4608, translate_service["a" /* TranslateService */], translate_service["a" /* TranslateService */], [translate_store["a" /* TranslateStore */], translate_loader["b" /* TranslateLoader */], translate_compiler["a" /* TranslateCompiler */], translate_parser["b" /* TranslateParser */], missing_translation_handler["b" /* MissingTranslationHandler */], translate_service["b" /* USE_DEFAULT_LANG */], translate_service["c" /* USE_STORE */]]), core["_26" /* ɵmpd */](512, common["b" /* CommonModule */], common["b" /* CommonModule */], []), core["_26" /* ɵmpd */](512, esm5_forms["v" /* ɵba */], esm5_forms["v" /* ɵba */], []), core["_26" /* ɵmpd */](512, esm5_forms["i" /* FormsModule */], esm5_forms["i" /* FormsModule */], []), core["_26" /* ɵmpd */](512, esm5_forms["s" /* ReactiveFormsModule */], esm5_forms["s" /* ReactiveFormsModule */], []), core["_26" /* ɵmpd */](512, ionic_angular_module["a" /* IonicModule */], ionic_angular_module["a" /* IonicModule */], []), core["_26" /* ɵmpd */](512, _ngx_translate_core["a" /* TranslateModule */], _ngx_translate_core["a" /* TranslateModule */], []), core["_26" /* ɵmpd */](512, directives_module["a" /* CoreDirectivesModule */], directives_module["a" /* CoreDirectivesModule */], []), core["_26" /* ɵmpd */](512, pipes_module["a" /* CorePipesModule */], pipes_module["a" /* CorePipesModule */], []), core["_26" /* ɵmpd */](512, components_module["a" /* CoreComponentsModule */], components_module["a" /* CoreComponentsModule */], []), core["_26" /* ɵmpd */](512, components_components_module["a" /* CoreCommentsComponentsModule */], components_components_module["a" /* CoreCommentsComponentsModule */], []), core["_26" /* ɵmpd */](512, ionic_angular_module["b" /* IonicPageModule */], ionic_angular_module["b" /* IonicPageModule */], []), core["_26" /* ɵmpd */](512, CoreCommentsViewerPageModule, CoreCommentsViewerPageModule, []), core["_26" /* ɵmpd */](256, translate_service["c" /* USE_STORE */], undefined, []), core["_26" /* ɵmpd */](256, translate_service["b" /* USE_DEFAULT_LANG */], undefined, []), core["_26" /* ɵmpd */](256, module_loader["a" /* LAZY_LOADED_TOKEN */], CoreCommentsViewerPage, [])]); });
  
  
  
  
  
  
  /***/ })
  
  });
  //# sourceMappingURL=62.js.map