asap-viewer 12.5.50 → 12.5.52
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.
- package/asap-viewer.metadata.json +1 -1
- package/bundles/asap-viewer.umd.js +70 -52
- package/bundles/asap-viewer.umd.js.map +1 -1
- package/bundles/asap-viewer.umd.min.js +1 -1
- package/bundles/asap-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/editor/components/conclusion/conclusion.component.js +3 -2
- package/esm2015/lib/editor/components/video/video.component.js +62 -52
- package/esm2015/lib/visualizador/curso-visualizador/viewer/viewer.component.js +2 -1
- package/esm5/lib/editor/components/conclusion/conclusion.component.js +3 -2
- package/esm5/lib/editor/components/video/video.component.js +68 -52
- package/esm5/lib/visualizador/curso-visualizador/viewer/viewer.component.js +2 -1
- package/fesm2015/asap-viewer.js +64 -52
- package/fesm2015/asap-viewer.js.map +1 -1
- package/fesm5/asap-viewer.js +70 -52
- package/fesm5/asap-viewer.js.map +1 -1
- package/lib/editor/components/video/video.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4049,56 +4049,9 @@
|
|
|
4049
4049
|
if (divPlayer && !_this.player) {
|
|
4050
4050
|
clearInterval(_this.videoMonitor);
|
|
4051
4051
|
if (_this.item.source === 'youtube') {
|
|
4052
|
-
_this.
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
var YT = window['YT'];
|
|
4056
|
-
_this.player = new YT.Player('video_player', {
|
|
4057
|
-
videoId: _this.idVideo,
|
|
4058
|
-
playerVars: {
|
|
4059
|
-
'autoplay': 0,
|
|
4060
|
-
'controls': (_this.item.showVideoControl) ? 1 : 0,
|
|
4061
|
-
'showinfo': 0,
|
|
4062
|
-
// <- This part here
|
|
4063
|
-
'playsinline': 1,
|
|
4064
|
-
'enablejsapi': 1,
|
|
4065
|
-
'rel': 0,
|
|
4066
|
-
'loop': 1
|
|
4067
|
-
},
|
|
4068
|
-
events: {
|
|
4069
|
-
'onStateChange': (/**
|
|
4070
|
-
* @param {?} event
|
|
4071
|
-
* @return {?}
|
|
4072
|
-
*/
|
|
4073
|
-
function (event) {
|
|
4074
|
-
if (event.data === 1) {
|
|
4075
|
-
_this.timeLapseTimer = setInterval((/**
|
|
4076
|
-
* @return {?}
|
|
4077
|
-
*/
|
|
4078
|
-
function () {
|
|
4079
|
-
_this.timeLapse = event.target.getCurrentTime();
|
|
4080
|
-
/** @type {?} */
|
|
4081
|
-
var time = {
|
|
4082
|
-
current: _this.timeLapse,
|
|
4083
|
-
duration: event.target.getDuration(),
|
|
4084
|
-
progress: (_this.timeLapse / event.target.getDuration()) * 100,
|
|
4085
|
-
id: _this.id
|
|
4086
|
-
};
|
|
4087
|
-
/** @type {?} */
|
|
4088
|
-
var videoProgress = (time.current / time.duration) * 100;
|
|
4089
|
-
_this.disableNextButton = (videoProgress < 90);
|
|
4090
|
-
_this.videoTime.emit(time);
|
|
4091
|
-
if (videoProgress >= 100) {
|
|
4092
|
-
clearInterval(_this.timeLapseTimer);
|
|
4093
|
-
}
|
|
4094
|
-
}), 1000);
|
|
4095
|
-
}
|
|
4096
|
-
if (event.data === 2) {
|
|
4097
|
-
clearInterval(_this.timeLapseTimer);
|
|
4098
|
-
}
|
|
4099
|
-
})
|
|
4100
|
-
}
|
|
4101
|
-
});
|
|
4052
|
+
if (!_this.item.poster) {
|
|
4053
|
+
_this.playYoutubeVideo();
|
|
4054
|
+
}
|
|
4102
4055
|
}
|
|
4103
4056
|
else if (_this.item.source === 'vimeo') {
|
|
4104
4057
|
_this.disableNextButton = true;
|
|
@@ -4144,6 +4097,69 @@
|
|
|
4144
4097
|
clearInterval(this.timeLapseTimer);
|
|
4145
4098
|
}
|
|
4146
4099
|
};
|
|
4100
|
+
/**
|
|
4101
|
+
* @param {?=} autoplay
|
|
4102
|
+
* @return {?}
|
|
4103
|
+
*/
|
|
4104
|
+
VideoComponent.prototype.playYoutubeVideo = /**
|
|
4105
|
+
* @param {?=} autoplay
|
|
4106
|
+
* @return {?}
|
|
4107
|
+
*/
|
|
4108
|
+
function (autoplay) {
|
|
4109
|
+
var _this = this;
|
|
4110
|
+
if (autoplay === void 0) { autoplay = 0; }
|
|
4111
|
+
this.disableNextButton = true;
|
|
4112
|
+
console.log('Type -> Youtube');
|
|
4113
|
+
/** @type {?} */
|
|
4114
|
+
var YT = window['YT'];
|
|
4115
|
+
this.player = new YT.Player('video_player', {
|
|
4116
|
+
videoId: this.idVideo,
|
|
4117
|
+
playerVars: {
|
|
4118
|
+
'autoplay': autoplay,
|
|
4119
|
+
'controls': (this.item.showVideoControl) ? 1 : 0,
|
|
4120
|
+
'showinfo': 0,
|
|
4121
|
+
// <- This part here
|
|
4122
|
+
'playsinline': 1,
|
|
4123
|
+
'enablejsapi': 1,
|
|
4124
|
+
'poster': this.item.poster,
|
|
4125
|
+
'rel': 0,
|
|
4126
|
+
'loop': 1
|
|
4127
|
+
},
|
|
4128
|
+
events: {
|
|
4129
|
+
'onStateChange': (/**
|
|
4130
|
+
* @param {?} event
|
|
4131
|
+
* @return {?}
|
|
4132
|
+
*/
|
|
4133
|
+
function (event) {
|
|
4134
|
+
if (event.data === 1) {
|
|
4135
|
+
_this.timeLapseTimer = setInterval((/**
|
|
4136
|
+
* @return {?}
|
|
4137
|
+
*/
|
|
4138
|
+
function () {
|
|
4139
|
+
_this.timeLapse = event.target.getCurrentTime();
|
|
4140
|
+
/** @type {?} */
|
|
4141
|
+
var time = {
|
|
4142
|
+
current: _this.timeLapse,
|
|
4143
|
+
duration: event.target.getDuration(),
|
|
4144
|
+
progress: (_this.timeLapse / event.target.getDuration()) * 100,
|
|
4145
|
+
id: _this.id
|
|
4146
|
+
};
|
|
4147
|
+
/** @type {?} */
|
|
4148
|
+
var videoProgress = (time.current / time.duration) * 100;
|
|
4149
|
+
_this.disableNextButton = (videoProgress < 90);
|
|
4150
|
+
_this.videoTime.emit(time);
|
|
4151
|
+
if (videoProgress >= 100) {
|
|
4152
|
+
clearInterval(_this.timeLapseTimer);
|
|
4153
|
+
}
|
|
4154
|
+
}), 1000);
|
|
4155
|
+
}
|
|
4156
|
+
if (event.data === 2) {
|
|
4157
|
+
clearInterval(_this.timeLapseTimer);
|
|
4158
|
+
}
|
|
4159
|
+
})
|
|
4160
|
+
}
|
|
4161
|
+
});
|
|
4162
|
+
};
|
|
4147
4163
|
/**
|
|
4148
4164
|
* @return {?}
|
|
4149
4165
|
*/
|
|
@@ -4322,7 +4338,7 @@
|
|
|
4322
4338
|
VideoComponent.decorators = [
|
|
4323
4339
|
{ type: core.Component, args: [{
|
|
4324
4340
|
selector: 'app-editor-component-video',
|
|
4325
|
-
template: "<div class=\"p-4\" [ngStyle]=\"{'background': item.background}\">\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\n\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\n \n <div class=\"col-md-12\" class=\"stage-video\">\n \n <div class=\"row\">\n <div class=\"col-sm-12\">\n <div class=\"item-component-image-icon-container\" *ngIf=\"!item.source_path\">\n <img src=\"https://image.flaticon.com/icons/svg/1376/1376786.svg\" width=\"15%\" alt=\"\">\n <h3>{{ 'VideoNotCurrentlyAvailableComeBackLaterAndTryAgain' | translate }}</h3>\n </div>\n <div *ngIf=\"item.source_path\">\n \n <div class=\"media\" *ngIf=\"['stream','cloudinary'].includes(item.source)\">\n \n <div *ngIf=\"!play\" class=\"cover-video\"\n [style.backgroundImage]=\"(item.poster ? ('url(' + item.poster + ')' | safeUrl:'style') : false) || (item.source_path | stream:'styleThumbUrl')\">\n <div class=\"filter\"></div>\n \n <div *ngIf=\"!play\" class=\"real-cover\"\n [style.backgroundImage]=\"(item.poster ? ('url(' + item.poster + ')' | safeUrl:'style') : false) || (item.source_path | stream:'styleThumbUrl')\">\n </div>\n \n <div class=\"icon-play\" (click)=\"goPlay()\">\n <img src=\"./assets/img/play.png\" alt=\"\">\n </div>\n </div>\n \n <ng-container *ngIf=\"play\">\n <video class=\"video\" *ngIf=\"item.showVideoControl\" controls controlsList=\"nodownload\" #video\n (timeupdate)=\"setCurrentTime($event)\" onclick=\"this.paused ? this.play() : this.pause();\">\n <source [src]=\"item.source_path | stream:'link'\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n \n <video class=\"video\" *ngIf=\"!item.showVideoControl || item.showVideoControl == 'undefined'\"\n controlsList=\"nodownload\" #video (timeupdate)=\"setCurrentTime($event)\"\n onclick=\"this.paused ? this.play() : this.pause();\">\n <source [src]=\"item.source_path | stream:'link'\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n </ng-container>\n \n </div>\n \n <div class=\"media\" *ngIf=\"item.source === 'file'\">\n <video class=\"video\" *ngIf=\"item.showVideoControl\" controls=\"true\" controlsList=\"nodownload\"\n poster=\"{{ item.source_path | stream:'thumb' }}\" #video (timeupdate)=\"setCurrentTime($event)\">\n <source [src]=\"item.link\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n \n <video class=\"video\" *ngIf=\"!item.showVideoControl || item.showVideoControl == 'undefined'\"\n poster=\"{{ item.source_path | stream:'thumb' }}\" SScontrolsList=\"nodownload\" #video\n (timeupdate)=\"setCurrentTime($event)\" onclick=\"this.paused ? this.play() : this.pause();\">\n <source [src]=\"item.link\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n </div>\n \n <div class=\"media\" *ngIf=\"item.source == 'youtube' || item.source == 'vimeo'\">\n <!-- <iframe *ngIf=\"item.source === 'vimeo'\" id=\"video_player\" [src]=\"item.link\" width=\"100%\" height=\"320px\" frameborder=\"0\" allowfullscreen></iframe> -->\n <div *ngIf=\"item.source == 'vimeo'\" id=\"video_player\" style=\"width: 100%; height: 100%\">\n <iframe [src]=\"item.source_path | vimeoEmbed | safeUrl:'resourceUrl'\" width=\"100%\" height=\"100%\"\n frameborder=\"0\" id=\"iframe_vimeo\" allowfullscreen allow=\"autoplay; encrypted-media\"></iframe>\n </div>\n <div class=\"video\" *ngIf=\"item.source == 'youtube'\" id=\"video_player\"
|
|
4341
|
+
template: "<div class=\"p-4\" [ngStyle]=\"{'background': item.background}\">\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\n\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\n \n <div class=\"col-md-12\" class=\"stage-video\">\n \n <div class=\"row\">\n <div class=\"col-sm-12\">\n <div class=\"item-component-image-icon-container\" *ngIf=\"!item.source_path\">\n <img src=\"https://image.flaticon.com/icons/svg/1376/1376786.svg\" width=\"15%\" alt=\"\">\n <h3>{{ 'VideoNotCurrentlyAvailableComeBackLaterAndTryAgain' | translate }}</h3>\n </div>\n <div *ngIf=\"item.source_path\">\n \n <div class=\"media\" *ngIf=\"['stream','cloudinary'].includes(item.source)\">\n \n <div *ngIf=\"!play\" class=\"cover-video\"\n [style.backgroundImage]=\"(item.poster ? ('url(' + item.poster + ')' | safeUrl:'style') : false) || (item.source_path | stream:'styleThumbUrl')\">\n <div class=\"filter\"></div>\n \n <div *ngIf=\"!play\" class=\"real-cover\"\n [style.backgroundImage]=\"(item.poster ? ('url(' + item.poster + ')' | safeUrl:'style') : false) || (item.source_path | stream:'styleThumbUrl')\">\n </div>\n \n <div class=\"icon-play\" (click)=\"goPlay()\">\n <img src=\"./assets/img/play.png\" alt=\"\">\n </div>\n </div>\n \n <ng-container *ngIf=\"play\">\n <video class=\"video\" *ngIf=\"item.showVideoControl\" controls controlsList=\"nodownload\" #video\n (timeupdate)=\"setCurrentTime($event)\" onclick=\"this.paused ? this.play() : this.pause();\">\n <source [src]=\"item.source_path | stream:'link'\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n \n <video class=\"video\" *ngIf=\"!item.showVideoControl || item.showVideoControl == 'undefined'\"\n controlsList=\"nodownload\" #video (timeupdate)=\"setCurrentTime($event)\"\n onclick=\"this.paused ? this.play() : this.pause();\">\n <source [src]=\"item.source_path | stream:'link'\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n </ng-container>\n \n </div>\n \n <div class=\"media\" *ngIf=\"item.source === 'file'\">\n <video class=\"video\" *ngIf=\"item.showVideoControl\" controls=\"true\" controlsList=\"nodownload\"\n poster=\"{{ item.source_path | stream:'thumb' }}\" #video (timeupdate)=\"setCurrentTime($event)\">\n <source [src]=\"item.link\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n \n <video class=\"video\" *ngIf=\"!item.showVideoControl || item.showVideoControl == 'undefined'\"\n poster=\"{{ item.source_path | stream:'thumb' }}\" SScontrolsList=\"nodownload\" #video\n (timeupdate)=\"setCurrentTime($event)\" onclick=\"this.paused ? this.play() : this.pause();\">\n <source [src]=\"item.link\" type=\"video/mp4\">\n {{ 'YourBrowserDoesNotSupportHTML5Video' | translate }}\n </video>\n </div>\n \n <div class=\"media\" *ngIf=\"item.source == 'youtube' || item.source == 'vimeo'\">\n <!-- <iframe *ngIf=\"item.source === 'vimeo'\" id=\"video_player\" [src]=\"item.link\" width=\"100%\" height=\"320px\" frameborder=\"0\" allowfullscreen></iframe> -->\n <div *ngIf=\"item.source == 'vimeo'\" id=\"video_player\" style=\"width: 100%; height: 100%\">\n <iframe [src]=\"item.source_path | vimeoEmbed | safeUrl:'resourceUrl'\" width=\"100%\" height=\"100%\"\n frameborder=\"0\" id=\"iframe_vimeo\" allowfullscreen allow=\"autoplay; encrypted-media\"></iframe>\n </div>\n <div class=\"video\" *ngIf=\"item.source == 'youtube'\" id=\"video_player\">\n <img *ngIf=\"item.poster\" class=\"cursor-pointer\" (click)=\"playYoutubeVideo(1)\" width=\"100%\" height=\"100%\" [src]=\"item.poster\" />\n </div>\n </div>\n \n </div>\n </div>\n </div>\n </div>\n \n <div *ngIf=\"item.button.hide\" class=\"text-center\" style=\"margin: 30px 0;\">\n <div class=\"alert alert-warning mb-3 text-left d-block d-sm-none\" role=\"alert\">\n <i class=\"bi bi-lightbulb mr-2\"></i>\n Assista o v\u00EDdeo at\u00E9 o final para <strong>desbloquear o avan\u00E7o</strong>.\n </div>\n <ng-container *ngIf=\"item.allowNext\">\n <span matTooltip=\"{{ 'ToolTipVideoComponent' | translate }}\" [matTooltipDisabled]=\"!disableNextButton\">\n <app-editor-component-shared-button \n [button]=\"item.button\" \n [disabled]=\"disableNextButton\" \n (event)=\"goNext()\">\n </app-editor-component-shared-button>\n </span>\n </ng-container> \n <ng-container *ngIf=\"!item.allowNext\">\n <app-editor-component-shared-button [button]=\"item.button\" (event)=\"goNext()\"></app-editor-component-shared-button>\n </ng-container>\n </div>\n \n</div>\n\n\n\n\n",
|
|
4326
4342
|
providers: [TrailContentService],
|
|
4327
4343
|
styles: [".flex-container{padding:0;margin:0;list-style:none;-ms-box-orient:horizontal;display:-moz-flex;display:flex}.nowrap{flex-wrap:nowrap}.wrap{flex-wrap:wrap}::ng-deep .mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#e91e63}::ng-deep .mat-radio-button.mat-accent .mat-radio-inner-circle{background-color:#e91e63}::ng-deep .mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element{background-color:rgba(233,30,99,.26)}.mat-checkbox-label,::ng-deep .mat-radio-label{cursor:pointer;white-space:nowrap;padding:10px}::ng-deep .mat-horizontal-stepper-header{height:40px!important;padding:0 15px!important}::ng-deep .mat-step-header .mat-step-icon{background-color:#e91e63;color:#fff}::ng-deep .mat-stepper-horizontal-line{margin:0!important}::ng-deep .checkbox .checkbox-material .check{width:15px;height:15px;border:1px solid #ddd;border-radius:3px}::ng-deep .checkbox .checkbox-material .check:before{position:absolute;content:\"\";transform:rotate(45deg);display:block;margin-top:-5px;margin-left:5px;font-size:.5em;width:1;height:0;-webkit-animation:.3s forwards checkbox-off;animation:.3s forwards checkbox-off}::ng-deep .checkbox label{cursor:pointer;padding-left:0;font-size:.8em;font-weight:500;color:#525859}.mt--5{margin-top:-7px}.mt-20{margin-top:20px}.ml-3{margin-left:3px}.no-margin{margin:0!important}.bg-purple{background:#9c27b0}.fc-gray{color:#525859!important}.fc-purple{color:#9c27b0!important}.fc-red{color:#e50606!important}.fc-green{color:#2ac994!important}.bold{font-weight:700}.bolder{font-weight:bolder}.placeholder{color:#d5d5d5}.border{border:1px solid #d2d2d2}.no-border{border:none}.bl-0{border-left:none}.border-label{padding:0;border-radius:3px;border:1px solid #ccc;background:rgba(255,255,255,.5)}.border-top{border-top:1px solid #eee}.border-bottom{border-bottom:1px solid #eee}.col-center-block{float:none;display:block;margin:0 auto}.btn.focus,.btn:focus{color:#fff;background-color:#595959;border-color:#595959;outline:0;box-shadow:0 0 0 .2rem rgba(89,89,89,.25)}.btn-primary{color:#fff;background-color:#6c757d!important;border-color:#6c757d!important;box-shadow:none;font-size:1em}.btn-primary:hover{color:#fff;background-color:#595959;border-color:#595959;box-shadow:0 14px 26px -12px rgba(89,89,89,.42),0 4px 23px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(89,89,89,.2)}.btn-primary.focus,.btn-primary:focus{box-shadow:0 0 0 .2rem rgba(89,89,89,.5)}.btn-primary.disabled,.btn-primary:disabled{color:#fff;background-color:#6c757d;border-color:#6c757d}.btn-primary.disabled,.btn-primary:disabled:hover,.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle{color:#fff;background-color:#595959;border-color:#595959}.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(89,89,89,.5)}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-muted{background:#ccc}.btn-muted:hover{background:#bbb}.box-group{padding:10px;background:#f5f5f5;border:1px solid #eee;border-radius:3px}.box{display:flex;display:-ms-flexbox;align-items:center;-webkit-box-align:center;-ms-flex-align:center;flex-direction:column;justify-content:center;-webkit-justify-content:center;-webkit-box-pack:center;margin-left:auto}.box-list{display:flex;align-items:center;justify-content:center;height:100%;padding-bottom:30px;width:100%}.box-ask-border{display:inline-block;margin:2%;max-width:190px;min-height:190px;text-align:left;width:46%}.box-ask-border:hover{border-color:#dedede;color:#dedede;background:#fff7fa;border-radius:7px}.box-label{cursor:pointer;display:block;height:100%;padding:12px}.box-img{background-position:50%;background-size:cover;border-radius:7px;height:160px;margin:0;width:100%;-o-object-fit:cover;object-fit:cover}.box-input{display:block;position:relative;cursor:pointer;font-size:15px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box-input input{position:absolute;opacity:0;cursor:pointer}.checkmark{position:absolute;top:-17px;left:-17px;background:0 0;border:2px solid #dadada;color:#3c3c3c;border-radius:10px;display:inline-block;margin:2%;width:116%;height:120%;min-height:190px}.box-input input:checked~.checkmark{border:2px solid #dedede}.checkmark:after{content:\"\";position:absolute;display:none}.box-input input:checked~.box-ask-border:after{border:2px solid #dadada;color:#3c3c3c;border-radius:10px;display:inline-block;font-size:15px;margin:2%;max-width:190px;text-align:left;width:46%}.box-ask-border:after{border-color:#dedede;color:rgba (233,30,99,.3);background:#fff7fa}.title{font-size:13px;float:left;padding:2px 10px;position:fixed}.title-question{font-size:1.12em;font-weight:900;color:#525859;margin-bottom:20px}.title-config{font-size:.8em;font-weight:500;color:#525859;margin-bottom:0;width:100%}.tool-name{font-weight:600;color:#9c27b0}.tool-name-subtitle{font-weight:600;color:#525859}.img-responsive,.vid-responsive{display:block;max-width:100%;height:auto}.img-thumbnail,.vid-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;margin-bottom:30px;transition:.2s ease-in-out}.col-left{border-right:1px solid #eee}.col-center{float:left;width:60%}.col-right{border-left:1px solid #eee}.col-left,.col-right{float:left;width:20%;overflow-x:hidden!important}.col-sup{height:28vh;overflow-y:auto;padding:10px;border-top:1px solid #eee;border-bottom:1px solid #eee;margin-top:25px}.col-sub{height:51.5vh;overflow-y:auto;padding:10px;border-top:1px solid #eee;margin-top:25px}.col-int{height:83.5vh;overflow-y:auto;padding:10px;margin-top:25px;border-top:1px solid #eee}.icon{float:left;width:50%;height:70px;text-align:center;margin:20px 0}.icon i{font-size:40px}.icon a{display:block;color:#999}.icon a:hover{color:#777}.icon p{font-size:14px;margin:5px}table thead th{font-size:1em;font-weight:900;color:#383838}table tfoot .amount{font-size:1em;font-weight:900;color:#383838;text-align:right}.nav-tabs{border-bottom:1px solid #ddd;margin-bottom:20px;background:0 0}.nav-tabs>li>a{margin-right:0!important;padding:4px 8px;color:#9c27b0!important}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd!important;border-bottom-color:transparent!important}.divider{height:0;margin:.5rem 0;overflow:hidden;border-top:1px solid #e9ecef}input.cell-text::-webkit-input-placeholder{color:#d5d5d5}input.cell-text::-moz-placeholder{color:#d5d5d5}input.cell-text:-ms-input-placeholder{color:#d5d5d5}input.cell-text::-ms-input-placeholder{color:#d5d5d5}input.cell-text::placeholder{color:#d5d5d5}input.text{border:1px solid #ddd;padding:5px 10px;border-radius:3px;color:#333}input.text::-webkit-input-placeholder{color:#d5d5d5}input.text::-moz-placeholder{color:#d5d5d5}input.text:-ms-input-placeholder{color:#d5d5d5}input.text::-ms-input-placeholder{color:#d5d5d5}input.text::placeholder{color:#d5d5d5}select.text{border:1px solid #ddd;padding:5px 2px;border-radius:3px;color:#333}select.text::-webkit-input-placeholder{color:#d5d5d5}select.text::-moz-placeholder{color:#d5d5d5}select.text:-ms-input-placeholder{color:#d5d5d5}select.text::-ms-input-placeholder{color:#d5d5d5}select.text::placeholder{color:#d5d5d5}textarea.text{border:1px solid #ddd;padding:5px 10px;border-radius:3px;color:#333;resize:none}textarea.text::-webkit-input-placeholder{color:#d5d5d5}textarea.text::-moz-placeholder{color:#d5d5d5}textarea.text:-ms-input-placeholder{color:#d5d5d5}textarea.text::-ms-input-placeholder{color:#d5d5d5}textarea.text::placeholder{color:#d5d5d5}.text-input{color:#b5b4b4;font-size:1.12em;position:relative;vertical-align:middle;display:inline-block;transition:.5s;padding:0;cursor:pointer;border-bottom:2px solid #fff;-webkit-transition:.5s}.text-input::after,.text-input::before{width:100%;height:100%;z-index:3;content:\"\";position:absolute;top:0;left:0;box-sizing:border-box;-webkit-transform:scale(0);transition:.5s}.text-input::-webkit-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::-moz-placeholder{color:#dcb8e3;font-size:1.09em}.text-input:-ms-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::-ms-input-placeholder{color:#dcb8e3;font-size:1.09em}.text-input::placeholder{color:#dcb8e3;font-size:1.09em}.text-input:focus,.text-input:hover{color:#dcb8e3;font-size:1.09em;border-bottom:2px solid #dedede}input[type=checkbox],input[type=radio]{display:none}input[type=checkbox]+label,input[type=radio]+label{color:#b5b4b4;font-size:1.09em}input[type=radio]+label span{display:inline-block;width:19px;height:19px;margin:-2px 10px 0 0;vertical-align:middle;cursor:pointer}input[type=checkbox]+label span{display:inline-block;width:19px;height:19px;margin:-2px 10px 0 0;vertical-align:middle;cursor:pointer;transition:.1s}input[type=checkbox]:checked+label span{transition:.1s}.multiple-questions label span{display:block;cursor:pointer;max-height:242px;border:1px solid #ddd;border-radius:7px;padding:10px 10px 0;margin:5px;max-width:180px;min-height:180px}.multiple-questions label span.no-image{min-height:0}.multiple-questions label span.no-image img{display:none!important}.multiple-questions input[type=radio]:checked+span{border:1px solid #595959!important;background:#fcfcfc}.multiple-questions label span img{border-radius:7px;width:180px;height:180px}.multiple-questions .text{text-align:center;padding:15px 0;min-height:30px}input.multichoice:empty{margin-left:-999px}input.multichoice:empty~label{position:relative;margin-right:20px;margin-bottom:20px;padding-right:20px;float:left;line-height:2.5em;text-indent:3.5em;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:.1s}input.multichoice:empty~label:before{position:relative;left:0;float:left;content:'';width:40px;background:#d1d3d4;border-radius:3px 0 0 3px;margin-left:0;margin-right:-40px}input.multichoice:checked~label:before{content:'\\2714';text-indent:.9em;color:#fff;background-color:#6c63fe;transition:.1s}.d-flex{display:flex!important}.flex-wrap{flex-wrap:wrap!important}.justify-content-center{justify-content:center!important}.flex-column{flex-direction:column!important}.align-content-center{align-content:center!important}.align-vertical-center{-ms-align-items:center!important;align-items:center!important}.wrapper{min-height:100%;position:relative;overflow:hidden}.wrapper:after,.wrapper:before{content:\" \";display:table}.wrapper:after{clear:both}.content-wrapper{min-height:100%;background-color:#fff;z-index:800;padding-top:40px}.top-menu{position:absolute;border-bottom:1px solid #eee;top:0;width:100%;height:40px;padding:0 10px;line-height:40px}.tool{float:right;padding:2px 5px}.footer{position:absolute;border-top:1px solid #eee;bottom:0;padding:0 10px;width:100%;height:40px;line-height:40px;background:#fff}.cliente{font-size:16px}.modulo a{padding:2px 5px;border-radius:4px;display:block;background:#9c27b0;color:#fff;margin-bottom:5px}.modulo a:hover{background:#831596}.modulo span a{float:right;font-size:12px;padding:0;background:0 0;margin-left:5px;margin-top:1px}.modulo span a:hover{color:#e9e9e9}.etapa a{padding:2px 5px 2px 20px;border-radius:4px;display:block;background:0 0;color:#777;margin-bottom:5px}.etapa span a{float:right;font-size:12px;padding:0;background:0 0;color:#ddd;margin-left:5px;margin-top:1px}.etapa span a:hover{color:#999}.form-custom input[type=number],.form-custom input[type=text],.form-custom select,.form-custom textarea{border:1px solid #dadde2;padding:3px 5px;border-radius:2px;font-size:13px;overflow-x:hidden}.form-custom .txt{border:1px solid #dadde2;padding:3px 5px;border-radius:2px;font-size:13px}.form-custom ::-webkit-input-placeholder{font-size:13px;color:#999}.form-custom ::-moz-placeholder{font-size:13px;color:#999}.form-custom ::-ms-input-placeholder{font-size:13px;color:#999}.wrapper-input{height:45px}.btn-rose{background:#e91e63}.cursor{cursor:pointer}.midia-w iframe{width:100%}.midia-h iframe{height:400px}.breadcrumb{padding:0 15px;margin-bottom:20px;list-style:none;background-color:transparent;font-size:12px}.config-label{width:100%;margin:5px 0;float:left;font-size:.8em;display:block;line-height:1.5em}.config-textarea{width:100%;margin:5px 0;float:left;resize:initial;overflow-y:auto;display:block;font-size:.9em!important;color:#999}.config-input,.config-select{width:100%;margin:5px 0;float:left;display:block;font-size:.9em!important;color:#999}.config-box{width:100%;margin:5px;float:left}.config-box-50{width:45%;min-height:110px;margin:5px;float:left;background:#f9f9f9;border:1px solid #eee;border-radius:5px;padding:10px}.config-box-title{width:100%;padding:10px;font-size:.85em}.no-bg-image{background-image:none}.space-inside{padding:10px}.block{display:block}.fake-link{cursor:pointer}.item-component{margin:0;border-radius:2px;border:1px solid #fff}.item-component:hover{border-color:#9c27b0}.item-component.active{border-color:#9c27b0;background-color:#f9f9f9}.item-box-model{border:3px dashed #ddd;padding:20px;color:#ccc;min-height:50px}.item-component-challenge,.item-component-conclusion,.item-component-download,.item-component-dynamic-input,.item-component-dynamic-table,.item-component-image,.item-component-intro,.item-component-long-text,.item-component-multichoise,.item-component-multiple-questions,.item-component-pdf,.item-component-rating,.item-component-sales-channel,.item-component-sheet-correct-incorrect,.item-component-star-point,.item-component-text,.item-component-upload,.item-component-video,.item-component-yes-no{padding:0}.item-component-image .material-icons,.item-component-pdf .material-icons,.item-component-video .material-icons{font-size:80px}.item-component-title .title-bold{font-weight:700}.item-component-title .title-italic{font-style:italic}.item-component-title .title-underline{text-decoration:underline}.icon.disabled{opacity:.3}.item-component-image-icon-container,.item-component-pdf-icon-container,.item-component-video-icon-container{background:#eee;border:1px solid #ccc;text-align:center;color:#444;font-size:50px;padding:160px}.btn-container{text-align:center}.etapa a:hover,.etapa.active a{background:#f4f4f4}.etapa.active:before{font:700 14px/1 FontAwesome;content:\"\\f0da\";float:left;color:#9c27b0;position:relative;top:5px;left:5px}.scroll{overflow-y:auto}#trail-status{color:#ddd;margin-right:10px;background:0 0;border:none}#trail-status.active{color:#6c9}.item-btn-delete{position:relative}.item-btn-delete button{position:absolute;top:-10px;right:-10px;border:1px solid #9c27b0;background-color:#fff;color:#9c27b0;border-radius:50%;width:20px;height:20px;padding:0;font-size:12px;line-height:12px;z-index:1}.item-btn-delete button:hover{background-color:#9c27b0;color:#fff}.custom-divisor{margin:10px 0}#tbl-objetivo td{padding:0 8px;height:0}#accordion .tool-name:after{font-family:\"Glyphicons Halflings\";content:\"\\e114\";float:right}#accordion .tool-name.collapsed:after{content:\"\\e080\"}#editor-components-wrapper img{max-height:500px;-o-object-fit:contain;object-fit:contain;background:#eee;width:auto}.input-styled{border:1px solid #ccc;padding:4px 6px;border-radius:2px}.pulse:hover{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-name:pulse;animation-name:pulse}@-webkit-keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}}@keyframes pulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.9);opacity:.7}}.cover{position:relative}.cover img{width:100%;min-height:480px;-o-object-fit:cover;object-fit:cover;opacity:1;transition:.5s;-webkit-backface-visibility:hidden;backface-visibility:hidden}.mx-auto{float:none;margin:0 auto}@media (min-width:576px) and (max-width:767px){::ng-deep .sheet-correct .radio{width:90%!important}}@media (min-width:768px) and (max-width:991px){::ng-deep .sheet-correct .radio{width:45%!important}}@media (min-width:992px) and (max-width:1199px){::ng-deep .sheet-correct .radio{width:65%!important}}@media (min-width:1200px){::ng-deep .sheet-correct .radio{width:45%!important}}@media (min-width:1600px){.col-sup{height:45vh}.col-sub{height:55.5vh}.col-int{height:88.5vh}}.image-modal{transition:.5s}.image-modal-item{width:100%;-o-object-fit:scale-down;object-fit:scale-down;max-height:320px;cursor:zoom-in}.image-modal-full{position:fixed;top:0;left:0;z-index:99999;width:100%;height:100%;padding:10%;background:rgba(0,0,0,.3);-o-object-fit:contain;object-fit:contain;cursor:zoom-out}", ":root{--app-logo:url(\"/assets/img/logo-visualizador.png\");--bg-dark:#111111!important;--bg-dark-2:#333333!important;--main-color-dark:#dddddd!important;--bg-sidebar-viewer-dark:#181818!important;--bg-btn-sidebar-viewer-dark-active:#ddd!important;--bg-btn-sidebar-viewer-text-dark-active:#ddd!important;--icon-sidebar-viewer-dark:#ddd!important;--link-sidebar-viewer-dark:#ddd!important;--bg-light:#f4f4f4!important;--bg-light-2:#eee!important;--main-color-light:#414141!important;--bg-sidebar-viewer-light:#fff!important;--bg-btn-sidebar-viewer-light-active:#414141!important;--bg-btn-sidebar-viewer-text-light-active:#414141!important;--icon-sidebar-viewer-light:#414141!important;--link-sidebar-viewer-light:#414141!important}.full-page{width:100vw;height:100vh}#wrapper{display:flex;width:100%}#navbar{padding:0 10px;background:0 0;border:none;border-radius:0;margin-bottom:30px;transition:.3s}#navbar .navbar-brand{margin-left:60px;padding-top:5px;text-decoration:none!important}#navbar .btn-close{position:absolute;top:0;right:0;z-index:1}#sidemenu-viewer{width:260px;position:fixed;top:0;left:0;height:100vh;z-index:999;background:var(--bg-sidebar-viewer);transition:.3s;box-shadow:0 10px 30px -12px rgba(0,0,0,.42);overflow-y:hidden}#sidemenu-viewer.active{margin-left:-260px}#sidemenu-viewer .sidebarClose{position:absolute;top:15px;right:10px}#sidemenu-viewer .sidemenu-header{display:flex;align-items:center;justify-content:center;height:70px;padding:40px 20px!important;background:var(--bg-sidebar-viewer);border-bottom:1px solid rgba(255,255,255,.1)}#sidemenu-viewer .sidemenu-header .logo{flex-grow:2;width:100%;height:40px;margin:0 auto;text-align:center;background-image:var(--app-logo);background-size:cover;background-position:center;background-repeat:no-repeat}#sidemenu-viewer .sidemenu-header img{width:80%;max-height:40px;-o-object-fit:contain;object-fit:contain;margin:0 auto}#sidemenu-viewer .sidemenu-info{width:100%;height:40px;background:var(--bg-sidebar-viewer);color:var(--link-sidebar-viewer);border-bottom:1px solid rgba(255,255,255,.1)}#sidemenu-viewer .sidemenu-info a{display:flex;align-items:center;justify-content:space-between;width:100%;height:100%;padding:0 20px;color:var(--link-sidebar-viewer);text-decoration:none!important}#sidemenu-viewer .sidemenu-info a:hover{color:var(--link-sidebar-viewer)}#sidemenu-viewer .sidemenu-body{height:calc(100vh - 121px);overflow-y:auto;background:var(--bg-sidebar-viewer)}#sidemenu-viewer .sidemenu-body ul{margin:0;padding:15px;list-style:none}#sidemenu-viewer .sidemenu-body ul li{display:flex;align-items:center;justify-content:flex-start;flex-direction:row;padding:12px 15px 8px;margin-bottom:15px;border-radius:4px;color:var(--link-sidebar-viewer);transition:.3s;font-size:.9em!important}#sidemenu-viewer .sidemenu-body ul li:hover{background:rgba(215,215,215,.2);color:var(--link-sidebar-viewer)}#sidemenu-viewer .sidemenu-body ul li.active{background:var(--bg-btn-sidebar-viewer-active)!important;color:var(--bg-btn-sidebar-viewer-text-active)!important;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(57,75,85,.4)}#sidemenu-viewer .sidemenu-body ul li.active .icon{color:var(--bg-btn-sidebar-viewer-text-active)!important}#sidemenu-viewer .sidemenu-body ul li .icon{color:var(--icon-sidebar-viewer);float:left;margin-right:10px}#sidemenu-viewer .sidemenu-body ul li .text{float:left;font-size:.9em!important;margin-top:2px}#sidemenu-viewer .sidemenu-body-mini{height:64vh!important}#content{width:calc(100% - 260px);padding:15px 40px;min-height:100vh;transition:.3s;position:absolute;top:0;right:0;background:#eee}#content.active{width:100%}.notepad-icons{display:flex;align-items:center;justify-content:space-between;font-size:1.15em;margin-top:5px}.notepad-icons a{color:var(--main-color-viewer)}.notepad-icons a:hover{text-decoration:none}.notepad{margin-top:15px}.notepad input[type=text],.notepad textarea{box-shadow:none}.btn-toggler{position:absolute;display:flex;align-items:center;justify-content:center;z-index:2;width:45px;height:45px;color:var(--main-color-viewer);background-color:#fff;border-color:#fff;box-shadow:0 2px 2px 0 rgba(153,153,153,.14),0 3px 1px -2px rgba(153,153,153,.2),0 1px 5px 0 rgba(153,153,153,.12);border-radius:50%}.btn-toggler span{position:absolute;display:flex;align-items:center;justify-content:center;width:45px;height:45px;border-radius:50%}.btn-toggler.focus,.btn-toggler:focus,.btn-toggler:hover{color:var(--main-color-viewer);background-color:#fff;border-color:#fff;box-shadow:0 4px 25px 0 rgba(0,0,0,.14),0 7px 15px -5px rgba(57,75,85,.2)}.btn-simple{background-color:#fff;border:none;cursor:pointer;display:block;color:#333;text-decoration:none;padding:14px 0}.trail-select{width:180px;float:right;margin:0 10px}.overflow-hidden{overflow:hidden}.fw-bold a{font-weight:700}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{background-color:var(--bg-btn-course)}.nav-pills .nav-link{color:var(--bg-btn-viewer)!important}.nav-pills .nav-link.active,.nav-pills .show>.nav-link{background-color:var(--bg-btn-viewer)!important;color:#fff!important}.sidebar .nav li>a,.sidebar .nav li>a:focus,.sidebar .nav li>a:hover{background-color:var(--bg-btn-course)!important}.sidebar .user .info>a{padding-left:20px!important}.info{border-bottom:1px solid #eee}.cursor-pointer{cursor:pointer}.nav-container{padding:0;border-top:1px solid #eee;border-bottom:1px solid #eee}.mask-item{position:relative;width:100%;height:100%;background:#000;z-index:70;display:flex;align-items:center;justify-content:center;flex-direction:column;top:0;transition:.5s;opacity:0}.mask-item .material-icons{color:#fff;font-size:92px}.stage-video{min-height:200px;height:auto;background:#000}.media{display:flex;align-items:center;justify-content:center;width:100%;background-repeat:no-repeat;background-size:cover;background-position:center center}.media .video{width:100%;height:100%}.media .play-icon{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.theme-dark #content{background-color:var(--bg-dark)!important}.theme-dark #navbar .navbar-brand{color:var(--link-sidebar-viewer-dark)!important}.theme-dark #sidemenu-viewer,.theme-dark #sidemenu-viewer .sidemenu-header{background:var(--bg-sidebar-viewer-dark)!important}.theme-dark #sidemenu-viewer .sidemenu-header .logo{background-image:var(--app-logo)!important}.theme-dark #sidemenu-viewer .sidemenu-info{background:var(--bg-sidebar-viewer-dark)!important;color:var(--link-sidebar-viewer-dark)!important;border-bottom:1px solid rgba(255,255,255,.1)}.theme-dark #sidemenu-viewer .sidemenu-info a,.theme-dark #sidemenu-viewer .sidemenu-info a:hover{color:var(--link-sidebar-viewer-dark)!important}.theme-dark #sidemenu-viewer .sidemenu-body{background:var(--bg-sidebar-viewer-dark)!important}.theme-dark #sidemenu-viewer .sidemenu-body ul li{color:var(--link-sidebar-viewer-dark)!important}.theme-dark #sidemenu-viewer .sidemenu-body ul li:hover{background:rgba(215,215,215,.2);color:var(--link-sidebar-viewer-dark)!important}.theme-dark #sidemenu-viewer .sidemenu-body ul li.active{background:var(--bg-btn-sidebar-viewer-dark-active)!important;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(57,75,85,.4);color:var(--bg-btn-sidebar-viewer-text-dark-active)!important}.theme-dark #sidemenu-viewer .sidemenu-body ul li.active .icon{color:var(--bg-btn-sidebar-viewer-text-dark-active)!important}.theme-dark #sidemenu-viewer .sidemenu-body ul li .icon{color:var(--icon-sidebar-viewer-dark)!important}.theme-dark .btn-toggler{color:var(--main-color-dark)!important;background-color:var(--bg-sidebar-viewer-dark)!important;border-color:var(--bg-sidebar-viewer-dark)!important}.theme-dark .btn-toggler:hover{color:var(--icon-sidebar-viewer-dark)!important;background-color:var(--bg-sidebar-viewer-dark)!important;border-color:var(--bg-sidebar-viewer-dark)!important}.theme-dark .btn-toggler.focus,.theme-dark .btn-toggler:focus{color:var(--main-color-dark);background-color:var(--bg-sidebar-viewer-dark)!important;border-color:var(--bg-sidebar-viewer-dark)!important}.theme-dark .card{background-color:var(--bg-sidebar-viewer-dark)!important;box-shadow:none!important}.theme-dark .mat-checkbox-checked.mat-accent .mat-checkbox-background,.theme-dark .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.theme-dark .mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:var(--main-color-dark)!important}.theme-dark .mat-checkbox-checkmark-path{stroke:#181818!important}.theme-dark .mat-checkbox-label{color:var(--main-color-dark)!important}.theme-dark .conclusion-container{background-color:var(--bg-sidebar-viewer-dark)!important}.theme-dark fieldset p{color:var(--main-color-dark)}.theme-dark input,.theme-dark textarea{border:1px solid rgba(255,255,255,.3);background:var(--bg-dark-2)!important;color:var(--main-color-dark)!important;outline:0!important}.theme-light #navbar .navbar-brand{color:var(--link-sidebar-viewer-light)!important}.theme-light #sidemenu-viewer,.theme-light #sidemenu-viewer .sidemenu-header{background:var(--bg-sidebar-viewer-light)!important}.theme-light #sidemenu-viewer .sidemenu-header .logo{background-image:var(--app-logo)!important}.theme-light #sidemenu-viewer .sidemenu-info{background:var(--bg-sidebar-viewer-light)!important;color:var(--link-sidebar-viewer-light)!important;border-bottom:1px solid rgba(255,255,255,.1)}.theme-light #sidemenu-viewer .sidemenu-info a,.theme-light #sidemenu-viewer .sidemenu-info a:hover{color:var(--link-sidebar-viewer-light)!important}.theme-light #sidemenu-viewer .sidemenu-body{background:var(--bg-sidebar-viewer-light)!important}.theme-light #sidemenu-viewer .sidemenu-body ul li{color:var(--link-sidebar-viewer-light)!important}.theme-light #sidemenu-viewer .sidemenu-body ul li:hover{background:rgba(215,215,215,.2);color:var(--link-sidebar-viewer-light)!important}.theme-light #sidemenu-viewer .sidemenu-body ul li.active{background:var(--bg-btn-sidebar-viewer-light-active)!important;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(57,75,85,.4);color:var(--bg-btn-sidebar-viewer-text-light-active)!important}.theme-light #sidemenu-viewer .sidemenu-body ul li.active .icon{color:var(--bg-btn-sidebar-viewer-text-light-active)!important}.theme-light #sidemenu-viewer .sidemenu-body ul li .icon{color:var(--icon-sidebar-viewer-light)!important}.theme-light .btn-toggler{color:var(--main-color-light)!important;background-color:var(--bg-sidebar-viewer-light)!important;border-color:var(--bg-sidebar-viewer-light)!important}.theme-light .btn-toggler:hover{color:var(--icon-sidebar-viewer-light)!important;background-color:var(--bg-sidebar-viewer-light)!important;border-color:var(--bg-sidebar-viewer-light)!important}.theme-light .btn-toggler.focus,.theme-light .btn-toggler:focus{color:var(--main-color-light);background-color:var(--bg-sidebar-viewer-light)!important;border-color:var(--bg-sidebar-viewer-light)!important}.theme-light .card{box-shadow:none!important}.theme-light .mat-checkbox-checked.mat-accent .mat-checkbox-background,.theme-light .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.theme-light .mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:var(--main-color-light)!important}.theme-light .mat-checkbox-checkmark-path{stroke:#181818!important}.theme-light .mat-checkbox-label{color:var(--main-color-light)!important}.theme-custom #content{background-color:var(--bg-client)!important}.theme-custom #navbar .navbar-brand{color:var(--link-sidebar-viewer-light)!important}.theme-custom #sidemenu-viewer,.theme-custom #sidemenu-viewer .sidemenu-header{background:var(--bg-sidebar-viewer-light)!important}.theme-custom #sidemenu-viewer .sidemenu-header .logo{background-image:var(--app-logo)!important}.theme-custom #sidemenu-viewer .sidemenu-info{background:var(--bg-sidebar-viewer-light)!important;color:var(--link-sidebar-viewer-light)!important;border-bottom:1px solid rgba(255,255,255,.1)}.theme-custom #sidemenu-viewer .sidemenu-info a,.theme-custom #sidemenu-viewer .sidemenu-info a:hover{color:var(--link-sidebar-viewer-light)!important}.theme-custom #sidemenu-viewer .sidemenu-body{background:var(--bg-sidebar-viewer-light)!important}.theme-custom #sidemenu-viewer .sidemenu-body ul li{color:var(--link-sidebar-viewer-light)!important}.theme-custom #sidemenu-viewer .sidemenu-body ul li:hover{background:rgba(215,215,215,.2);color:var(--link-sidebar-viewer-light)!important}.theme-custom #sidemenu-viewer .sidemenu-body ul li.active{background:var(--bg-btn-sidebar-viewer-light-active)!important;box-shadow:0 4px 20px 0 rgba(0,0,0,.14),0 7px 10px -5px rgba(57,75,85,.4);color:var(--bg-btn-sidebar-viewer-text-light-active)!important}.theme-custom #sidemenu-viewer .sidemenu-body ul li.active .icon{color:var(--bg-btn-sidebar-viewer-text-light-active)!important}.theme-custom #sidemenu-viewer .sidemenu-body ul li .icon{color:var(--icon-sidebar-viewer-light)!important}.theme-custom .btn-toggler{color:var(--main-color-light)!important;background-color:var(--bg-sidebar-viewer-light)!important;border-color:var(--bg-sidebar-viewer-light)!important}.theme-custom .btn-toggler:hover{color:var(--icon-sidebar-viewer-light)!important;background-color:var(--bg-sidebar-viewer-light)!important;border-color:var(--bg-sidebar-viewer-light)!important}.theme-custom .btn-toggler.focus,.theme-custom .btn-toggler:focus{color:var(--main-color-light);background-color:var(--bg-sidebar-viewer-light)!important;border-color:var(--bg-sidebar-viewer-light)!important}.theme-custom .card,.theme-custom .midia{background-color:var(--bg-sidebar-viewer-light)!important;box-shadow:none!important}.theme-custom .midia p,.theme-custom .shared-subtitle,.theme-custom .shared-title{color:var(--main-color-light)!important}.theme-custom .mat-checkbox-checked.mat-accent .mat-checkbox-background,.theme-custom .mat-checkbox-indeterminate.mat-accent .mat-checkbox-background,.theme-custom .mat-checkbox:not(.mat-checkbox-disabled).mat-accent .mat-checkbox-ripple .mat-ripple-element{background-color:var(--main-color-light)!important}.theme-custom .mat-checkbox-checkmark-path{stroke:#181818!important}.theme-custom .mat-checkbox-label{color:var(--main-color-light)!important}.theme-custom .conclusion-container{background-color:var(--bg-sidebar-viewer-light)!important}@media (max-width:767px){#sidemenu-viewer{background:#fff;left:-999px}#sidemenu-viewer.active{left:260px!important}#sidemenu-viewer .sidemenu-header{display:block;text-align:left;height:auto;margin:0 0 20px;padding:15px 20px 12px!important;border-bottom:1px solid #eee}#sidemenu-viewer .sidemenu-header span{font-weight:500}#content{width:100%;padding:15px 0}#content.active{width:100%}#content.active .navbar{margin-left:0;transition:.3s}}::ng-deep app-viewer p{background-color:transparent!important}@media (max-width:575.98px){.media{height:200px}}@media (max-width:991.98px){.media{height:250px}}@media (min-width:992px) and (max-width:1199px){.media{height:375px}.intro-container-video{width:500px}}@media (min-width:1200px) and (max-width:1366px){.media{height:375px}.intro-container-video{width:700px}}@media (min-width:1440px) and (max-width:1600px){.media{height:640px}.intro-container-video{width:700px}}@media (min-width:1920px){.media{height:600px}.intro-container-video{width:700px}}.audio-cover{max-height:400px;width:100%;margin-bottom:20px;margin-top:20px}.audio-cover img{width:100%;height:100%;-o-object-position:center;object-position:center;-o-object-fit:contain;object-fit:contain;background:#eee}", "#iframe_vimeo{height:100%}.cover-video{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:center}.cover-video .filter{position:relative;z-index:10;width:100%;height:100%;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);background-color:rgba(255,225,225,.2)}.cover-video .real-cover{width:80%;height:80%;position:absolute;z-index:20;top:50%;left:50%;transform:translate(-50%,-50%);background-repeat:no-repeat;background-position:center;background-size:contain}.cover-video .icon-play{position:absolute;z-index:30;top:50%;left:50%;transform:translate(-50%,-50%)}.btn-video-opacity{opacity:.5}"]
|
|
4328
4344
|
}] }
|
|
@@ -6151,6 +6167,7 @@
|
|
|
6151
6167
|
* @return {?}
|
|
6152
6168
|
*/
|
|
6153
6169
|
function (item) {
|
|
6170
|
+
console.log("[metaAtingida]", item);
|
|
6154
6171
|
if (item.goal_user < item.goal) {
|
|
6155
6172
|
return false;
|
|
6156
6173
|
}
|
|
@@ -6337,7 +6354,7 @@
|
|
|
6337
6354
|
EditorConclusionComponent.decorators = [
|
|
6338
6355
|
{ type: core.Component, args: [{
|
|
6339
6356
|
selector: "app-editor-component-conclusion",
|
|
6340
|
-
template: "<div class=\"card-content conclusion-container\" [ngStyle]=\"{'background-color': item.background}\">\n\n <div class=\"row\">\n <div class=\"col-md-12 text-center m-conc-container\">\n <div class=\"text-center m-conc\">\n\n <div *ngIf=\"item.feedback === 'feedback'\">\n <div class=\"text-center\" id=\"image-container\">\n <img class=\"logo-animation\" [src]=\"viewerService.options.logo || 'assets/img/logo.png'\" />\n </div>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}</h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <div id=\"feedback-container\">\n <ul class=\"unstyled-list list-inline\" @icons>\n <li\n matTooltip=\"{{ 'YouGot' | translate }} {{CorrectAnswer}}/{{ feedback.TotalMultiple }} {{ 'ofTheTotalityOfQuestionsMultipleChoice' | translate }}\"\n @icon>\n <div id=\"conclusion-icon\" class=\"icon-conclusion correct\" [class.icon-danger]=\"CorrectAnswer == 0\">\n <span>{{CorrectAnswer}}</span>\n <div class=\"conclusion-check\" [class.icon-danger]=\"CorrectAnswer == 0\">\n <i class=\"fa fa-check\" [class.fa-check]=\"CorrectAnswer != '0%'\"\n [class.fa-times]=\"CorrectAnswer == 0\"></i>\n </div>\n </div>\n </li>\n\n <li\n matTooltip=\"{{ 'YouGot' | translate }} {{rightOrWrong}} {{ 'ofTheTotalityOfIssuesRightAndWrong' | translate }}\"\n @icon *ngIf=\"rightOrWrong != null && rightOrWrong > 0\">\n <div id=\"conclusion-icon\" class=\"icon-conclusion\" [class.icon-danger]=\"rightOrWrong == '0%'\">\n <span>{{rightOrWrong}}</span>\n <div class=\"conclusion-check\" [class.icon-danger]=\"rightOrWrong == '0%'\">\n <i class=\"fa fa-check\" [class.fa-check]=\"rightOrWrong != '0%'\"\n [class.fa-times]=\"rightOrWrong == '0%'\"></i>\n </div>\n </div>\n </li>\n\n <ng-container *ngIf=\"feedback?.randomQuestionTotal && feedback?.randomQuestionTotal != 0\">\n <li\n matTooltip=\"{{ 'YouGot' | translate }} {{ feedback?.randomQuestionScore }}/{{ feedback?.randomQuestionTotal }} {{ 'ofTheEntireForm' | translate }}\"\n @icon *ngIf=\"feedback?.randomQuestionTotal !== null\">\n <div id=\"conclusion-icon\" class=\"icon-conclusion\"\n [class.icon-danger]=\"feedback.randomQuestionTotal === 0\">\n <span>{{feedback.randomQuestionScore }}</span>\n <div class=\"conclusion-check\" [class.icon-danger]=\"feedback?.randomQuestionScore === 0\">\n <i classf=\"fa fa-check\" [class.fa-check]=\"feedback?.randomQuestionScore !== 0\"\n [class.fa-times]=\"feedback?.randomQuestionScore === 0\"></i>\n </div>\n </div>\n </li>\n </ng-container>\n\n </ul>\n </div>\n\n <p class=\"my-4 animated\" *ngIf=\"feedback && feedback.sequence && feedback.sequence.length > 0\"\n [ngStyle]=\"{'color': item?.text.color, 'text-align':item?.text.align, 'font-size':item?.text.size }\"\n [ngClass]=\"item.text.animation\">\n {{ 'YouGot' | translate }} <b>{{ performance }}%</b> {{ 'OfTheQuestions' | translate }}\n </p>\n\n <p *ngIf=\"!performance\">\n <i class=\"fa fa-spinner fa-spin fa-2x text-white\"></i>\n {{ 'CalculatingYourResult' | translate }}\n </p>\n </div>\n\n <div *ngIf=\"!item.feedback\">\n <i id=\"conclusion-icon\" class=\"material-icons fs-60 animated\" [ngStyle]=\"{'color': item.featureColor}\"\n [ngClass]=\"item.icon_animation\">check_circle\n </i>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}</h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\"\n [ngClass]=\"item.text_animation\">\n {{ item.text.text }}\n </p>\n </div>\n\n <div *ngIf=\"item.feedback === 'icon'\">\n <i id=\"conclusion-icon\" class=\"material-icons fs-60 animated\" [ngStyle]=\"{'color': item.featureColor}\"\n [ngClass]=\"item.icon_animation\">check_circle\n </i>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}\n </h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\"\n [ngClass]=\"item.text_animation\">{{ item.text.text }}\n </p>\n </div>\n <div *ngIf=\"item.feedback === 'badge'\">\n <div class=\"text-center\" id=\"image-container\" *ngIf=\"!badge\">\n <div style=\"height: 140px\"></div>\n </div>\n\n <div class=\"text-center\" id=\"image-container\" *ngIf=\"badge\">\n <img class=\"logo-animation\" [src]=\"badge\" />\n </div>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}</h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\"\n [ngClass]=\"item.text_animation\">{{ item.text.text }}\n </p>\n </div>\n\n <div class=\"conclusion-metrics\" *ngIf=\"item.feedback === 'metrics'\">\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\n\n <div class=\"row\">\n <div class=\"col-sm-11 mx-auto\">\n <ul id=\"feedback-container\" class=\"list-inline\" @icons>\n <li matTooltip=\"Voc\u00EA acertou 6/6 da totalidade dos question\u00E1rios\" @icon>\n <div id=\"conclusion-icon\" class=\"icon-conclusion correct\">\n <span>{{item.goal}}%</span>\n <div class=\"conclusion-check\">\n <i class=\"fa fa-check\"></i>\n </div>\n </div>\n <small class=\"text-center\">Sua meta</small>\n </li>\n <li matTooltip=\"Voc\u00EA acertou 1/6 da totalidade dos question\u00E1rios\" @icon>\n <div id=\"conclusion-icon\" class=\"icon-conclusion\" [ngClass]=\"{'wrong': !metaAtingida(item) }\">\n <span>{{item.goal_user}}%</span>\n <div [ngClass]=\"{'conclusion-wrong': !metaAtingida(item), 'conclusion-check': metaAtingida(item)}\">\n <i class=\"fa\" [ngClass]=\"{'fa-times': !metaAtingida(item), 'fa-check': metaAtingida(item)}\"></i>\n </div>\n </div>\n <div id=\"conclusion-icon\" class=\"icon-conclusion\" [ngClass]=\"{'wrong': metaAtingida(item) }\">\n <span>{{item.goal_user}}%</span>\n <div [ngClass]=\"{'conclusion-wrong': metaAtingida(item), 'conclusion-check': !metaAtingida(item)}\">\n <i class=\"fa\" [ngClass]=\"{'fa-times': metaAtingida(item), 'fa-check': !metaAtingida(item)}\"></i>\n </div>\n </div>\n <small>Meta atingida</small>\n </li>\n </ul>\n <div *ngIf=\"!metaAtingida(item)\" class=\"text-center\">\n <p>Infelizmente voc\u00EA n\u00E3o bateu a meta.</p>\n <p>Quer refazer o curso?</p>\n <div class=\"mt-5\">\n <a class=\"btn btn-sm btn-danger mr-3 px-3\" (click)=\"checkEvaluate()\">N\u00E3o</a>\n <a class=\"btn btn-sm btn-primary px-3\" (click)=\"retakeCourse()\">Sim</a>\n </div>\n </div>\n <div *ngIf=\"metaAtingida(item)\" class=\"text-center\">\n <p>Voc\u00EA atingiu a sua meta. Deseja imprimir o certificado?</p>\n <div class=\"mt-5\">\n <a class=\"btn btn-sm btn-danger mr-3 px-3\" (click)=\"checkEvaluate()\">N\u00E3o</a>\n <a class=\"btn btn-sm btn-primary px-3\" (click)=\"certificate()\" target=\"_blank\" href=\"https://apiv3.plataformaasap.com.br/api/certificate/pdf/{{trail_id}}/{{item.user_id}}\">Sim</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"content.certificate\" (click)=\"goToUrlCertificate()\" class=\"download-certificate\">\n <i class=\"ph ph-download-simple\"></i>\n <p>Baixar certificado</p>\n </div>\n <!-- <app-editor-component-shared-button *ngIf=\"item.feedback != 'metrics'\" [button]=\"certificateButton\" (event)=\"goToUrlCertificate()\"></app-editor-component-shared-button> -->\n <app-editor-component-shared-button *ngIf=\"item.feedback != 'metrics'\" [button]=\"item.button\" (event)=\"checkEvaluate()\"></app-editor-component-shared-button>\n </div>\n </div>\n </div>\n</div>\n",
|
|
6357
|
+
template: "<div class=\"card-content conclusion-container\" [ngStyle]=\"{'background-color': item.background}\">\n\n <div class=\"row\">\n <div class=\"col-md-12 text-center m-conc-container\">\n <div class=\"text-center m-conc\">\n\n <div *ngIf=\"item.feedback === 'feedback'\">\n <div class=\"text-center\" id=\"image-container\">\n <img class=\"logo-animation\" [src]=\"viewerService.options.logo || 'assets/img/logo.png'\" />\n </div>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}</h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <div id=\"feedback-container\">\n <ul class=\"unstyled-list list-inline\" @icons>\n <li\n matTooltip=\"{{ 'YouGot' | translate }} {{CorrectAnswer}}/{{ feedback.TotalMultiple }} {{ 'ofTheTotalityOfQuestionsMultipleChoice' | translate }}\"\n @icon>\n <div id=\"conclusion-icon\" class=\"icon-conclusion correct\" [class.icon-danger]=\"CorrectAnswer == 0\">\n <span>{{CorrectAnswer}}</span>\n <div class=\"conclusion-check\" [class.icon-danger]=\"CorrectAnswer == 0\">\n <i class=\"fa fa-check\" [class.fa-check]=\"CorrectAnswer != '0%'\"\n [class.fa-times]=\"CorrectAnswer == 0\"></i>\n </div>\n </div>\n </li>\n\n <li\n matTooltip=\"{{ 'YouGot' | translate }} {{rightOrWrong}} {{ 'ofTheTotalityOfIssuesRightAndWrong' | translate }}\"\n @icon *ngIf=\"rightOrWrong != null && rightOrWrong > 0\">\n <div id=\"conclusion-icon\" class=\"icon-conclusion\" [class.icon-danger]=\"rightOrWrong == '0%'\">\n <span>{{rightOrWrong}}</span>\n <div class=\"conclusion-check\" [class.icon-danger]=\"rightOrWrong == '0%'\">\n <i class=\"fa fa-check\" [class.fa-check]=\"rightOrWrong != '0%'\"\n [class.fa-times]=\"rightOrWrong == '0%'\"></i>\n </div>\n </div>\n </li>\n\n <ng-container *ngIf=\"feedback?.randomQuestionTotal && feedback?.randomQuestionTotal != 0\">\n <li\n matTooltip=\"{{ 'YouGot' | translate }} {{ feedback?.randomQuestionScore }}/{{ feedback?.randomQuestionTotal }} {{ 'ofTheEntireForm' | translate }}\"\n @icon *ngIf=\"feedback?.randomQuestionTotal !== null\">\n <div id=\"conclusion-icon\" class=\"icon-conclusion\"\n [class.icon-danger]=\"feedback.randomQuestionTotal === 0\">\n <span>{{feedback.randomQuestionScore }}</span>\n <div class=\"conclusion-check\" [class.icon-danger]=\"feedback?.randomQuestionScore === 0\">\n <i classf=\"fa fa-check\" [class.fa-check]=\"feedback?.randomQuestionScore !== 0\"\n [class.fa-times]=\"feedback?.randomQuestionScore === 0\"></i>\n </div>\n </div>\n </li>\n </ng-container>\n\n </ul>\n </div>\n\n <p class=\"my-4 animated\" *ngIf=\"feedback && feedback.sequence && feedback.sequence.length > 0\"\n [ngStyle]=\"{'color': item?.text.color, 'text-align':item?.text.align, 'font-size':item?.text.size }\"\n [ngClass]=\"item.text.animation\">\n {{ 'YouGot' | translate }} <b>{{ performance }}%</b> {{ 'OfTheQuestions' | translate }}\n </p>\n\n <p *ngIf=\"!performance\">\n <i class=\"fa fa-spinner fa-spin fa-2x text-white\"></i>\n {{ 'CalculatingYourResult' | translate }}\n </p>\n </div>\n\n <div *ngIf=\"!item.feedback\">\n <i id=\"conclusion-icon\" class=\"material-icons fs-60 animated\" [ngStyle]=\"{'color': item.featureColor}\"\n [ngClass]=\"item.icon_animation\">check_circle\n </i>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}</h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\"\n [ngClass]=\"item.text_animation\">\n {{ item.text.text }}\n </p>\n </div>\n\n <div *ngIf=\"item.feedback === 'icon'\">\n <i id=\"conclusion-icon\" class=\"material-icons fs-60 animated\" [ngStyle]=\"{'color': item.featureColor}\"\n [ngClass]=\"item.icon_animation\">check_circle\n </i>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}\n </h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\"\n [ngClass]=\"item.text_animation\">{{ item.text.text }}\n </p>\n </div>\n <div *ngIf=\"item.feedback === 'badge'\">\n <div class=\"text-center\" id=\"image-container\" *ngIf=\"!badge\">\n <div style=\"height: 140px\"></div>\n </div>\n\n <div class=\"text-center\" id=\"image-container\" *ngIf=\"badge\">\n <img class=\"logo-animation\" [src]=\"badge\" />\n </div>\n\n <h3 class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.title.align, 'font-size.px': item.title.size, 'color': item.title.color}\"\n [ngClass]=\"item.title_animation\">{{ item.title.text }}</h3>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.subTitle.align, 'font-size.px': item.subTitle.size, 'color': item.subTitle.color}\"\n [ngClass]=\"item.subTitle_animation\">{{ item.subTitle.text }}</p>\n\n <p class=\"my-4 animated\"\n [ngStyle]=\"{'text-align': item.text.align, 'font-size.px': item.text.size, 'color': item.text.color}\"\n [ngClass]=\"item.text_animation\">{{ item.text.text }}\n </p>\n </div>\n\n <div class=\"conclusion-metrics\" *ngIf=\"item.feedback === 'metrics'\">\n <app-editor-component-shared-title [title]=\"item.title\"></app-editor-component-shared-title>\n <app-editor-component-shared-subtitle [subtitle]=\"item.subTitle\"></app-editor-component-shared-subtitle>\n\n <div class=\"row\">\n <div class=\"col-sm-11 mx-auto\">\n <ul id=\"feedback-container\" class=\"list-inline\" @icons>\n <li \n matTooltip=\"{{ 'YouGot' | translate }} {{CorrectAnswer}}/{{ feedback.TotalMultiple }} {{ 'ofTheTotalityOfQuestionsMultipleChoice' | translate }}\" @icon>\n <div id=\"conclusion-icon\" class=\"icon-conclusion correct\">\n <span>{{item.goal}}%</span>\n <div class=\"conclusion-check\">\n <i class=\"fa fa-check\"></i>\n </div>\n </div>\n <small class=\"text-center\">Sua meta</small>\n </li>\n <li \n matTooltip=\"{{ 'YouGot' | translate }} {{CorrectAnswer}}/{{ feedback.TotalMultiple }} {{ 'ofTheTotalityOfQuestionsMultipleChoice' | translate }}\" @icon> \n <div id=\"conclusion-icon\" class=\"icon-conclusion\" [ngClass]=\"{'wrong': !metaAtingida(item) }\">\n <span>{{item.goal_user}}%</span>\n <div [ngClass]=\"{'conclusion-wrong': !metaAtingida(item), 'conclusion-check': metaAtingida(item)}\">\n <i class=\"fa\" [ngClass]=\"{'fa-times': !metaAtingida(item), 'fa-check': metaAtingida(item)}\"></i>\n </div>\n </div>\n <small>Meta atingida</small>\n </li>\n </ul>\n <div *ngIf=\"!metaAtingida(item)\" class=\"text-center\">\n <p>Infelizmente voc\u00EA n\u00E3o bateu a meta.</p>\n <p>Quer refazer o curso?</p>\n <div class=\"mt-5\">\n <a class=\"btn btn-sm btn-danger mr-3 px-3\" (click)=\"checkEvaluate()\">N\u00E3o</a>\n <a class=\"btn btn-sm btn-primary px-3\" (click)=\"retakeCourse()\">Sim</a>\n </div>\n </div>\n <div *ngIf=\"metaAtingida(item)\" class=\"text-center\">\n <p>Voc\u00EA atingiu a sua meta. Deseja imprimir o certificado?</p>\n <div class=\"mt-5\">\n <a class=\"btn btn-sm btn-danger mr-3 px-3\" (click)=\"checkEvaluate()\">N\u00E3o</a>\n <a class=\"btn btn-sm btn-primary px-3\" (click)=\"certificate()\" target=\"_blank\" href=\"https://apiv3.plataformaasap.com.br/api/certificate/pdf/{{trail_id}}/{{item.user_id}}\">Sim</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div *ngIf=\"content.certificate\" (click)=\"goToUrlCertificate()\" class=\"download-certificate\">\n <i class=\"ph ph-download-simple\"></i>\n <p>Baixar certificado</p>\n </div>\n <!-- <app-editor-component-shared-button *ngIf=\"item.feedback != 'metrics'\" [button]=\"certificateButton\" (event)=\"goToUrlCertificate()\"></app-editor-component-shared-button> -->\n <app-editor-component-shared-button *ngIf=\"item.feedback != 'metrics'\" [button]=\"item.button\" (event)=\"checkEvaluate()\"></app-editor-component-shared-button>\n </div>\n </div>\n </div>\n</div>\n",
|
|
6341
6358
|
providers: [TrilhaPerformanceService, TrilhaService, TrilhaRatingService, asapCrud.AsapService],
|
|
6342
6359
|
animations: [
|
|
6343
6360
|
animations.trigger("icon", [
|
|
@@ -14261,6 +14278,7 @@
|
|
|
14261
14278
|
if (type === 'image') {
|
|
14262
14279
|
uri = url;
|
|
14263
14280
|
}
|
|
14281
|
+
console.log(["uri"], this._sanitizer);
|
|
14264
14282
|
return this._sanitizer.bypassSecurityTrustResourceUrl(uri);
|
|
14265
14283
|
};
|
|
14266
14284
|
/**
|