= 4.3.0"],main:function(e,t,o,n,a){return''},useData:!0})},69:function(e,t,o){e.exports=o.p+"fontawesome-webfont.eot"},70:function(e,t,o){e.exports=o.p+"fontawesome-webfont.eot"},71:function(e,t,o){e.exports=o.p+"fontawesome-webfont.woff2"},72:function(e,t,o){e.exports=o.p+"fontawesome-webfont.woff"},73:function(e,t,o){e.exports=o.p+"fontawesome-webfont.ttf"},74:function(e,t,o){e.exports=o.p+"fontawesome-webfont.svg"},75:function(e,t,o){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t}t.__esModule=!0;var r=a(o(44)),i=n(o(86)),l=n(o(14)),f=a(o(8)),c=a(o(87)),s=n(o(89));function d(){var e=new r.HandlebarsEnvironment;return f.extend(e,r),e.SafeString=i.default,e.Exception=l.default,e.Utils=f,e.escapeExpression=f.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var p=d();p.create=d,s.default(p),p.default=p,t.default=p,e.exports=t.default},76:function(e,t,o){"use strict";t.__esModule=!0;var n=o(8);t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,o){var a=o.inverse,r=o.fn;if(!0===t)return r(this);if(!1===t||null==t)return a(this);if(n.isArray(t))return t.length>0?(o.ids&&(o.ids=[o.name]),e.helpers.each(t,o)):a(this);if(o.data&&o.ids){var i=n.createFrame(o.data);i.contextPath=n.appendContextPath(o.data.contextPath,o.name),o={data:i}}return r(t,o)}))},e.exports=t.default},77:function(e,t,o){"use strict";(function(n){t.__esModule=!0;var a=o(8),r=function(e){return e&&e.__esModule?e:{default:e}}(o(14));t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new r.default("Must pass iterator to #each");var o=t.fn,i=t.inverse,l=0,f="",c=void 0,s=void 0;function d(t,n,r){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!r,s&&(c.contextPath=s+t)),f+=o(e[t],{data:c,blockParams:a.blockParams([e[t],t],[s+t,null])})}if(t.data&&t.ids&&(s=a.appendContextPath(t.data.contextPath,t.ids[0])+"."),a.isFunction(e)&&(e=e.call(this)),t.data&&(c=a.createFrame(t.data)),e&&"object"==typeof e)if(a.isArray(e))for(var p=e.length;l":">",'"':""","'":"'","`":"`","=":"="},a=/[&<>"'`=]/g,r=/[&<>"'`=]/;function i(e){return n[e]}function l(e){for(var t=1;t=r.LAST_COMPATIBLE_COMPILER_REVISION&&t<=r.COMPILER_REVISION)){if(t0?(pE.editorContainer.html(n()),pE.editorContainer.find("#playlist-timeline, #dropzone-container").droppable({accept:'[drop-to="region"]',drop:function(e,t){pE.playlist.addElement(e.target,t.draggable[0])}}).attr("data-type","region"),pE.editorContainer.find("#playlist-timeline, #dropzone-container").click((function(e){$.isEmptyObject(pE.toolbar.selectedCard)&&$.isEmptyObject(pE.toolbar.selectedQueue)||(e.stopPropagation(),pE.selectObject($(this)))})),pE.playlist=new s(e,t.data[0]),pE.propertiesPanel=new u(pE,pE.editorContainer.find("#playlist-properties-panel")),pE.timeline=new d(pE.editorContainer.find("#playlist-timeline")),$("#layout-manager").appendTo("#playlist-editor"),"undefined"!=typeof lD?pE.manager=lD.manager:pE.manager=new b(pE,$("#playlist-editor").find("#layout-manager"),!1),$("#playlist-editor-toolbar").appendTo("#playlist-editor"),pE.toolbar=new p(pE,$("#playlist-editor").find("#playlist-editor-toolbar"),{deleteSelectedObjectAction:pE.deleteSelectedObject},!0),pE.toolbar.parent=pE,pE.selectObject(),formHelpers.setup(pE,pE.playlist),$("body").off("keydown").keydown((function(e){$(e.target).is($("input"))||"Delete"==e.key&&pE.deleteSelectedObject()})),pE.loadAndSavePref("useLibraryDuration",0),pE.common.hideLoadingScreen()):t.login?(window.location.href=window.location.href,location.reload(!1)):pE.showErrorMessage()})).fail((function(e,t,o){console.error(e,t,o),pE.showErrorMessage()}))},window.getXiboApp=function(){return pE},pE.selectObject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).positionToAdd,n=void 0===o?null:o;if($.isEmptyObject(this.toolbar.selectedCard))if(!$.isEmptyObject(this.toolbar.selectedQueue)&&$(this.toolbar.selectedQueue).data("to-add")){if("region"==e.data("type")){var a=[];this.toolbar.selectedQueue.find(".queue-element").each((function(){a.push($(this).attr("id"))})),this.playlist.addMedia(a,n),this.toolbar.destroyQueue(this.toolbar.openedMenu)}this.toolbar.deselectCardsAndDropZones()}else{var r={},i={};if(this.selectedObject.selected&&"widget"==this.selectedObject.type&&this.playlist.widgets[this.selectedObject.id]&&(this.playlist.widgets[this.selectedObject.id].selected=!1),null==e||void 0===e.data("type"))if($.isEmptyObject(pE.playlist.widgets)||t)this.selectedObject={};else{var l=Object.keys(this.playlist.widgets)[0];this.playlist.widgets[l].selected=!0,this.selectedObject.type="widget",this.selectedObject=this.playlist.widgets[l]}else r=e.attr("id"),"widget"===(i=e.data("type"))&&(this.playlist.widgets[r].selected=!0,this.selectedObject=this.playlist.widgets[r]),this.selectedObject.type=i;this.refreshDesigner()}else if(-1!==[e.data("type"),"all"].indexOf($(this.toolbar.selectedCard).attr("drop-to"))){var f=this.toolbar.selectedCard[0];this.toolbar.deselectCardsAndDropZones(),this.dropItemAdd(e,f,{positionToAdd:n})}},pE.dropItemAdd=function(e,t){var o=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).positionToAdd,n=void 0===o?null:o;this.playlist.addElement(e,t,n)},pE.undoLastAction=function(){pE.common.showLoadingScreen(),pE.manager.revertChange().then((function(e){pE.common.hideLoadingScreen(),toastr.success(e.message),e.localRevert?pE.refreshDesigner():pE.reloadData()})).catch((function(e){pE.common.hideLoadingScreen();var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.revertFailed.replace("%error%",t))}))},pE.deleteSelectedObject=function(){if(pE.editorContainer.hasClass("multi-select")){var e=[];pE.timeline.DOMObject.find(".playlist-widget.multi-selected").each((function(){e.push($(this).data("widgetId"))})),pE.deleteMultipleObjects("widget",e)}else pE.deleteObject(pE.selectedObject.type,pE.selectedObject[pE.selectedObject.type+"Id"])},pE.deleteObject=function(e,t){var o=function(e,t){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];bootbox.hideAll();var a=f({mainMessage:deleteMenuTrans.mainMessage.replace("%obj%",e),hasMedia:o,showDeleteFromLibrary:n,trans:deleteMenuTrans});bootbox.dialog({title:editorsTrans.deleteTitle.replace("%obj%",e),message:a,buttons:{cancel:{label:editorsTrans.no,className:"btn-default"},confirm:{label:editorsTrans.yes,className:"btn-danger",callback:function(){var o=null;$(this).find("input#deleteMedia").is(":checked")&&(o={deleteMedia:1}),pE.common.showLoadingScreen("deleteObject"),pE.playlist.deleteElement(e,t,o).then((function(e){pE.common.hideLoadingScreen("deleteObject"),toastr.success(e.message),pE.reloadData()})).catch((function(e){pE.common.hideLoadingScreen("deleteObject");var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.deleteFailed.replace("%error%",t))}))}}}}).attr("data-test","deleteObjectModal")};if("widget"===e){var n=pE.getElementByTypeAndId("widget","widget_"+t);if(n.isRegionSpecific())o(e,t);else{pE.common.showLoadingScreen("checkMediaIsUsed");var a=urlsForApi.media.isUsed.url.replace(":id",n.mediaIds[0]);$.get(a+"?count=1").done((function(n){n.success?o(e,t,!0,!n.data.isUsed):n.login?(window.location.href=window.location.href,location.reload(!1)):toastr.error(n.message),pE.common.hideLoadingScreen("checkMediaIsUsed")})).fail((function(e,t,o){pE.common.hideLoadingScreen("checkMediaIsUsed"),console.error(e,t,o)}))}}},pE.deleteMultipleObjects=function(e,t){var o=function(e){bootbox.hideAll();var t=c({mainMessage:deleteMenuTrans.deleteMultipleObjects,objectArray:e,trans:deleteMenuTrans}),o={cancel:{label:editorsTrans.no,className:"btn-default"}};$(t).find('input[type="checkbox"]').length>1&&(o.selectAll={label:editorsTrans.selectAll,className:"btn-warning",callback:function(){return $(this).find('input[type="checkbox"]').prop("checked",!0),!1}}),o.confirm={label:editorsTrans.yes,className:"btn-danger",callback:function(){var e=$(this).find(".multi-delete-element"),t=0,o=0;return pE.common.showLoadingScreen("deleteObjects"),pE.toolbar.toggleMultiselectMode(!1),function n(){var a=$(e[o]),r=null,i=a.data("id"),l=a.data("type");a.find("input.deleteMedia").is(":checked")&&(r={deleteMedia:1}),pE.playlist.deleteElement(l,i,r).then((function(a){toastr.success(a.message),++t==e.length?(pE.common.hideLoadingScreen("deleteObjects"),pE.reloadData(),bootbox.hideAll()):(o++,n())})).catch((function(e){pE.common.hideLoadingScreen("deleteObjects");var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.deleteFailed.replace("%error%",t)),pE.reloadData(),bootbox.hideAll()}))}(),!1}},bootbox.dialog({title:editorsTrans.deleteMultipleTitle,message:t,buttons:o}).attr("data-test","deleteObjectModal")};if("widget"===e){pE.common.showLoadingScreen("checkMediaIsUsed");var n=[],a=0;!function e(){var r=t[a],i=pE.getElementByTypeAndId("widget","widget_"+r),l=urlsForApi.media.isUsed.url.replace(":id",i.mediaIds[0]);i.isRegionSpecific()?(n.push({objectId:r,objectType:"widget",objectName:i.widgetName,hasMedia:!1,dataUsed:!1}),n.length==t.length?(o(n),pE.common.hideLoadingScreen("checkMediaIsUsed")):(a++,e())):$.get(l+"?count=1").done((function(l){l.success?(n.push({objectId:r,objectType:"widget",objectName:i.widgetName,hasMedia:!0,dataUsed:l.data.isUsed}),n.length==t.length?(o(n),pE.common.hideLoadingScreen("checkMediaIsUsed")):(a++,e())):l.login?(window.location.href=window.location.href,location.reload(!1)):toastr.error(l.message)})).fail((function(e,t,o){pE.common.hideLoadingScreen("checkMediaIsUsed"),console.error(e,t,o)}))}()}},pE.refreshDesigner=function(){this.clearTemporaryData(),this.renderContainer(this.toolbar),this.renderContainer(this.manager),-1!=this.toolbar.openedMenu&&this.toolbar.openMenu(this.toolbar.openedMenu,!0),$.isEmptyObject(pE.playlist.widgets)?(this.editorContainer.find("#dropzone-container").html(i()),this.editorContainer.find("#editing-container").hide(),this.editorContainer.find("#dropzone-container").show(),-1==this.toolbar.openedMenu&&this.toolbar.openMenu(2,!0)):(this.renderContainer(this.timeline),void 0===this.playlist.widgets[this.selectedObject.id]||this.playlist.widgets[this.selectedObject.id].selected?void 0===this.playlist.widgets[this.selectedObject.id]?this.selectObject():this.renderContainer(this.propertiesPanel,this.selectedObject):this.selectObject(this.timeline.DOMObject.find("#"+this.selectedObject.id)),this.editorContainer.find("#editing-container").show(),this.editorContainer.find("#dropzone-container").hide())},pE.renderContainer=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};jQuery.isEmptyObject(e)||(jQuery.isEmptyObject(t)?e.render():e.render(t))},pE.reloadData=function(){pE.common.showLoadingScreen(),$.get(urlsForApi.playlist.get.url+"?playlistId="+pE.playlist.playlistId+"&embed=widgets,widget_validity,tags,permissions"+pE.regionSpecificQuery).done((function(e){pE.common.hideLoadingScreen(),null!=e.data&&e.data.length>0?(pE.playlist=new s(pE.playlist.playlistId,e.data[0]),pE.refreshDesigner()):e.login?(window.location.href=window.location.href,location.reload(!1)):pE.showErrorMessage(),formHelpers.setup(pE,pE.playlist)})).fail((function(e,t,o){pE.common.hideLoadingScreen(),console.error(e,t,o),pE.showErrorMessage()}))},pE.showErrorMessage=function(){var e=a({messageType:"danger",messageTitle:errorMessagesTrans.error,messageDescription:errorMessagesTrans.loadingPlaylist});pE.editorContainer.html(e)},pE.saveOrder=function(){var e=this;pE.common.showLoadingScreen("saveOrder"),this.playlist.saveOrder(this.editorContainer.find("#timeline-container").find(".playlist-widget")).then((function(t){pE.common.hideLoadingScreen("saveOrder"),toastr.success(t.message),e.reloadData()})).catch((function(e){pE.common.hideLoadingScreen("saveOrder");var t;t="string"==typeof e?e:e.errorThrown,toastr.error(errorMessagesTrans.saveOrderFailed.replace("%error%",t))}))},pE.close=function(){var e=function(e){for(var t in e)e.hasOwnProperty(t)&&delete e[t]};this.mainObjectId="",e(this.playlist),e(this.editorContainer),e(this.timeline),e(this.propertiesPanel),e(this.selectedObject),e(this.toolbar),$(window).off(".toolbar-"+this.mainObjectType),this.playlist=this.editorContainer=this.timeline=this.propertiesPanel=this.manager=this.selectedObject=this.toolbar={},toastr.options.positionClass=this.toastrPosition,$("#editor-container").empty()},pE.showLocalLoadingScreen=function(){$.isEmptyObject(pE.playlist.widgets)?pE.editorContainer.find("#dropzone-container").html(r()):pE.editorContainer.find("#playlist-timeline").html(r())},pE.clearTemporaryData=function(){pE.editorContainer.find(".colorpicker-element").colorpicker("destroy"),pE.editorContainer.find(".tooltip").remove(),formHelpers.destroyCKEditor()},pE.getElementByTypeAndId=function(e,t){var o={};return"playlist"===e?o=pE.playlist:"widget"===e&&(o=pE.playlist.widgets[t]),o},pE.openUploadForm=function(e,t){var o=Handlebars.compile($("#template-file-upload").html());bootbox.dialog({className:"second-dialog",message:o(e),title:uploadTrans.uploadMessage,buttons:t,animate:!1,updateInAllChecked:uploadFormUpdateAllDefault,deleteOldRevisionsChecked:uploadFormDeleteOldDefault}),this.openUploadFormModelShown($(".second-dialog .modal-body").find("form"))},pE.openUploadFormModelShown=function(e){var t=libraryAddUrl;e.fileupload({url:t,disableImageResize:!0}),$.support.cors&&$.ajax({url:t,type:"HEAD"}).fail((function(){$('').text("Upload server currently unavailable - "+new Date).appendTo(e)})),e.fileupload("option","redirect",window.location.href.replace(/\/[^\/]*$/,"/cors/result.html?%s")),e.bind("fileuploadsubmit",(function(t,o){var n=o.context.find(":input");if(n.filter('[required][value=""]').first().focus().length)return!1;o.formData=n.serializeArray().concat(e.serializeArray()),n.filter("input").prop("disabled",!0)})).bind("fileuploadstart",(function(t,o){e.find(".fileupload-progress .progress-extended").show(),e.find(".fileupload-progress .progress-end").hide()})).bind("fileuploadprogressall",(function(t,o){o.total>0&&o.loaded==o.total&&(e.find(".fileupload-progress .progress-extended").hide(),e.find(".fileupload-progress .progress-end").show())})).bind("fileuploadadded fileuploadcompleted fileuploadfinished",(function(t,o){var n=e.find("tr.template-upload").length,a=e.parents(".modal:first").find('button[data-bb-handler="main"]');0==n?a.removeAttr("disabled"):a.attr("disabled","disabled")}))},pE.openContextMenu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{x:0,y:0},o=$(e).attr("id"),n=$(e).data("type"),a=pE.getElementByTypeAndId(n,o);pE.editorContainer.append(l(Object.assign(a,{trans:contextMenuTrans})));var r=pE.editorContainer.find(".context-menu").outerWidth(),i=pE.editorContainer.find(".context-menu").outerHeight(),f=t.x+r>$(window).width()?t.x-r:t.x,c=t.y+i>$(window).height()?t.y-i:t.y;pE.editorContainer.find(".context-menu").offset({top:c,left:f}),pE.editorContainer.find(".context-menu-overlay").click((function(e){$(e.target).hasClass("context-menu-overlay")&&pE.editorContainer.find(".context-menu-overlay").remove()})),pE.editorContainer.find(".context-menu .context-menu-btn").click((function(e){var t=$(e.currentTarget);"Delete"==t.data("action")?pE.deleteObject(n,a[n+"Id"]):a.editPropertyForm(t.data("property"),t.data("propertyType")),pE.editorContainer.find(".context-menu-overlay").remove()}))},pE.loadAndSavePref=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=urlsForApi.user.getPref;$.ajax({url:o.url+"?preference="+e,type:o.type}).done((function(o){o.success?o.data.option==e?pE[e]=o.data.value:pE[e]=t:o.login?(window.location.href=window.location.href,location.reload(!1)):null==o.message?console.error(o):console.error(o.message)})).catch((function(e,t,o){console.error(e,t,o),toastr.error(errorMessagesTrans.userLoadPreferencesFailed)}))}},897:function(e,t,o){var n=o(3);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){return'\n\n\n
\n\n\n
\n\n\n\n\n\n\n\n'},useData:!0})},898:function(e,t,o){var n=o(3);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){return'\n Drop widgets here to add to playlist.\n
'},useData:!0})},899:function(e,t,o){var n=o(3);e.exports=(n.default||n).template({1:function(e,t,o,n,a,r,i){var l,f,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,d=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n'+(null!=(l=p(o,"if").call(c,null!=t?p(t,"hasMedia"):t,{name:"if",hash:{},fn:e.program(2,a,0,r,i),inverse:e.program(7,a,0,r,i),data:a,loc:{start:{line:8,column:12},end:{line:30,column:19}}}))?l:"")+"
\n"},2:function(e,t,o,n,a,r,i){var l,f,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,d=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n ['+d("function"==typeof(f=null!=(f=p(o,"objectId")||(null!=t?p(t,"objectId"):t))?f:s)?f.call(c,{name:"objectId",hash:{},data:a,loc:{start:{line:10,column:21},end:{line:10,column:33}}}):f)+"] "+d("function"==typeof(f=null!=(f=p(o,"objectName")||(null!=t?p(t,"objectName"):t))?f:s)?f.call(c,{name:"objectName",hash:{},data:a,loc:{start:{line:10,column:35},end:{line:10,column:49}}}):f)+":\n
\n\n"+(null!=(l=p(o,"unless").call(c,null!=t?p(t,"dataUsed"):t,{name:"unless",hash:{},fn:e.program(3,a,0,r,i),inverse:e.program(5,a,0,r,i),data:a,loc:{start:{line:13,column:16},end:{line:27,column:27}}}))?l:"")},3:function(e,t,o,n,a,r,i){var l,f,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,d=e.escapeExpression,p=e.lambda,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n
\n \n
\n
'+d(p(null!=(l=null!=i[1]?u(i[1],"trans"):i[1])?u(l,"deleteMediaFromLibraryMessage"):l,t))+"\n
\n"},5:function(e,t,o,n,a,r,i){var l,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' \n '+e.escapeExpression(e.lambda(null!=(l=null!=i[1]?f(i[1],"trans"):i[1])?f(l,"infoDeleteMessage"):l,t))+"\n
\n"},7:function(e,t,o,n,a){return"\n"},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a,r,i){var l,f,c=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'\n
\n
'+e.escapeExpression("function"==typeof(f=null!=(f=s(o,"mainMessage")||(null!=t?s(t,"mainMessage"):t))?f:e.hooks.helperMissing)?f.call(c,{name:"mainMessage",hash:{},data:a,loc:{start:{line:3,column:11},end:{line:3,column:28}}}):f)+"
\n
\n \n"+(null!=(l=s(o,"each").call(c,null!=t?s(t,"objectArray"):t,{name:"each",hash:{},fn:e.program(1,a,0,r,i),inverse:e.noop,data:a,loc:{start:{line:6,column:4},end:{line:32,column:13}}}))?l:"")+"
"},useData:!0,useDepths:!0})},900:function(e,t,o){var n=o(138),a=function(e,t){this.name=t.name,this.playlistId=e,this.isEmpty=!0,this.widgets={},this.duration=null,this.createDataStructure(t),this.calculateTimeValues()};a.prototype.createDataStructure=function(e){var t=0,o=e.widgets;for(var a in o){var r=new n(o[a].widgetId,o[a]);"image"==r.subType&&(r.previewTemplate='\n
\n'},compiler:[8,">= 4.3.0"],main:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n Timeline\n \n \n
\n\n
\n'+(null!=(r=l(o,"each").call(i,null!=t?l(t,"widgets"):t,{name:"each",hash:{},fn:e.program(1,a,0),inverse:e.noop,data:a,loc:{start:{line:8,column:4},end:{line:10,column:13}}}))?r:"")+'\n
\n'+(null!=(r=l(o,"each").call(i,null!=t?l(t,"widgets"):t,{name:"each",hash:{},fn:e.program(3,a,0),inverse:e.noop,data:a,loc:{start:{line:13,column:8},end:{line:17,column:17}}}))?r:"")+"
\n
\n\n"},usePartial:!0,useData:!0})},903:function(e,t,o){var n=o(3);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(n.default||n).template({1:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return' data-toggle="tooltip" \n data-template=\''+f("function"==typeof(r=null!=(r=c(o,"previewTemplate")||(null!=t?c(t,"previewTemplate"):t))?r:l)?r.call(i,{name:"previewTemplate",hash:{},data:a,loc:{start:{line:7,column:23},end:{line:7,column:44}}}):r)+'\'\n data-placement="right"\n data-container="#playlist-editor"\n data-title="'+f("function"==typeof(r=null!=(r=c(o,"widgetName")||(null!=t?c(t,"widgetName"):t))?r:l)?r.call(i,{name:"widgetName",hash:{},data:a,loc:{start:{line:10,column:20},end:{line:10,column:34}}}):r)+'"\n'},3:function(e,t,o,n,a){return"invalid-widget"},5:function(e,t,o,n,a){return"selected"},7:function(e,t,o,n,a){return"editable"},9:function(e,t,o,n,a){return"permissionsModifiable"},11:function(e,t,o,n,a){return"deletable"},13:function(e,t,o,n,a){return'
\n'},15:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n'},17:function(e,t,o,n,a){var r,i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,f=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var l,f,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,d="function",p=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n \n
\n\n
\n '+p(typeof(f=null!=(f=u(n,"widgetName")||(null!=t?u(t,"widgetName"):t))?f:s)===d?f.call(c,{name:"widgetName",hash:{},data:i,loc:{start:{line:24,column:8},end:{line:24,column:22}}}):f)+'\n
\n\n
\n'+(null!=(l=u(n,"if").call(c,null!=t?u(t,"audio"):t,{name:"if",hash:{},fn:e.program(13,i,0),inverse:e.noop,data:i,loc:{start:{line:28,column:8},end:{line:30,column:15}}}))?l:"")+"\n"+(null!=(l=u(n,"each").call(c,null!=t?u(t,"transitions"):t,{name:"each",hash:{},fn:e.program(15,i,0),inverse:e.noop,data:i,loc:{start:{line:32,column:8},end:{line:34,column:17}}}))?l:"")+"\n"+(null!=(l=a(o(139)).call(c,null!=t?u(t,"expireStatus"):t,0,{name:"gt",hash:{},fn:e.program(17,i,0),inverse:e.noop,data:i,loc:{start:{line:36,column:8},end:{line:39,column:15}}}))?l:"")+"
\n
\n\n\n"},useData:!0})},904:function(e,t,o){var n=o(905);"string"==typeof n&&(n=[[e.i,n,""]]),o(5)(n,{})},905:function(e,t,o){(e.exports=o(4)(!1)).push([e.i,".editor-modal{display:block;z-index:1011;overflow:auto;background:#333;background:rgba(51,51,51,0.6)}.editor-modal .editor-modal-dialog{margin-top:20px;width:85vw}.editor-modal .editor-modal-content{background:#f3f3f3;margin-bottom:60px}.editor-modal .editor-modal-body{padding:15px 0 0 0}.editor-modal .editor-modal-title{line-height:1;font-weight:bold;color:#333}.editor-modal .editor-modal-header .editor-modal-close i{padding-left:8px;color:#e64c4c}.bootbox .modal-dialog{width:80% !important}.second-dialog{z-index:3100}.second-dialog+.in.modal-backdrop{z-index:3000}.second-dialog ~ .select2-container.select2-container--open{z-index:3200}.playlist-widget-preview{z-index:1011}.playlist-widget-preview.tooltip.right .tooltip-arrow{border-right-color:#337ab7}.playlist-widget-preview .tooltip-inner-image{min-height:50px;padding:4px;background-color:#337ab7;border-radius:4px}.playlist-widget-preview .tooltip-inner-image img{height:60px;max-width:200px}.multi-delete-modal .multi-delete-element>div{overflow:hidden}.multi-delete-modal .multi-delete-element .checkbox,.multi-delete-modal .multi-delete-element .help-block{margin:0}#playlist-editor .editor-toolbar nav{margin-left:0 !important;padding-left:0}#playlist-editor #playlist-timeline{background:#f3f3f3;border-radius:4px;border:2px solid #30426a;margin-bottom:10px}#playlist-editor #playlist-timeline #timeline-container{padding:5px;height:65vh;overflow:auto;position:relative}@media (max-width: 992px){#playlist-editor #playlist-timeline #timeline-container{height:auto}}#playlist-editor #playlist-timeline #timeline-overlay-container{display:none;padding:0;position:absolute !important;width:100%;min-height:100%;top:0;left:0;opacity:0.6}#playlist-editor #playlist-timeline #timeline-overlay-container .timeline-overlay-step{height:14px;background:#dadada;margin-top:-5px;margin-bottom:5px}#playlist-editor #playlist-timeline #timeline-overlay-container .timeline-overlay-step:hover,#playlist-editor #playlist-timeline #timeline-overlay-container .timeline-overlay-step.ui-droppable-hover{background:#fff;box-shadow:0px 0px 3px 1px #f3f3f3 !important}#playlist-editor #playlist-timeline #timeline-overlay-container .timeline-overlay-dummy{height:32px}#playlist-editor #playlist-timeline #timeline-overlay-container :nth-child(1){height:12px;margin:0}#playlist-editor #playlist-timeline #timeline-overlay-container :nth-child(2){height:35px}#playlist-editor #playlist-timeline.ui-droppable-active #timeline-overlay-container{display:block;z-index:1013 !important;position:relative;background:repeating-linear-gradient(45deg, #30426a, #30426a 10px, #506eb0 10px, #506eb0 14px) !important}#playlist-editor #playlist-timeline.ui-droppable-active.ui-droppable-hover #timeline-overlay-container,#playlist-editor #playlist-timeline.ui-droppable-active:hover #timeline-overlay-container{display:block;background:repeating-linear-gradient(45deg, #40588d, #40588d 10px, #96a8d0 10px, #96a8d0 14px) !important}#playlist-editor .playlist-timeline-container{z-index:auto}#playlist-editor.multi-select .playlist-timeline-container{z-index:1013}#playlist-editor #playlist-properties-panel{background:#f3f3f3;padding:0;border-radius:4px;border:2px solid #9fda5d}#playlist-editor #playlist-properties-panel .form-container form{padding-top:10px}#playlist-editor #playlist-properties-panel .select2-container{width:auto !important}#playlist-editor #playlist-properties-panel .layout-designer-message{display:none}#playlist-editor #properties-panel-container .button-container{padding:5px;bottom:0;width:100%}#playlist-editor #dropzone-container{padding:10px}#playlist-editor #dropzone-container .loading-container{padding:200px;font-size:100px}#playlist-editor #dropzone-container .dropzone{font-size:30px;border:2px dashed #337ab7;border-radius:4px;min-height:590px;padding:270px 0}#playlist-editor #dropzone-container.ui-droppable-active{z-index:1013 !important;position:relative;background:repeating-linear-gradient(45deg, #a7a7a7, #a7a7a7 10px, #8d8d8d 10px, #8d8d8d 14px) !important}#playlist-editor #dropzone-container.ui-droppable-active.ui-droppable-hover,#playlist-editor #dropzone-container.ui-droppable-active:hover{background:repeating-linear-gradient(45deg, #dadada, #dadada 10px, silver 10px, silver 14px) !important}#playlist-editor .custom-overlay{z-index:1012}#playlist-editor .form-title{text-align:center;font-weight:bold;font-size:1.2em;color:#f3f3f3;background:#273759;border-width:0 0 4px 0;border-style:solid;height:30px}#playlist-editor .form-title.unsuccessMessage{margin:20px 0;background-color:#e64c4c}#playlist-editor .form-title.form-title-widget{border-color:#f3f3f3}#playlist-editor .playlist-widget{background:#f3f3f3;color:#333;font-weight:bold;height:42px;width:100%;border-radius:4px;border:1px solid #888;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 4px}#playlist-editor .playlist-widget:not(.editable){box-shadow:inset 0 0 4px 2px #888 !important}#playlist-editor .playlist-widget.selectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#playlist-editor .playlist-widget.selected{background:#9fda5d !important}#playlist-editor .playlist-widget.selectable:hover{background:#d0edb0 !important}#playlist-editor .playlist-widget.ui-droppable-active{z-index:1013 !important;position:relative;background:repeating-linear-gradient(45deg, #86d133, #86d133 10px, #6caa27 10px, #6caa27 14px) !important}#playlist-editor .playlist-widget.ui-droppable-active.ui-droppable-hover,#playlist-editor .playlist-widget.ui-droppable-active:hover{background:repeating-linear-gradient(45deg, #52811d, #52811d 10px, #375714 10px, #375714 14px) !important}#playlist-editor .playlist-widget.ui-droppable-active *{visibility:hidden}#playlist-editor .playlist-widget i.editProperty{float:right;cursor:pointer;padding:2px;color:#333}#playlist-editor .playlist-widget .widgetLabel{color:#f3f3f3;width:25px;height:100%;text-align:center;float:left}#playlist-editor .playlist-widget .widgetLabel .widgetDuration{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 2px}#playlist-editor .playlist-widget .widgetName{font-style:italic;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:90%;padding-left:4px}#playlist-editor .playlist-widget .widgetProperties{float:right}#playlist-editor .playlist-widget i.editProperty:hover{color:#666}#playlist-editor .playlist-widget.invalid-widget{box-shadow:inset 0px 0px 10px 3px #e64c4c !important}#playlist-editor.multi-select .playlist-widget:hover{background:#bb72e1 !important}#playlist-editor.multi-select .playlist-widget.multi-selected{background:#8f2ac3 !important}#playlist-editor .ui-droppable-active{box-shadow:inset 0 0 20px #f3f3f3 !important}#playlist-editor .ui-droppable-hover{box-shadow:inset 0 0 10px #333 !important}\n",""])}});