asap-feed-beta 12.7.4 → 12.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -957,7 +957,7 @@
957
957
  AsapFeedBetaComponent.decorators = [
958
958
  { type: core.Component, args: [{
959
959
  selector: 'asap-feed-beta',
960
- template: "<!-- <code>{{publication}}/{{hasID}}/{{isSinglePost}}</code> -->\n\n<ng-container *ngIf=\"!settings?.channelsHidden\">\n <app-stories *ngIf=\"stories && !hasID && !isSinglePost\"></app-stories>\n</ng-container>\n\n<feed-publication [settings]=\"settings\" [announce]=\"announce\" (feedCreated)=\"onNewFeed($event)\" (filter)=\"reload($event)\" *ngIf=\"publication && !hasID && !isSinglePost\"></feed-publication>\n\n<!-- Este trecho do c\u00F3digo foi removido, pois ele fazia o Feed ficar flicando na tela. -->\n<ng-container *ngIf=\"!feeds\">\n <div [class.col-sm-8]=\"hasID\" [class.mx-auto]=\"hasID\"> \n <ng-container *ngFor=\"let item of [0,1]\">\n <div>\n <mat-card class=\"feed-card mb-4\">\n <mat-card-header class=\"feed-header\">\n <div class=\"mr-3\" mat-card-avatar>\n <ngx-skeleton-loader animation=\"progress\" appearance=\"circle\" [theme]=\"{height:'40px'}\">\n </ngx-skeleton-loader>\n </div>\n <mat-card-title>\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'25px','transform': 'initial', marginBottom: '0'}\">\n </ngx-skeleton-loader>\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'15px','transform': 'initial'}\">\n </ngx-skeleton-loader>\n </mat-card-title>\n\n </mat-card-header>\n\n <ng-container>\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'400px','transform': 'initial'}\">\n </ngx-skeleton-loader>\n </ng-container>\n\n </mat-card>\n </div>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"feeds\">\n <ng-container *ngFor=\"let item of feeds\">\n <div [class.focus-on-me]=\"item.focus\" [class.col-sm-8]=\"hasID\" [class.mx-auto]=\"hasID\">\n <app-feed-item [owner]=\"this\" [settings]=\"settings\" [item]=\"item\" (isVisible)=\"sendVisible($event)\"></app-feed-item>\n </div>\n </ng-container>\n</ng-container>\n\n<div *ngIf=\"loading\">\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'40px', width:'100%'}\"></ngx-skeleton-loader>\n</div>\n\n<div infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"2000\" [infiniteScrollDisabled]=\"\n loading || \n paginate.count >= paginate.limit || \n isSinglePost || \n paginate.last_document === paginate.next_document\" (scrolled)=\"getMore()\">\n</div>\n\n<button \n *ngIf=\"showToTopButton\" \n (click)=\"gotoTop()\" \n style=\"position: fixed;\n bottom: 0;\n right: 0;\n color:#FFFF;\n font-size: 20px;\n margin-right: 10px;\n margin-bottom: 10px;\n height: 35px;\n width: 35px;\n border: none;\n text-align: center;\n border-radius: 50%;\n outline: none;\n transition: all 1s ease-in;\n background-color: var(--main-color);\n z-index: 99999;\"\n class=\"d-none d-sm-block\">\n <i class=\"fa fa-angle-up\"></i>\n</button>\n",
960
+ template: "<ng-container *ngIf=\"!settings?.channelsHidden\">\n <app-stories *ngIf=\"stories && !hasID && !isSinglePost\"></app-stories>\n</ng-container>\n\n<feed-publication [settings]=\"settings\" [announce]=\"announce\" (feedCreated)=\"onNewFeed($event)\" (filter)=\"reload($event)\" *ngIf=\"publication && !hasID && !isSinglePost\"></feed-publication>\n\n<!-- Este trecho do c\u00F3digo foi removido, pois ele fazia o Feed ficar flicando na tela. -->\n<ng-container *ngIf=\"!feeds\">\n <div [class.col-sm-8]=\"hasID\" [class.mx-auto]=\"hasID\"> \n <ng-container *ngFor=\"let item of [0,1]\">\n <div>\n <mat-card class=\"feed-card mb-4\">\n <mat-card-header class=\"feed-header\">\n <div class=\"mr-3\" mat-card-avatar>\n <ngx-skeleton-loader animation=\"progress\" appearance=\"circle\" [theme]=\"{height:'40px'}\">\n </ngx-skeleton-loader>\n </div>\n <mat-card-title>\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'25px','transform': 'initial', marginBottom: '0'}\">\n </ngx-skeleton-loader>\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'15px','transform': 'initial'}\">\n </ngx-skeleton-loader>\n </mat-card-title>\n\n </mat-card-header>\n\n <ng-container>\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'400px','transform': 'initial'}\">\n </ngx-skeleton-loader>\n </ng-container>\n\n </mat-card>\n </div>\n </ng-container>\n </div>\n</ng-container>\n\n<ng-container *ngIf=\"feeds\">\n <ng-container *ngFor=\"let item of feeds\">\n <div [class.focus-on-me]=\"item.focus\" [class.col-sm-8]=\"hasID\" [class.mx-auto]=\"hasID\">\n <app-feed-item [owner]=\"this\" [settings]=\"settings\" [item]=\"item\" (isVisible)=\"sendVisible($event)\"></app-feed-item>\n </div>\n </ng-container>\n</ng-container>\n\n<div *ngIf=\"loading\">\n <ngx-skeleton-loader animation=\"progress\" [theme]=\"{height:'40px', width:'100%'}\"></ngx-skeleton-loader>\n</div>\n\n<div infiniteScroll [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"2000\" [infiniteScrollDisabled]=\"\n loading || \n paginate.count >= paginate.limit || \n isSinglePost || \n paginate.last_document === paginate.next_document\" (scrolled)=\"getMore()\">\n</div>\n\n<button \n *ngIf=\"showToTopButton\" \n (click)=\"gotoTop()\" \n style=\"position: fixed;\n bottom: 0;\n right: 0;\n color:#FFFF;\n font-size: 20px;\n margin-right: 10px;\n margin-bottom: 10px;\n height: 35px;\n width: 35px;\n border: none;\n text-align: center;\n border-radius: 50%;\n outline: none;\n transition: all 1s ease-in;\n background-color: var(--main-color);\n z-index: 99999;\"\n class=\"d-none d-sm-block\">\n <i class=\"fa fa-angle-up\"></i>\n</button>\n",
961
961
  styles: ['./asap-feed.beta.componente.scss']
962
962
  }] }
963
963
  ];
@@ -1161,7 +1161,7 @@
1161
1161
  AsapTabFeedComponent.decorators = [
1162
1162
  { type: core.Component, args: [{
1163
1163
  selector: 'asap-tab-feed',
1164
- template: "<ng-container *ngIf=\"!settings?.channelsHidden\">\n <app-stories></app-stories>\n</ng-container>\n\n<feed-publication [settings]=\"settings\" [hideFilterByMe]=\"true\" [announce]=\"false\" (feedCreated)=\"feed?.onNewFeed($event)\"></feed-publication>\n\n<div *ngIf=\"settings?.tabs\" class=\"asap-tab-feed\">\n <mat-tab-group (selectedTabChange)=\"onChangeTab($event)\" dynamicHeight>\n <mat-tab [label]=\"settings.tabs.channel\" *ngIf=\"settings.tabs.channel_list?.length\">\n <ng-container *ngIf=\"canShow == 0\">\n <asap-feed-beta [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n <mat-tab *ngIf=\"settings.tabs.feed\" [label]=\"settings.tabs.feed\">\n <ng-container *ngIf=\"canShow == 1\">\n <asap-feed-beta #feed [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n <mat-tab *ngIf=\"settings.tabs.feed_users\" [label]=\"settings.tabs.feed_users\">\n <ng-container *ngIf=\"canShow == 2\">\n <asap-feed-beta #feed [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n <mat-tab *ngIf=\"settings.tabs.allFeed\" [label]=\"settings.tabs.allFeed\">\n <ng-container *ngIf=\"canShow == 3\">\n <asap-feed-beta #feed [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n </mat-tab-group>\n</div>",
1164
+ template: "<ng-container *ngIf=\"!settings?.channelsHidden\">\n <app-stories></app-stories>\n</ng-container>\n\n<feed-publication [settings]=\"settings\" [hideFilterByMe]=\"true\" [announce]=\"false\" (feedCreated)=\"feed?.onNewFeed($event)\"></feed-publication>\n\n<div *ngIf=\"settings?.tabs\" class=\"asap-tab-feed\">\n <mat-tab-group (selectedTabChange)=\"onChangeTab($event)\" dynamicHeight>\n <mat-tab *ngIf=\"settings.tabs.allFeed\" [label]=\"settings.tabs.allFeed\">\n <ng-container *ngIf=\"canShow == 3\">\n <asap-feed-beta #feed [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n <mat-tab [label]=\"settings.tabs.channel\" *ngIf=\"settings.tabs.channel_list?.length\">\n <ng-container *ngIf=\"canShow == 0\">\n <asap-feed-beta [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n <mat-tab *ngIf=\"settings.tabs.feed\" [label]=\"settings.tabs.feed\">\n <ng-container *ngIf=\"canShow == 1\">\n <asap-feed-beta #feed [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n <mat-tab *ngIf=\"settings.tabs.feed_users\" [label]=\"settings.tabs.feed_users\">\n <ng-container *ngIf=\"canShow == 2\">\n <asap-feed-beta #feed [settings]=\"settings\"></asap-feed-beta>\n </ng-container>\n </mat-tab>\n </mat-tab-group>\n</div>",
1165
1165
  styles: [""]
1166
1166
  }] }
1167
1167
  ];
@@ -2567,13 +2567,14 @@
2567
2567
  */
2568
2568
  SwiperCore__default.use([SwiperCore.Navigation, SwiperCore.Pagination]);
