芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/giga.mgaplay.com.br/web/dist/systemTools.bundle.min.js
(function(){var __webpack_modules__={99582:function(module,__unused_webpack_exports,__webpack_require__){var templates={dataSetOrderClauseTemplate:__webpack_require__(56290),dataSetFilterClauseTemplate:__webpack_require__(27730),subPlaylistFormTemplate:__webpack_require__(26877),twittermetroColorsTemplate:__webpack_require__(64670),chartColorsTemplate:__webpack_require__(26726),chartGraphConfigTemplate:__webpack_require__(71977),worldClockTemplate:__webpack_require__(68026),menuProductOptions:__webpack_require__(12746)},formHelpers=function formHelpers(){this.defaultBackgroundColor="#eee",this.defaultRegionDimensions={width:800,height:600,scale:1},this.setup=function(e,t){this.namespace=e,this.mainObject=t},this.setupCheckboxInputFields=function(e,t,n,l,a){var o=$(e).find(t),i=$(e).find(n),r=$(e).find(l),s=a||"",c=function(){0==o.is(":checked")?(i.css("display","none"),r.css("display",s)):1==o.is(":checked")&&(i.css("display",s),r.css("display","none"))};c(),o.on("change",c)},this.setupObjectValueInputFields=function(e,t,n){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,i=arguments.length>6?arguments[6]:void 0,r=i||"",s=a?"none":r,c=a?r:"none",u=$(e).find(t),d=function(){for(var t=u.val(),a=0;a
',l+="
"+t+"
",l+="
",$(e).append(l)}},this.requestTab=function(e,t){$.ajax({type:"get",url:t,cache:!1,data:"tab="+e,success:function(t,n,l){$(".tab-content #"+e).html(t.html),$('.nav-tabs a[href="#'+e+'"]').tab("show")}})},this.setupDualTypeTextArea=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=this,o=$("#"+t+"_advanced",e),i=function(e,t){n?($(e).data().viewerObject.setupInlineEditor(t,o.is(":checked")),o.is(":checked")||a.setupTextArea(e,t,l)):void 0===o||o.is(":checked")?(e.find("."+t+"-advanced-editor-show").show(),e.find("."+t+"-advanced-editor-hide").hide(),a.setupCKEditor(e,null,t,!1,l),e.find("#properties-panel-container").addClass("form-editor-enabled")):(e.find("."+t+"-advanced-editor-show").hide(),e.find("."+t+"-advanced-editor-hide").show(),a.destroyCKEditor(t),a.setupFormDimensionControls(e,!1,t),a.setupTextArea(e,t,l),e.find("#properties-panel-container").removeClass("form-editor-enabled"))};o.bootstrapSwitch().on("switchChange.bootstrapSwitch",(function(n,l){i(e,t)})),i(e,t)},this.setupTextArea=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,l=$('.ckeditor_snippets_select[data-linked-to="'+t+'"]',e),a=$('.ckeditor_library_select[data-linked-to="'+t+'"]',e);if(l.length>0&&this.setupSnippetsSelector(l,(function(t){var n=l.data().linkedTo,a=$("#"+n,e),o=t.params.data.element.value;if(a.length>0&&void 0!==o){var i="["+o+"]",r=a[0].selectionStart,s=a.val();$("#"+n,e).val(s.substring(0,r)+i+s.substring(r))}})),a.length>0&&this.setupMediaSelector(a,(function(t){var n=a.data().linkedTo,l=t.params.data.id,o=$("#"+n,e);if(o.length>0&&void 0!==l){var i='
',r=o[0].selectionStart,s=o.val();$("#"+n,e).val(s.substring(0,r)+i+s.substring(r))}})),""==$("#"+t,e).val()){var o=null!=this.mainObject&&void 0!==this.mainObject.backgroundColor&&null!=this.mainObject.backgroundColor?this.mainObject.backgroundColor:this.defaultBackgroundColor,i=$c.complement(o),r="";r="noDataMessage"===t?translations.noDataMessage:null!==n?n:translations.enterText,$("#"+t,e).val('
'+r+"
")}},this.setupSnippetsSelector=function(e,t){e.select2().off().on("select2:select",(function(e){t(e),$(this).val("").trigger("change")}))},this.setupMediaSelector=function(e,t){e.select2({ajax:{url:e.data().searchUrl,dataType:"json",data:function(e){var t=e.term,n="";if(null!=e.term){var l=e.term.match(/\[([^}]+)\]/);null!=l&&(n=l[1],t=e.term.replace(l[0],"")),t=t.replace(" ",""),n=n.replace(" ","")}var a={media:t,tags:n,type:"image",retired:0,assignable:1,start:0,length:10};return null!=e.page&&(a.start=10*(e.page-1)),void 0!==e.term&&(localStorage.liveSearchPlaceholder=e.term),a},processResults:function(t,n){var l=[];$.each(t.data,(function(t,n){l.push({id:n.mediaId,text:n.name,imageUrl:e.data().imageUrl.replace(":id",n.mediaId),disabled:!1})}));var a=n.page||1;return{results:l,pagination:{more:10*(a=a>1?a-1:a)
3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],r=this;null==t&&$(e).data().extra;var s=null!=this.mainObject&&void 0!==this.mainObject.backgroundColor&&null!=this.mainObject.backgroundColor?this.mainObject.backgroundColor:this.defaultBackgroundColor,c=$c.complement(s),u=a&&null!=this.mainObject.backgroundImage&&null!=this.mainObject.backgroundImage,d={};if(null==this.namespace)null!=e.find("form").data("regionWidth")&&null!=e.find("form").data("regionHeight")?d.dimensions={width:e.find("form").data("regionWidth"),height:e.find("form").data("regionHeight")}:d={};else if(null!=this.namespace.mainRegion)d=this.namespace.mainRegion;else if("widget"==this.namespace.selectedObject.type){var p=this.namespace.selectedObject;d=p.drawerWidget?null!=p.targetRegionId&&null!=this.namespace.layout.regions["region_"+p.targetRegionId]?this.namespace.layout.regions["region_"+p.targetRegionId]:this.namespace.getElementByTypeAndId("drawer"):this.namespace.getElementByTypeAndId("region",p.regionId)}else"region"==this.namespace.selectedObject.type&&(d=this.namespace.getElementByTypeAndId("region",this.namespace.selectedObject.id));var f=null,m=1,h=10,g=2;if(void 0===d.dimensions){if(f=this.defaultRegionDimensions,this.setupFormDimensionControls(e,!0),["width","height"].forEach((function(t){$.isNumeric($(e).find(".text_editor_"+t).val())?f[t]=parseFloat($(e).find(".text_editor_"+t).val()):$(e).find(".text_editor_"+t).val(f[t]),$(e).find(".text_editor_"+t).focusout((function(){$(e).find(".text_editor_"+t).val()!=f[t]&&l.restartCKEditors(e)}))})),$(e).find(".text_editor_scale").off().change((function(){l.restartCKEditors(e)})),$(e).find(".text_editor_scale").is(":checked")){var v=$(e).find("form").innerWidth()-32-2*(g+h),b=f.width;m=v/b}}else f=d.dimensions,null!=this.namespace&&null!=this.namespace.viewer&&(m=this.namespace.viewer.DOMObject.find(".viewer-element").width()/f.width);var y=function(e){if(a){$(".cke_textarea_inline").css("width",f.width),$(".cke_textarea_inline").css("height",f.height),u||$(".cke_textarea_inline").css("background",s);var t=g/m+"px";$(".cke_textarea_inline").css("transform","scale("+m+")"),$(".cke_textarea_inline").css("transform-origin","0 0"),$(".cke_textarea_inline").css("word-wrap","inherit"),$(".cke_textarea_inline").css("overflow","hidden"),$(".cke_textarea_inline").css("line-height","normal"),$(".cke_textarea_inline").css("-moz-box-shadow","inset 0 0 "+t+" "+t+" red"),$(".cke_textarea_inline").css("-webkit-box-shadow","inset 0 0 "+t+" "+t+" red"),$(".cke_textarea_inline").css("box-shadow","inset 0 0 "+t+" "+t+" red"),$(".cke_textarea_inline p").css("margin","0 0 16px"),$(".cke_textarea_inline").show()}else $("#cke_"+e+" iframe").contents().find("head").append("")},_=f.height*m+2*h;CKEDITOR.config.height=_>500?500:_,a?(CKEDITOR.inline(n,CKEDITOR_DEFAULT_CONFIG),r.namespace.enableInlineModeEditing&&r.namespace.enableInlineModeEditing()):CKEDITOR.replace(n,CKEDITOR_DEFAULT_CONFIG),CKEDITOR.instances[n].on("instanceReady",(function(){if(void 0!==CKEDITOR.instances[n]){y(n),CKEDITOR.instances[n].on("contentDom",(function(){y(n)}));var e=$("#"+n).val();if(null!=e&&(e=e.replace(/#Color#/g,c)),""==e){var t;t="noDataMessage"===n?translations.noDataMessage:null!==o?o:translations.enterText,e='
'+t+"
"}e=r.convertLibraryReferences(e),CKEDITOR.instances[n].setData(e),i&&CKEDITOR.instances[n].focus()}}));var w=$('.ckeditor_snippets_select[data-linked-to="'+n+'"]',e);w.length>0&&this.setupSnippetsSelector(w,(function(e){var t=w.data().linkedTo,n=e.params.data.element.value;if(null!=CKEDITOR.instances[t]&&void 0!==n){var l="["+n+"]";CKEDITOR.instances[t].insertText(l)}}));var x=$('.ckeditor_library_select[data-linked-to="'+n+'"]',e);return x.length>0&&this.setupMediaSelector(x,(function(e){var t=x.data().linkedTo,n=e.params.data.imageUrl;void 0!==n&&""!==n&&null!=t&&null!=CKEDITOR.instances[t]&&CKEDITOR.instances[t].insertHtml('
')})),!1},this.restartCKEditors=function(e){var t=this;$.each(CKEDITOR.instances,(function(n,l){CKEDITOR.instances[n].destroy(),t.setupCKEditor(e,null,n)}))},this.updateCKEditor=function(e){var t=this;try{null!=e&&null!=CKEDITOR.instances[e]?t.parseCKEditorData(e):$.each(CKEDITOR.instances,(function(e,n){t.parseCKEditorData(e)}))}catch(e){console.warn("Unable to update CKEditor instances. "+e)}},this.destroyCKEditor=function(e){try{void 0===e?$.each(CKEDITOR.instances,(function(e,t){CKEDITOR.instances[e].destroy()})):null!=CKEDITOR.instances[e]?this.parseCKEditorData(e,CKEDITOR.instances[e].destroy):console.warn("CKEditor instance does not exist.")}catch(e){console.warn("Unable to remove CKEditor instance. "+e),CKEDITOR.instances={}}},this.parseCKEditorData=function(e,t){if(void 0!==CKEDITOR.instances[e]){var n=new RegExp(CKEDITOR_DEFAULT_CONFIG.imageDownloadUrl.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").replace(":id","([0-9]+)"),"g"),l=CKEDITOR.instances[e].getData();l=l.replace(n,(function(e,t){return"["+t+"]"})),$("textarea#"+e).val(l),void 0!==t?CKEDITOR.instances[e].setData(l,t):CKEDITOR.instances[e].setData(l)}},this.mediaEditFormOpen=function(e){var t=this;if(1==e.find("form").data().mediaEditable){var n=e.find(".button-container"),l=e.find("form").data().mediaId,a=e.find("form").data().widgetId,o=e.find("form").data().validExtensions,i=$('
').html(playlistAddFilesTrans.uploadMessage);i.click((function(e){e.preventDefault(),openUploadForm({url:libraryAddUrl,title:uploadTrans.uploadMessage,animateDialog:!1,initialisedBy:"library-upload",className:t.namespace.getUploadDialogClassName(),templateOptions:{multi:!1,oldMediaId:l,widgetId:a,updateInAllChecked:uploadFormUpdateAllDefault,trans:playlistAddFilesTrans,upload:{maxSize:$(this).data().maxSize,maxSizeMessage:$(this).data().maxSizeMessage,validExtensionsMessage:translations.validExtensions.replace("%s",o).replace(/\|/g,", "),validExt:o},showWidgetDates:!1,folderSelector:!0},buttons:{main:{label:translations.done,className:"btn-primary btn-bb-main",callback:function(){"function"==typeof t.namespace.timeline.resetZoom&&t.namespace.timeline.resetZoom(),t.namespace.reloadData(t.mainObject)}}}})})),n.find("button:last").before(i)}},this.configureQueryBuilder=function(e,t){var n=$("#orderClause");if(0!=n.length){var l=templates.dataSetOrderClauseTemplate,a=t.ascTitle,o=t.descTitle;if(0==e.data().extra.orderClause.length){var i={columns:e.data().extra.columns,title:"1",orderClause:"",orderClauseAsc:"",orderClauseDesc:"",buttonGlyph:"fa-plus",ascTitle:a,descTitle:o};n.append(l(i))}else{var r=0;$.each(e.data().extra.orderClause,(function(t,i){r++;var s="ASC"==i.orderClauseDirection,c={columns:e.data().extra.columns,title:r,orderClause:i.orderClause,orderClauseAsc:s,orderClauseDesc:!s,buttonGlyph:1==r?"fa-plus":"fa-minus",ascTitle:a,descTitle:o};n.append(l(c))}))}n.on("click","button",(function(t){if(t.preventDefault(),$(this).find("i").hasClass("fa-plus")){var i={columns:e.data().extra.columns,title:n.find(".form-inline").length+1,orderClause:"",orderClauseAsc:"",orderClauseDesc:"",buttonGlyph:"fa-minus",ascTitle:a,descTitle:o};n.append(l(i))}else $(this).closest(".form-inline").remove()}));var s=$("#filterClause"),c=templates.dataSetFilterClauseTemplate,u=t.filterOptions,d=t.filterOperatorOptions;if(0==e.data().extra.filterClause.length){var p={columns:e.data().extra.columns,filterOptions:u,filterOperatorOptions:d,title:"1",filterClause:"",filterClauseOperator:"AND",filterClauseCriteria:"",filterClauseValue:"",buttonGlyph:"fa-plus"};s.append(c(p))}else{var f=0;$.each(e.data().extra.filterClause,(function(t,n){f++;var l={columns:e.data().extra.columns,filterOptions:u,filterOperatorOptions:d,title:f,filterClause:n.filterClause,filterClauseOperator:n.filterClauseOperator,filterClauseCriteria:n.filterClauseCriteria,filterClauseValue:n.filterClauseValue,buttonGlyph:1==f?"fa-plus":"fa-minus"};s.append(c(l))}))}s.on("click","button",(function(t){if(t.preventDefault(),$(this).find("i").hasClass("fa-plus")){var n={columns:e.data().extra.columns,filterOptions:u,filterOperatorOptions:d,title:s.find(".form-inline").length+1,filterClause:"",filterClauseOperator:"AND",filterClauseCriteria:"",filterClauseValue:"",buttonGlyph:"fa-minus"};s.append(c(n))}else $(this).closest(".form-inline").remove()}))}},this.getTemplate=function(e){return void 0===templates[e]&&console.error("Template "+e+" does not exist on formHelpers file!"),templates[e]},this.setupFormDimensionControls=function(e,t,n){t?$(e).find(".form-editor-controls-dimensions").toggleClass("d-none",!1):($.isEmptyObject(CKEDITOR.instances)||1===Object.keys(CKEDITOR.instances).length&&void 0!==CKEDITOR.instances[n])&&$(e).find(".form-editor-controls-dimensions").toggleClass("d-none",!0)},this.permissionsFormAfterOpen=function(e){var t=$("#permissionsTable",e).closest(".XiboGrid"),n=$("#permissionsTable",e).DataTable({language:dataTablesLanguage,serverSide:!0,stateSave:!0,filter:!1,searchDelay:3e3,order:[[0,"asc"]],ajax:{url:t.data().url,data:function(e){$.extend(e,t.find(".permissionsTableFilter form").serializeObject())}},columns:[{data:"group",render:function(e,t,n,l){return"display"!=t||1==n.isUser?e:"
"+e+"
"}},{data:"view",render:function(e,t,n,l){return"display"!=t?e:'
"}},{data:"edit",render:function(e,t,n,l){return"display"!=t?e:'
"}},{data:"delete",render:function(e,t,n,l){return"display"!=t?e:'
"}}]});n.on("draw",(function(e,n){dataTableDraw(e,n),t.data().permissions.length<=0&&(t.data().permissions={}),$("#"+e.target.id).find("input[type=checkbox]").change((function(){var e=$(this).data().groupId,n=$(this).data().permission,l=$(this).is(":checked");void 0===t.data().permissions[e]&&(t.data().permissions[e]={}),t.data().permissions[e][n]=l?1:0}))})),n.on("processing.dt",dataTableProcessing),t.find(".permissionsTableFilter form input, .permissionsTableFilter form select").change((function(){n.ajax.reload()}))},this.permissionsFormBeforeSubmit=function(e){var t=$(".permissions-form",e),n={groupIds:$(".permissionsGrid",e).data().permissions,ownerId:t.find("select[name=ownerId]").val(),cascade:t.find("#cascade").is(":checked")};return $.param(n)},this.widgetFormRender=function(sourceObj,data,step){var self=this,formUrl="";return formUrl="string"==typeof sourceObj||sourceObj instanceof String?sourceObj:sourceObj.attr("href"),null==formUrl||(bootbox.hideAll(),null!=step&&(formUrl=formUrl.split("?")[0]+"?step="+step),$.ajax({type:"get",url:formUrl,cache:!1,dataType:"json",success:function success(response){if(response.success){var dialogTitle="";null!=response.dialogTitle&&""!=response.dialogTitle&&(dialogTitle=response.dialogTitle);var id=(new Date).getTime(),dialog=bootbox.dialog({message:response.html,title:dialogTitle,size:"large",animate:!1}).attr("id",id);dialog.data("extra",response.extra);var buttons=self.widgetFormRenderButtons(response.buttons);if(""!==buttons){var footer=$("
").addClass("modal-footer");dialog.find(".modal-content").append(footer);var i=0,count=Object.keys(buttons).length;$.each(buttons,(function(e,t){i++;var n=$('
').html(t.name);n.addClass(t.type),n.attr("id",e),n.click((function(e){return e.preventDefault(),self.widgetFormEditAction(dialog,t.action,response.data.module.widget.type,{sourceObj:sourceObj,data:data,step:step}),!1})),footer.append(n)}))}$("input[type=text]",dialog).eq(0).focus(),$("input[type=text]",dialog).each((function(e,t){formRenderDetectSpacingIssues(t),$(t).on("keyup",_.debounce((function(){formRenderDetectSpacingIssues(t)}),500))})),$('a[data-toggle="tab"]',dialog).on("shown.bs.tab",(function(e){1===$(e.target).data().enlarge?$(e.target).closest(".modal").addClass("modal-big"):$(e.target).closest(".modal").removeClass("modal-big")})),$('a[data-toggle="tab"]',dialog).each((function(){1===$(this).data().enlarge&&$(this).closest("li").hasClass("active")&&$(this).closest(".modal").addClass("modal-big")})),XiboInitialise("#"+dialog.attr("id")),""!==response.callBack&&void 0!==response.callBack&&eval(response.callBack)(dialog);var widgetOptions={};for(var option in response.data.module.widget.widgetOptions){var currOption=response.data.module.widget.widgetOptions[option];"attrib"===currOption.type&&(widgetOptions[currOption.option]=currOption.value)}dialog.find("form").data("elementOptions",widgetOptions),null!=data.regionWidth&&null!=data.regionHeight&&(dialog.find("form").data("regionWidth",data.regionWidth),dialog.find("form").data("regionHeight",data.regionHeight)),dialog.data("formEditorOnly",!0),self.widgetFormEditAfterOpen(dialog,response.data.module.widget.type)}else{if(response.login)return LoginBox(response.message),!1;null==response.message?SystemMessage(response):SystemMessage(response.message)}return!1},error:function(e){SystemMessage(e.responseText)}})),!1},this.widgetFormEditAfterOpen=function(e,t){"function"==typeof window[t+"_form_edit_open"]&&window[t+"_form_edit_open"].bind(e)(),e.find('[data-toggle="popover"]').popover(),e.find("textarea").each((function(e,t){var n=$("
",{html:'
',type:"button",title:editorsTrans.copyToClipboard,"data-container":".properties-panel",class:"btn btn-sm copyTextAreaButton",click:function(){var e=$(t),l=!1;"disabled"==e.attr("disabled")&&(e.attr("disabled",!1),l=!0),e.focus(),e.select();try{document.execCommand("copy")?n.trigger("copied",[editorsTrans.copied]):n.trigger("copied",[editorsTrans.couldNotCopy])}catch(e){n.trigger("copied",[editorsTrans.couldNotCopy])}e.focus(),e.blur(),l&&e.attr("disabled",!0)}}).tooltip();n.bind("copied",(function(e,t){var n=$(this);n.tooltip("hide").attr("data-original-title",t).tooltip("show"),setTimeout((function(){n.tooltip("hide").attr("data-original-title",editorsTrans.copyToClipboard)}),1e3)})),$(t).before(n)})),null!=e.find("form").data("formStep")&&e.find("form").data("formStep")>1?e.find("button#back").show():e.find("button#back").hide()},this.widgetFormEditBeforeSubmit=function(e,t){"function"==typeof window[t+"_form_edit_submit"]&&window[t+"_form_edit_submit"].bind(e)()},this.widgetFormEditAction=function(e,t,n){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};switch(t){case"save":this.widgetFormEditSubmit(e,n);break;case"back":var a=e.find("form").data("formStep");this.widgetFormRender(l.sourceObj,l.data,a-1);break;case"close":e.modal("hide");break;default:"function"==typeof window[t]&&window[t](e)}},this.widgetFormEditSubmit=function(e,t){var n=this,l=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];t?(e.find("#save").append('
'),e.find("#save").attr("disabled","disabled")):(e.find("#save .saving").remove(),e.find("#save").attr("disabled",null))};l(),this.widgetFormEditBeforeSubmit(e,t);var a=e.find("form");if(a.valid()){var o=a.attr("action");return $.ajax({type:a.attr("method"),url:o,cache:!1,dataType:"json",data:a.serialize(),success:function(e){l(!1),e.success?(""!=e.message&&SystemMessage(e.message,!0),bootbox.hideAll(),XiboRefreshAllGrids(),null!=a.data("nextFormUrl")&&n.widgetFormRender(a.data().nextFormUrl.replace(":id",e.id))):e.login?LoginBox(e.message):SystemMessageInline(e.message,a.closest(".modal"))},error:function(e,t,n){SystemMessage(e.responseText,!1)}}),!1}l(!1)},this.widgetFormRenderButtons=function(e){var t={};for(var n in e)e[n].includes("XiboDialogClose")||e[n].includes(".submit()")||(t[n]={name:n,type:"btn-white",click:e[n]});return t.back={name:editorsTrans.back,type:"btn-white",action:"back"},t.save={name:translations.save,type:"btn-info",action:"save"},t},this.convertLibraryReferences=function(e){return e.replace(/\[[0-9]+]/gi,(function(e){var t=e.replace("]","").replace("[","");return CKEDITOR_DEFAULT_CONFIG.imageDownloadUrl.replace(":id",t)}))},this.revertLibraryReferences=function(e){String.prototype.replaceAll=function(e,t){return this.split(e).join(t)};var t=CKEDITOR_DEFAULT_CONFIG.imageDownloadUrl.split(":id");return(e=e.replaceAll(t[0],"[")).replaceAll(t[1],"]")},this.setupPhpDateFormatPopover=function(e){var t=Handlebars.compile($("#php-date-format-table").html());e.find("form .date-format-table").popover({content:t,html:!0,placement:"bottom",sanitize:!1,trigger:"manual",container:e.find("form")}).on("mouseenter",(function(){$(this).popover("show"),$(".popover").on("mouseleave",(function(){$(this).popover("hide")}))})).on("mouseleave",(function(){setTimeout((function(){$(".popover:hover").length||$(this).popover("hide")}),300)}))}};module.exports=new formHelpers},92110:function(e){e.exports=function(e,t,n){return e===t?n.fn(this):n.inverse(this)}},26726:function(e,t,n){var l=n(40202);e.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
'+c(typeof(o=null!=(o=u(n,"title")||(null!=t?u(t,"title"):t))?o:r)===s?o.call(i,{name:"title",hash:{},data:a,loc:{start:{line:2,column:62},end:{line:2,column:73}}}):o)+'
\n
\n
\n
\n
\n
\n
\n
'},useData:!0})},71977:function(e,t,n){var l=n(40202);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(l.default||l).template({1:function(e,t,l,o,i,r,s){var c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(u=null!=(u=h(l,"value")||(null!=t?h(t,"value"):t))?u:p)===f?u.call(d,{name:"value",hash:{},data:i,loc:{start:{line:7,column:81},end:{line:7,column:92}}}):u)+"
\n"},2:function(e,t,n,l,a){return"selected"},4:function(e,t,l,o,i,r,s){var c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(u=null!=(u=h(l,"heading")||(null!=t?h(t,"heading"):t))?u:p)===f?u.call(d,{name:"heading",hash:{},data:i,loc:{start:{line:16,column:112},end:{line:16,column:125}}}):u)+"
\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a,o,i){var r,s,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",p=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
'+p(typeof(s=null!=(s=f(n,"title")||(null!=t?f(t,"title"):t))?s:u)===d?s.call(c,{name:"title",hash:{},data:a,loc:{start:{line:2,column:61},end:{line:2,column:72}}}):s)+'
\n
\n
\n
\n'+(null!=(r=f(n,"each").call(c,null!=t?f(t,"columnTypeOptions"):t,{name:"each",hash:{},fn:e.program(1,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:6,column:12},end:{line:8,column:21}}}))?r:"")+'
\n
\n
\n
\n
\n
\n'+(null!=(r=f(n,"each").call(c,null!=t?f(t,"columns"):t,{name:"each",hash:{},fn:e.program(4,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:15,column:12},end:{line:17,column:21}}}))?r:"")+'
\n
\n
\n
\n
\n
'},useData:!0,useDepths:!0})},27730:function(e,t,n){var l=n(40202);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(l.default||l).template({1:function(e,t,n,l,a){return'class="d-none"'},3:function(e,t,l,o,i,r,s){var c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(u=null!=(u=h(l,"value")||(null!=t?h(t,"value"):t))?u:p)===f?u.call(d,{name:"value",hash:{},data:i,loc:{start:{line:6,column:91},end:{line:6,column:102}}}):u)+"
\n"},4:function(e,t,n,l,a){return"selected"},6:function(e,t,l,o,i,r,s){var c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(u=null!=(u=h(l,"heading")||(null!=t?h(t,"heading"):t))?u:p)===f?u.call(d,{name:"heading",hash:{},data:i,loc:{start:{line:14,column:93},end:{line:14,column:106}}}):u)+"
\n"},8:function(e,t,l,o,i,r,s){var c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(u=null!=(u=h(l,"value")||(null!=t?h(t,"value"):t))?u:p)===f?u.call(d,{name:"value",hash:{},data:i,loc:{start:{line:21,column:87},end:{line:21,column:98}}}):u)+"
\n"},compiler:[8,">= 4.3.0"],main:function(e,t,l,o,i,r,s){var c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
'+m(typeof(u=null!=(u=h(l,"title")||(null!=t?h(t,"title"):t))?u:p)===f?u.call(d,{name:"title",hash:{},data:i,loc:{start:{line:2,column:30},end:{line:2,column:41}}}):u)+'
\n
\n
\n'+(null!=(c=h(l,"each").call(d,null!=t?h(t,"filterOperatorOptions"):t,{name:"each",hash:{},fn:e.program(3,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:5,column:12},end:{line:7,column:21}}}))?c:"")+'
\n
\n
\n
\n
\n'+(null!=(c=h(l,"each").call(d,null!=t?h(t,"columns"):t,{name:"each",hash:{},fn:e.program(6,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:13,column:12},end:{line:15,column:21}}}))?c:"")+'
\n
\n
\n
\n'+(null!=(c=h(l,"each").call(d,null!=t?h(t,"filterOptions"):t,{name:"each",hash:{},fn:e.program(8,i,0,r,s),inverse:e.noop,data:i,loc:{start:{line:20,column:12},end:{line:22,column:21}}}))?c:"")+'
\n
\n
\n
\n
\n
\n
'},useData:!0,useDepths:!0})},56290:function(e,t,n){var l=n(40202);e.exports=(l.default||l).template({1:function(e,t,l,a,o,i,r){var s,c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(c=null!=(c=h(l,"heading")||(null!=t?h(t,"heading"):t))?c:p)===f?c.call(d,{name:"heading",hash:{},data:o,loc:{start:{line:7,column:93},end:{line:7,column:106}}}):c)+"
\n"},2:function(e,t,n,l,a){return" selected"},4:function(e,t,n,l,a){return"selected"},compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a,o,i){var r,s,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",p=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
'+p(typeof(s=null!=(s=f(n,"title")||(null!=t?f(t,"title"):t))?s:u)===d?s.call(c,{name:"title",hash:{},data:a,loc:{start:{line:2,column:30},end:{line:2,column:41}}}):s)+'
\n
\n
\n
\n'+(null!=(r=f(n,"each").call(c,null!=t?f(t,"columns"):t,{name:"each",hash:{},fn:e.program(1,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:6,column:12},end:{line:8,column:21}}}))?r:"")+'
\n
\n
\n
\n
"+p(typeof(s=null!=(s=f(n,"ascTitle")||(null!=t?f(t,"ascTitle"):t))?s:u)===d?s.call(c,{name:"ascTitle",hash:{},data:a,loc:{start:{line:13,column:70},end:{line:13,column:84}}}):s)+'
\n
"+p(typeof(s=null!=(s=f(n,"descTitle")||(null!=t?f(t,"descTitle"):t))?s:u)===d?s.call(c,{name:"descTitle",hash:{},data:a,loc:{start:{line:14,column:72},end:{line:14,column:87}}}):s)+'
\n
\n
\n
\n
'},useData:!0,useDepths:!0})},12746:function(e,t,n){var l=n(40202);e.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
\n
\n
\n\n
\n
\n
\n\n
\n
\n
\n
'},useData:!0})},26877:function(e,t,n){var l=n(40202);function a(e){return e&&(e.__esModule?e.default:e)}e.exports=(l.default||l).template({1:function(e,t,n,l,a){return"selected"},compiler:[8,">= 4.3.0"],main:function(e,t,l,o,i){var r,s,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",p=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
'+p(typeof(s=null!=(s=f(l,"title")||(null!=t?f(t,"title"):t))?s:u)===d?s.call(c,{name:"title",hash:{},data:i,loc:{start:{line:2,column:64},end:{line:2,column:75}}}):s)+'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
'+p(typeof(s=null!=(s=f(l,"repeatTitle")||(null!=t?f(t,"repeatTitle"):t))?s:u)===d?s.call(c,{name:"repeatTitle",hash:{},data:i,loc:{start:{line:20,column:133},end:{line:20,column:150}}}):s)+'
\n
'+p(typeof(s=null!=(s=f(l,"fillTitle")||(null!=t?f(t,"fillTitle"):t))?s:u)===d?s.call(c,{name:"fillTitle",hash:{},data:i,loc:{start:{line:21,column:127},end:{line:21,column:142}}}):s)+'
\n
'+p(typeof(s=null!=(s=f(l,"padTitle")||(null!=t?f(t,"padTitle"):t))?s:u)===d?s.call(c,{name:"padTitle",hash:{},data:i,loc:{start:{line:22,column:124},end:{line:22,column:138}}}):s)+'
\n
\n
\n
\n
\n
\n
'},useData:!0})},64670:function(e,t,n){var l=n(40202);e.exports=(l.default||l).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a){var o,i=null!=t?t:e.nullContext||{},r=e.hooks.helperMissing,s="function",c=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
'+c(typeof(o=null!=(o=u(n,"title")||(null!=t?u(t,"title"):t))?o:r)===s?o.call(i,{name:"title",hash:{},data:a,loc:{start:{line:2,column:75},end:{line:2,column:86}}}):o)+'
\n
\n
\n
\n
\n
\n
\n
'},useData:!0})},68026:function(e,t,n){var l=n(40202);e.exports=(l.default||l).template({1:function(e,t,l,a,o,i,r){var s,c,u,d=null!=t?t:e.nullContext||{},p=e.hooks.helperMissing,f="function",m=e.escapeExpression,h=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
"+m(typeof(c=null!=(c=h(l,"value")||(null!=t?h(t,"value"):t))?c:p)===f?c.call(d,{name:"value",hash:{},data:o,loc:{start:{line:6,column:84},end:{line:6,column:95}}}):c)+"
\n"},2:function(e,t,n,l,a){return"selected"},4:function(e,t,n,l,a){return'value="on"'},6:function(e,t,n,l,a){return"checked"},compiler:[8,">= 4.3.0"],main:function(e,t,n,l,a,o,i){var r,s,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,d="function",p=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'
\n
\n
\n
Timezone
\n'+(null!=(r=f(n,"each").call(c,null!=t?f(t,"timezones"):t,{name:"each",hash:{},fn:e.program(1,a,0,o,i),inverse:e.noop,data:a,loc:{start:{line:5,column:12},end:{line:7,column:21}}}))?r:"")+'
\n
\n\n
\n
\n
\n\n
\n
\n
\n
Highlight?
\n
\n\n
\n
\n
\n
'},useData:!0,useDepths:!0})},86834:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}function a(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=a(n(92067)),i=l(n(5558)),r=l(n(98728)),s=a(n(72392)),c=a(n(51628)),u=l(n(53982));function d(){var e=new o.HandlebarsEnvironment;return s.extend(e,o),e.SafeString=i.default,e.Exception=r.default,e.Utils=s,e.escapeExpression=s.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var p=d();p.create=d,u.default(p),p.default=p,t.default=p,e.exports=t.default},92067:function(e,t,n){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.HandlebarsEnvironment=d;var a=n(72392),o=l(n(98728)),i=n(12638),r=n(90881),s=l(n(8037)),c=n(56293);t.VERSION="4.7.7",t.COMPILER_REVISION=8,t.LAST_COMPATIBLE_COMPILER_REVISION=7,t.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var u="[object Object]";function d(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},i.registerDefaultHelpers(this),r.registerDefaultDecorators(this)}d.prototype={constructor:d,logger:s.default,log:s.default.log,registerHelper:function(e,t){if(a.toString.call(e)===u){if(t)throw new o.default("Arg not supported with multiple helpers");a.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(a.toString.call(e)===u)a.extend(this.partials,e);else{if(void 0===t)throw new o.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(a.toString.call(e)===u){if(t)throw new o.default("Arg not supported with multiple decorators");a.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){c.resetLoggedProperties()}};var p=s.default.log;t.log=p,t.createFrame=a.createFrame,t.logger=s.default},90881:function(e,t,n){"use strict";t.__esModule=!0,t.registerDefaultDecorators=function(e){a.default(e)};var l,a=(l=n(75670))&&l.__esModule?l:{default:l}},75670:function(e,t,n){"use strict";t.__esModule=!0;var l=n(72392);t.default=function(e){e.registerDecorator("inline",(function(e,t,n,a){var o=e;return t.partials||(t.partials={},o=function(a,o){var i=n.partials;n.partials=l.extend({},i,t.partials);var r=e(a,o);return n.partials=i,r}),t.partials[a.args[0]]=a.fn,o}))},e.exports=t.default},98728:function(e,t){"use strict";t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function l(e,t){var a=t&&t.loc,o=void 0,i=void 0,r=void 0,s=void 0;a&&(o=a.start.line,i=a.end.line,r=a.start.column,s=a.end.column,e+=" - "+o+":"+r);for(var c=Error.prototype.constructor.call(this,e),u=0;u
0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):a(this);if(n.data&&n.ids){var i=l.createFrame(n.data);i.contextPath=l.appendContextPath(n.data.contextPath,n.name),n={data:i}}return o(t,n)}))},e.exports=t.default},16822:function(e,t,n){"use strict";t.__esModule=!0;var l,a=n(72392),o=(l=n(98728))&&l.__esModule?l:{default:l};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new o.default("Must pass iterator to #each");var l,i=t.fn,r=t.inverse,s=0,c="",u=void 0,d=void 0;function p(t,n,l){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!l,d&&(u.contextPath=d+t)),c+=i(e[t],{data:u,blockParams:a.blockParams([e[t],t],[d+t,null])})}if(t.data&&t.ids&&(d=a.appendContextPath(t.data.contextPath,t.ids[0])+"."),a.isFunction(e)&&(e=e.call(this)),t.data&&(u=a.createFrame(t.data)),e&&"object"==typeof e)if(a.isArray(e))for(var f=e.length;s
=0?t:parseInt(e,10)}return e},log:function(e){if(e=a.lookupLevel(e),"undefined"!=typeof console&&a.lookupLevel(a.level)<=e){var t=a.methodMap[e];console[t]||(t="log");for(var n=arguments.length,l=Array(n>1?n-1:0),o=1;o
=i.LAST_COMPATIBLE_COMPILER_REVISION&&t<=i.COMPILER_REVISION)){if(t
":">",'"':""","'":"'","`":"`","=":"="},l=/[&<>"'`=]/g,a=/[&<>"'`=]/;function o(e){return n[e]}function i(e){for(var t=1;t