2569
2569
  var FeedItemComponent = /** @class */ (function () {
2570
- function FeedItemComponent(streamService, db, global, dialog, service, translate) {
2570
+ function FeedItemComponent(streamService, db, global, dialog, service, translate, sanitizer) {
2571
2571
  this.streamService = streamService;
2572
2572
  this.db = db;
2573
2573
  this.global = global;
2574
2574
  this.dialog = dialog;
2575
2575
  this.service = service;
2576
2576
  this.translate = translate;
2577
+ this.sanitizer = sanitizer;
2577
2578
  this.isVisible = new core.EventEmitter();
2578
2579
  this.imageLoaded = false;
2579
2580
  this.imageDataLoaded = false;
@@ -2589,6 +2590,7 @@
2589
2590
  var _this = this;
2590
2591
  this.loadVisibilityControls();
2591
2592
  if (this.item.files && this.item.files.length > 0) {
2593
+ this.item.linkifiedTitle = this.sanitizedLinkify(this.item.title);
2592
2594
  this.item.files.map((/**
2593
2595
  * @param {?} feed
2594
2596
  * @return {?}
@@ -2701,6 +2703,19 @@
2701
2703
  this.videoplayer.nativeElement.play();
2702
2704
  }
2703
2705
  };
2706
+ /**
2707
+ * @param {?} str
2708
+ * @return {?}
2709
+ */
2710
+ FeedItemComponent.prototype.sanitizedLinkify = /**
2711
+ * @param {?} str
2712
+ * @return {?}
2713
+ */
2714
+ function (str) {
2715
+ /** @type {?} */
2716
+ var sanitized = this.sanitizer.bypassSecurityTrustHtml(this.linkify(str));
2717
+ return sanitized;
2718
+ };
2704
2719
  /**
2705
2720
  * @param {?} str
2706
2721
  * @return {?}
@@ -2730,11 +2745,11 @@
2730
2745
  */
2731
2746
  function (match, url, www, mail, twitler) {
2732
2747
  if (url)
2733
- return "<a class='text-primary' target='_blank' (click)='redirectNewLink(url)' href=\"" + url + "\">" + url + "</a>";
2748
+ return "<a class='text-primary' target='_blank' href=\"" + url + "\">" + url + "</a>";
2734
2749
  if (www)
2735
2750
  return "<a class='text-primary' href=\"http://" + www + "\">" + www + "</a>";
2736
2751
  if (mail)
2737
- return "<a class='text-primary' href=\"#</a>";
2752
+ return "<a class='text-primary' href=\"mailto://" + mail + "\">" + mail + "</a>";
2738
2753
  if (twitler)
2739
2754
  return "<a class='text-primary' href=\"portal/search/" + encodeURIComponent('#' + twitler) + "\">#" + twitler + "</a>";
2740
2755
  // return "<a class='text-primary' href=\"#\">#" + twitler + "</a>";
@@ -2925,7 +2940,7 @@
2925
2940
  FeedItemComponent.decorators = [
2926
2941
  { type: core.Component, args: [{
2927
2942
  selector: 'app-feed-item',
2928
- template: "<ng-container *ngIf=\"item && item.status && !item.deleted\">\n <mat-card #visibleControl class=\"feed-card\" id=\"{{ item.id +'#'+ item.type}}\">\n <mat-card-header class=\"feed-header ml-2\">\n <popover-content #myPopover placement=\"auto right\" [closeOnClickOutside]=\"false\" [closeOnMouseOutside]=\"false\"\n [animation]=\"true\">\n <div class='minibio'>\n <img\n [src]=\"(item.user_info?.picture)? item.user_info.picture : 'assets/img/default-avatar.png' || 'assets/img/default-avatar.png'\"\n (error)=\"item.user_info.picture = 'assets/img/default-avatar.png'\" alt=\"{{ item?.user_info?.name }}\">\n <div class=\"info\"><b>{{ item?.user_info?.name }}</b><br />\n <!-- <span class=\"location\"><i class=\"icon fa fa-globe\" aria-hidden=\"true\"></i>&nbsp;Fortaleza/CE</span> -->\n </div>\n </div>\n </popover-content>\n <div mat-card-avatar>\n <a [routerLink]=\"['/profile',item.user_info?.id]\"><img\n [src]=\"(item.user_info?.picture)? item.user_info.picture : 'assets/img/default-avatar.png' || 'assets/img/default-avatar.png'\"\n class=\"feed-avatar mr-1\" (error)=\"item.user_info.picture = 'assets/img/default-avatar.png'\"\n alt=\"{{ item?.user_info?.name }}\" [popover]=\"myPopover\" [popoverOnHover]=\"true\"></a>\n </div>\n\n <mat-card-title>\n <h4 class=\"ml-2\"><b><a [routerLink]=\"['/profile',item.user_info?.id]\">{{ item?.user_info?.name }}</a> <i\n *ngIf=\"item?.channel_id\" class=\"material-icons text-primary\" matTooltip=\"Este \u00E9 um post Institucional\"\n matTooltipClass=\"tooltip-primary\">done_all</i></b>\n </h4>\n <p class=\"ml-2\"> {{ 'SharedPublication' | translate }} <a [routerLink]=\"['/start',item.id]\">{{\n item?.updated_at | amTimeAgo }}</a></p>\n </mat-card-title>\n\n <ng-container *ngIf=\"global.loggedUser()\">\n <div class=\"feed-buttom-option\" *ngIf=\"item.user_info.id === global.loggedUser().id\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" [disabled]=\"!item.status\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"onEditItem()\" [disabled]=\"!item.status\">\n <mat-icon>create</mat-icon>\n <span>{{ 'Edit' | translate }}</span>\n </button>\n <button mat-menu-item (click)=\"onRemoveItem(item)\" [disabled]=\"!item.status\">\n <mat-icon>delete</mat-icon>\n <span>{{ 'Remove' | translate }}</span>\n </button>\n </mat-menu>\n </div>\n <div *ngIf=\"item.isHighlighted\" matTooltip=\"Post destacado\" class=\"feed-buttom-option pinned-feed\">\n <i class=\"fa fa-thumb-tack fa-lg\"></i>\n </div>\n </ng-container>\n\n </mat-card-header>\n\n <ng-container *ngIf=\"item.type != 'announce'\">\n <ng-container *ngIf=\"!(item.files && item.files.length > 0)\">\n <div class=\"card card-file mt-0 pointer\">\n <!-- <div class=\"card-cover\"> -->\n <ng-container *ngIf=\"item.additional_data && item.additional_data.image\">\n <img style=\"display: none;\" [src]=\"item.additional_data.image\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n\n <div class=\"container-mat-card\" *ngIf=\"imageLoaded\">\n <img class=\"bg-mat-card\" [src]=\"item.additional_data.image\">\n <img mat-card-image [src]=\"item.additional_data.image\">\n </div>\n\n <div class=\"container-mat-card\" *ngIf=\"!imageLoaded\">\n <img mat-card-image [src]=\"'assets/img/background-blur-' + blurBackgroundIndex + '.png'\">\n </div>\n </ng-container>\n <!-- </div> -->\n <a *ngIf=\"item.additional_data && item.additional_data.file_id\"\n [routerLink]=\"['/channel/files/' + item.channel_id +'/'+ item.additional_data.file_id]\" class=\"circle\">\n <i class=\"fa fa-file-text-o\"></i>\n </a>\n <div *ngIf=\"item.additional_data && item.additional_data.description\" class=\"card-content\">\n <div class=\"clearfix\"></div>\n <p class=\"description m-3\" [innerHTML]=\"linkify(item.additional_data.description)\"></p>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.files && item.files.length > 0\">\n\n <ng-container *ngIf=\"item.files.length === 1\">\n <ng-container *ngFor=\"let file of item.files\">\n <ng-container *ngIf=\"file.type == 'image'\">\n\n <img style=\"display: none;\" [src]=\"file.name || file.url\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n\n <div class=\"container-mat-card\" *ngIf=\"imageLoaded\">\n <img class=\"bg-mat-card\" [src]=\"file.name || file.url\">\n <img mat-card-image [src]=\"file.name || file.url\">\n </div>\n\n <div class=\"container-mat-card\" *ngIf=\"!imageLoaded\">\n <img mat-card-image [src]=\"'assets/img/background-blur-' + blurBackgroundIndex + '.png'\">\n </div>\n\n </ng-container>\n\n <ng-container *ngIf=\"file.type == 'video'\">\n <div class=\"carousel custom-carrousel\">\n <div class=\"content\">\n <div class=\"item\">\n <div class=\"video-overlay cloudinary-true\" *ngIf=\"file.isCloudinary == true\"\n [style.background-image]=\"file.thumb | stream: 'backgroundImage'\"></div>\n\n <div class=\"video-overlay youtube-true\" *ngIf=\"!file.isYoutube == true\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\"></div>\n\n <div class=\"video-overlay not-cloudinary-youtube\" *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\"></div>\n\n <video attr.type='stream' #videoPlayer *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\"\n class=\"video not-cloudinary-youtube\" width=\"100%\" controls=\"false\" preload=\"metadata\"\n poster=\"{{file?.url | stream:'thumb'}}\">\n <source [src]=\"file.url | stream:'link'\" />\n </video>\n\n <video attr.type='cloudinary' #videoPlayer *ngIf=\"file.isCloudinary == true\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\"\n class=\"video cloudinary-true\" width=\"100%\" controls=\"false\" preload=\"metadata\"\n poster=\"{{file?.thumb}}\">\n <source [src]=\"file.url\" />\n </video>\n\n <ng-container *ngIf=\"file.isYoutube == true\">\n <iframe attr.type='youtube' #videoPlayer [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\"\n frameborder=\"0\" width=\"100%\" class=\"video\"></iframe>\n </ng-container>\n\n </div>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.type == 'pdf' || file.type == 'txt'\">\n <div class=\"container-mat-card px-3\">\n <a [routerLink]=\"['/channel/files/' + file.channel_id + '/' + file.file_id]\" class=\"w-100\">\n\n <div class=\"card card-file mt-0 pointer\">\n <div class=\"card-cover\">\n <a [routerLink]=\"['/channel/files/' + file.channel_id +'/'+ file.file_id]\">\n <ng-container *ngIf=\"file.image\">\n <img [src]=\"file.image\" alt=\"\">\n </ng-container>\n\n <ng-container *ngIf=\"!file.image || file.image == null\">\n <h4 class=\"title\" [innerHTML]=\"linkify(file.title)\"></h4>\n </ng-container>\n </a>\n </div>\n <a [routerLink]=\"['/channel/files/' + file.channel_id +'/'+ file.file_id]\" class=\"circle\">\n <i *ngIf=\"file.type == 'pdf'\" class=\"fa fa-file-pdf-o\"></i>\n <i *ngIf=\"file.type == 'txt'\" class=\"fa fa-file-text-o\"></i>\n </a>\n <div class=\"card-content\">\n <div class=\"clearfix\"></div>\n <p class=\"title mb-1\" style=\"color: #414141 !important; text-shadow: none !important; font-weight: 500 !important;\" [innerHTML]=\"linkify(file.title)\"></p>\n <p class=\"description mb-3\" [innerHTML]=\"linkify(file.description)\"></p>\n </div>\n </div>\n\n </a>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.type == 'embed'\">\n <iframe class=\"video\" style=\"height: 280px; width: 100%;margin-top: 15px;\"\n [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\" allowfullscreen></iframe>\n </ng-container>\n\n </ng-container>\n </ng-container>\n\n\n <ng-container *ngIf=\"item.files.length > 1\">\n\n <!-- Carrosel de Imavens e v\u00EDdeos -->\n\n <div class=\"swiper-stage\">\n <swiper [config]=\"global.swiperConfig(false)\">\n <div swiperSlide *ngFor=\"let file of item.files; let i = index\">\n <div class=\"swiper-carousel-custom\">\n\n <!-- Imagem -->\n\n <ng-container *ngIf=\"file.type === 'image'\">\n <ng-container *ngIf=\"file.url\">\n <div class=\"swiper-container-img\">\n <div class=\"swiper-bg-blur\" [style.backgroundImage]=\"'url('+file.url+')'\">\n </div>\n <img class=\"img\" [src]=\"file.url\" alt=\"\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.name\">\n <div class=\"swiper-container-img\" [style.backgroundImage]=\"'url('+file.name+')'\">\n <div class=\"swiper-bg-blur\" [style.backgroundImage]=\"'url('+file.name+')'\">\n </div>\n <img class=\"img\" [src]=\"file.name\" alt=\"\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n </div>\n </ng-container>\n </ng-container>\n\n <!-- Video -->\n\n <ng-container *ngIf=\"file.type === 'video'\">\n\n <ng-container>\n\n <div class=\"video-overlay\" *ngIf=\"file.isCloudinary == true\"\n [style.background-image]=\"file.thumb | stream: 'backgroundImage'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isYoutube == true\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <video attr.type='stream' #videoPlayer *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\" class=\"video\"\n width=\"100%\" controls=\"false\" preload=\"metadata\" poster=\"{{file?.url | stream:'thumb'}}\">\n <source [src]=\"file.url | stream:'link'\" />\n </video>\n\n <video attr.type='cloudinary' #videoPlayer *ngIf=\"file.isCloudinary == true\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\" class=\"video\"\n width=\"100%\" controls=\"false\" preload=\"metadata\" poster=\"{{file?.thumb}}\">\n <source [src]=\"file.url\" />\n </video>\n\n <ng-container *ngIf=\"file.isYoutube == true\">\n <iframe attr.type='youtube' #videoPlayer [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\"\n frameborder=\"0\" width=\"100%\" class=\"video\"></iframe>\n </ng-container>\n\n </ng-container>\n\n <!-- Verifica se o V\u00EDdeo \u00E9 a primeira posi\u00E7\u00E3o do Slide -->\n <!-- <ng-container *ngIf=\" i === 0\">\n\n <div class=\"video-overlay\" *ngIf=\"file.isCloudinary == true\"\n [style.background-image]=\"file.thumb | stream: 'backgroundImage'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isYoutube == true\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <video attr.type='stream' #videoPlayer\n *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\"\n class=\"video\" width=\"100%\" controls=\"false\" preload=\"metadata\"\n poster=\"{{file.url | stream:'thumb'}}\">\n <source [src]=\"file.url | stream:'link'\" />\n </video>\n\n <video attr.type='cloudinary' #videoPlayer\n *ngIf=\"file.isCloudinary === true\" (click)=\"playVideo($event)\"\n (onloadeddata)=\"checkVideoRender(file.url)\" class=\"video\" width=\"100%\"\n controls=\"false\" preload=\"metadata\" poster=\"{{file.thumb}}\">\n <source [src]=\"file.url\" />\n </video>\n\n <ng-container *ngIf=\"file.isYoutube === true\">\n <iframe attr.type='youtube' #videoPlayer\n [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\"\n frameborder=\"0\" width=\"100%\" class=\"video\"></iframe>\n </ng-container>\n\n </ng-container> -->\n\n </ng-container>\n\n <ng-template #infiniteContainer></ng-template>\n </div>\n </div>\n </swiper>\n </div>\n\n <!-- Fim Carrosel de Imagens e V\u00EDdeos -->\n\n </ng-container>\n\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"item.type == 'announce'\">\n <div class=\"ribbon ribbon-top-right\"><span>An\u00FAncio</span></div>\n\n <div class=\"swiper-stage\">\n <swiper [config]=\"global.swiperConfig(false)\">\n <div swiperSlide *ngFor=\"let file of item.files; let i = index\">\n <div class=\"swiper-carousel-custom\">\n <ng-container *ngIf=\"file.type === 'image'\">\n <div class=\"img\" [style.backgroundImage]=\"'url('+file.name+')'\" *ngIf=\"file.name\">\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.type === 'video'\">\n\n <ng-container>\n\n <div class=\"video-overlay\" [style.background-image]=\"file.url | stream:'styleThumbUrl'\">\n </div>\n\n <video class=\"video\" width=\"100%\" preload=\"metadata\" poster=\"{{ file?.url | stream:'thumb' }}\">\n <source [src]=\"file?.url | stream:'link'\" />\n </video>\n\n </ng-container>\n\n </ng-container>\n </div>\n </div>\n <ng-template #infiniteContainer></ng-template>\n </swiper>\n </div>\n\n <div class=\"pull-right mt-3\" [routerLink]=\"['/market/product/', item.product.id]\">\n <button class=\"btn btn-primary\">\n <i class=\"fa fa-shopping-cart\"></i>\n {{ preConvertNumber(item?.product?.valorDe) | currency:'BRL':true}} -\n {{ preConvertNumber(item?.product?.valorAte) | currency:'BRL':true}}\n </button>\n </div>\n <p *ngIf=\"item?.product?.data?.descr\" [innerHTML]=\"item.product.descr\"></p>\n </ng-container>\n\n <div class=\"mat-card-content\">\n <span class=\"ws-pre-wrap post-text mt-1 mb-4\" [innerHTML]=\"linkify(item.title)\"></span>\n <span class=\"ws-pre-wrap post-text mt-1 mb-4\" *ngIf=\"item.additional_data?.type != 'video'\" [innerHTML]=\"linkify(item.additional_data?.description)\"></span>\n \n <feed-actions [settings]=\"settings\" [item]=\"item\"></feed-actions>\n <feed-comments [settings]=\"settings\" [feed_id]=\"item.id\" [user]=\"item.user_info\"></feed-comments>\n </div>\n\n </mat-card>\n</ng-container>\n\n<ng-container *ngIf=\"item && !item.status\">\n <ng-container *ngIf=\"global.loggedUser()\">\n <ng-container *ngIf=\"item.user_info.id === global.loggedUser().id\">\n <ng-container *ngIf=\"item\">\n <mat-card #visibleControl class=\"feed-card\" id=\"{{ item.id +'#'+ item.type}}\">\n <mat-card-header class=\"feed-header ml-2\">\n <div mat-card-avatar>\n <img\n [src]=\"(item.user_info?.picture)? item.user_info.picture : 'assets/img/default-avatar.png' || 'assets/img/default-avatar.png'\"\n class=\"feed-avatar\" (error)=\"item.user_info.picture = 'assets/img/default-avatar.png'\"\n alt=\"{{ item?.user_info?.name }}\">\n </div>\n <mat-card-title>\n <h4><b>{{ item?.user_info?.name }}</b></h4>\n <p> {{ 'SharedPublication' | translate }} <a>{{ item?.updated_at | amTimeAgo }}</a></p>\n </mat-card-title>\n\n <div class=\"feed-buttom-option\" *ngIf=\"false\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"false\">\n <mat-icon>create</mat-icon>\n <span>{{ 'Edit' | translate }}</span>\n </button>\n <button mat-menu-item (click)=\"false\">\n <mat-icon>delete</mat-icon>\n <span>{{ 'Remove' | translate }}</span>\n </button>\n </mat-menu>\n </div>\n\n </mat-card-header>\n\n <ng-container>\n <div class=\"col-sm-12 mx-auto text-center post-processing-section\">\n <img src=\"https://image.flaticon.com/icons/svg/2654/2654464.svg\" width=\"30%\">\n <h4>Estamos processando os dados do seu Post!</h4>\n <p>No momento ele est\u00E1 vis\u00EDvel apenas para voc\u00EA, mas logo estar\u00E1 dispon\u00EDvel para todos!</p>\n </div>\n </ng-container>\n \n <div class=\"mat-card-content\">\n <span class=\"ws-pre-wrap post-text mt-1 mb-4\" [innerHTML]=\"linkify(item.title)\"></span>\n <feed-actions [settings]=\"settings\" prefix=\"prefix\" [item]=\"item\"></feed-actions>\n <feed-comments [settings]=\"settings\" prefix=\"prefix\" [feed_id]=\"item.id\" [user]=\"item.user_info\"></feed-comments>\n </div>\n </mat-card>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n",
2943
+ template: "<ng-container *ngIf=\"item && item.status && !item.deleted\">\n <mat-card #visibleControl class=\"feed-card\" id=\"{{ item.id +'#'+ item.type}}\">\n <mat-card-header class=\"feed-header ml-2\">\n <popover-content #myPopover placement=\"auto right\" [closeOnClickOutside]=\"false\" [closeOnMouseOutside]=\"false\"\n [animation]=\"true\">\n <div class='minibio'>\n <img\n [src]=\"(item.user_info?.picture)? item.user_info.picture : 'assets/img/default-avatar.png' || 'assets/img/default-avatar.png'\"\n (error)=\"item.user_info.picture = 'assets/img/default-avatar.png'\" alt=\"{{ item?.user_info?.name }}\">\n <div class=\"info\"><b>{{ item?.user_info?.name }}</b><br />\n <!-- <span class=\"location\"><i class=\"icon fa fa-globe\" aria-hidden=\"true\"></i>&nbsp;Fortaleza/CE</span> -->\n </div>\n </div>\n </popover-content>\n <div mat-card-avatar>\n <a [routerLink]=\"['/profile',item.user_info?.id]\"><img\n [src]=\"(item.user_info?.picture)? item.user_info.picture : 'assets/img/default-avatar.png' || 'assets/img/default-avatar.png'\"\n class=\"feed-avatar mr-1\" (error)=\"item.user_info.picture = 'assets/img/default-avatar.png'\"\n alt=\"{{ item?.user_info?.name }}\" [popover]=\"myPopover\" [popoverOnHover]=\"true\"></a>\n </div>\n\n <mat-card-title>\n <h4 class=\"ml-2\"><b><a [routerLink]=\"['/profile',item.user_info?.id]\">{{ item?.user_info?.name }}</a> <i\n *ngIf=\"item?.channel_id\" class=\"material-icons text-primary\" matTooltip=\"Este \u00E9 um post Institucional\"\n matTooltipClass=\"tooltip-primary\">done_all</i></b>\n </h4>\n <p class=\"ml-2\"> {{ 'SharedPublication' | translate }} <a [routerLink]=\"['/start',item.id]\">{{\n item?.updated_at | amTimeAgo }}</a></p>\n </mat-card-title>\n\n <ng-container *ngIf=\"global.loggedUser()\">\n <div class=\"feed-buttom-option\" *ngIf=\"item.user_info.id === global.loggedUser().id\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\" [disabled]=\"!item.status\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"onEditItem()\" [disabled]=\"!item.status\">\n <mat-icon>create</mat-icon>\n <span>{{ 'Edit' | translate }}</span>\n </button>\n <button mat-menu-item (click)=\"onRemoveItem(item)\" [disabled]=\"!item.status\">\n <mat-icon>delete</mat-icon>\n <span>{{ 'Remove' | translate }}</span>\n </button>\n </mat-menu>\n </div>\n <div *ngIf=\"item.isHighlighted\" matTooltip=\"Post destacado\" class=\"feed-buttom-option pinned-feed\">\n <i class=\"fa fa-thumb-tack fa-lg\"></i>\n </div>\n </ng-container>\n\n </mat-card-header>\n\n <ng-container *ngIf=\"item.type != 'announce'\">\n <ng-container *ngIf=\"!(item.files && item.files.length > 0)\">\n <div class=\"card card-file mt-0 pointer\">\n <!-- <div class=\"card-cover\"> -->\n <ng-container *ngIf=\"item.additional_data && item.additional_data.image\">\n <img style=\"display: none;\" [src]=\"item.additional_data.image\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n\n <div class=\"container-mat-card\" *ngIf=\"imageLoaded\">\n <img class=\"bg-mat-card\" [src]=\"item.additional_data.image\">\n <img mat-card-image [src]=\"item.additional_data.image\">\n </div>\n\n <div class=\"container-mat-card\" *ngIf=\"!imageLoaded\">\n <img mat-card-image [src]=\"'assets/img/background-blur-' + blurBackgroundIndex + '.png'\">\n </div>\n </ng-container>\n <!-- </div> -->\n <a *ngIf=\"item.additional_data && item.additional_data.file_id\"\n [routerLink]=\"['/channel/files/' + item.channel_id +'/'+ item.additional_data.file_id]\" class=\"circle\">\n <i class=\"fa fa-file-text-o\"></i>\n </a>\n <div *ngIf=\"item.additional_data && item.additional_data.description\" class=\"card-content\">\n <div class=\"clearfix\"></div>\n <p class=\"description m-3\" [innerHTML]=\"linkify(item.additional_data.description)\"></p>\n </div>\n </div>\n </ng-container>\n <ng-container *ngIf=\"item.files && item.files.length > 0\">\n\n <ng-container *ngIf=\"item.files.length === 1\">\n <ng-container *ngFor=\"let file of item.files\">\n <ng-container *ngIf=\"file.type == 'image'\">\n\n <img style=\"display: none;\" [src]=\"file.name || file.url\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n\n <div class=\"container-mat-card\" *ngIf=\"imageLoaded\">\n <img class=\"bg-mat-card\" [src]=\"file.name || file.url\">\n <img mat-card-image [src]=\"file.name || file.url\">\n </div>\n\n <div class=\"container-mat-card\" *ngIf=\"!imageLoaded\">\n <img mat-card-image [src]=\"'assets/img/background-blur-' + blurBackgroundIndex + '.png'\">\n </div>\n\n </ng-container>\n\n <ng-container *ngIf=\"file.type == 'video'\">\n <div class=\"carousel custom-carrousel\">\n <div class=\"content\">\n <div class=\"item\">\n <div class=\"video-overlay cloudinary-true\" *ngIf=\"file.isCloudinary == true\"\n [style.background-image]=\"file.thumb | stream: 'backgroundImage'\"></div>\n\n <div class=\"video-overlay youtube-true\" *ngIf=\"!file.isYoutube == true\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\"></div>\n\n <div class=\"video-overlay not-cloudinary-youtube\" *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\"></div>\n\n <video attr.type='stream' #videoPlayer *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\"\n class=\"video not-cloudinary-youtube\" width=\"100%\" controls=\"false\" preload=\"metadata\"\n poster=\"{{file?.url | stream:'thumb'}}\">\n <source [src]=\"file.url | stream:'link'\" />\n </video>\n\n <video attr.type='cloudinary' #videoPlayer *ngIf=\"file.isCloudinary == true\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\"\n class=\"video cloudinary-true\" width=\"100%\" controls=\"false\" preload=\"metadata\"\n poster=\"{{file?.thumb}}\">\n <source [src]=\"file.url\" />\n </video>\n\n <ng-container *ngIf=\"file.isYoutube == true\">\n <iframe attr.type='youtube' #videoPlayer [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\"\n frameborder=\"0\" width=\"100%\" class=\"video\"></iframe>\n </ng-container>\n\n </div>\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.type == 'pdf' || file.type == 'txt'\">\n <div class=\"container-mat-card px-3\">\n <a [routerLink]=\"['/channel/files/' + file.channel_id + '/' + file.file_id]\" class=\"w-100\">\n\n <div class=\"card card-file mt-0 pointer\">\n <div class=\"card-cover\">\n <a [routerLink]=\"['/channel/files/' + file.channel_id +'/'+ file.file_id]\">\n <ng-container *ngIf=\"file.image\">\n <img [src]=\"file.image\" alt=\"\">\n </ng-container>\n\n <ng-container *ngIf=\"!file.image || file.image == null\">\n <h4 class=\"title\" [innerHTML]=\"linkify(file.title)\"></h4>\n </ng-container>\n </a>\n </div>\n <a [routerLink]=\"['/channel/files/' + file.channel_id +'/'+ file.file_id]\" class=\"circle\">\n <i *ngIf=\"file.type == 'pdf'\" class=\"fa fa-file-pdf-o\"></i>\n <i *ngIf=\"file.type == 'txt'\" class=\"fa fa-file-text-o\"></i>\n </a>\n <div class=\"card-content\">\n <div class=\"clearfix\"></div>\n <p class=\"title mb-1\" style=\"color: #414141 !important; text-shadow: none !important; font-weight: 500 !important;\" [innerHTML]=\"linkify(file.title)\"></p>\n <p class=\"description mb-3\" [innerHTML]=\"linkify(file.description)\"></p>\n </div>\n </div>\n\n </a>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.type == 'embed'\">\n <iframe class=\"video\" style=\"height: 280px; width: 100%;margin-top: 15px;\"\n [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\" allowfullscreen></iframe>\n </ng-container>\n\n </ng-container>\n </ng-container>\n\n\n <ng-container *ngIf=\"item.files.length > 1\">\n\n <!-- Carrosel de Imavens e v\u00EDdeos -->\n\n <div class=\"swiper-stage\">\n <swiper [config]=\"global.swiperConfig(false)\">\n <div swiperSlide *ngFor=\"let file of item.files; let i = index\">\n <div class=\"swiper-carousel-custom\">\n\n <!-- Imagem -->\n\n <ng-container *ngIf=\"file.type === 'image'\">\n <ng-container *ngIf=\"file.url\">\n <div class=\"swiper-container-img\">\n <div class=\"swiper-bg-blur\" [style.backgroundImage]=\"'url('+file.url+')'\">\n </div>\n <img class=\"img\" [src]=\"file.url\" alt=\"\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.name\">\n <div class=\"swiper-container-img\" [style.backgroundImage]=\"'url('+file.name+')'\">\n <div class=\"swiper-bg-blur\" [style.backgroundImage]=\"'url('+file.name+')'\">\n </div>\n <img class=\"img\" [src]=\"file.name\" alt=\"\" (load)=\"onloadImage($event)\"\n (error)=\"onErrorImage($event)\">\n </div>\n </ng-container>\n </ng-container>\n\n <!-- Video -->\n\n <ng-container *ngIf=\"file.type === 'video'\">\n\n <ng-container>\n\n <div class=\"video-overlay\" *ngIf=\"file.isCloudinary == true\"\n [style.background-image]=\"file.thumb | stream: 'backgroundImage'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isYoutube == true\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <video attr.type='stream' #videoPlayer *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\" class=\"video\"\n width=\"100%\" controls=\"false\" preload=\"metadata\" poster=\"{{file?.url | stream:'thumb'}}\">\n <source [src]=\"file.url | stream:'link'\" />\n </video>\n\n <video attr.type='cloudinary' #videoPlayer *ngIf=\"file.isCloudinary == true\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\" class=\"video\"\n width=\"100%\" controls=\"false\" preload=\"metadata\" poster=\"{{file?.thumb}}\">\n <source [src]=\"file.url\" />\n </video>\n\n <ng-container *ngIf=\"file.isYoutube == true\">\n <iframe attr.type='youtube' #videoPlayer [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\"\n frameborder=\"0\" width=\"100%\" class=\"video\"></iframe>\n </ng-container>\n\n </ng-container>\n\n <!-- Verifica se o V\u00EDdeo \u00E9 a primeira posi\u00E7\u00E3o do Slide -->\n <!-- <ng-container *ngIf=\" i === 0\">\n\n <div class=\"video-overlay\" *ngIf=\"file.isCloudinary == true\"\n [style.background-image]=\"file.thumb | stream: 'backgroundImage'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isYoutube == true\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <div class=\"video-overlay\" *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n [style.background-image]=\"file.url | stream: 'styleThumbUrl'\">\n </div>\n\n <video attr.type='stream' #videoPlayer\n *ngIf=\"!file.isCloudinary && !file.isYoutube\"\n (click)=\"playVideo($event)\" (onloadeddata)=\"checkVideoRender(file.url)\"\n class=\"video\" width=\"100%\" controls=\"false\" preload=\"metadata\"\n poster=\"{{file.url | stream:'thumb'}}\">\n <source [src]=\"file.url | stream:'link'\" />\n </video>\n\n <video attr.type='cloudinary' #videoPlayer\n *ngIf=\"file.isCloudinary === true\" (click)=\"playVideo($event)\"\n (onloadeddata)=\"checkVideoRender(file.url)\" class=\"video\" width=\"100%\"\n controls=\"false\" preload=\"metadata\" poster=\"{{file.thumb}}\">\n <source [src]=\"file.url\" />\n </video>\n\n <ng-container *ngIf=\"file.isYoutube === true\">\n <iframe attr.type='youtube' #videoPlayer\n [src]=\"file.url | safe:'resourceUrl'\" frameborder=\"0\"\n frameborder=\"0\" width=\"100%\" class=\"video\"></iframe>\n </ng-container>\n\n </ng-container> -->\n\n </ng-container>\n\n <ng-template #infiniteContainer></ng-template>\n </div>\n </div>\n </swiper>\n </div>\n\n <!-- Fim Carrosel de Imagens e V\u00EDdeos -->\n\n </ng-container>\n\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"item.type == 'announce'\">\n <div class=\"ribbon ribbon-top-right\"><span>An\u00FAncio</span></div>\n\n <div class=\"swiper-stage\">\n <swiper [config]=\"global.swiperConfig(false)\">\n <div swiperSlide *ngFor=\"let file of item.files; let i = index\">\n <div class=\"swiper-carousel-custom\">\n <ng-container *ngIf=\"file.type === 'image'\">\n <div class=\"img\" [style.backgroundImage]=\"'url('+file.name+')'\" *ngIf=\"file.name\">\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"file.type === 'video'\">\n\n <ng-container>\n\n <div class=\"video-overlay\" [style.background-image]=\"file.url | stream:'styleThumbUrl'\">\n </div>\n\n <video class=\"video\" width=\"100%\" preload=\"metadata\" poster=\"{{ file?.url | stream:'thumb' }}\">\n <source [src]=\"file?.url | stream:'link'\" />\n </video>\n\n </ng-container>\n\n </ng-container>\n </div>\n </div>\n <ng-template #infiniteContainer></ng-template>\n </swiper>\n </div>\n\n <div class=\"pull-right mt-3\" [routerLink]=\"['/market/product/', item.product.id]\">\n <button class=\"btn btn-primary\">\n <i class=\"fa fa-shopping-cart\"></i>\n {{ preConvertNumber(item?.product?.valorDe) | currency:'BRL':true}} -\n {{ preConvertNumber(item?.product?.valorAte) | currency:'BRL':true}}\n </button>\n </div>\n <p *ngIf=\"item?.product?.data?.descr\" [innerHTML]=\"item.product.descr\"></p>\n </ng-container>\n\n <div class=\"mat-card-content\">\n <span class=\"ws-pre-wrap post-text mt-1 mb-4\" [innerHTML]=\"item.linkifiedTitle\"></span>\n <span class=\"ws-pre-wrap post-text mt-1 mb-4\" *ngIf=\"item.additional_data?.type != 'video'\" [innerHTML]=\"linkify(item.additional_data?.description)\"></span>\n \n <feed-actions [settings]=\"settings\" [item]=\"item\"></feed-actions>\n <feed-comments [settings]=\"settings\" [feed_id]=\"item.id\" [user]=\"item.user_info\"></feed-comments>\n </div>\n\n </mat-card>\n</ng-container>\n\n<ng-container *ngIf=\"item && !item.status\">\n <ng-container *ngIf=\"global.loggedUser()\">\n <ng-container *ngIf=\"item.user_info.id === global.loggedUser().id\">\n <ng-container *ngIf=\"item\">\n <mat-card #visibleControl class=\"feed-card\" id=\"{{ item.id +'#'+ item.type}}\">\n <mat-card-header class=\"feed-header ml-2\">\n <div mat-card-avatar>\n <img\n [src]=\"(item.user_info?.picture)? item.user_info.picture : 'assets/img/default-avatar.png' || 'assets/img/default-avatar.png'\"\n class=\"feed-avatar\" (error)=\"item.user_info.picture = 'assets/img/default-avatar.png'\"\n alt=\"{{ item?.user_info?.name }}\">\n </div>\n <mat-card-title>\n <h4><b>{{ item?.user_info?.name }}</b></h4>\n <p> {{ 'SharedPublication' | translate }} <a>{{ item?.updated_at | amTimeAgo }}</a></p>\n </mat-card-title>\n\n <div class=\"feed-buttom-option\" *ngIf=\"false\">\n <button mat-icon-button [matMenuTriggerFor]=\"menu\">\n <mat-icon>more_vert</mat-icon>\n </button>\n <mat-menu #menu=\"matMenu\">\n <button mat-menu-item (click)=\"false\">\n <mat-icon>create</mat-icon>\n <span>{{ 'Edit' | translate }}</span>\n </button>\n <button mat-menu-item (click)=\"false\">\n <mat-icon>delete</mat-icon>\n <span>{{ 'Remove' | translate }}</span>\n </button>\n </mat-menu>\n </div>\n\n </mat-card-header>\n\n <ng-container>\n <div class=\"col-sm-12 mx-auto text-center post-processing-section\">\n <img src=\"https://image.flaticon.com/icons/svg/2654/2654464.svg\" width=\"30%\">\n <h4>Estamos processando os dados do seu Post!</h4>\n <p>No momento ele est\u00E1 vis\u00EDvel apenas para voc\u00EA, mas logo estar\u00E1 dispon\u00EDvel para todos!</p>\n </div>\n </ng-container>\n \n <div class=\"mat-card-content\">\n <span class=\"ws-pre-wrap post-text mt-1 mb-4\" [innerHTML]=\"item.linkifiedTitle\"></span>\n <feed-actions [settings]=\"settings\" prefix=\"prefix\" [item]=\"item\"></feed-actions>\n <feed-comments [settings]=\"settings\" prefix=\"prefix\" [feed_id]=\"item.id\" [user]=\"item.user_info\"></feed-comments>\n </div>\n </mat-card>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n",
2929
2944
  providers: [StreamService],
2930
2945
  styles: ["li,ul{list-style:none!important}a,a:hover{text-decoration:none}.text-primary{color:var(--main-color)}.card{border-radius:6px;box-shadow:1px 1px 10px rgba(201,191,187,.7);-moz-box-shadow:1px 1px 10px rgba(201,191,187,.7);-webkit-box-shadow:1px 1px 10px rgba(201,191,187,.7);border:none;margin-bottom:30px;margin-top:0}.card .card-content{flex:1 1 auto;padding:1.25rem}.comments{margin:30px -15px}.comments h4{font-size:16px;color:#414141;margin-bottom:0;font-weight:600}.comments p{margin:5px 15px 5px 65px;font-size:14px;word-break:break-all}.post-text{white-space:pre-wrap!important;font-size:14px}.form-feed{width:100%;margin:0 0 25px!important;padding:10px 15px!important;border-radius:8px;box-shadow:1px 1px 15px rgba(201,191,187,.7);-moz-box-shadow:1px 1px 15px rgba(201,191,187,.7);-webkit-box-shadow:1px 1px 15px rgba(201,191,187,.7);background-color:#fff!important}.form-feed .title{font-size:16px;margin-bottom:10px;border-bottom:1px solid #eee;padding-bottom:10px}.form-feed textarea{float:left;width:calc(100% - 50px);border-bottom:1px solid #eee;border-top:transparent;border-left:transparent;border-right:transparent;box-shadow:none;padding:5px 10px;outline:0!important}.form-input-btn a{float:right;border:none!important;box-shadow:none!important;background:0 0;padding:0;margin-top:12px;position:relative;right:0;left:0;margin-bottom:0;color:#8e8994}.form-input-btn a .material-icons{font-size:18px}.mat-dialog-container{padding:0!important}.form-comment{width:100%;margin:0!important;padding:15px 0 0!important;border-top:1px solid #eee}.form-comment input[type=text]{float:left;width:calc(100% - 50px);border:1px solid #eee;box-shadow:none;border-radius:30px;padding:5px 10px;outline:0}input::-webkit-input-placeholder{color:#ccc}input::-moz-placeholder{color:#ccc}input:-ms-input-placeholder{color:#ccc}input::-ms-input-placeholder{color:#ccc}input::placeholder{color:#ccc}.avatar-30{float:left;width:30px;height:30px;margin-right:10px;border-radius:50%}.avatar-30-null{display:flex;align-items:center;justify-content:center;float:left;width:30px;height:30px;margin-right:10px;border-radius:50%;background:#fafafa;color:#bbb}.comment-time{position:absolute;right:15px}.avatar-45{float:left;width:40px;height:40px;margin-right:10px;border-radius:50%}.avatar-45-null{display:flex;align-items:center;justify-content:center;float:left;width:40px;height:40px;margin-right:10px;border-radius:50%;background:#fafafa;color:#bbb;border:1.3px solid var(--main-color)}.super-post{position:absolute;right:15px;top:10px;font-size:1.8em;color:#888}.icons-comments{margin:10px 0 0;padding:10px 20px;border-top:1px solid #eee;border-bottom:1px solid #eee}.icons-comments li{display:inline-block;margin-right:30px;font-size:14px}.icons-comments li:last-child{margin-right:0;position:absolute;right:20px}.icons-comments li a{color:#4a4a4a;cursor:pointer}.icons-comments li a.active,.icons-comments li a:hover{color:var(--main-color)}.icons-comments .fa{font-size:16px}.card-file{width:100%;margin:0 auto 30px;box-shadow:0 0 30px rgba(204,204,204,.4);border:none;border-radius:12px;transition:.5s}.card-file:hover{box-shadow:0 0 30px rgba(204,204,204,.8)}.card-file .card-cover{display:flex;align-items:center;justify-content:center;padding:15px;position:relative;width:100%;height:160px;border-top-left-radius:16px;border-top-right-radius:12px;-o-object-fit:cover;object-fit:cover;background-size:cover;background-position:center;z-index:1;background:var(--main-color);color:#fff!important}.card-file .card-content{height:auto;padding:0 15px}.card-file .card-content .description{color:#888}.card-file .title{color:#fff;margin-bottom:0;font-size:18px;text-shadow:2px 2px 2px #101010}.btn-feed{width:auto;font-size:12px;padding:2px 10px;border-radius:30px;font-weight:600;text-transform:capitalize}.btn-group-xs>.btn,.btn-xs{padding:2px 15px 3px;font-size:13px;line-height:1;border-radius:30px}.btn-primary,.btn-primary:hover{color:var(--text-btn)!important;background-color:var(--bg-btn);border-color:var(--bg-btn)}.btn-primary.focus,.btn-primary:focus{background-color:var(--bg-btn);border-color:var(--bg-btn);box-shadow:0 0 0 .2rem rgba(0,0,0,.5)}.btn-primary.disabled,.btn-primary:disabled,.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:var(--text-btn)!important;background-color:var(--bg-btn);border-color:var(--bg-btn)}.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,0,0,.5)}.btn-secondary{color:#fff;background-color:#111;border-color:#111}.btn-secondary:hover{color:#fff;background-color:#333;border-color:#333}.btn-secondary.focus,.btn-secondary:focus{background-color:#333;border-color:#333;box-shadow:0 0 0 .2rem rgba(0,0,0,.5)}.btn-secondary.disabled,.btn-secondary:disabled{color:#fff;background-color:#111;border-color:#111}.btn-secondary:not(:disabled):not(.disabled).active,.btn-secondary:not(:disabled):not(.disabled):active,.show>.btn-secondary.dropdown-toggle{color:#fff;background-color:#333;border-color:#333}.btn-secondary:not(:disabled):not(.disabled).active:focus,.btn-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(0,0,0,.5)}.ribbon{width:150px;height:150px;overflow:hidden;position:absolute;z-index:1}.ribbon::after,.ribbon::before{position:absolute;z-index:-1;content:\"\";display:block;border:5px solid var(--bg-btn)}.ribbon span{position:absolute;display:block;width:225px;padding:15px 0;background-color:var(--bg-btn);box-shadow:0 5px 10px rgba(0,0,0,.1);color:#fff;font:700 18px/1 Lato,sans-serif;text-shadow:0 1px 1px rgba(0,0,0,.2);text-transform:uppercase;text-align:center}.ribbon-top-left{top:-10px;left:-10px;background:0 0}.ribbon-top-left::after,.ribbon-top-left::before{border-top-color:transparent;border-left-color:transparent}.ribbon-top-left::before{top:0;right:0}.ribbon-top-left::after{bottom:0;left:0}.ribbon-top-left span{right:-25px;top:30px;transform:rotate(-45deg)}.ribbon-top-right{top:-10px;right:-10px;background:0 0!important}.ribbon-top-right::after,.ribbon-top-right::before{border-top-color:transparent;border-right-color:transparent}.ribbon-top-right::before{top:0;left:0}.ribbon-top-right::after{bottom:0;right:0}.ribbon-top-right span{left:-25px;top:30px;transform:rotate(45deg)}.ribbon-bottom-left{bottom:-10px;left:-10px}.ribbon-bottom-left::after,.ribbon-bottom-left::before{border-bottom-color:transparent;border-left-color:transparent}.ribbon-bottom-left::before{bottom:0;right:0}.ribbon-bottom-left::after{top:0;left:0}.ribbon-bottom-left span{right:-25px;bottom:30px;transform:rotate(225deg)}.ribbon-bottom-right{bottom:-10px;right:-10px}.ribbon-bottom-right::after,.ribbon-bottom-right::before{border-bottom-color:transparent;border-right-color:transparent}.ribbon-bottom-right::before{bottom:0;left:0}.ribbon-bottom-right::after{top:0;right:0}.ribbon-bottom-right span{left:-25px;bottom:30px;transform:rotate(-225deg)}.video-container{min-height:200px}.video-container img{width:100%;-o-object-fit:cover;object-fit:cover;-webkit-filter:blur(10px);filter:blur(10px)}.video-player{top:0;left:1px;width:calc(100% - 2px)}.tmp-file-buttons-overlay{opacity:1}.overlayed{opacity:1!important;visibility:visible}.tmp-file-status-overlay{position:absolute;background:rgba(0,0,0,.5);text-align:center;z-index:999;color:#fff;width:156px;height:120px;padding:20px}.tmp-file-status-overlay p{color:#fff}.tmp-file-buttons-overlay{background:rgba(0,0,0,.5);width:156px;height:120px;position:absolute;z-index:999;visibility:visible;opacity:1;transition:opacity .5s ease-out}.tmp-file-remove-button{position:absolute;right:5px;text-align:right;width:10px;color:#fff;padding:0 1px;border-radius:0}.tmp-file-content{width:156px;height:120px;overflow:hidden}.tmp-upload-video{-o-object-fit:contain;object-fit:contain}.tmp-file-wrapper{position:relative}.tmp-upload{-o-object-fit:cover;object-fit:cover;width:156px;height:120px}.tmp-file-wrapper-container{padding:20px 0 0;margin:20px -15px;border-width:1px 0;border-color:#ccc;border-style:solid}.hide{display:none}.masonry{display:flex;flex-flow:row wrap;margin:20px 0 -2px}.masonry-brick{flex:auto;height:250px;min-width:150px;margin:2px;position:relative;cursor:pointer}.masonry-img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.masonry-brick:nth-child(4n+1){width:50%}.masonry-brick:nth-child(4n+2){width:40%}.masonry-brick:nth-child(4n+3){width:20%}.masonry-brick:nth-child(4n+4){width:30%}.masonry-brick-full{width:100%!important;height:291px!important;overflow:hidden;outline:rgba(0,0,0,.2) solid 1px;outline-offset:-1px}.card-body{border-bottom-left-radius:16px;border-bottom-right-radius:16px}.card .circle{float:left;position:relative;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;margin:-30px 10px 15px 15px;background:#eee;z-index:1;font-size:1.5em;color:#414141!important}.card-team .card-content{width:100%;height:160px;margin-bottom:10px}.card-classroom{padding:15px;box-shadow:1px 1px 5px rgba(201,191,187,.7);-moz-box-shadow:1px 1px 5px rgba(201,191,187,.7);-webkit-box-shadow:1px 1px 5px rgba(201,191,187,.7);margin-bottom:20px}.play-overlay{position:absolute;top:0;left:0;width:100%;text-align:center;height:291px;line-height:291px;background:rgba(0,0,0,.05)}.play-overlay img{width:80px;height:80px}.preview-wrapper{position:relative;margin-top:30px}.preview-image img{outline:rgba(0,0,0,.2) solid 1px;outline-offset:-1px}.preview-button{position:absolute;top:0;right:0;color:#fff}.preview-text{position:relative;background:#f9f9f9;border:1px solid #ccc;padding:11px;margin-top:-7px}.img-with-outline{outline:rgba(0,0,0,.2) solid 1px;outline-offset:-1px}.mt-5{margin-top:2em}.feed-card{width:100%;margin-bottom:30px;box-shadow:1px 1px 15px rgba(201,191,187,.7);-moz-box-shadow:1px 1px 15px rgba(201,191,187,.7);-webkit-box-shadow:1px 1px 15px rgba(201,191,187,.7)}.feed-card .feed-header{margin-bottom:10px}.feed-card .feed-header .feed-avatar{float:left;width:40px;height:40px;margin-right:5px;border-radius:50%;-o-object-fit:cover;object-fit:cover;border:2px solid #e6e5e5}.feed-card .feed-header .feed-buttom-option{position:absolute;top:5px;right:0;z-index:21}.mat-card{padding:15px 0 10px!important}.mat-card .mat-card-header .mat-card-title h4{font-size:16px;margin-bottom:0}.mat-card .mat-card-header .mat-card-title p{font-size:13px;color:#aaa}.container-mat-card{display:flex;align-items:flex-end;justify-content:flex-end;position:relative;overflow:hidden;margin:0 0 10px}.bg-mat-card{display:block;position:absolute;z-index:15;width:100%;height:calc(100% - 30px);-webkit-filter:blur(40px) brightness(80%);filter:blur(40px) brightness(80%);background-size:cover;background-repeat:no-repeat;background-position:center}.mat-card-image{position:relative;z-index:20;margin:0!important;-o-object-fit:contain;object-fit:contain;height:auto;max-height:540px;display:block;width:100%}.feed-comment-option{float:right;margin-top:-10px;margin-left:0}.clickable{cursor:pointer;color:var(--main-color)}.scroll-to-top{position:fixed;bottom:15px;right:15px;opacity:0;transition:.2s ease-in-out}.show-scroll{opacity:1;transition:.2s ease-in-out}.feed-actions{color:#ccc;font-size:16px;margin-right:10px;margin-bottom:5px;margin-left:10px}.feed-actions span{margin-left:5px}.feed-actions .btn{background:0 0!important;border:none!important}.feed-likes{font-size:13px;margin-top:10px}a.is-liked{color:var(--main-color)!important}a.disabled-like{color:#ccc!important;cursor:not-allowed;text-decoration:none;pointer-events:none}.carousel{margin-bottom:10px;margin-left:0;margin-right:0}.carousel-item{-o-object-fit:cover!important;object-fit:cover!important;max-height:400px;-o-object-position:center;object-position:center}.video-player{position:initial!important}::ng-deep .ws-pre-wrap h4{font-size:18px!important}::ng-deep .ws-pre-wrap a{color:var(--main-color)}.SeeMore{display:block;color:var(--main-color)!important;text-align:center;cursor:pointer}.carousel-stage{position:relative;z-index:0;min-height:100px}.carousel-stage .progress{height:8px;border-radius:30px}.carousel-stage .progress .progress-bar{background:var(--main-color)}.carousel-stage .courses-image-item{border-radius:5%;-o-object-fit:cover;object-fit:cover}.carousel-stage .courses-item{padding:15px}.carousel-stage .courses-title{text-align:center}.carousel-stage .courses-title a{color:#000!important;font-weight:400!important}.customNavigation a{display:flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.8);color:var(--main-color)!important;text-align:center}.customNavigation a:hover{background:#fff;color:var(--main-color)}.prev{position:absolute;width:100%;top:50%;left:-15px;margin-top:-15px;z-index:10}.next{position:absolute;width:100%;top:50%;right:-15px;margin-top:-15px;z-index:10}.owl-dots{position:absolute;top:-40px;right:15px;outline:0!important}.owl-dots .owl-dot{background:#ccc!important;border-radius:50%;height:10px;width:10px;padding:0!important;border:none;margin:0 2px;outline:0!important}.owl-dots .owl-dot.active{background:var(--main-color)!important;outline:0!important}::ng-deep .owl-carousel-o-stories .owl-next,::ng-deep .owl-carousel-o-stories .owl-prev{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;display:block!important;border-radius:50%!important;margin-top:-5px!important}::ng-deep .owl-carousel-o-stories .owl-prev{left:5px!important}::ng-deep .owl-carousel-o-stories .owl-next{right:5px!important}::ng-deep .swiper-stage .swiper-container{padding:0}::ng-deep .swiper-stage .swiper-slide{width:100%}::ng-deep .swiper-stage .swiper-button-next,::ng-deep .swiper-stage .swiper-button-prev{display:flex;align-items:center;justify-content:center;margin-top:0!important;width:25px;height:25px;border-radius:50%;background-color:var(--main-color)!important;opacity:.7!important}::ng-deep .swiper-stage .swiper-button-prev{left:10px;right:auto!important}::ng-deep .swiper-stage .swiper-button-next{right:10px;left:auto!important}::ng-deep .swiper-stage .swiper-button-next:after,::ng-deep .swiper-stage .swiper-button-prev:after{font-size:13px!important;color:#fff}::ng-deep .swiper-stage .swiper-button-disabled{opacity:0!important}.carousel-stories{display:inline-block;width:100%;height:145px;margin:0;border-radius:6px;text-transform:uppercase;font-size:1em;font-weight:500;background-repeat:no-repeat;background-size:cover;cursor:pointer;background-position:center!important}.carousel-stories .item:focus{outline:0}.carousel-stories .stories-body{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;text-align:center;height:100%;padding:0}.carousel-stories .stories-body a{font-size:12px;color:#fff;margin-bottom:10px;text-shadow:0 1px 1px rgba(0,0,0,.6)}.carousel-stories .stories-body a:hover{color:#ccc}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{outline:0!important}::ng-deep .mat-menu-panel{border-radius:6px!important;outline:0!important}::ng-deep .mat-menu-panel .mat-menu-content:not(:empty){padding-top:0!important;padding-bottom:0!important}::ng-deep .mat-menu-panel .mat-menu-item{color:#414141;font-size:15px;font-style:normal;font-weight:400;letter-spacing:1px;outline:0!important}.progress-bar-custom span{display:inline-block;height:100%;border-radius:3px;box-shadow:0 1px 0 rgba(37,21,21,.5) inset;transition:width .4s ease-in-out}.green-progress span{background-image:linear-gradient(to bottom,#fff,var(--main-color))}.stripes span{background-size:30px 30px;background-image:linear-gradient(135deg,#ff4e4ef3 25%,transparent 25%,transparent 50%,rgba(236,47,47,.972) 50%,rgba(240,0,0,.15) 75%,transparent 75%,transparent);-webkit-animation:3s linear infinite animate-stripes;animation:3s linear infinite animate-stripes}.container-stipes{width:100%;padding:0 10px;font-weight:700}.keep-logged{position:relative;height:150px;background:var(--main-color);top:0;color:#fff!important;z-index:99;opacity:.9;width:100%;border:0;left:0;right:0}.keep-logged button{background:#fff!important;color:var(--main-color)!important}.scrollable{overflow-y:scroll;height:100vh}.alert-primary{color:#fff;background-color:var(--main-color)!important;background:var(--main-color)!important}.mat-progress-bar{height:17px;border-radius:5px}@-webkit-keyframes animate-stripes{0%{background-position:0 0}100%{background-position:60px 0}}@keyframes animate-stripes{0%{background-position:0 0}100%{background-position:60px 0}}.p-channel{color:#3c4858;font-weight:500;margin-bottom:0!important}@media (max-width:767px){.form-feed textarea{font-size:12px}.btn-feed{width:auto;font-size:11px;padding:2px 5px;border-radius:30px;font-weight:600;text-transform:capitalize}.carousel-stories{width:120px;height:120px}.keep-logged{height:175px}.keep-logged h3{font-size:1.1rem}.keep-logged button{font-size:1rem}.btn-group-xs>.btn,.btn-xs{padding:2px 5px;font-size:11px;line-height:1;border-radius:30px}}::ng-deep .mat-card-header-text{width:100%!important;margin:0}::ng-deep .popover{background:#fff!important;border:0!important;box-shadow:1px 1px 15px rgba(201,191,187,.7)!important;-moz-box-shadow:1px 1px 15px rgba(201,191,187,.7)!important;-webkit-box-shadow:1px 1px 15px rgba(201,191,187,.7)!important}.minibio{padding:10px;border-radius:10px}.minibio img{width:30%;max-width:100px;display:inline-block;padding-right:10px}.minibio .info{display:inline-block;vertical-align:top}.minibio .info .icon{color:#d4d4d4}.minibio .info ul{list-style:none}.minibio .info li{display:inline-block}::ng-deep .feed .box-input-feed{width:100%;background-color:transparent}::ng-deep .feed .feed-actions{margin-top:25px}::ng-deep .feed .feed-actions .icons{position:relative;display:inline-flex;align-items:flex-end;margin-right:15px}::ng-deep .feed .feed-actions .icons .fa{font-size:20px;margin-right:10px}::ng-deep .feed .feed-actions .icons .number{position:absolute;bottom:-1px;right:0;font-size:13px}::ng-deep .new-feed .feed-card,::ng-deep .new-feed .form-feed{border-radius:4px!important;box-shadow:0 4px 12px 0 rgba(0,0,0,.1)!important;background:#fff!important}::ng-deep .new-feed .box-publication{display:flex;align-items:center;justify-content:space-between}::ng-deep .new-feed .box-publication .box-input-feed{width:84%}::ng-deep .new-feed .box-publication .send{width:16%;text-align:center;margin-top:5px}::ng-deep .new-feed .box-publication .send i{font-size:24px}::ng-deep .new-feed .box-publication .send p{font-size:12px}::ng-deep .new-feed .box-input-feed{display:flex;align-items:center;width:100%;border-radius:30px;padding:5px;background-color:#eaeaea}::ng-deep .new-feed .box-input-feed input{width:calc(100% - 80px);border:none;background-color:transparent}::ng-deep .new-feed .box-input-feed input:focus{outline:0}::ng-deep .new-feed .box-input-feed input::-webkit-input-placeholder{color:#999}::ng-deep .new-feed .box-input-feed input::-moz-placeholder{color:#999}::ng-deep .new-feed .box-input-feed input:-ms-input-placeholder{color:#999}::ng-deep .new-feed .box-input-feed input::-ms-input-placeholder{color:#999}::ng-deep .new-feed .box-input-feed input::placeholder{color:#999}::ng-deep .new-feed .box-input-feed i{font-size:18px;margin-top:5px;cursor:pointer;color:#495057}::ng-deep .new-feed .feed-actions{margin-top:25px}::ng-deep .new-feed .feed-actions .icons{position:relative;display:inline-flex;align-items:flex-end;margin-right:15px}::ng-deep .new-feed .feed-actions .icons .ph{font-size:20px;margin-right:8px}::ng-deep .new-feed .feed-actions .icons .number{position:absolute;bottom:-1px;right:-8px;font-size:13px}", "@charset \"UTF-8\";.pinned-feed{background-color:var(--bg-btn);color:var(--text-btn);padding:5px;height:40px;width:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;position:absolute;margin-top:60px;margin-right:5px;opacity:1}.mat-card-video{-o-object-fit:cover;object-fit:cover;width:calc(100% + 31px);margin:0 0 10px}.mat-card-content{word-break:break-word;padding:0 15px}::ng-deep .tooltip-primary{background:var(--main-color);opacity:.85;font-size:13px}.no-click{pointer-events:none}.modal-feed-publication{border-radius:24px!important}.share-social{max-width:185px}.mat-card-actions{min-height:40px}.post-processing-section{padding:12px;border:3px dotted gray;border-radius:8px;background-color:#f4f4f4}.carousel{color:#fff}.carousel .content{display:flex}.carousel .content .item{width:100%;display:block;transition:opacity 295ms linear .2s}.carousel .content .item.visible{opacity:1}.carousel .content .item .img{width:100%;height:500px;display:block;-o-object-fit:cover;object-fit:cover;background-size:cover;background-position:center}.carousel .content .item .video{width:100%;height:500px!important;display:block;background-size:cover;background-position:center}.carousel .content .item .video-overlay{background:rgba(0,0,0,.5);width:100%;height:500px!important;position:absolute;z-index:-1;transition:opacity .5s ease-out;filter:blur(8px);-webkit-filter:blur(8px)}.carousel .content .wraper-video{background-color:#000}.carousel .ball{width:10px;height:10px;border-radius:50%;background:#000;border:2px solid;opacity:.5}.carousel .ball.visible{opacity:1}.carousel .click-area{width:50px;text-align:center}.carousel .click-area i{font-size:2em;background:rgba(255,255,255,.8);color:#000;border-radius:100%}.custom-carrousel{z-index:1;overflow:hidden}::ng-deep .card-file{box-shadow:0 0 30px rgba(204,204,204,.4);border:none;border-radius:16px;transition:.5s;margin-bottom:30px;cursor:pointer}::ng-deep .card-file .card-cover{display:flex;align-items:center;justify-content:center;text-align:center;padding:0;width:100%;height:250px;border-top-left-radius:10px;border-top-right-radius:10px;background:var(--main-color);color:#fff!important;overflow:hidden}::ng-deep .card-file .card-cover img{position:absolute;z-index:0;top:0;left:0;width:100%;height:inherit;-o-object-fit:cover;object-fit:cover;border-top-left-radius:10px;border-top-right-radius:10px}::ng-deep .card-file .card-cover .title{position:relative;z-index:3;text-shadow:none!important;color:#414141;margin-bottom:0;height:60px;padding:0 15px;font-size:18px}::ng-deep .card-file .circle{float:left;position:relative;display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:50%;margin:-30px 10px 15px 15px;background:#eee;z-index:20;font-size:1.5em;color:#3c4858!important}::ng-deep .card-file .card-body{height:125px;border-bottom-left-radius:16px;border-bottom-right-radius:16px}::ng-deep .card-file .card-body .edit-file{float:right!important;margin-top:-60px;margin-right:-15px}::ng-deep .card-file .card-body h5{height:60px}::ng-deep .card-file .card-body .description{color:#888;height:65px;overflow:hidden}::ng-deep owl-carousel-o .owl-theme .owl-next,::ng-deep owl-carousel-o .owl-theme .owl-prev{position:absolute;top:50%;transform:translateY(-50%);display:flex!important;align-items:center!important;justify-content:center!important;width:30px!important;height:30px!important;border-radius:50%!important;margin:20px 0;background:rgba(255,255,255,.8)!important;color:#414141!important;border:none!important;font-size:20px!important;font-weight:600!important}::ng-deep owl-carousel-o .owl-theme .owl-prev{left:5px;transition:.3s!important}::ng-deep owl-carousel-o .owl-theme .owl-prev:hover{transition:.3s!important}::ng-deep owl-carousel-o .owl-theme .owl-next{right:5px;transition:.3s!important}::ng-deep owl-carousel-o .owl-theme .owl-next:hover{transition:.3s}::ng-deep owl-carousel-o .owl-carousel .owl-dot,::ng-deep owl-carousel-o .owl-carousel .owl-nav .owl-next,::ng-deep owl-carousel-o .owl-carousel .owl-nav .owl-prev{font-family:fontAwesome}::ng-deep owl-carousel-o .owl-carousel .owl-nav .owl-prev:before{content:\"\uF104\"}::ng-deep owl-carousel-o .owl-carousel .owl-nav .owl-next:after{content:\"\uF105\"}.swiper-carousel-custom .swiper-container-img{display:flex;align-items:center;justify-content:center;width:100%;height:500px}.swiper-carousel-custom .swiper-bg-blur{position:absolute;z-index:10;width:100%;height:500px;-webkit-filter:blur(30px) brightness(80%);filter:blur(30px) brightness(80%);background-size:cover;background-repeat:no-repeat;background-position:center}.swiper-carousel-custom .img{position:relative;z-index:20;max-width:100%;max-height:500px!important;display:block;-o-object-fit:contain;object-fit:contain;background-size:cover;background-position:center}.swiper-carousel-custom .video{width:100%;height:500px!important;display:block;background-size:cover;background-position:center}.swiper-carousel-custom .video-overlay{background:rgba(0,0,0,.5);width:100%;height:500px!important;position:absolute;z-index:-1;transition:opacity .5s ease-out;filter:blur(8px);-webkit-filter:blur(8px)}"]
2931
2946
  }] }
@@ -2937,7 +2952,8 @@
2937
2952
  { type: asapCrud.Global },
2938
2953
  { type: dialog.MatDialog },
2939
2954
  { type: UtilsService },
2940
- { type: core$1.TranslateService }
2955
+ { type: core$1.TranslateService },
2956
+ { type: platformBrowser.DomSanitizer }
2941
2957
  ]; };
2942
2958
  FeedItemComponent.propDecorators = {
2943
2959
  item: [{ type: core.Input }],
@@ -2990,6 +3006,8 @@
2990
3006
  FeedItemComponent.prototype.service;
2991
3007
  /** @type {?} */
2992
3008
  FeedItemComponent.prototype.translate;
3009
+ /** @type {?} */
3010
+ FeedItemComponent.prototype.sanitizer;
2993
3011
  }
2994
3012
 
2995
3013
  /**
@@ -3277,7 +3295,7 @@
3277
3295
  * @return {?}
3278
3296
  */
3279
3297
  function (payload, params) {
3280
- return this.http.post(this.baseUrl + '/api/v2/client/onesignal/user', payload, { headers: this.headers(), params: params });
3298
+ return this.http.post(this.baseUrl + '/api/v2/client/onesignal/user', payload, { headers: this.headers(false), params: params });
3281
3299
  };
3282
3300
  /**
3283
3301
  * @return {?}
@@ -3286,7 +3304,7 @@
3286
3304
  * @return {?}
3287
3305
  */
3288
3306
  function () {
3289
- return this.http.get(this.baseUrl + '/api/v2/admin/user/form', { headers: this.headers() });
3307
+ return this.http.get(this.baseUrl + '/api/v2/admin/user/form', { headers: this.headers(false) });
3290
3308
  };
3291
3309
  /**
3292
3310
  * @param {?=} search
@@ -3303,7 +3321,7 @@
3303
3321
  if (search) {
3304
3322
  query = "search=" + search;
3305
3323
  }
3306
- return this.http.get(this.baseUrl + "/api/v2/admin/asap-user?" + query, { headers: this.headers() });
3324
+ return this.http.get(this.baseUrl + "/api/v2/admin/asap-user?" + query, { headers: this.headers(false) });
3307
3325
  };
3308
3326
  /**
3309
3327
  * @param {?=} idUser
@@ -3316,9 +3334,9 @@
3316
3334
  function (idUser) {
3317
3335
  if (idUser === void 0) { idUser = null; }
3318
3336
  if (idUser !== null) {
3319
- return this.http.get(this.baseUrl + '/api/v2/admin/asap-user/' + idUser, { headers: this.headers() });
3337
+ return this.http.get(this.baseUrl + '/api/v2/admin/asap-user/' + idUser, { headers: this.headers(false) });
3320
3338
  }
3321
- return this.http.get(this.baseUrl + '/api/v2/admin/asap-user', { headers: this.headers() });
3339
+ return this.http.get(this.baseUrl + '/api/v2/admin/asap-user', { headers: this.headers(false) });
3322
3340
  };
3323
3341
  /**
3324
3342
  * @return {?}
@@ -3327,7 +3345,7 @@
3327
3345
  * @return {?}
3328
3346
  */
3329
3347
  function () {
3330
- return this.http.get(this.baseUrl + '/api/v2/admin/user/form', { headers: this.headers() });
3348
+ return this.http.get(this.baseUrl + '/api/v2/admin/user/form', { headers: this.headers(false) });
3331
3349
  };
3332
3350
  /**
3333
3351
  * @param {?} cep
@@ -3355,7 +3373,7 @@
3355
3373
  function (id) {
3356
3374
  /** @type {?} */
3357
3375
  var url = this.baseUrl + '/api/v2/admin/user/delete/' + id;
3358
- return this.http.delete(url, { headers: this.headers() });
3376
+ return this.http.delete(url, { headers: this.headers(false) });
3359
3377
  };
3360
3378
  /**
3361
3379
  * @param {?} data