<NME> bolt.js
<BEF> /**
 * These are Bolt’s COMPILED JS files!
 * Do not edit this file, because all changes will be lost. You can edit the 
 * `*.js` files in `app/src/js/` and then run `yarn grunt updateBolt` to generate 
 * this file. You will need to use the "Cloning from Git" installation method, to 
 * get these files. See: https://docs.bolt.cm/installation/install-git-clone, 
 * as well as the `README.md` file in the `app/src/` folder.
 */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$('<div class="'+a+' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;200>c&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$('[data-toggle="dropdown"]').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find('[data-toggle="dropdown"]'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&g>f&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$('a[href="#tab-meta"]').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($('input[name="password"]').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($('input[name="password"]').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\s*([AP])[. ]?M\.?))\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\d{4}-\d{2}-\d{2})(?: (\d{2}:\d{2}:\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=12>c?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\[.+?\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);return b(this).data("valid",d),d?void 0:(c.preventDefault(),!1)}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b('#filtertabs a[href="#tab-'+a.replace(/^#/,"")+'"]').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find('input[name="bolt_csrf_token"]').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html('<i class="fa fa-circle status-'+b("#statusselect option:selected").val()+'"></i> '+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(':input[name="'+a+"["+c+']"]').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){return q()||a.liveEditor.active?a.data("editcontent.msg.change_quit"):void 0}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d;c(".update-container").show(),d=c(".update-list-items"),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(Bolt.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c('.update-list-items tr[data-package="'+f+'"]').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n='<i class="fa fa-cog fa-fw"></i>';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c('input[name="check-package"]').val(),d=c('input[name="check-package"]').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c('input[name="check-package"]').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c('input[name="check-package"]');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f='data-request="prefill-package" data-packagename="'+e.name+'"';b.append('<a class="btn btn-block btn-default prefill-package" '+f+'style="text-align: left;">'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c('input[name="check-package"]').val(d.closest("a").text()),c('input[name="check-package"]').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\n\n<pre>"+g.message+"</pre>")}if("Bolt\\Exception\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,'<a href="http').replace(/(\w+>)/g,'">this link</a>'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\Exception\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\.([a-zA-Z0-9_-]+))?(?:\.([a-zA-Z0-9_-]+))?(?:\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!")},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp();
})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||-1===f.indexOf(c)||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\s?<br.*?>\s?/g,"\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\.|\[|\]|,)/g,"\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?'<i class="fa fa-spinner fa-spin"></i> ':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\-|\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\.(.+?[^\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",'select[name="ext"]',function(){b._filter(f)}).keyup('input[name="filter"]',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find('input[name="filter"]').val(),f=b.body.find('select[name="ext"]').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find('td input:checkbox[name="checkRow"]').each(function(){this.checked=c,b._update(this)})}),this.element.find('td input:checkbox[name="checkRow"]').on("click",function(){b._update(this)}),this.toolbar.find('button[data-stb-cmd^="record:"]').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find('a[data-listing-cmd^="record:"]').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a('<div class="modal-header hidden"/>'),d=a("<div class=modal-body/>"),e=a('<div class="modal-footer hidden"/>'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a('<div tabindex=-1 role=dialog class="modal fade buic-modal"/>').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body='<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add('<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>')),this.options.header=this.options.header.add(a('<h4 class="modal-title"/>').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b='<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\./,"").split(/,\./):[],h=new RegExp("(\\.|\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&e>=b)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0?!0:null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a('a[data-toggle="tab"]').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find('script[type="text/template"]').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find('[for="'+c+'"]').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),d=new RegExp("^"+c+"\\[(#|\\d)\\]");
this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\[\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find('option[value="'+b+'"]');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a('[name^="templatefields"]').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$('label[for="'+b.id+'"]').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;d>b;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();

<MSG> Rebuild web assets

<DFF> @@ -5,6 +5,6 @@
  * this file. You will need to use the "Cloning from Git" installation method, to 
  * get these files. See: https://docs.bolt.cm/installation/install-git-clone, 
  * as well as the `README.md` file in the `app/src/` folder.
- */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$('<div class="'+a+' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;200>c&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$('[data-toggle="dropdown"]').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find('[data-toggle="dropdown"]'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&g>f&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$('a[href="#tab-meta"]').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($('input[name="password"]').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($('input[name="password"]').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\s*([AP])[. ]?M\.?))\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\d{4}-\d{2}-\d{2})(?: (\d{2}:\d{2}:\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=12>c?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\[.+?\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);return b(this).data("valid",d),d?void 0:(c.preventDefault(),!1)}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b('#filtertabs a[href="#tab-'+a.replace(/^#/,"")+'"]').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find('input[name="bolt_csrf_token"]').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html('<i class="fa fa-circle status-'+b("#statusselect option:selected").val()+'"></i> '+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(':input[name="'+a+"["+c+']"]').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){return q()||a.liveEditor.active?a.data("editcontent.msg.change_quit"):void 0}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d;c(".update-container").show(),d=c(".update-list-items"),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(Bolt.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c('.update-list-items tr[data-package="'+f+'"]').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n='<i class="fa fa-cog fa-fw"></i>';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c('input[name="check-package"]').val(),d=c('input[name="check-package"]').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c('input[name="check-package"]').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c('input[name="check-package"]');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f='data-request="prefill-package" data-packagename="'+e.name+'"';b.append('<a class="btn btn-block btn-default prefill-package" '+f+'style="text-align: left;">'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c('input[name="check-package"]').val(d.closest("a").text()),c('input[name="check-package"]').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\n\n<pre>"+g.message+"</pre>")}if("Bolt\\Exception\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,'<a href="http').replace(/(\w+>)/g,'">this link</a>'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\Exception\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\.([a-zA-Z0-9_-]+))?(?:\.([a-zA-Z0-9_-]+))?(?:\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!")},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp();
-})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||-1===f.indexOf(c)||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\s?<br.*?>\s?/g,"\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\.|\[|\]|,)/g,"\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?'<i class="fa fa-spinner fa-spin"></i> ':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\-|\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\.(.+?[^\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",'select[name="ext"]',function(){b._filter(f)}).keyup('input[name="filter"]',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find('input[name="filter"]').val(),f=b.body.find('select[name="ext"]').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find('td input:checkbox[name="checkRow"]').each(function(){this.checked=c,b._update(this)})}),this.element.find('td input:checkbox[name="checkRow"]').on("click",function(){b._update(this)}),this.toolbar.find('button[data-stb-cmd^="record:"]').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find('a[data-listing-cmd^="record:"]').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a('<div class="modal-header hidden"/>'),d=a("<div class=modal-body/>"),e=a('<div class="modal-footer hidden"/>'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a('<div tabindex=-1 role=dialog class="modal fade buic-modal"/>').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body='<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add('<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>')),this.options.header=this.options.header.add(a('<h4 class="modal-title"/>').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b='<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\./,"").split(/,\./):[],h=new RegExp("(\\.|\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&e>=b)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0?!0:null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a('a[data-toggle="tab"]').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find('script[type="text/template"]').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find('[for="'+c+'"]').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),d=new RegExp("^"+c+"\\[(#|\\d)\\]");
-this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\[\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find('option[value="'+b+'"]');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a('[name^="templatefields"]').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$('label[for="'+b.id+'"]').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;d>b;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();
\ No newline at end of file
+ */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$('<div class="'+a+' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;c<200&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$('[data-toggle="dropdown"]').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find('[data-toggle="dropdown"]'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&f<g&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$('a[href="#tab-meta"]').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($('input[name="password"]').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($('input[name="password"]').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\s*([AP])[. ]?M\.?))\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\d{4}-\d{2}-\d{2})(?: (\d{2}:\d{2}:\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=c<12?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\[.+?\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);if(b(this).data("valid",d),!d)return c.preventDefault(),!1}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b('#filtertabs a[href="#tab-'+a.replace(/^#/,"")+'"]').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find('input[name="bolt_csrf_token"]').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html('<i class="fa fa-circle status-'+b("#statusselect option:selected").val()+'"></i> '+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(':input[name="'+a+"["+c+']"]').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){if(q()||a.liveEditor.active)return a.data("editcontent.msg.change_quit")}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html('<tr><td colspan="3"><strong>'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d,e;c(".update-container").show(),e=c(".update-output-data").html(),c(".update-output-notice").html(e),c(".update-output-notice").find(".update-output-element").removeClass("update-output-element").addClass("update-output").show(),c(".update-list").hide(),d=c(".update-list-items"),d.html(""),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(a.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c('.update-list-items tr[data-package="'+f+'"]').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n='<i class="fa fa-cog fa-fw"></i>';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c('input[name="check-package"]').val(),d=c('input[name="check-package"]').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c('input[name="check-package"]').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c('input[name="check-package"]');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f='data-request="prefill-package" data-packagename="'+e.name+'"';b.append('<a class="btn btn-block btn-default prefill-package" '+f+'style="text-align: left;">'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c('input[name="check-package"]').val(d.closest("a").text()),c('input[name="check-package"]').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\n\n<pre>"+g.message+"</pre>")}if("Bolt\\Exception\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,'<a href="http').replace(/(\w+>)/g,'">this link</a>'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\Exception\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\.([a-zA-Z0-9_-]+))?(?:\.([a-zA-Z0-9_-]+))?(?:\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!");
+},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp()})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||f.indexOf(c)===-1||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\s?<br.*?>\s?/g,"\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\.|\[|\]|,)/g,"\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?'<i class="fa fa-spinner fa-spin"></i> ':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\-|\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\.(.+?[^\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",'select[name="ext"]',function(){b._filter(f)}).keyup('input[name="filter"]',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find('input[name="filter"]').val(),f=b.body.find('select[name="ext"]').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find('td input:checkbox[name="checkRow"]').each(function(){this.checked=c,b._update(this)})}),this.element.find('td input:checkbox[name="checkRow"]').on("click",function(){b._update(this)}),this.toolbar.find('button[data-stb-cmd^="record:"]').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find('a[data-listing-cmd^="record:"]').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a('<div class="modal-header hidden"/>'),d=a("<div class=modal-body/>"),e=a('<div class="modal-footer hidden"/>'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a('<div tabindex=-1 role=dialog class="modal fade buic-modal"/>').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body='<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add('<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>')),this.options.header=this.options.header.add(a('<h4 class="modal-title"/>').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b='<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\./,"").split(/,\./):[],h=new RegExp("(\\.|\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&b<=e)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0||null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a('a[data-toggle="tab"]').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find('script[type="text/template"]').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){
+var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find('[for="'+c+'"]').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),d=new RegExp("^"+c+"\\[(#|\\d)\\]");this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\[\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find('option[value="'+b+'"]');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a('[name^="templatefields"]').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$('label[for="'+b.id+'"]').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;b<d;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();
\ No newline at end of file

{'commit': 'diff --git a/app/view/css/bolt.css b/app/view/css/bolt.css\nindex 377a6ffb2..4356761f3 100644\n--- a/app/view/css/bolt.css\n+++ b/app/view/css/bolt.css\n@@ -1,4 +1,4 @@\n-@charset "UTF-8";/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */*{box-sizing:border-box}:before,:after{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h1 .small,h2 small,h2 .small,h3 small,h3 .small,h4 small,h4 .small,h5 small,h5 .small,h6 small,h6 .small,.h1 small,.h1 .small,.h2 small,.h2 .small,.h3 small,.h3 .small,.h4 small,.h4 .small,.h5 small,.h5 .small,.h6 small,.h6 .small{font-weight:400;line-height:1;color:#777}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,h1 .small,.h1 small,.h1 .small,h2 small,h2 .small,.h2 small,.h2 .small,h3 small,h3 .small,.h3 small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,h4 .small,.h4 small,.h4 .small,h5 small,h5 .small,.h5 small,.h5 .small,h6 small,h6 .small,.h6 small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}small,.small{font-size:85%}mark,.mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase,.initialism{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover,a.text-primary:focus{color:#286090}.text-success{color:#3c763d}a.text-success:hover,a.text-success:focus{color:#2b542c}.text-info{color:#31708f}a.text-info:hover,a.text-info:focus{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover,a.text-warning:focus{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover,a.text-danger:focus{color:#843534}.bg-primary{color:#fff}.bg-primary{background-color:#337ab7}a.bg-primary:hover,a.bg-primary:focus{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover,a.bg-info:focus{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover,a.bg-warning:focus{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover,a.bg-danger:focus{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ul ol,ol ul,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}.dl-horizontal dd:before,.dl-horizontal dd:after{content:" ";display:table}.dl-horizontal dd:after{clear:both}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before,blockquote .small:before{content:\'\\2014 \\00A0\'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,.blockquote-reverse small:before,.blockquote-reverse .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before,blockquote.pull-right .small:before{content:\'\'}.blockquote-reverse footer:after,.blockquote-reverse small:after,.blockquote-reverse .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after,blockquote.pull-right .small:after{content:\'\\00A0 \\2014\'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table}.container:after{clear:both}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container-fluid:before,.container-fluid:after{content:" ";display:table}.container-fluid:after{clear:both}.row{margin-left:-15px;margin-right:-15px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.33333333%}.col-xs-2{width:16.66666667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333%}.col-xs-5{width:41.66666667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333333%}.col-xs-8{width:66.66666667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333%}.col-xs-11{width:91.66666667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.33333333%}.col-xs-push-2{left:16.66666667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333333%}.col-xs-push-5{left:41.66666667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333333%}.col-xs-push-8{left:66.66666667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333333%}.col-xs-push-11{left:91.66666667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-12{margin-left:100%}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>thead>tr>td,.table>tbody>tr>th,.table>tbody>tr>td,.table>tfoot>tr>th,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>th,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>thead>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>thead>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>thead>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>thead>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>thead>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{position:absolute;margin-left:-20px;margin-top:4px \\9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=radio].disabled,fieldset[disabled] input[type=radio],input[type=checkbox][disabled],input[type=checkbox].disabled,fieldset[disabled] input[type=checkbox]{cursor:not-allowed}.radio-inline.disabled,fieldset[disabled] .radio-inline,.checkbox-inline.disabled,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,fieldset[disabled] .radio label,.checkbox.disabled label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button.form-control-static,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button.form-control-static{padding-left:0;padding-right:0}.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,.input-group-sm>.input-group-btn>select.btn{height:30px;line-height:30px}textarea.input-sm,.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,.input-group-sm>.input-group-btn>textarea.btn,select[multiple].input-sm,.input-group-sm>select[multiple].form-control,.input-group-sm>select[multiple].input-group-addon,.input-group-sm>.input-group-btn>select[multiple].btn{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,.input-group-lg>.input-group-btn>select.btn{height:46px;line-height:46px}textarea.input-lg,.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,.input-group-lg>.input-group-btn>textarea.btn,select[multiple].input-lg,.input-group-lg>select[multiple].form-control,.input-group-lg>select[multiple].input-group-addon,.input-group-lg>.input-group-btn>select[multiple].btn{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{content:" ";display:table}.form-horizontal .form-group:after{clear:both}.form-horizontal .has-feedback .form-control-feedback{right:15px}.btn,div.buic-listing table.listing tr.selectiontoolbar button{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus,.btn:active:focus,div.buic-listing table.listing tr.selectiontoolbar button:active:focus,.btn:active.focus,div.buic-listing table.listing tr.selectiontoolbar button:active.focus,.btn.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active:focus,.btn.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,div.buic-listing table.listing tr.selectiontoolbar button:hover,.btn:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus{color:#333;text-decoration:none}.btn:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn.active,div.buic-listing table.listing tr.selectiontoolbar button.active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,div.buic-listing table.listing tr.selectiontoolbar button.disabled,.btn[disabled],div.buic-listing table.listing tr.selectiontoolbar button[disabled],fieldset[disabled] .btn,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default,div.buic-listing table.listing tr.selectiontoolbar button{color:#333;background-color:#fff;border-color:#ccc}.btn-default:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn-default.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover,div.buic-listing table.listing tr.selectiontoolbar button:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:hover,div.buic-listing table.listing tr.selectiontoolbar button:active:hover,.btn-default:active:focus,div.buic-listing table.listing tr.selectiontoolbar button:active:focus,.btn-default:active.focus,div.buic-listing table.listing tr.selectiontoolbar button:active.focus,.btn-default.active:hover,div.buic-listing table.listing tr.selectiontoolbar button.active:hover,.btn-default.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active:focus,.btn-default.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus,.open>.btn-default.dropdown-toggle:hover,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.focus{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{background-image:none}.btn-default.disabled:hover,div.buic-listing table.listing tr.selectiontoolbar button.disabled:hover,.btn-default.disabled:focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled:focus,.btn-default.disabled.focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.focus,.btn-default[disabled]:hover,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:hover,.btn-default[disabled]:focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:focus,.btn-default[disabled].focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:hover,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:focus,fieldset[disabled] .btn-default.focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.focus{background-color:#fff;border-color:#ccc}.btn-default .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary.focus{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active:hover,.btn-success:active:focus,.btn-success:active.focus,.btn-success.active:hover,.btn-success.active:focus,.btn-success.active.focus,.open>.btn-success.dropdown-toggle:hover,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle.focus{color:#fff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{background-image:none}.btn-success.disabled:hover,.btn-success.disabled:focus,.btn-success.disabled.focus,.btn-success[disabled]:hover,.btn-success[disabled]:focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success:hover,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success.focus{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active:hover,.btn-info:active:focus,.btn-info:active.focus,.btn-info.active:hover,.btn-info.active:focus,.btn-info.active.focus,.open>.btn-info.dropdown-toggle:hover,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle.focus{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{background-image:none}.btn-info.disabled:hover,.btn-info.disabled:focus,.btn-info.disabled.focus,.btn-info[disabled]:hover,.btn-info[disabled]:focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info:hover,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info.focus{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active:hover,.btn-warning:active:focus,.btn-warning:active.focus,.btn-warning.active:hover,.btn-warning.active:focus,.btn-warning.active.focus,.open>.btn-warning.dropdown-toggle:hover,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle.focus{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{background-image:none}.btn-warning.disabled:hover,.btn-warning.disabled:focus,.btn-warning.disabled.focus,.btn-warning[disabled]:hover,.btn-warning[disabled]:focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning:hover,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning.focus{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger.focus{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;font-weight:400;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:hover,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg,.btn-group-lg>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg>button{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm,.btn-group-sm>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-sm>button{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn,div.buic-listing table.listing tr.selectiontoolbar button{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#337ab7}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#777}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \\9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button,.btn-group-vertical>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button{position:relative;float:left}.btn-group>.btn:hover,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:hover,.btn-group>.btn:focus,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:focus,.btn-group>.btn:active,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:active,.btn-group>.btn.active,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button.active,.btn-group-vertical>.btn:hover,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:hover,.btn-group-vertical>.btn:focus,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:focus,.btn-group-vertical>.btn:active,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:active,.btn-group-vertical>.btn.active,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button.active{z-index:2}.btn-group .btn+.btn,.btn-group div.buic-listing table.listing tr.selectiontoolbar button+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group button+.btn,.btn-group div.buic-listing table.listing tr.selectiontoolbar .btn+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group .btn+button,.btn-group div.buic-listing table.listing tr.selectiontoolbar button+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group button+button,.btn-group .btn+.btn-group,.btn-group div.buic-listing table.listing tr.selectiontoolbar button+.btn-group,div.buic-listing table.listing tr.selectiontoolbar .btn-group button+.btn-group,.btn-group .btn-group+.btn,.btn-group div.buic-listing table.listing tr.selectiontoolbar .btn-group+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group .btn-group+button,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:before,.btn-toolbar:after{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar .btn-toolbar button,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-toolbar>button,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle),div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle),div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group>.btn-group:not(:first-child):not(:last-child)>button{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group>.btn-group:first-child:not(:last-child)>button:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group>.btn-group:last-child:not(:first-child)>button:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle,.btn-group-lg.btn-group>.btn+.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg.btn-group>button+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{box-shadow:none}.btn .caret,div.buic-listing table.listing tr.selectiontoolbar button .caret{margin-left:0}.btn-lg .caret,.btn-group-lg>.btn .caret,div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg>button .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret,.dropup .btn-group-lg>.btn .caret,.dropup div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg>button .caret,div.buic-listing table.listing tr.selectiontoolbar .dropup .btn-group-lg>button .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group>button{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group>button{float:none}.btn-group-vertical>.btn+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button+button,.btn-group-vertical>.btn+.btn-group,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button+.btn-group,.btn-group-vertical>.btn-group+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group+button,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>button{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group:first-child:not(:last-child)>button:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group:last-child:not(:first-child)>button:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-justified>button,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn,.btn-group-justified>.btn-group div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar .btn-group-justified>.btn-group button{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>button input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>button input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>.btn-group>button input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>.btn-group>button input[type="checkbox"]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button.input-group-addon{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button.input-group-addon{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>button,.input-group-btn:first-child>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>.btn-group>button,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>button:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>.btn-group:not(:last-child)>button{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>button,.input-group-btn:last-child>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>.btn-group>button,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>button:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>.btn-group:not(:first-child)>button{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button{position:relative}.input-group-btn>.btn+.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button+.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>.btn+button,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button+button{margin-left:-1px}.input-group-btn>.btn:hover,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button:hover,.input-group-btn>.btn:focus,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button:focus,.input-group-btn>.btn:active,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button:active{z-index:2}.input-group-btn:first-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>button,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>button,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav:before,.nav:after{content:" ";display:table}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{content:" ";display:table}.navbar:after{clear:both}.navbar-header:before,.navbar-header:after{content:" ";display:table}.navbar-header:after{clear:both}.navbar-collapse{overflow-x:visible;padding-right:0;padding-left:0;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{content:" ";display:table}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}.container>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-header,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 0;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-brand>img{display:block}.navbar-toggle{position:relative;float:right;margin-right:0;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.navbar-nav{margin:7.5px 0}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}.navbar-form{margin-left:0;margin-right:0;padding:10px 0;border-top:1px solid transparent;border-bottom:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:8px;margin-bottom:8px}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm,.btn-group-sm>.navbar-btn.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-sm>button.navbar-btn{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs,.btn-group-xs>.navbar-btn.btn,div.buic-listing table.listing tr.selectiontoolbar button.navbar-btn{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#333}.navbar-default .btn-link[disabled]:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:hover,fieldset[disabled] .navbar-default .btn-link:focus{color:#ccc}.navbar-inverse{background-color:#222;border-color:#090909}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#090909;color:#fff}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#fff}.navbar-inverse .btn-link[disabled]:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:hover,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\xa0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#337ab7;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>a:focus,.pagination>li>span:hover,.pagination>li>span:focus{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:hover,.pagination>.active>a:focus,.pagination>.active>span,.pagination>.active>span:hover,.pagination>.active>span:focus{z-index:3;color:#fff;background-color:#337ab7;border-color:#337ab7;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#777;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager:before,.pager:after{content:" ";display:table}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#777;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label,div.buic-listing table.listing tr.selectiontoolbar button .label{position:relative;top:-1px}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge,div.buic-listing table.listing tr.selectiontoolbar .btn-group-xs>button .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus,button.list-group-item:hover,button.list-group-item:focus{text-decoration:none;color:#555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#eee;color:#777;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:hover,button.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active,button.list-group-item-success.active:hover,button.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:hover,button.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active,button.list-group-item-info.active:hover,button.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:hover,button.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active,button.list-group-item-warning.active:hover,button.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:hover,button.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active,button.list-group-item-danger.active:hover,button.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{content:" ";display:table}.panel-body:after{clear:both}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header:before,.modal-header:after{content:" ";display:table}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn,.modal-footer div.buic-listing table.listing tr.selectiontoolbar button+.btn,div.buic-listing table.listing tr.selectiontoolbar .modal-footer button+.btn,.modal-footer div.buic-listing table.listing tr.selectiontoolbar .btn+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn+button,.modal-footer div.buic-listing table.listing tr.selectiontoolbar button+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer button+button{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn,.modal-footer .btn-group div.buic-listing table.listing tr.selectiontoolbar button+.btn,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn-group button+.btn,.modal-footer .btn-group div.buic-listing table.listing tr.selectiontoolbar .btn+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn-group .btn+button,.modal-footer .btn-group div.buic-listing table.listing tr.selectiontoolbar button+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn-group button+button{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.tooltip{position:absolute;z-index:1070;display:block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:14px;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs{display:none!important}.visible-sm{display:none!important}.visible-md{display:none!important}.visible-lg{display:none!important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none!important}.visible-print{display:none!important}.visible-print-block{display:none!important}.visible-print-inline{display:none!important}.visible-print-inline-block{display:none!important}/*!\n+@charset "UTF-8";/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */*{box-sizing:border-box}*:before,*:after{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}input,button,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:hover,a:focus{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.img-responsive{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}h1 small,h1 .small,h2 small,h2 .small,h3 small,h3 .small,h4 small,h4 .small,h5 small,h5 .small,h6 small,h6 .small,.h1 small,.h1 .small,.h2 small,.h2 .small,.h3 small,.h3 .small,.h4 small,.h4 .small,.h5 small,.h5 .small,.h6 small,.h6 .small{font-weight:400;line-height:1;color:#777}h1,.h1,h2,.h2,h3,.h3{margin-top:20px;margin-bottom:10px}h1 small,h1 .small,.h1 small,.h1 .small,h2 small,h2 .small,.h2 small,.h2 .small,h3 small,h3 .small,.h3 small,.h3 .small{font-size:65%}h4,.h4,h5,.h5,h6,.h6{margin-top:10px;margin-bottom:10px}h4 small,h4 .small,.h4 small,.h4 .small,h5 small,h5 .small,.h5 small,.h5 .small,h6 small,h6 .small,.h6 small,.h6 .small{font-size:75%}h1,.h1{font-size:36px}h2,.h2{font-size:30px}h3,.h3{font-size:24px}h4,.h4{font-size:18px}h5,.h5{font-size:14px}h6,.h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}small,.small{font-size:85%}mark,.mark{background-color:#fcf8e3;padding:.2em}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase,.initialism{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover,a.text-primary:focus{color:#286090}.text-success{color:#3c763d}a.text-success:hover,a.text-success:focus{color:#2b542c}.text-info{color:#31708f}a.text-info:hover,a.text-info:focus{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover,a.text-warning:focus{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover,a.text-danger:focus{color:#843534}.bg-primary{color:#fff}.bg-primary{background-color:#337ab7}a.bg-primary:hover,a.bg-primary:focus{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover,a.bg-success:focus{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover,a.bg-info:focus{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover,a.bg-warning:focus{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover,a.bg-danger:focus{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ul,ol{margin-top:0;margin-bottom:10px}ul ul,ul ol,ol ul,ol ol{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-left:5px;padding-right:5px}dl{margin-top:0;margin-bottom:20px}dt,dd{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}.dl-horizontal dd:before,.dl-horizontal dd:after{content:" ";display:table}.dl-horizontal dd:after{clear:both}abbr[title],abbr[data-original-title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote p:last-child,blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}blockquote footer,blockquote small,blockquote .small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote footer:before,blockquote small:before,blockquote .small:before{content:\'\\2014 \\00A0\'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;border-right:5px solid #eee;border-left:0;text-align:right}.blockquote-reverse footer:before,.blockquote-reverse small:before,.blockquote-reverse .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before,blockquote.pull-right .small:before{content:\'\'}.blockquote-reverse footer:after,.blockquote-reverse small:after,.blockquote-reverse .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after,blockquote.pull-right .small:after{content:\'\\00A0 \\2014\'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,Courier New,monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;word-break:break-all;word-wrap:break-word;color:#333;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container:before,.container:after{content:" ";display:table}.container:after{clear:both}.container-fluid{margin-right:auto;margin-left:auto;padding-left:15px;padding-right:15px}.container-fluid:before,.container-fluid:after{content:" ";display:table}.container-fluid:after{clear:both}.row{margin-left:-15px;margin-right:-15px}.row:before,.row:after{content:" ";display:table}.row:after{clear:both}.col-xs-1,.col-sm-1,.col-md-1,.col-lg-1,.col-xs-2,.col-sm-2,.col-md-2,.col-lg-2,.col-xs-3,.col-sm-3,.col-md-3,.col-lg-3,.col-xs-4,.col-sm-4,.col-md-4,.col-lg-4,.col-xs-5,.col-sm-5,.col-md-5,.col-lg-5,.col-xs-6,.col-sm-6,.col-md-6,.col-lg-6,.col-xs-7,.col-sm-7,.col-md-7,.col-lg-7,.col-xs-8,.col-sm-8,.col-md-8,.col-lg-8,.col-xs-9,.col-sm-9,.col-md-9,.col-lg-9,.col-xs-10,.col-sm-10,.col-md-10,.col-lg-10,.col-xs-11,.col-sm-11,.col-md-11,.col-lg-11,.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{position:relative;min-height:1px;padding-left:15px;padding-right:15px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-1{width:8.33333333%}.col-xs-2{width:16.66666667%}.col-xs-3{width:25%}.col-xs-4{width:33.33333333%}.col-xs-5{width:41.66666667%}.col-xs-6{width:50%}.col-xs-7{width:58.33333333%}.col-xs-8{width:66.66666667%}.col-xs-9{width:75%}.col-xs-10{width:83.33333333%}.col-xs-11{width:91.66666667%}.col-xs-12{width:100%}.col-xs-pull-0{right:auto}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-3{right:25%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-6{right:50%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-9{right:75%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-12{right:100%}.col-xs-push-0{left:auto}.col-xs-push-1{left:8.33333333%}.col-xs-push-2{left:16.66666667%}.col-xs-push-3{left:25%}.col-xs-push-4{left:33.33333333%}.col-xs-push-5{left:41.66666667%}.col-xs-push-6{left:50%}.col-xs-push-7{left:58.33333333%}.col-xs-push-8{left:66.66666667%}.col-xs-push-9{left:75%}.col-xs-push-10{left:83.33333333%}.col-xs-push-11{left:91.66666667%}.col-xs-push-12{left:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-12{margin-left:100%}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>thead>tr>th,.table>thead>tr>td,.table>tbody>tr>th,.table>tbody>tr>td,.table>tfoot>tr>th,.table>tfoot>tr>td{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>th,.table>caption+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>thead:first-child>tr:first-child>th,.table>thead:first-child>tr:first-child>td{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>thead>tr>th,.table-condensed>thead>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tbody>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>tfoot>tr>td{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tbody>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>tfoot>tr>td{border:1px solid #ddd}.table-bordered>thead>tr>th,.table-bordered>thead>tr>td{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;float:none;display:table-column}table td[class*=col-],table th[class*=col-]{position:static;float:none;display:table-cell}.table>thead>tr>td.active,.table>thead>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th{background-color:#f5f5f5}.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover,.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr.active:hover>th{background-color:#e8e8e8}.table>thead>tr>td.success,.table>thead>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th{background-color:#dff0d8}.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover,.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr.success:hover>th{background-color:#d0e9c6}.table>thead>tr>td.info,.table>thead>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th{background-color:#d9edf7}.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover,.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr.info:hover>th{background-color:#c4e3f3}.table>thead>tr>td.warning,.table>thead>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th{background-color:#fcf8e3}.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover,.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr.warning:hover>th{background-color:#faf2cc}.table>thead>tr>td.danger,.table>thead>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th{background-color:#f2dede}.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover,.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr.danger:hover>th{background-color:#ebcccc}.table-responsive{overflow-x:auto;min-height:.01%}fieldset{padding:0;margin:0;border:0;min-width:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{box-sizing:border-box}input[type=radio],input[type=checkbox]{margin:4px 0 0;margin-top:1px \\9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{border:0;background-color:transparent}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}.form-group{margin-bottom:15px}.radio,.checkbox{position:relative;display:block;margin-top:10px;margin-bottom:10px}.radio label,.checkbox label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio input[type=radio],.radio-inline input[type=radio],.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox]{position:absolute;margin-left:-20px;margin-top:4px \\9}.radio+.radio,.checkbox+.checkbox{margin-top:-5px}.radio-inline,.checkbox-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;vertical-align:middle;font-weight:400;cursor:pointer}.radio-inline+.radio-inline,.checkbox-inline+.checkbox-inline{margin-top:0;margin-left:10px}input[type=radio][disabled],input[type=radio].disabled,fieldset[disabled] input[type=radio],input[type=checkbox][disabled],input[type=checkbox].disabled,fieldset[disabled] input[type=checkbox]{cursor:not-allowed}.radio-inline.disabled,fieldset[disabled] .radio-inline,.checkbox-inline.disabled,fieldset[disabled] .checkbox-inline{cursor:not-allowed}.radio.disabled label,fieldset[disabled] .radio label,.checkbox.disabled label,fieldset[disabled] .checkbox label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0;min-height:34px}.form-control-static.input-lg,.input-group-lg>.form-control-static.form-control,.input-group-lg>.form-control-static.input-group-addon,.input-group-lg>.input-group-btn>.form-control-static.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button.form-control-static,.form-control-static.input-sm,.input-group-sm>.form-control-static.form-control,.input-group-sm>.form-control-static.input-group-addon,.input-group-sm>.input-group-btn>.form-control-static.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button.form-control-static{padding-left:0;padding-right:0}.input-sm,.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm,.input-group-sm>select.form-control,.input-group-sm>select.input-group-addon,.input-group-sm>.input-group-btn>select.btn{height:30px;line-height:30px}textarea.input-sm,.input-group-sm>textarea.form-control,.input-group-sm>textarea.input-group-addon,.input-group-sm>.input-group-btn>textarea.btn,select[multiple].input-sm,.input-group-sm>select[multiple].form-control,.input-group-sm>select[multiple].input-group-addon,.input-group-sm>.input-group-btn>select[multiple].btn{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm textarea.form-control,.form-group-sm select[multiple].form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg,.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg,.input-group-lg>select.form-control,.input-group-lg>select.input-group-addon,.input-group-lg>.input-group-btn>select.btn{height:46px;line-height:46px}textarea.input-lg,.input-group-lg>textarea.form-control,.input-group-lg>textarea.input-group-addon,.input-group-lg>.input-group-btn>textarea.btn,select[multiple].input-lg,.input-group-lg>select[multiple].form-control,.input-group-lg>select[multiple].input-group-addon,.input-group-lg>.input-group-btn>select[multiple].btn{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg textarea.form-control,.form-group-lg select[multiple].form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback,.input-group-lg>.form-control+.form-control-feedback,.input-group-lg>.input-group-addon+.form-control-feedback,.input-group-lg>.input-group-btn>.btn+.form-control-feedback,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button+.form-control-feedback,.input-group-lg+.form-control-feedback,.form-group-lg .form-control+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback,.input-group-sm>.form-control+.form-control-feedback,.input-group-sm>.input-group-addon+.form-control-feedback,.input-group-sm>.input-group-btn>.btn+.form-control-feedback,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button+.form-control-feedback,.input-group-sm+.form-control-feedback,.form-group-sm .form-control+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .help-block,.has-success .control-label,.has-success .radio,.has-success .checkbox,.has-success .radio-inline,.has-success .checkbox-inline,.has-success.radio label,.has-success.checkbox label,.has-success.radio-inline label,.has-success.checkbox-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;border-color:#3c763d;background-color:#dff0d8}.has-success .form-control-feedback{color:#3c763d}.has-warning .help-block,.has-warning .control-label,.has-warning .radio,.has-warning .checkbox,.has-warning .radio-inline,.has-warning .checkbox-inline,.has-warning.radio label,.has-warning.checkbox label,.has-warning.radio-inline label,.has-warning.checkbox-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;border-color:#8a6d3b;background-color:#fcf8e3}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .help-block,.has-error .control-label,.has-error .radio,.has-error .checkbox,.has-error .radio-inline,.has-error .checkbox-inline,.has-error.radio label,.has-error.checkbox label,.has-error.radio-inline label,.has-error.checkbox-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;border-color:#a94442;background-color:#f2dede}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.form-horizontal .radio,.form-horizontal .checkbox,.form-horizontal .radio-inline,.form-horizontal .checkbox-inline{margin-top:0;margin-bottom:0;padding-top:7px}.form-horizontal .radio,.form-horizontal .checkbox{min-height:27px}.form-horizontal .form-group{margin-left:-15px;margin-right:-15px}.form-horizontal .form-group:before,.form-horizontal .form-group:after{content:" ";display:table}.form-horizontal .form-group:after{clear:both}.form-horizontal .has-feedback .form-control-feedback{right:15px}.btn,div.buic-listing table.listing tr.selectiontoolbar button{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus,.btn:active:focus,div.buic-listing table.listing tr.selectiontoolbar button:active:focus,.btn:active.focus,div.buic-listing table.listing tr.selectiontoolbar button:active.focus,.btn.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active:focus,.btn.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn:hover,div.buic-listing table.listing tr.selectiontoolbar button:hover,.btn:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus{color:#333;text-decoration:none}.btn:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn.active,div.buic-listing table.listing tr.selectiontoolbar button.active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,div.buic-listing table.listing tr.selectiontoolbar button.disabled,.btn[disabled],div.buic-listing table.listing tr.selectiontoolbar button[disabled],fieldset[disabled] .btn,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default,div.buic-listing table.listing tr.selectiontoolbar button{color:#333;background-color:#fff;border-color:#ccc}.btn-default:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn-default.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover,div.buic-listing table.listing tr.selectiontoolbar button:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default:active:hover,div.buic-listing table.listing tr.selectiontoolbar button:active:hover,.btn-default:active:focus,div.buic-listing table.listing tr.selectiontoolbar button:active:focus,.btn-default:active.focus,div.buic-listing table.listing tr.selectiontoolbar button:active.focus,.btn-default.active:hover,div.buic-listing table.listing tr.selectiontoolbar button.active:hover,.btn-default.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active:focus,.btn-default.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus,.open>.btn-default.dropdown-toggle:hover,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.focus{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{background-image:none}.btn-default.disabled:hover,div.buic-listing table.listing tr.selectiontoolbar button.disabled:hover,.btn-default.disabled:focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled:focus,.btn-default.disabled.focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.focus,.btn-default[disabled]:hover,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:hover,.btn-default[disabled]:focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:focus,.btn-default[disabled].focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:hover,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:focus,fieldset[disabled] .btn-default.focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.focus{background-color:#fff;border-color:#ccc}.btn-default .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:focus,.btn-primary.focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary.focus{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success:focus,.btn-success.focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{color:#fff;background-color:#449d44;border-color:#398439}.btn-success:active:hover,.btn-success:active:focus,.btn-success:active.focus,.btn-success.active:hover,.btn-success.active:focus,.btn-success.active.focus,.open>.btn-success.dropdown-toggle:hover,.open>.btn-success.dropdown-toggle:focus,.open>.btn-success.dropdown-toggle.focus{color:#fff;background-color:#398439;border-color:#255625}.btn-success:active,.btn-success.active,.open>.btn-success.dropdown-toggle{background-image:none}.btn-success.disabled:hover,.btn-success.disabled:focus,.btn-success.disabled.focus,.btn-success[disabled]:hover,.btn-success[disabled]:focus,.btn-success[disabled].focus,fieldset[disabled] .btn-success:hover,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success.focus{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info:focus,.btn-info.focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info:active:hover,.btn-info:active:focus,.btn-info:active.focus,.btn-info.active:hover,.btn-info.active:focus,.btn-info.active.focus,.open>.btn-info.dropdown-toggle:hover,.open>.btn-info.dropdown-toggle:focus,.open>.btn-info.dropdown-toggle.focus{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info:active,.btn-info.active,.open>.btn-info.dropdown-toggle{background-image:none}.btn-info.disabled:hover,.btn-info.disabled:focus,.btn-info.disabled.focus,.btn-info[disabled]:hover,.btn-info[disabled]:focus,.btn-info[disabled].focus,fieldset[disabled] .btn-info:hover,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info.focus{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning:focus,.btn-warning.focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning:active:hover,.btn-warning:active:focus,.btn-warning:active.focus,.btn-warning.active:hover,.btn-warning.active:focus,.btn-warning.active.focus,.open>.btn-warning.dropdown-toggle:hover,.open>.btn-warning.dropdown-toggle:focus,.open>.btn-warning.dropdown-toggle.focus{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning:active,.btn-warning.active,.open>.btn-warning.dropdown-toggle{background-image:none}.btn-warning.disabled:hover,.btn-warning.disabled:focus,.btn-warning.disabled.focus,.btn-warning[disabled]:hover,.btn-warning[disabled]:focus,.btn-warning[disabled].focus,fieldset[disabled] .btn-warning:hover,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning.focus{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger:focus,.btn-danger.focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger.focus{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;font-weight:400;border-radius:0}.btn-link,.btn-link:active,.btn-link.active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;box-shadow:none}.btn-link,.btn-link:hover,.btn-link:focus,.btn-link:active{border-color:transparent}.btn-link:hover,.btn-link:focus{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:hover,.btn-link[disabled]:focus,fieldset[disabled] .btn-link:hover,fieldset[disabled] .btn-link:focus{color:#777;text-decoration:none}.btn-lg,.btn-group-lg>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg>button{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm,.btn-group-sm>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-sm>button{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs,.btn-group-xs>.btn,div.buic-listing table.listing tr.selectiontoolbar button{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=submit].btn-block,input[type=reset].btn-block,input[type=button].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid \\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropup,.dropdown{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;list-style:none;font-size:14px;text-align:left;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175);background-clip:padding-box}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:hover,.dropdown-menu>li>a:focus{text-decoration:none;color:#262626;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:hover,.dropdown-menu>.active>a:focus{color:#fff;text-decoration:none;outline:0;background-color:#337ab7}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{color:#777}.dropdown-menu>.disabled>a:hover,.dropdown-menu>.disabled>a:focus{text-decoration:none;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);cursor:not-allowed}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{left:auto;right:0}.dropdown-menu-left{left:0;right:auto}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{border-top:0;border-bottom:4px dashed;border-bottom:4px solid \\9;content:""}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button,.btn-group-vertical>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button{position:relative;float:left}.btn-group>.btn:hover,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:hover,.btn-group>.btn:focus,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:focus,.btn-group>.btn:active,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:active,.btn-group>.btn.active,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button.active,.btn-group-vertical>.btn:hover,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:hover,.btn-group-vertical>.btn:focus,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:focus,.btn-group-vertical>.btn:active,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:active,.btn-group-vertical>.btn.active,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button.active{z-index:2}.btn-group .btn+.btn,.btn-group div.buic-listing table.listing tr.selectiontoolbar button+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group button+.btn,.btn-group div.buic-listing table.listing tr.selectiontoolbar .btn+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group .btn+button,.btn-group div.buic-listing table.listing tr.selectiontoolbar button+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group button+button,.btn-group .btn+.btn-group,.btn-group div.buic-listing table.listing tr.selectiontoolbar button+.btn-group,div.buic-listing table.listing tr.selectiontoolbar .btn-group button+.btn-group,.btn-group .btn-group+.btn,.btn-group div.buic-listing table.listing tr.selectiontoolbar .btn-group+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group .btn-group+button,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar:before,.btn-toolbar:after{content:" ";display:table}.btn-toolbar:after{clear:both}.btn-toolbar .btn,.btn-toolbar div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar .btn-toolbar button,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-toolbar>button,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle),div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle),div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:first-child:not(:last-child):not(.dropdown-toggle){border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn:last-child:not(:first-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group>button:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group>.btn-group:not(:first-child):not(:last-child)>button{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group>.btn-group:first-child:not(:last-child)>button:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-top-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group>.btn-group:last-child:not(:first-child)>button:first-child{border-bottom-left-radius:0;border-top-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button+.dropdown-toggle{padding-left:8px;padding-right:8px}.btn-group>.btn-lg+.dropdown-toggle,.btn-group-lg.btn-group>.btn+.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg.btn-group>button+.dropdown-toggle{padding-left:12px;padding-right:12px}.btn-group.open .dropdown-toggle{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{box-shadow:none}.btn .caret,div.buic-listing table.listing tr.selectiontoolbar button .caret{margin-left:0}.btn-lg .caret,.btn-group-lg>.btn .caret,div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg>button .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret,.dropup .btn-group-lg>.btn .caret,.dropup div.buic-listing table.listing tr.selectiontoolbar .btn-group-lg>button .caret,div.buic-listing table.listing tr.selectiontoolbar .dropup .btn-group-lg>button .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group>button{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group:before,.btn-group-vertical>.btn-group:after{content:" ";display:table}.btn-group-vertical>.btn-group:after{clear:both}.btn-group-vertical>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group>button{float:none}.btn-group-vertical>.btn+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn+button,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button+button,.btn-group-vertical>.btn+.btn-group,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button+.btn-group,.btn-group-vertical>.btn-group+.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group+button,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:first-child:not(:last-child){border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child),div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>button:last-child:not(:first-child){border-top-right-radius:0;border-top-left-radius:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>button{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group:first-child:not(:last-child)>button:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child,div.buic-listing table.listing tr.selectiontoolbar .btn-group-vertical>.btn-group:last-child:not(:first-child)>button:first-child{border-top-right-radius:0;border-top-left-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-justified>button,.btn-group-justified>.btn-group{float:none;display:table-cell;width:1%}.btn-group-justified>.btn-group .btn,.btn-group-justified>.btn-group div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar .btn-group-justified>.btn-group button{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle="buttons"]>.btn input[type="radio"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>button input[type="radio"],[data-toggle="buttons"]>.btn input[type="checkbox"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>button input[type="checkbox"],[data-toggle="buttons"]>.btn-group>.btn input[type="radio"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>.btn-group>button input[type="radio"],[data-toggle="buttons"]>.btn-group>.btn input[type="checkbox"],div.buic-listing table.listing tr.selectiontoolbar [data-toggle="buttons"]>.btn-group>button input[type="checkbox"]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-left:0;padding-right:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-addon,.input-group-btn,.input-group .form-control{display:table-cell}.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child),.input-group .form-control:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.input-group-addon.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-sm>.input-group-btn>button.input-group-addon{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.input-group-addon.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-lg>.input-group-btn>button.input-group-addon{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=radio],.input-group-addon input[type=checkbox]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>button,.input-group-btn:first-child>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>.btn-group>button,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>button:not(:last-child):not(.dropdown-toggle),.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>.btn-group:not(:last-child)>button{border-bottom-right-radius:0;border-top-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:last-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>button,.input-group-btn:last-child>.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>.btn-group>button,.input-group-btn:last-child>.dropdown-toggle,.input-group-btn:first-child>.btn:not(:first-child),div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>button:not(:first-child),.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>.btn-group:not(:first-child)>button{border-bottom-left-radius:0;border-top-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button{position:relative}.input-group-btn>.btn+.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button+.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>.btn+button,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button+button{margin-left:-1px}.input-group-btn>.btn:hover,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button:hover,.input-group-btn>.btn:focus,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button:focus,.input-group-btn>.btn:active,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn>button:active{z-index:2}.input-group-btn:first-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:first-child>button,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,div.buic-listing table.listing tr.selectiontoolbar .input-group-btn:last-child>button,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{margin-bottom:0;padding-left:0;list-style:none}.nav:before,.nav:after{content:" ";display:table}.nav:after{clear:both}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:hover,.nav>li>a:focus{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:hover,.nav>li.disabled>a:focus{color:#777;text-decoration:none;background-color:transparent;cursor:not-allowed}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#555;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:hover,.nav-pills>li.active>a:focus{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified,.nav-tabs.nav-justified{width:100%}.nav-justified>li,.nav-tabs.nav-justified>li{float:none}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{text-align:center;margin-bottom:5px}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.nav-tabs-justified,.nav-tabs.nav-justified{border-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border:1px solid #ddd}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-right-radius:0;border-top-left-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar:before,.navbar:after{content:" ";display:table}.navbar:after{clear:both}.navbar-header:before,.navbar-header:after{content:" ";display:table}.navbar-header:after{clear:both}.navbar-collapse{overflow-x:visible;padding-right:0;padding-left:0;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse:before,.navbar-collapse:after{content:" ";display:table}.navbar-collapse:after{clear:both}.navbar-collapse.in{overflow-y:auto}.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:340px}.container>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-header,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;padding:15px 0;font-size:18px;line-height:20px;height:50px}.navbar-brand:hover,.navbar-brand:focus{text-decoration:none}.navbar-brand>img{display:block}.navbar-toggle{position:relative;float:right;margin-right:0;padding:9px 10px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.navbar-nav{margin:7.5px 0}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}.navbar-form{margin-left:0;margin-right:0;padding:10px 0;border-top:1px solid transparent;border-bottom:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin-top:8px;margin-bottom:8px}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-right-radius:0;border-top-left-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-right-radius:4px;border-top-left-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm,.btn-group-sm>.navbar-btn.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-sm>button.navbar-btn{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs,.btn-group-xs>.navbar-btn.btn,div.buic-listing table.listing tr.selectiontoolbar button.navbar-btn{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:hover,.navbar-default .navbar-brand:focus{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:hover,.navbar-default .navbar-nav>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:hover,.navbar-default .navbar-nav>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:hover,.navbar-default .navbar-nav>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:hover,.navbar-default .navbar-toggle:focus{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:hover,.navbar-default .navbar-nav>.open>a:focus{background-color:#e7e7e7;color:#555}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:hover,.navbar-default .btn-link:focus{color:#333}.navbar-default .btn-link[disabled]:hover,.navbar-default .btn-link[disabled]:focus,fieldset[disabled] .navbar-default .btn-link:hover,fieldset[disabled] .navbar-default .btn-link:focus{color:#ccc}.navbar-inverse{background-color:#222;border-color:#090909}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:hover,.navbar-inverse .navbar-brand:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:hover,.navbar-inverse .navbar-nav>.active>a:focus{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:hover,.navbar-inverse .navbar-nav>.disabled>a:focus{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:hover,.navbar-inverse .navbar-toggle:focus{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:hover,.navbar-inverse .navbar-nav>.open>a:focus{background-color:#090909;color:#fff}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:hover,.navbar-inverse .btn-link:focus{color:#fff}.navbar-inverse .btn-link[disabled]:hover,.navbar-inverse .btn-link[disabled]:focus,fieldset[disabled] .navbar-inverse .btn-link:hover,fieldset[disabled] .navbar-inverse .btn-link:focus{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{content:"/\xa0";padding:0 5px;color:#ccc}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;line-height:1.42857143;text-decoration:none;color:#337ab7;background-color:#fff;border:1px solid #ddd;margin-left:-1px}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-bottom-left-radius:4px;border-top-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-bottom-right-radius:4px;border-top-right-radius:4px}.pagination>li>a:hover,.pagination>li>a:focus,.pagination>li>span:hover,.pagination>li>span:focus{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:hover,.pagination>.active>a:focus,.pagination>.active>span,.pagination>.active>span:hover,.pagination>.active>span:focus{z-index:3;color:#fff;background-color:#337ab7;border-color:#337ab7;cursor:default}.pagination>.disabled>span,.pagination>.disabled>span:hover,.pagination>.disabled>span:focus,.pagination>.disabled>a,.pagination>.disabled>a:hover,.pagination>.disabled>a:focus{color:#777;background-color:#fff;border-color:#ddd;cursor:not-allowed}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-bottom-left-radius:6px;border-top-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-bottom-right-radius:6px;border-top-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-bottom-left-radius:3px;border-top-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-bottom-right-radius:3px;border-top-right-radius:3px}.pager{padding-left:0;margin:20px 0;list-style:none;text-align:center}.pager:before,.pager:after{content:" ";display:table}.pager:after{clear:both}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:hover,.pager li>a:focus{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:hover,.pager .disabled>a:focus,.pager .disabled>span{color:#777;background-color:#fff;cursor:not-allowed}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}.label:empty{display:none}.btn .label,div.buic-listing table.listing tr.selectiontoolbar button .label{position:relative;top:-1px}a.label:hover,a.label:focus{color:#fff;text-decoration:none;cursor:pointer}.label-default{background-color:#777}.label-default[href]:hover,.label-default[href]:focus{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:hover,.label-primary[href]:focus{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:hover,.label-success[href]:focus{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:hover,.label-info[href]:focus{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:hover,.label-warning[href]:focus{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:hover,.label-danger[href]:focus{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;color:#fff;line-height:1;vertical-align:middle;white-space:nowrap;text-align:center;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge{position:relative;top:-1px}.btn-xs .badge,.btn-group-xs>.btn .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge,div.buic-listing table.listing tr.selectiontoolbar .btn-group-xs>button .badge{top:0;padding:1px 5px}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}a.badge:hover,a.badge:focus{color:#fff;text-decoration:none;cursor:pointer}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#3c763d}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{background-color:#d9edf7;border-color:#bce8f1;color:#31708f}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{background-color:#fcf8e3;border-color:#faebcc;color:#8a6d3b}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{background-color:#f2dede;border-color:#ebccd1;color:#a94442}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;transition:width .6s ease}.progress-striped .progress-bar,.progress-bar-striped{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress.active .progress-bar,.progress-bar.active{-webkit-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{zoom:1;overflow:hidden}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-left,.media-right,.media-body{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{margin-bottom:20px;padding-left:0}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-right-radius:4px;border-top-left-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:hover,a.list-group-item:focus,button.list-group-item:hover,button.list-group-item:focus{text-decoration:none;color:#555;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item.disabled,.list-group-item.disabled:hover,.list-group-item.disabled:focus{background-color:#eee;color:#777;cursor:not-allowed}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:hover,.list-group-item.active:focus{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>small,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading>.small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:hover .list-group-item-text,.list-group-item.active:focus .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:hover,a.list-group-item-success:focus,button.list-group-item-success:hover,button.list-group-item-success:focus{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:hover,a.list-group-item-success.active:focus,button.list-group-item-success.active,button.list-group-item-success.active:hover,button.list-group-item-success.active:focus{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:hover,a.list-group-item-info:focus,button.list-group-item-info:hover,button.list-group-item-info:focus{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:hover,a.list-group-item-info.active:focus,button.list-group-item-info.active,button.list-group-item-info.active:hover,button.list-group-item-info.active:focus{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:hover,a.list-group-item-warning:focus,button.list-group-item-warning:hover,button.list-group-item-warning:focus{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:hover,a.list-group-item-warning.active:focus,button.list-group-item-warning.active,button.list-group-item-warning.active:hover,button.list-group-item-warning.active:focus{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:hover,a.list-group-item-danger:focus,button.list-group-item-danger:hover,button.list-group-item-danger:focus{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:hover,a.list-group-item-danger.active:focus,button.list-group-item-danger.active,button.list-group-item-danger.active:hover,button.list-group-item-danger.active:focus{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-body:before,.panel-body:after{content:" ";display:table}.panel-body:after{clear:both}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-right-radius:3px;border-top-left-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>a,.panel-title>small,.panel-title>.small,.panel-title>small>a,.panel-title>.small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-right-radius:3px;border-top-left-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-right-radius:0;border-top-left-radius:0}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.table,.panel>.table-responsive>.table,.panel>.panel-collapse>.table{margin-bottom:0}.panel>.table caption,.panel>.table-responsive>.table caption,.panel>.panel-collapse>.table caption{padding-left:15px;padding-right:15px}.panel>.table:first-child,.panel>.table-responsive:first-child>.table:first-child{border-top-right-radius:3px;border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table:last-child,.panel>.table-responsive:last-child>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child th,.panel>.table>tbody:first-child>tr:first-child td{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{border:0;margin-bottom:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.panel-body,.panel-group .panel-heading+.panel-collapse>.list-group{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;opacity:.2;filter:alpha(opacity=20)}.close:hover,.close:focus{color:#000;text-decoration:none;cursor:pointer;opacity:.5;filter:alpha(opacity=50)}button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-appearance:none}.modal-open{overflow:hidden}.modal{display:none;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);background-clip:padding-box;outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{opacity:0;filter:alpha(opacity=0)}.modal-backdrop.in{opacity:.5;filter:alpha(opacity=50)}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header:before,.modal-header:after{content:" ";display:table}.modal-header:after{clear:both}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer:before,.modal-footer:after{content:" ";display:table}.modal-footer:after{clear:both}.modal-footer .btn+.btn,.modal-footer div.buic-listing table.listing tr.selectiontoolbar button+.btn,div.buic-listing table.listing tr.selectiontoolbar .modal-footer button+.btn,.modal-footer div.buic-listing table.listing tr.selectiontoolbar .btn+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn+button,.modal-footer div.buic-listing table.listing tr.selectiontoolbar button+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer button+button{margin-left:5px;margin-bottom:0}.modal-footer .btn-group .btn+.btn,.modal-footer .btn-group div.buic-listing table.listing tr.selectiontoolbar button+.btn,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn-group button+.btn,.modal-footer .btn-group div.buic-listing table.listing tr.selectiontoolbar .btn+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn-group .btn+button,.modal-footer .btn-group div.buic-listing table.listing tr.selectiontoolbar button+button,div.buic-listing table.listing tr.selectiontoolbar .modal-footer .btn-group button+button{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.tooltip{position:absolute;z-index:1070;display:block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:12px;opacity:0;filter:alpha(opacity=0)}.tooltip.in{opacity:.9;filter:alpha(opacity=90)}.tooltip.top{margin-top:-3px;padding:5px 0}.tooltip.right{margin-left:3px;padding:0 5px}.tooltip.bottom{margin-top:3px;padding:5px 0}.tooltip.left{margin-left:-3px;padding:0 5px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{bottom:0;right:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;letter-spacing:normal;line-break:auto;line-height:1.42857143;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;white-space:normal;word-break:normal;word-spacing:normal;word-wrap:normal;font-size:14px;background-color:#fff;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{margin:0;padding:8px 14px;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{border-width:10px;content:""}.popover.top>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#999;border-top-color:rgba(0,0,0,.25);bottom:-11px}.popover.top>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#fff}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#999;border-right-color:rgba(0,0,0,.25)}.popover.right>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#fff}.popover.bottom>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25);top:-11px}.popover.bottom>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#fff;bottom:-10px}.clearfix:before,.clearfix:after{content:" ";display:table}.clearfix:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-xs{display:none!important}.visible-sm{display:none!important}.visible-md{display:none!important}.visible-lg{display:none!important}.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block{display:none!important}.visible-print{display:none!important}.visible-print-block{display:none!important}.visible-print-inline{display:none!important}.visible-print-inline-block{display:none!important}/*!\n  *  Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome\n  *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n- */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot?v=4.6.3);src:url(../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3) format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2?v=4.6.3) format("woff2"),url(../fonts/fontawesome-webfont.woff?v=4.6.3) format("woff"),url(../fonts/fontawesome-webfont.ttf?v=4.6.3) format("truetype"),url(../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular) format("svg")}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\uf000"}.fa-music:before{content:"\uf001"}.fa-search:before{content:"\uf002"}.fa-envelope-o:before{content:"\uf003"}.fa-heart:before{content:"\uf004"}.fa-star:before{content:"\uf005"}.fa-star-o:before{content:"\uf006"}.fa-user:before{content:"\uf007"}.fa-film:before{content:"\uf008"}.fa-th-large:before{content:"\uf009"}.fa-th:before{content:"\uf00a"}.fa-th-list:before{content:"\uf00b"}.fa-check:before{content:"\uf00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\uf00d"}.fa-search-plus:before{content:"\uf00e"}.fa-search-minus:before{content:"\uf010"}.fa-power-off:before{content:"\uf011"}.fa-signal:before{content:"\uf012"}.fa-gear:before,.fa-cog:before{content:"\uf013"}.fa-trash-o:before{content:"\uf014"}.fa-home:before{content:"\uf015"}.fa-file-o:before{content:"\uf016"}.fa-clock-o:before{content:"\uf017"}.fa-road:before{content:"\uf018"}.fa-download:before{content:"\uf019"}.fa-arrow-circle-o-down:before{content:"\uf01a"}.fa-arrow-circle-o-up:before{content:"\uf01b"}.fa-inbox:before{content:"\uf01c"}.fa-play-circle-o:before{content:"\uf01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\uf01e"}.fa-refresh:before{content:"\uf021"}.fa-list-alt:before{content:"\uf022"}.fa-lock:before{content:"\uf023"}.fa-flag:before{content:"\uf024"}.fa-headphones:before{content:"\uf025"}.fa-volume-off:before{content:"\uf026"}.fa-volume-down:before{content:"\uf027"}.fa-volume-up:before{content:"\uf028"}.fa-qrcode:before{content:"\uf029"}.fa-barcode:before{content:"\uf02a"}.fa-tag:before{content:"\uf02b"}.fa-tags:before{content:"\uf02c"}.fa-book:before{content:"\uf02d"}.fa-bookmark:before{content:"\uf02e"}.fa-print:before{content:"\uf02f"}.fa-camera:before{content:"\uf030"}.fa-font:before{content:"\uf031"}.fa-bold:before{content:"\uf032"}.fa-italic:before{content:"\uf033"}.fa-text-height:before{content:"\uf034"}.fa-text-width:before{content:"\uf035"}.fa-align-left:before{content:"\uf036"}.fa-align-center:before{content:"\uf037"}.fa-align-right:before{content:"\uf038"}.fa-align-justify:before{content:"\uf039"}.fa-list:before{content:"\uf03a"}.fa-dedent:before,.fa-outdent:before{content:"\uf03b"}.fa-indent:before{content:"\uf03c"}.fa-video-camera:before{content:"\uf03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\uf03e"}.fa-pencil:before{content:"\uf040"}.fa-map-marker:before{content:"\uf041"}.fa-adjust:before{content:"\uf042"}.fa-tint:before{content:"\uf043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\uf044"}.fa-share-square-o:before{content:"\uf045"}.fa-check-square-o:before{content:"\uf046"}.fa-arrows:before{content:"\uf047"}.fa-step-backward:before{content:"\uf048"}.fa-fast-backward:before{content:"\uf049"}.fa-backward:before{content:"\uf04a"}.fa-play:before{content:"\uf04b"}.fa-pause:before{content:"\uf04c"}.fa-stop:before{content:"\uf04d"}.fa-forward:before{content:"\uf04e"}.fa-fast-forward:before{content:"\uf050"}.fa-step-forward:before{content:"\uf051"}.fa-eject:before{content:"\uf052"}.fa-chevron-left:before{content:"\uf053"}.fa-chevron-right:before{content:"\uf054"}.fa-plus-circle:before{content:"\uf055"}.fa-minus-circle:before{content:"\uf056"}.fa-times-circle:before{content:"\uf057"}.fa-check-circle:before{content:"\uf058"}.fa-question-circle:before{content:"\uf059"}.fa-info-circle:before{content:"\uf05a"}.fa-crosshairs:before{content:"\uf05b"}.fa-times-circle-o:before{content:"\uf05c"}.fa-check-circle-o:before{content:"\uf05d"}.fa-ban:before{content:"\uf05e"}.fa-arrow-left:before{content:"\uf060"}.fa-arrow-right:before{content:"\uf061"}.fa-arrow-up:before{content:"\uf062"}.fa-arrow-down:before{content:"\uf063"}.fa-mail-forward:before,.fa-share:before{content:"\uf064"}.fa-expand:before{content:"\uf065"}.fa-compress:before{content:"\uf066"}.fa-plus:before{content:"\uf067"}.fa-minus:before{content:"\uf068"}.fa-asterisk:before{content:"\uf069"}.fa-exclamation-circle:before{content:"\uf06a"}.fa-gift:before{content:"\uf06b"}.fa-leaf:before{content:"\uf06c"}.fa-fire:before{content:"\uf06d"}.fa-eye:before{content:"\uf06e"}.fa-eye-slash:before{content:"\uf070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\uf071"}.fa-plane:before{content:"\uf072"}.fa-calendar:before{content:"\uf073"}.fa-random:before{content:"\uf074"}.fa-comment:before{content:"\uf075"}.fa-magnet:before{content:"\uf076"}.fa-chevron-up:before{content:"\uf077"}.fa-chevron-down:before{content:"\uf078"}.fa-retweet:before{content:"\uf079"}.fa-shopping-cart:before{content:"\uf07a"}.fa-folder:before{content:"\uf07b"}.fa-folder-open:before{content:"\uf07c"}.fa-arrows-v:before{content:"\uf07d"}.fa-arrows-h:before{content:"\uf07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\uf080"}.fa-twitter-square:before{content:"\uf081"}.fa-facebook-square:before{content:"\uf082"}.fa-camera-retro:before{content:"\uf083"}.fa-key:before{content:"\uf084"}.fa-gears:before,.fa-cogs:before{content:"\uf085"}.fa-comments:before{content:"\uf086"}.fa-thumbs-o-up:before{content:"\uf087"}.fa-thumbs-o-down:before{content:"\uf088"}.fa-star-half:before{content:"\uf089"}.fa-heart-o:before{content:"\uf08a"}.fa-sign-out:before{content:"\uf08b"}.fa-linkedin-square:before{content:"\uf08c"}.fa-thumb-tack:before{content:"\uf08d"}.fa-external-link:before{content:"\uf08e"}.fa-sign-in:before{content:"\uf090"}.fa-trophy:before{content:"\uf091"}.fa-github-square:before{content:"\uf092"}.fa-upload:before{content:"\uf093"}.fa-lemon-o:before{content:"\uf094"}.fa-phone:before{content:"\uf095"}.fa-square-o:before{content:"\uf096"}.fa-bookmark-o:before{content:"\uf097"}.fa-phone-square:before{content:"\uf098"}.fa-twitter:before{content:"\uf099"}.fa-facebook-f:before,.fa-facebook:before{content:"\uf09a"}.fa-github:before{content:"\uf09b"}.fa-unlock:before{content:"\uf09c"}.fa-credit-card:before{content:"\uf09d"}.fa-feed:before,.fa-rss:before{content:"\uf09e"}.fa-hdd-o:before{content:"\uf0a0"}.fa-bullhorn:before{content:"\uf0a1"}.fa-bell:before{content:"\uf0f3"}.fa-certificate:before{content:"\uf0a3"}.fa-hand-o-right:before{content:"\uf0a4"}.fa-hand-o-left:before{content:"\uf0a5"}.fa-hand-o-up:before{content:"\uf0a6"}.fa-hand-o-down:before{content:"\uf0a7"}.fa-arrow-circle-left:before{content:"\uf0a8"}.fa-arrow-circle-right:before{content:"\uf0a9"}.fa-arrow-circle-up:before{content:"\uf0aa"}.fa-arrow-circle-down:before{content:"\uf0ab"}.fa-globe:before{content:"\uf0ac"}.fa-wrench:before{content:"\uf0ad"}.fa-tasks:before{content:"\uf0ae"}.fa-filter:before{content:"\uf0b0"}.fa-briefcase:before{content:"\uf0b1"}.fa-arrows-alt:before{content:"\uf0b2"}.fa-group:before,.fa-users:before{content:"\uf0c0"}.fa-chain:before,.fa-link:before{content:"\uf0c1"}.fa-cloud:before{content:"\uf0c2"}.fa-flask:before{content:"\uf0c3"}.fa-cut:before,.fa-scissors:before{content:"\uf0c4"}.fa-copy:before,.fa-files-o:before{content:"\uf0c5"}.fa-paperclip:before{content:"\uf0c6"}.fa-save:before,.fa-floppy-o:before{content:"\uf0c7"}.fa-square:before{content:"\uf0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\uf0c9"}.fa-list-ul:before{content:"\uf0ca"}.fa-list-ol:before{content:"\uf0cb"}.fa-strikethrough:before{content:"\uf0cc"}.fa-underline:before{content:"\uf0cd"}.fa-table:before{content:"\uf0ce"}.fa-magic:before{content:"\uf0d0"}.fa-truck:before{content:"\uf0d1"}.fa-pinterest:before{content:"\uf0d2"}.fa-pinterest-square:before{content:"\uf0d3"}.fa-google-plus-square:before{content:"\uf0d4"}.fa-google-plus:before{content:"\uf0d5"}.fa-money:before{content:"\uf0d6"}.fa-caret-down:before{content:"\uf0d7"}.fa-caret-up:before{content:"\uf0d8"}.fa-caret-left:before{content:"\uf0d9"}.fa-caret-right:before{content:"\uf0da"}.fa-columns:before{content:"\uf0db"}.fa-unsorted:before,.fa-sort:before{content:"\uf0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\uf0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\uf0de"}.fa-envelope:before{content:"\uf0e0"}.fa-linkedin:before{content:"\uf0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\uf0e2"}.fa-legal:before,.fa-gavel:before{content:"\uf0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\uf0e4"}.fa-comment-o:before{content:"\uf0e5"}.fa-comments-o:before{content:"\uf0e6"}.fa-flash:before,.fa-bolt:before{content:"\uf0e7"}.fa-sitemap:before{content:"\uf0e8"}.fa-umbrella:before{content:"\uf0e9"}.fa-paste:before,.fa-clipboard:before{content:"\uf0ea"}.fa-lightbulb-o:before{content:"\uf0eb"}.fa-exchange:before{content:"\uf0ec"}.fa-cloud-download:before{content:"\uf0ed"}.fa-cloud-upload:before{content:"\uf0ee"}.fa-user-md:before{content:"\uf0f0"}.fa-stethoscope:before{content:"\uf0f1"}.fa-suitcase:before{content:"\uf0f2"}.fa-bell-o:before{content:"\uf0a2"}.fa-coffee:before{content:"\uf0f4"}.fa-cutlery:before{content:"\uf0f5"}.fa-file-text-o:before{content:"\uf0f6"}.fa-building-o:before{content:"\uf0f7"}.fa-hospital-o:before{content:"\uf0f8"}.fa-ambulance:before{content:"\uf0f9"}.fa-medkit:before{content:"\uf0fa"}.fa-fighter-jet:before{content:"\uf0fb"}.fa-beer:before{content:"\uf0fc"}.fa-h-square:before{content:"\uf0fd"}.fa-plus-square:before{content:"\uf0fe"}.fa-angle-double-left:before{content:"\uf100"}.fa-angle-double-right:before{content:"\uf101"}.fa-angle-double-up:before{content:"\uf102"}.fa-angle-double-down:before{content:"\uf103"}.fa-angle-left:before{content:"\uf104"}.fa-angle-right:before{content:"\uf105"}.fa-angle-up:before{content:"\uf106"}.fa-angle-down:before{content:"\uf107"}.fa-desktop:before{content:"\uf108"}.fa-laptop:before{content:"\uf109"}.fa-tablet:before{content:"\uf10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\uf10b"}.fa-circle-o:before{content:"\uf10c"}.fa-quote-left:before{content:"\uf10d"}.fa-quote-right:before{content:"\uf10e"}.fa-spinner:before{content:"\uf110"}.fa-circle:before{content:"\uf111"}.fa-mail-reply:before,.fa-reply:before{content:"\uf112"}.fa-github-alt:before{content:"\uf113"}.fa-folder-o:before{content:"\uf114"}.fa-folder-open-o:before{content:"\uf115"}.fa-smile-o:before{content:"\uf118"}.fa-frown-o:before{content:"\uf119"}.fa-meh-o:before{content:"\uf11a"}.fa-gamepad:before{content:"\uf11b"}.fa-keyboard-o:before{content:"\uf11c"}.fa-flag-o:before{content:"\uf11d"}.fa-flag-checkered:before{content:"\uf11e"}.fa-terminal:before{content:"\uf120"}.fa-code:before{content:"\uf121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\uf122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\uf123"}.fa-location-arrow:before{content:"\uf124"}.fa-crop:before{content:"\uf125"}.fa-code-fork:before{content:"\uf126"}.fa-unlink:before,.fa-chain-broken:before{content:"\uf127"}.fa-question:before{content:"\uf128"}.fa-info:before{content:"\uf129"}.fa-exclamation:before{content:"\uf12a"}.fa-superscript:before{content:"\uf12b"}.fa-subscript:before{content:"\uf12c"}.fa-eraser:before{content:"\uf12d"}.fa-puzzle-piece:before{content:"\uf12e"}.fa-microphone:before{content:"\uf130"}.fa-microphone-slash:before{content:"\uf131"}.fa-shield:before{content:"\uf132"}.fa-calendar-o:before{content:"\uf133"}.fa-fire-extinguisher:before{content:"\uf134"}.fa-rocket:before{content:"\uf135"}.fa-maxcdn:before{content:"\uf136"}.fa-chevron-circle-left:before{content:"\uf137"}.fa-chevron-circle-right:before{content:"\uf138"}.fa-chevron-circle-up:before{content:"\uf139"}.fa-chevron-circle-down:before{content:"\uf13a"}.fa-html5:before{content:"\uf13b"}.fa-css3:before{content:"\uf13c"}.fa-anchor:before{content:"\uf13d"}.fa-unlock-alt:before{content:"\uf13e"}.fa-bullseye:before{content:"\uf140"}.fa-ellipsis-h:before{content:"\uf141"}.fa-ellipsis-v:before{content:"\uf142"}.fa-rss-square:before{content:"\uf143"}.fa-play-circle:before{content:"\uf144"}.fa-ticket:before{content:"\uf145"}.fa-minus-square:before{content:"\uf146"}.fa-minus-square-o:before{content:"\uf147"}.fa-level-up:before{content:"\uf148"}.fa-level-down:before{content:"\uf149"}.fa-check-square:before{content:"\uf14a"}.fa-pencil-square:before{content:"\uf14b"}.fa-external-link-square:before{content:"\uf14c"}.fa-share-square:before{content:"\uf14d"}.fa-compass:before{content:"\uf14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\uf150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\uf151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\uf152"}.fa-euro:before,.fa-eur:before{content:"\uf153"}.fa-gbp:before{content:"\uf154"}.fa-dollar:before,.fa-usd:before{content:"\uf155"}.fa-rupee:before,.fa-inr:before{content:"\uf156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\uf157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\uf158"}.fa-won:before,.fa-krw:before{content:"\uf159"}.fa-bitcoin:before,.fa-btc:before{content:"\uf15a"}.fa-file:before{content:"\uf15b"}.fa-file-text:before{content:"\uf15c"}.fa-sort-alpha-asc:before{content:"\uf15d"}.fa-sort-alpha-desc:before{content:"\uf15e"}.fa-sort-amount-asc:before{content:"\uf160"}.fa-sort-amount-desc:before{content:"\uf161"}.fa-sort-numeric-asc:before{content:"\uf162"}.fa-sort-numeric-desc:before{content:"\uf163"}.fa-thumbs-up:before{content:"\uf164"}.fa-thumbs-down:before{content:"\uf165"}.fa-youtube-square:before{content:"\uf166"}.fa-youtube:before{content:"\uf167"}.fa-xing:before{content:"\uf168"}.fa-xing-square:before{content:"\uf169"}.fa-youtube-play:before{content:"\uf16a"}.fa-dropbox:before{content:"\uf16b"}.fa-stack-overflow:before{content:"\uf16c"}.fa-instagram:before{content:"\uf16d"}.fa-flickr:before{content:"\uf16e"}.fa-adn:before{content:"\uf170"}.fa-bitbucket:before{content:"\uf171"}.fa-bitbucket-square:before{content:"\uf172"}.fa-tumblr:before{content:"\uf173"}.fa-tumblr-square:before{content:"\uf174"}.fa-long-arrow-down:before{content:"\uf175"}.fa-long-arrow-up:before{content:"\uf176"}.fa-long-arrow-left:before{content:"\uf177"}.fa-long-arrow-right:before{content:"\uf178"}.fa-apple:before{content:"\uf179"}.fa-windows:before{content:"\uf17a"}.fa-android:before{content:"\uf17b"}.fa-linux:before{content:"\uf17c"}.fa-dribbble:before{content:"\uf17d"}.fa-skype:before{content:"\uf17e"}.fa-foursquare:before{content:"\uf180"}.fa-trello:before{content:"\uf181"}.fa-female:before{content:"\uf182"}.fa-male:before{content:"\uf183"}.fa-gittip:before,.fa-gratipay:before{content:"\uf184"}.fa-sun-o:before{content:"\uf185"}.fa-moon-o:before{content:"\uf186"}.fa-archive:before{content:"\uf187"}.fa-bug:before{content:"\uf188"}.fa-vk:before{content:"\uf189"}.fa-weibo:before{content:"\uf18a"}.fa-renren:before{content:"\uf18b"}.fa-pagelines:before{content:"\uf18c"}.fa-stack-exchange:before{content:"\uf18d"}.fa-arrow-circle-o-right:before{content:"\uf18e"}.fa-arrow-circle-o-left:before{content:"\uf190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\uf191"}.fa-dot-circle-o:before{content:"\uf192"}.fa-wheelchair:before{content:"\uf193"}.fa-vimeo-square:before{content:"\uf194"}.fa-turkish-lira:before,.fa-try:before{content:"\uf195"}.fa-plus-square-o:before{content:"\uf196"}.fa-space-shuttle:before{content:"\uf197"}.fa-slack:before{content:"\uf198"}.fa-envelope-square:before{content:"\uf199"}.fa-wordpress:before{content:"\uf19a"}.fa-openid:before{content:"\uf19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\uf19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\uf19d"}.fa-yahoo:before{content:"\uf19e"}.fa-google:before{content:"\uf1a0"}.fa-reddit:before{content:"\uf1a1"}.fa-reddit-square:before{content:"\uf1a2"}.fa-stumbleupon-circle:before{content:"\uf1a3"}.fa-stumbleupon:before{content:"\uf1a4"}.fa-delicious:before{content:"\uf1a5"}.fa-digg:before{content:"\uf1a6"}.fa-pied-piper-pp:before{content:"\uf1a7"}.fa-pied-piper-alt:before{content:"\uf1a8"}.fa-drupal:before{content:"\uf1a9"}.fa-joomla:before{content:"\uf1aa"}.fa-language:before{content:"\uf1ab"}.fa-fax:before{content:"\uf1ac"}.fa-building:before{content:"\uf1ad"}.fa-child:before{content:"\uf1ae"}.fa-paw:before{content:"\uf1b0"}.fa-spoon:before{content:"\uf1b1"}.fa-cube:before{content:"\uf1b2"}.fa-cubes:before{content:"\uf1b3"}.fa-behance:before{content:"\uf1b4"}.fa-behance-square:before{content:"\uf1b5"}.fa-steam:before{content:"\uf1b6"}.fa-steam-square:before{content:"\uf1b7"}.fa-recycle:before{content:"\uf1b8"}.fa-automobile:before,.fa-car:before{content:"\uf1b9"}.fa-cab:before,.fa-taxi:before{content:"\uf1ba"}.fa-tree:before{content:"\uf1bb"}.fa-spotify:before{content:"\uf1bc"}.fa-deviantart:before{content:"\uf1bd"}.fa-soundcloud:before{content:"\uf1be"}.fa-database:before{content:"\uf1c0"}.fa-file-pdf-o:before{content:"\uf1c1"}.fa-file-word-o:before{content:"\uf1c2"}.fa-file-excel-o:before{content:"\uf1c3"}.fa-file-powerpoint-o:before{content:"\uf1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\uf1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\uf1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\uf1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\uf1c8"}.fa-file-code-o:before{content:"\uf1c9"}.fa-vine:before{content:"\uf1ca"}.fa-codepen:before{content:"\uf1cb"}.fa-jsfiddle:before{content:"\uf1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\uf1cd"}.fa-circle-o-notch:before{content:"\uf1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\uf1d0"}.fa-ge:before,.fa-empire:before{content:"\uf1d1"}.fa-git-square:before{content:"\uf1d2"}.fa-git:before{content:"\uf1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\uf1d4"}.fa-tencent-weibo:before{content:"\uf1d5"}.fa-qq:before{content:"\uf1d6"}.fa-wechat:before,.fa-weixin:before{content:"\uf1d7"}.fa-send:before,.fa-paper-plane:before{content:"\uf1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\uf1d9"}.fa-history:before{content:"\uf1da"}.fa-circle-thin:before{content:"\uf1db"}.fa-header:before{content:"\uf1dc"}.fa-paragraph:before{content:"\uf1dd"}.fa-sliders:before{content:"\uf1de"}.fa-share-alt:before{content:"\uf1e0"}.fa-share-alt-square:before{content:"\uf1e1"}.fa-bomb:before{content:"\uf1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\uf1e3"}.fa-tty:before{content:"\uf1e4"}.fa-binoculars:before{content:"\uf1e5"}.fa-plug:before{content:"\uf1e6"}.fa-slideshare:before{content:"\uf1e7"}.fa-twitch:before{content:"\uf1e8"}.fa-yelp:before{content:"\uf1e9"}.fa-newspaper-o:before{content:"\uf1ea"}.fa-wifi:before{content:"\uf1eb"}.fa-calculator:before{content:"\uf1ec"}.fa-paypal:before{content:"\uf1ed"}.fa-google-wallet:before{content:"\uf1ee"}.fa-cc-visa:before{content:"\uf1f0"}.fa-cc-mastercard:before{content:"\uf1f1"}.fa-cc-discover:before{content:"\uf1f2"}.fa-cc-amex:before{content:"\uf1f3"}.fa-cc-paypal:before{content:"\uf1f4"}.fa-cc-stripe:before{content:"\uf1f5"}.fa-bell-slash:before{content:"\uf1f6"}.fa-bell-slash-o:before{content:"\uf1f7"}.fa-trash:before{content:"\uf1f8"}.fa-copyright:before{content:"\uf1f9"}.fa-at:before{content:"\uf1fa"}.fa-eyedropper:before{content:"\uf1fb"}.fa-paint-brush:before{content:"\uf1fc"}.fa-birthday-cake:before{content:"\uf1fd"}.fa-area-chart:before{content:"\uf1fe"}.fa-pie-chart:before{content:"\uf200"}.fa-line-chart:before{content:"\uf201"}.fa-lastfm:before{content:"\uf202"}.fa-lastfm-square:before{content:"\uf203"}.fa-toggle-off:before{content:"\uf204"}.fa-toggle-on:before{content:"\uf205"}.fa-bicycle:before{content:"\uf206"}.fa-bus:before{content:"\uf207"}.fa-ioxhost:before{content:"\uf208"}.fa-angellist:before{content:"\uf209"}.fa-cc:before{content:"\uf20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\uf20b"}.fa-meanpath:before{content:"\uf20c"}.fa-buysellads:before{content:"\uf20d"}.fa-connectdevelop:before{content:"\uf20e"}.fa-dashcube:before{content:"\uf210"}.fa-forumbee:before{content:"\uf211"}.fa-leanpub:before{content:"\uf212"}.fa-sellsy:before{content:"\uf213"}.fa-shirtsinbulk:before{content:"\uf214"}.fa-simplybuilt:before{content:"\uf215"}.fa-skyatlas:before{content:"\uf216"}.fa-cart-plus:before{content:"\uf217"}.fa-cart-arrow-down:before{content:"\uf218"}.fa-diamond:before{content:"\uf219"}.fa-ship:before{content:"\uf21a"}.fa-user-secret:before{content:"\uf21b"}.fa-motorcycle:before{content:"\uf21c"}.fa-street-view:before{content:"\uf21d"}.fa-heartbeat:before{content:"\uf21e"}.fa-venus:before{content:"\uf221"}.fa-mars:before{content:"\uf222"}.fa-mercury:before{content:"\uf223"}.fa-intersex:before,.fa-transgender:before{content:"\uf224"}.fa-transgender-alt:before{content:"\uf225"}.fa-venus-double:before{content:"\uf226"}.fa-mars-double:before{content:"\uf227"}.fa-venus-mars:before{content:"\uf228"}.fa-mars-stroke:before{content:"\uf229"}.fa-mars-stroke-v:before{content:"\uf22a"}.fa-mars-stroke-h:before{content:"\uf22b"}.fa-neuter:before{content:"\uf22c"}.fa-genderless:before{content:"\uf22d"}.fa-facebook-official:before{content:"\uf230"}.fa-pinterest-p:before{content:"\uf231"}.fa-whatsapp:before{content:"\uf232"}.fa-server:before{content:"\uf233"}.fa-user-plus:before{content:"\uf234"}.fa-user-times:before{content:"\uf235"}.fa-hotel:before,.fa-bed:before{content:"\uf236"}.fa-viacoin:before{content:"\uf237"}.fa-train:before{content:"\uf238"}.fa-subway:before{content:"\uf239"}.fa-medium:before{content:"\uf23a"}.fa-yc:before,.fa-y-combinator:before{content:"\uf23b"}.fa-optin-monster:before{content:"\uf23c"}.fa-opencart:before{content:"\uf23d"}.fa-expeditedssl:before{content:"\uf23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\uf240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\uf241"}.fa-battery-2:before,.fa-battery-half:before{content:"\uf242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\uf243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\uf244"}.fa-mouse-pointer:before{content:"\uf245"}.fa-i-cursor:before{content:"\uf246"}.fa-object-group:before{content:"\uf247"}.fa-object-ungroup:before{content:"\uf248"}.fa-sticky-note:before{content:"\uf249"}.fa-sticky-note-o:before{content:"\uf24a"}.fa-cc-jcb:before{content:"\uf24b"}.fa-cc-diners-club:before{content:"\uf24c"}.fa-clone:before{content:"\uf24d"}.fa-balance-scale:before{content:"\uf24e"}.fa-hourglass-o:before{content:"\uf250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\uf251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\uf252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\uf253"}.fa-hourglass:before{content:"\uf254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\uf255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\uf256"}.fa-hand-scissors-o:before{content:"\uf257"}.fa-hand-lizard-o:before{content:"\uf258"}.fa-hand-spock-o:before{content:"\uf259"}.fa-hand-pointer-o:before{content:"\uf25a"}.fa-hand-peace-o:before{content:"\uf25b"}.fa-trademark:before{content:"\uf25c"}.fa-registered:before{content:"\uf25d"}.fa-creative-commons:before{content:"\uf25e"}.fa-gg:before{content:"\uf260"}.fa-gg-circle:before{content:"\uf261"}.fa-tripadvisor:before{content:"\uf262"}.fa-odnoklassniki:before{content:"\uf263"}.fa-odnoklassniki-square:before{content:"\uf264"}.fa-get-pocket:before{content:"\uf265"}.fa-wikipedia-w:before{content:"\uf266"}.fa-safari:before{content:"\uf267"}.fa-chrome:before{content:"\uf268"}.fa-firefox:before{content:"\uf269"}.fa-opera:before{content:"\uf26a"}.fa-internet-explorer:before{content:"\uf26b"}.fa-tv:before,.fa-television:before{content:"\uf26c"}.fa-contao:before{content:"\uf26d"}.fa-500px:before{content:"\uf26e"}.fa-amazon:before{content:"\uf270"}.fa-calendar-plus-o:before{content:"\uf271"}.fa-calendar-minus-o:before{content:"\uf272"}.fa-calendar-times-o:before{content:"\uf273"}.fa-calendar-check-o:before{content:"\uf274"}.fa-industry:before{content:"\uf275"}.fa-map-pin:before{content:"\uf276"}.fa-map-signs:before{content:"\uf277"}.fa-map-o:before{content:"\uf278"}.fa-map:before{content:"\uf279"}.fa-commenting:before{content:"\uf27a"}.fa-commenting-o:before{content:"\uf27b"}.fa-houzz:before{content:"\uf27c"}.fa-vimeo:before{content:"\uf27d"}.fa-black-tie:before{content:"\uf27e"}.fa-fonticons:before{content:"\uf280"}.fa-reddit-alien:before{content:"\uf281"}.fa-edge:before{content:"\uf282"}.fa-credit-card-alt:before{content:"\uf283"}.fa-codiepie:before{content:"\uf284"}.fa-modx:before{content:"\uf285"}.fa-fort-awesome:before{content:"\uf286"}.fa-usb:before{content:"\uf287"}.fa-product-hunt:before{content:"\uf288"}.fa-mixcloud:before{content:"\uf289"}.fa-scribd:before{content:"\uf28a"}.fa-pause-circle:before{content:"\uf28b"}.fa-pause-circle-o:before{content:"\uf28c"}.fa-stop-circle:before{content:"\uf28d"}.fa-stop-circle-o:before{content:"\uf28e"}.fa-shopping-bag:before{content:"\uf290"}.fa-shopping-basket:before{content:"\uf291"}.fa-hashtag:before{content:"\uf292"}.fa-bluetooth:before{content:"\uf293"}.fa-bluetooth-b:before{content:"\uf294"}.fa-percent:before{content:"\uf295"}.fa-gitlab:before{content:"\uf296"}.fa-wpbeginner:before{content:"\uf297"}.fa-wpforms:before{content:"\uf298"}.fa-envira:before{content:"\uf299"}.fa-universal-access:before{content:"\uf29a"}.fa-wheelchair-alt:before{content:"\uf29b"}.fa-question-circle-o:before{content:"\uf29c"}.fa-blind:before{content:"\uf29d"}.fa-audio-description:before{content:"\uf29e"}.fa-volume-control-phone:before{content:"\uf2a0"}.fa-braille:before{content:"\uf2a1"}.fa-assistive-listening-systems:before{content:"\uf2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\uf2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\uf2a4"}.fa-glide:before{content:"\uf2a5"}.fa-glide-g:before{content:"\uf2a6"}.fa-signing:before,.fa-sign-language:before{content:"\uf2a7"}.fa-low-vision:before{content:"\uf2a8"}.fa-viadeo:before{content:"\uf2a9"}.fa-viadeo-square:before{content:"\uf2aa"}.fa-snapchat:before{content:"\uf2ab"}.fa-snapchat-ghost:before{content:"\uf2ac"}.fa-snapchat-square:before{content:"\uf2ad"}.fa-pied-piper:before{content:"\uf2ae"}.fa-first-order:before{content:"\uf2b0"}.fa-yoast:before{content:"\uf2b1"}.fa-themeisle:before{content:"\uf2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\uf2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\uf2b4"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.btn,div.buic-listing table.listing tr.selectiontoolbar button{font-size:13px;font-weight:400!important;border-radius:3px}.btn-group{margin-right:6px}.btn-group>.btn-xs,.btn-group-xs.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button{font-size:12px;line-height:16px;padding:3px 7px}.btn-sm,.btn-group-sm>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-sm>button{font-size:13px;line-height:16px;padding:4px 9px}.btn-group>a.btn-sm,.btn-group-sm.btn-group>a.btn,.btn-group>a.btn-xs,.btn-group-xs.btn-group>a.btn{font-weight:400;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.btn-primary{background-color:#5d9f11;border-color:#528d0f;color:#FFF!important}.btn-primary:focus,.btn-primary.focus{color:#FFF;background-color:#42710c;border-color:#0f1903}.btn-primary:hover{color:#FFF;background-color:#42710c;border-color:#325509}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#FFF;background-color:#42710c;border-color:#325509}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#FFF;background-color:#2f5109;border-color:#0f1903}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary.focus{background-color:#5d9f11;border-color:#528d0f}.btn-primary .badge{color:#5d9f11;background-color:#FFF}.btn-secondary{background-color:#2a78cb;border-color:#276eba;color:#FFF!important}.btn-secondary:focus,.btn-secondary.focus{color:#FFF;background-color:#215fa1;border-color:#113050}.btn-secondary:hover{color:#FFF;background-color:#215fa1;border-color:#1c5087}.btn-secondary:active,.btn-secondary.active,.open>.btn-secondary.dropdown-toggle{color:#FFF;background-color:#215fa1;border-color:#1c5087}.btn-secondary:active:hover,.btn-secondary:active:focus,.btn-secondary:active.focus,.btn-secondary.active:hover,.btn-secondary.active:focus,.btn-secondary.active.focus,.open>.btn-secondary.dropdown-toggle:hover,.open>.btn-secondary.dropdown-toggle:focus,.open>.btn-secondary.dropdown-toggle.focus{color:#FFF;background-color:#1b4e83;border-color:#113050}.btn-secondary:active,.btn-secondary.active,.open>.btn-secondary.dropdown-toggle{background-image:none}.btn-secondary.disabled:hover,.btn-secondary.disabled:focus,.btn-secondary.disabled.focus,.btn-secondary[disabled]:hover,.btn-secondary[disabled]:focus,.btn-secondary[disabled].focus,fieldset[disabled] .btn-secondary:hover,fieldset[disabled] .btn-secondary:focus,fieldset[disabled] .btn-secondary.focus{background-color:#2a78cb;border-color:#276eba}.btn-secondary .badge{color:#2a78cb;background-color:#FFF}.btn-tertiary{background-color:#7e94a5;border-color:#728a9d;color:#FFF!important}.btn-tertiary:focus,.btn-tertiary.focus{color:#FFF;background-color:#627b8e;border-color:#3b4955}.btn-tertiary:hover{color:#FFF;background-color:#627b8e;border-color:#566b7c}.btn-tertiary:active,.btn-tertiary.active,.open>.btn-tertiary.dropdown-toggle{color:#FFF;background-color:#627b8e;border-color:#566b7c}.btn-tertiary:active:hover,.btn-tertiary:active:focus,.btn-tertiary:active.focus,.btn-tertiary.active:hover,.btn-tertiary.active:focus,.btn-tertiary.active.focus,.open>.btn-tertiary.dropdown-toggle:hover,.open>.btn-tertiary.dropdown-toggle:focus,.open>.btn-tertiary.dropdown-toggle.focus{color:#FFF;background-color:#546879;border-color:#3b4955}.btn-tertiary:active,.btn-tertiary.active,.open>.btn-tertiary.dropdown-toggle{background-image:none}.btn-tertiary.disabled:hover,.btn-tertiary.disabled:focus,.btn-tertiary.disabled.focus,.btn-tertiary[disabled]:hover,.btn-tertiary[disabled]:focus,.btn-tertiary[disabled].focus,fieldset[disabled] .btn-tertiary:hover,fieldset[disabled] .btn-tertiary:focus,fieldset[disabled] .btn-tertiary.focus{background-color:#7e94a5;border-color:#728a9d}.btn-tertiary .badge{color:#7e94a5;background-color:#FFF}.btn-default,div.buic-listing table.listing tr.selectiontoolbar button{background-color:#e0e0e0;border-color:#d6d6d6;color:#666!important}.btn-default:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn-default.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus{color:#666;background-color:#c7c7c7;border-color:#969696}.btn-default:hover,div.buic-listing table.listing tr.selectiontoolbar button:hover{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-default:active:hover,div.buic-listing table.listing tr.selectiontoolbar button:active:hover,.btn-default:active:focus,div.buic-listing table.listing tr.selectiontoolbar button:active:focus,.btn-default:active.focus,div.buic-listing table.listing tr.selectiontoolbar button:active.focus,.btn-default.active:hover,div.buic-listing table.listing tr.selectiontoolbar button.active:hover,.btn-default.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active:focus,.btn-default.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus,.open>.btn-default.dropdown-toggle:hover,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.focus{color:#666;background-color:#b5b5b5;border-color:#969696}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{background-image:none}.btn-default.disabled:hover,div.buic-listing table.listing tr.selectiontoolbar button.disabled:hover,.btn-default.disabled:focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled:focus,.btn-default.disabled.focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.focus,.btn-default[disabled]:hover,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:hover,.btn-default[disabled]:focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:focus,.btn-default[disabled].focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:hover,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:focus,fieldset[disabled] .btn-default.focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.focus{background-color:#e0e0e0;border-color:#d6d6d6}.btn-default .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge{color:#e0e0e0;background-color:#666}.btn-bolt{background-color:#204460;border-color:#183449;color:#FFF!important}.btn-bolt:focus,.btn-bolt.focus{color:#FFF;background-color:#13293a;border-color:black}.btn-bolt:hover{color:#FFF;background-color:#13293a;border-color:#09131b}.btn-bolt:active,.btn-bolt.active,.open>.btn-bolt.dropdown-toggle{color:#FFF;background-color:#13293a;border-color:#09131b}.btn-bolt:active:hover,.btn-bolt:active:focus,.btn-bolt:active.focus,.btn-bolt.active:hover,.btn-bolt.active:focus,.btn-bolt.active.focus,.open>.btn-bolt.dropdown-toggle:hover,.open>.btn-bolt.dropdown-toggle:focus,.open>.btn-bolt.dropdown-toggle.focus{color:#FFF;background-color:#0a161f;border-color:black}.btn-bolt:active,.btn-bolt.active,.open>.btn-bolt.dropdown-toggle{background-image:none}.btn-bolt.disabled:hover,.btn-bolt.disabled:focus,.btn-bolt.disabled.focus,.btn-bolt[disabled]:hover,.btn-bolt[disabled]:focus,.btn-bolt[disabled].focus,fieldset[disabled] .btn-bolt:hover,fieldset[disabled] .btn-bolt:focus,fieldset[disabled] .btn-bolt.focus{background-color:#204460;border-color:#183449}.btn-bolt .badge{color:#204460;background-color:#FFF}.btn-danger{background-color:#aa1010;border-color:#970e0e;color:#FFF!important}.btn-danger:focus,.btn-danger.focus{color:#FFF;background-color:#7b0c0c;border-color:#230303}.btn-danger:hover{color:#FFF;background-color:#7b0c0c;border-color:#5f0909}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#FFF;background-color:#7b0c0c;border-color:#5f0909}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#FFF;background-color:#5b0909;border-color:#230303}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger.focus{background-color:#aa1010;border-color:#970e0e}.btn-danger .badge{color:#aa1010;background-color:#FFF}.btn-silent-danger,div.buic-listing table.listing tr.selectiontoolbar button.danger{background-color:#e0e0e0;border-color:#d6d6d6;color:#666!important}.btn-silent-danger:focus,div.buic-listing table.listing tr.selectiontoolbar button.danger:focus,.btn-silent-danger.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus.danger{color:#666;background-color:#c7c7c7;border-color:#969696}.btn-silent-danger:hover,div.buic-listing table.listing tr.selectiontoolbar button.danger:hover{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-silent-danger:active,div.buic-listing table.listing tr.selectiontoolbar button.danger:active,.btn-silent-danger.active,div.buic-listing table.listing tr.selectiontoolbar button.active.danger,.open>.btn-silent-danger.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-silent-danger:active:hover,div.buic-listing table.listing tr.selectiontoolbar button.danger:active:hover,.btn-silent-danger:active:focus,div.buic-listing table.listing tr.selectiontoolbar button.danger:active:focus,.btn-silent-danger:active.focus,div.buic-listing table.listing tr.selectiontoolbar button.danger:active.focus,.btn-silent-danger.active:hover,div.buic-listing table.listing tr.selectiontoolbar button.active.danger:hover,.btn-silent-danger.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active.danger:focus,.btn-silent-danger.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus.danger,.open>.btn-silent-danger.dropdown-toggle:hover,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger:hover,.open>.btn-silent-danger.dropdown-toggle:focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger:focus,.open>.btn-silent-danger.dropdown-toggle.focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.focus.danger{color:#666;background-color:#b5b5b5;border-color:#969696}.btn-silent-danger:active,div.buic-listing table.listing tr.selectiontoolbar button.danger:active,.btn-silent-danger.active,div.buic-listing table.listing tr.selectiontoolbar button.active.danger,.open>.btn-silent-danger.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger{background-image:none}.btn-silent-danger.disabled:hover,div.buic-listing table.listing tr.selectiontoolbar button.disabled.danger:hover,.btn-silent-danger.disabled:focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.danger:focus,.btn-silent-danger.disabled.focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.focus.danger,.btn-silent-danger[disabled]:hover,div.buic-listing table.listing tr.selectiontoolbar button[disabled].danger:hover,.btn-silent-danger[disabled]:focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].danger:focus,.btn-silent-danger[disabled].focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].focus.danger,fieldset[disabled] .btn-silent-danger:hover,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.danger:hover,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.danger:hover,fieldset[disabled] .btn-silent-danger:focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.danger:focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.danger:focus,fieldset[disabled] .btn-silent-danger.focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.focus.danger,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.focus.danger{background-color:#e0e0e0;border-color:#d6d6d6}.btn-silent-danger .badge,div.buic-listing table.listing tr.selectiontoolbar button.danger .badge{color:#e0e0e0;background-color:#666}.btn-silent-danger:hover,div.buic-listing table.listing tr.selectiontoolbar button.danger:hover{color:#FFF!important;background-color:#aa1010;border-color:#970e0e}.page-header{padding-bottom:16px;margin:6px 0 20px;border-bottom:0}.center-block{float:none}.navbar-fixed-top,.navbar-fixed-bottom{position:static;background-color:#204460}.navbar-fixed-top .container{width:auto;margin-right:20px}.navbar-bolt{background:transparent;background-color:#204460;background-repeat:repeat-x;border-bottom:0;box-shadow:0 -5px 0 rgba(0,0,0,.15) inset}.navbar-bolt div.navbar-collapse{float:right;clear:none;display:inline-block}.navbar-bolt ul.navbar,.navbar-bolt ul.navbar li{list-style:none;display:inline}.navbar{min-height:54px;margin-bottom:0}.navbar .navbar-brand{display:inline-block;top:0;color:#fff;font-size:28px;line-height:28px;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;padding:8px 8px 8px 2px}.navbar .navbar-brand img{width:26px;height:26px;margin:0 2px 2px 0}.navbar form{padding:0;display:inline}.navbar .dropdown button{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;padding:9px 15px 27px 8px;height:2.4em;font-weight:400}.navbar .navbar-collapse .navbar.pull-right{margin-top:10px}.navbar-site{display:inline-block;color:#ccc!important;font-size:22px;line-height:30px;margin-top:8px;padding:1px 5px 0;float:left;font-weight:400;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif}.navbar-site i{color:#ccc!important;font-size:16px}.navbar-brand:hover,.navbar-site:hover,.navbar-site:hover i{color:#fff!important;text-decoration:none;background-color:#428bca;outline:0}.navbar-toggle{float:left;margin:11px 0 0 -8px;padding:5px 8px 4px 5px;background-color:#a7b4be;border:0 solid #fff!important;color:#222}.navbar-toggle:hover,.navbar-toggle:focus{background-color:#fff!important}.navbar-header{margin-top:2px;float:left}.navbar-right{float:right!important}.navbar-top-links li:last-child{margin-right:0!important}.dropdown-menu{margin:0;border-radius:0;box-shadow:2px 2px 0 rgba(0,0,0,.15)}.dropdown-menu .btn-link{color:#555;padding:3px 20px;display:block}.dropdown-menu .btn-link:hover{color:#1a364d;background-color:#DDD;text-decoration:none}.dropdown-menu li{text-align:left}.dropdown-menu li a,.dropdown-menu li button{font-size:13px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.dropdown-menu li a:hover{background-color:#DDD}.dropdown-menu li.divider{margin:4px 1px}.dropdown-menu li a.nolink{background-color:#fdfdfa!important;color:#474747!important}.pagination{border-radius:2px!important}.pagination>li>a{color:#6f879b}.pagination>li>span{color:#888}.pagination .active a{background-color:#7e94a5;border-color:#7e94a5}.cke_reset_all,.cke_reset_all *{max-width:1500px}.cke_chrome{display:block;border:1px solid #DDD!important;padding:0}.cke_top{background-color:#EEE!important;padding-bottom:4px}.cke_bottom{display:block!important;float:right;border:0!important;top:1px;padding:0 4px!important;background-image:none!important;background-color:transparent!important}.cke_top{padding:0!important}.cke_toolgroup,.cke_combo_button{border-color:#e7e7e7!important;margin:3px!important}.cke_combo_text,.cke_button_label{color:#666!important}.cke_button_on{background-image:none!important;background-color:#e7e7e7!important}.cke_contents textarea{width:99%!important;max-width:100%!important;padding:8px;background-color:#EEE;color:#666!important}.cke_maximized{background-color:#e7e7e7!important}.cke_maximized .cke_contents{margin-bottom:12px!important}.cke_maximized .cke_contents iframe{max-width:900px!important;position:relative!important;border-left:1px solid #CCC;border-right:1px solid #CCC;box-shadow:2px 2px 15px rgba(0,0,0,.3)}.cke_toolbar_separator{background-color:#BBB!important}.CodeMirror{border:1px solid #DDD!important;font-size:14px;line-height:1em;font-family:Menlo,Consolas,Monaco,Courier New,monospace;margin-bottom:16px}.CodeMirror-scroll{background-color:#FFF}.CodeMirror-gutter{background-color:#f2f2f2!important;border-right:1px solid #CCC!important}.cm-tab:after{content:"\\21e5";display:inline-block;width:0;position:relative;overflow:visible;left:-1.4em;color:#aaa}#editcontent .select2-selection__clear{display:none}#editcontent .select2-selection__arrow{border-left:1px solid #eee}#editcontent .select2-selection__arrow:hover{background:#f0f0f0}#editcontent .select2-container--default.select2-container--focus .select2-selection--multiple{box-shadow:0 0 5px rgba(0,0,0,.2)}#editcontent .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#f4f4f4;border:1px solid #ddd;padding:2px 5px}#editcontent .select2-container--open .select2-search--inline{clear:both}#editcontent .select2-container--default .select2-selection--single,#editcontent .select2-container--default .select2-selection--multiple{border-color:#ccc;border-radius:2px}@font-face{font-family:Source Sans Pro;src:url(../fonts/SourceSansPro-Regular.woff2) format("woff2"),url(../fonts/SourceSansPro-Regular.woff) format("woff")}@font-face{font-family:Source Sans Pro;font-weight:600;src:url(../fonts/SourceSansPro-Semibold.woff2) format("woff2"),url(../fonts/SourceSansPro-Semibold.woff) format("woff")}@font-face{font-family:Source Sans Pro;font-style:italic;src:url(../fonts/SourceSansPro-It.woff2) format("woff2"),url(../fonts/SourceSansPro-It.woff) format("woff")}#navpage-wrapper{width:100%;height:100%}#navpage-primary .navbar-form{border:0;box-shadow:none!important;font-size:100%;margin-right:8px;padding:0 15px 8px 6px}#navpage-primary input.semitransparent{opacity:.5}#navpage-primary input.semitransparent:focus{opacity:1}.navbar-top-links{margin-top:5px}.navbar-top-links li{display:inline-block}.navbar-top-links li:last-child{margin-right:15px}.navbar-top-links li a{padding:12px;min-height:42px}.navbar-top-links .dropdown-menu li{display:block}.navbar-top-links .dropdown-menu li:last-child{margin-right:0}.navbar-top-links .dropdown-menu li a div{white-space:normal}.navbar-top-links .dropdown-menu>li a{color:#555;min-height:0}.navbar-top-links .dropdown-menu button:hover{background-color:#DDD;color:#1a364d}.navbar-top-links .dropdown-messages,.navbar-top-links .dropdown-tasks,.navbar-top-links .dropdown-alerts{width:310px;min-width:0}.navbar-top-links .dropdown-messages{margin-left:5px}.navbar-top-links .dropdown-tasks{margin-left:-59px}.navbar-top-links .dropdown-alerts{margin-left:-123px}.navbar-top-links .dropdown-user{right:0;left:auto}.navbar-static-top .nav>li>a{color:#CCC;font-weight:400}.navbar-static-top .nav>li:hover>a,.navbar-static-top .nav>li :focus{color:#FFF;background:#4a5e6e}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#4a5e6e}#navpage-secondary{visibility:visible;display:block;z-index:100002;position:absolute;width:280px;padding-top:17px;height:100%;left:-280px;-webkit-transition:left .1s,width .1s;transition:left .1s,width .1s;box-shadow:-5px 0 0 rgba(0,0,0,.15) inset;background:#33363e;color:#DDD;font-size:120%}#navpage-secondary ul.submenu{visibility:hidden;display:none;font-size:90%;background:#4a4e5a}#navpage-secondary ul.submenu.show{visibility:visible;display:block}#navpage-secondary ul.submenu>li.subdivider{border-top:1px dashed #616776}#navpage-secondary ul.submenu a{padding:9px 8px 9px 48px;text-indent:-40px;color:#CCC;font-weight:400}#navpage-secondary ul.submenu a i{width:24px;margin-right:8px;text-indent:0}.nav-secondary-opened #navpage-secondary{left:0}#navpage-secondary .nav>li>a,#navpage-secondary .nav>li>form,#navpage-secondary .nav>li>em{padding:13px 8px 9px 50px;color:#CCC;display:block;font-weight:400;max-height:3.6em;overflow:hidden;cursor:pointer}#navpage-secondary .nav>li.nav-secondary-dashboard>a{padding:13px 8px 13px 50px}#navpage-secondary .nav>li a.menu-pop{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#navpage-secondary .nav>li a.menu-pop:before{display:inline-block;font-family:fontawesome;float:right;content:"\\f0da";text-indent:0;font-size:120%;padding-left:4px;color:#8c8c8c;line-height:22px}#navpage-secondary .nav>li:hover>a,#navpage-secondary .nav>li a:focus{color:#FFF;background:#3f515f}#navpage-secondary .nav>li:hover>a i.icon,#navpage-secondary .nav>li a:focus i.icon{background:#FFF}#navpage-secondary .nav>li>em{font-weight:700;font-style:normal;color:#b3c7d6}#navpage-secondary .nav>li>em i.icon{background:none;color:#b3c7d6;top:17px}#navpage-secondary .nav>li.active>a{color:#FFF;background:#42627b}#navpage-secondary .nav>li.active>a i.icon{background:#FFF}#navpage-secondary .nav>li.divider{border-top:1px solid #454954;padding-top:6px;margin-top:14px}#navpage-secondary .nav>li.search{padding-bottom:14px}#navpage-secondary .nav>li.search form{margin:0;padding-top:0;border:none;box-shadow:none}#navpage-secondary .nav>li.search .form-group{vertical-align:middle;display:inline-block;width:220px;text-indent:0;margin:0}#navpage-secondary .nav>li.search .select2-container{padding:4px 8px}#navpage-secondary .nav>li.search i.icon{background:none;color:#CCC}#navpage-secondary .nav>li i.icon{display:block;margin-right:8px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:baseline;text-indent:0;font-style:normal;font-weight:700;background:#CCC;border-radius:3px;font-size:16px;color:#333;position:absolute;left:12px;top:10px}#navpage-secondary .nav>li i.icon:before{font-weight:400}#navpage-secondary .nav>li .popover.right{margin-left:-16px}#navpage-secondary .nav>li .popover-content{z-index:20;color:#444;padding:3px;overflow:hidden;text-indent:0}#navpage-secondary .nav>li .popover-content a{display:block;padding:4px 6px 4px 4px;background:transparent;color:#555!important;font-size:100%;text-indent:-32px;padding-left:32px;text-overflow:ellipsis;white-space:nowrap}#navpage-secondary .nav>li .popover-content a i{width:32px;text-indent:0}#navpage-secondary .nav>li .popover-content a:hover{color:#1a364d!important;background-color:#DDD;text-decoration:none}#navpage-secondary .nav>li .popover-content hr{margin:4px 0;padding:0 8px}.arrow{float:right}.fa.arrow:before{content:"\\f104"}.active>a>.fa.arrow:before{content:"\\f107"}.nav-secondary-collapse,.nav-secondary-expand{border-top:1px solid #454954;padding-top:6px;margin-top:14px;visibility:hidden;display:none}.nav-secondary-collapse i.icon,.nav-secondary-expand i.icon{background:none!important;color:#CCC!important}body.mfp-zoom-out-cur #navpage-secondary{z-index:1000}#navpage-content{padding:12px 16px 60px 6px;-webkit-transition:left .3s;transition:left .3s;position:absolute;left:0;right:0}footer{position:fixed;bottom:0;border-top:1px solid #CCC;background-color:#e7e7e7;color:#999;width:100%;padding:4px 10px;z-index:100004}.bolt-footer-mini{background:#272a30;color:#919191;border-top:0;width:180px;font-size:90%;text-align:center}.bolt-footer-mini a{color:gray!important}.bolt-footer-hidden{display:none}h1,h2,h3,h4,h5,h6{font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;margin:.5em 0;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}h1{font-size:30px;line-height:36px}h2{font-size:26px;line-height:31px}a{color:#005394;font-weight:700}a:link{color:#005394}a:visited{color:#005394}a:focus,a:hover,a:active{color:#0065b3}strong,b{font-weight:600;line-height:normal}em,i{font-style:italic}tt,code,.source-code{font-family:Menlo,Consolas,Monaco,Courier New,monospace}tt,code{padding:1px 2px;border:0;white-space:pre;color:#555;background-color:#e8e8e8}pre{background-color:#f2f2f2;color:#555;padding:2px 4px;font-family:Menlo,Consolas,Monaco,Courier New,monospace}small{font-size:85%;line-height:85%}h1 span{float:right;font-size:50%;margin:.45em 0 -.45em -0;color:#666}.status-timed{color:#A80}.status-published{color:#7fa800}.status-held{color:#ca2300}.status-draft{color:#0569e2}.popover{width:220px;max-width:360px;box-shadow:2px 2px 0 rgba(0,0,0,.15)}.menu-pop-wide .popover{width:340px!important}.popover-content{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;line-height:18px}.popover-content p{margin:4px 0}.popover-content a{font-weight:400;overflow:hidden;height:2em}.popover.bottom{width:220px;margin-top:4px}.popover.bottom .popover-content,.popover.bottom .popover-content code{font-size:12px;overflow:hidden}.morelink{font-size:12px;font-weight:400;color:rgba(25,71,112,.8);text-shadow:none;line-height:18px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.dashboardlisting{box-shadow:0 1px 0 -2px rgba(0,0,0,.3);margin-bottom:10px;width:100%;padding:1px}.dashboardlisting tbody{border-top:0!important}.dashboardlisting th,.dashboardlisting td{border-bottom:1px solid #CCC;font-size:13px;line-height:1.42857143;vertical-align:top;padding:10px 8px}.dashboardlisting th{background-color:#f2f2f2!important;text-align:left;font-weight:700;color:#888;padding-top:5px;padding-bottom:5px;border-bottom:1px solid #e7e7e7}.dashboardlisting th.listthumb{padding:0}.dashboardlisting th h2{margin:.4em 0 .1em;color:#666}.dashboardlisting tr{background-color:#FFF}.dashboardlisting td{border-color:#e8e8e8}.dashboardlisting tr.dim td.id,.dashboardlisting tr.dim td.excerpt,.dashboardlisting tr.dim td.listthumb,.dashboardlisting tr.dim td.username{opacity:.8;-webkit-filter:grayscale(.5);filter:grayscale(.5)}.dashboardlisting tr.dim img{-webkit-filter:grayscale(.6) blur(1px);filter:grayscale(.6) blur(1px)}.dashboardlisting td.id,.dashboardlisting td.username,.dashboardlisting td.actions,.dashboardlisting td.listthumb{white-space:nowrap;color:#666}.dashboardlisting td.username{text-align:left}.dashboardlisting td.listthumb{padding:9px 0 2px}.dashboardlisting td.listthumb img{max-width:inherit}.dashboardlisting td.actions{text-align:right}.dashboardlisting td.actions .btn-group{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:auto;padding-left:6px}.dashboardlisting .btn-group>.btn+.dropdown-toggle,.dashboardlisting div.buic-listing table.listing tr.selectiontoolbar .btn-group>button+.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .dashboardlisting .btn-group>button+.dropdown-toggle{padding-left:3px;padding-right:6px}.dashboardlisting td.excerpt{padding-top:9px}.dashboardlisting td.excerpt span{max-height:40px;display:block;line-height:19px;color:#777;overflow:hidden;word-wrap:break-word;word-break:break-all}.dashboardlisting td.excerpt.large span{max-height:58px}aside section{background-color:#f2f2f2;border:1px solid #e8e8e8;padding:0 10px 10px;margin-bottom:20px}aside section h2{font-size:17px;line-height:21px;margin:10px 0 6px;color:#333}aside .morelink{font-weight:400;line-height:1em;position:static}aside section p{font-size:12px;line-height:18px;margin:4px 0}aside .panel{border-radius:0;margin-left:12px;border-color:#e8e8e8}aside .panel-body>ul{list-style:none;margin-left:0;padding-left:.7em;text-indent:-.7em}aside .panel-body>ul li:before{content:"- "}aside .panel-body>ul li{line-height:18px;margin-bottom:4px}aside .panel-body>ul li small{color:#777}aside .btn-group{margin:0 6px 12px 0}aside .dropdown-menu .btn-link{display:block;text-align:left;margin-bottom:4px}aside div.description{margin:12px 0 0;line-height:18px}aside code{letter-spacing:-.5px}label{display:block;margin-bottom:3px}label label{display:inline!important}.form-control{height:33px}.form-control::-webkit-input-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}.form-control:-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}.form-control::-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}.form-control:-ms-input-placeholder{color:#999!important;font-style:italic!important;font-size:92%!important}.form-horizontal .control-label{text-align:left;font-size:15px;font-weight:400;margin-bottom:5px}.form-horizontal .control-label-inline{font-size:14px;font-weight:700;margin-bottom:5px;padding-top:4px}.form-horizontal .form-group{margin-top:24px;margin-bottom:12px}.form-horizontal .form-group .form-group:first-of-type{margin-top:0}.button-wrap{margin:8px 0 4px;position:relative}input[type=checkbox]{margin:4px 8px 0 0}fieldset.checkbox{display:inline-block;margin-top:-12px;margin-bottom:-12px}fieldset.checkbox label{display:inline}fieldset.checkbox div{margin:.3em 0 .5em}.fileinput-button{margin-right:4px}.ui-sortable-helper{border:1px solid #999;box-shadow:6px 6px 0 rgba(0,0,0,.3);opacity:.5}.ui-sortable-placeholder{border:1px dashed #666;visibility:visible!important;opacity:.5}#filtertabs{margin-bottom:16px;border:0;border-bottom:1px solid #bac4cb}#filtertabs a{color:#657987;background-color:#d7dde1;border:1px solid #bac4cb;cursor:pointer;padding:5px 12px;font-weight:400}#filtertabs a:hover{color:#444;background-color:#FFF!important;border-bottom:0}#filtertabs li{margin-right:2px}#filtertabs li.active a{background-color:#fdfdfa;border:1px solid #9dabb5;border-bottom:1px solid #fdfdfa;color:#555}div.datetime-container{display:table}div.datetime-container>div{display:table-cell;vertical-align:middle;width:9px;overflow:visible}form .progress{height:7px;margin:2px 0 0}#navpage-primary .nav .close-live-editor{display:none;margin-right:15px;cursor:pointer;background:#aa1010}#navpage-primary .nav .close-live-editor a{color:#FFF}.live-editor{position:absolute;display:none;padding:0;width:auto;height:auto;z-index:10;top:54px;left:0;right:0;bottom:0}.live-editor iframe{border:none;display:block;width:100%;height:100%}.live-editor-active #navpage-content,.live-editor-active .navbar-toggle{display:none}.live-editor-active #navpage-primary{-webkit-transition:background-color .5s;transition:background-color .5s;background-color:#333}.live-editor-active #navpage-primary .nav>li{display:none}.live-editor-active #navpage-primary .nav .close-live-editor{display:inline-block}.live-editor-active #navpage-primary .navbar-header{opacity:.5;-webkit-transition:opacity .5s;transition:opacity .5s}.live-editor-active #navpage-secondary{display:none}.live-editor-active footer{display:none}.live-editor-active .navbar-form{display:none}.live-editor-active .live-editor{display:block}.live-editor-active #navpage-secondary{top:54px;height:auto;bottom:0}.live-editor-active #navpage-secondary .nav>li{display:none}.live-editor-active #navpage-secondary .nav>li.close-live-editor,.live-editor-active #navpage-secondary .nav>li.nav-secondary-dashboard{display:block}body.login{background-color:#f8f8f8;overflow-x:hidden}body.login .logo{display:block;margin:80px auto 30px}body.login .login-block{width:440px;float:none}body.login .panel{border-radius:6px;box-shadow:0 0 150px rgba(0,0,0,.15)}body.login .panel-body{padding:40px 40px 30px}body.login .panel-title{line-height:1.2}body.login .togglepass{color:#999;cursor:pointer;float:right}body.login .col-sm-2{min-width:180px}body.login .col-lg-4{min-width:280px}body.login .togglepass.hide-password{display:none}body.login .view-site{position:absolute;right:44px;top:18px}body.login .control-label{color:#8f8f8f;font-size:14px;font-weight:400}body.login .form-control{height:40px}body.login .form-control::-webkit-input-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}body.login .form-control:-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}body.login .form-control::-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}body.login .form-control:-ms-input-placeholder{color:#999!important;font-style:italic!important;font-size:92%!important}body.login .form-group{margin-bottom:30px}body.login .btn-primary{padding:.6em 1.1em}body.login .login-remembered{display:block;margin-top:5px;padding-left:0}body.login .login-forgot{display:block;margin-top:5px;float:right}body.login p.first-user{font-size:14px;max-width:32em;margin-bottom:1.5em}body.login p.cookie-notice{display:none}html.modernizr-no-cookies p.cookie-notice{display:block}.extend-bolt-container .hide-block{display:none}.extend-bolt-container .install-container{position:relative}.extend-bolt-container .install-container input{width:50%;padding:.5em}.extend-bolt-container .install-container label{display:block;margin-top:15px}.extend-bolt-container .installed-container .panel-heading{padding:5px 15px 4px 10px}.extend-bolt-container .installed-container .panel-heading:before,.extend-bolt-container .installed-container .panel-heading:after{content:" ";display:table}.extend-bolt-container .installed-container .panel-heading:after{clear:both}.extend-bolt-container .installed-container .panel-heading>em{display:inline-block;margin-top:3px;font-style:normal;font-size:140%}.extend-bolt-container .installed-container .panel-heading>em:before{position:relative;top:-2px;display:inline-block;font-size:120%;font-family:Fontawesome;vertical-align:middle;width:1.28571429em;margin-right:.3em;text-align:center;content:"\uf059"}.extend-bolt-container .installed-container .panel-heading>em.bolt-extension:before{content:"\uf1b2"}.extend-bolt-container .installed-container .panel-heading>em.bolt-theme:before{content:"\uf03e"}.extend-bolt-container .installed-container .panel-heading>div{float:right}.extend-bolt-container .installed-container .panel-heading>div em{float:right;clear:both;font-size:120%;font-style:normal;font-weight:700;color:#555}.extend-bolt-container .installed-container .panel-heading>div small{float:right;clear:both;color:#999}.extend-bolt-container .installed-container .panel-body>div{margin-top:5px;text-indent:-1em;padding-left:1.5em}.extend-bolt-container .installed-container .panel-body>div:first-child{margin-top:0}.extend-bolt-container .installed-container .panel-body>div:before{display:inline-block;font-family:Fontawesome;vertical-align:middle;width:1em;text-align:center}.extend-bolt-container .installed-container .panel-body .description:before{content:"\uf05a"}.extend-bolt-container .installed-container .panel-body .tags:before{content:"\uf02b"}.extend-bolt-container .installed-container .panel-body .author:before{content:"\uf007"}.extend-bolt-container .installed-container .panel-footer{background:#fff}.extend-bolt-container .installed-container .panel-footer:before,.extend-bolt-container .installed-container .panel-footer:after{content:" ";display:table}.extend-bolt-container .installed-container .panel-footer:after{clear:both}.extend-bolt-container .installed-container .panel-footer>div{float:right}.extend-bolt-container .auto-search{position:absolute;top:28px;background-color:#f1f2f7;border-radius:2px;box-shadow:1px 1px 5px rgba(0,0,0,.4);width:50%;z-index:1000;max-height:410px;overflow:scroll}.extend-bolt-container .auto-search .btn,.extend-bolt-container .auto-search div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar .extend-bolt-container .auto-search button{border-radius:0;margin-top:0}.extend-bolt-container #extension-log{border:1px solid #000;padding:4px;font-size:10px;line-height:1em;font-family:Menlo,Consolas,Monaco,Courier New,monospace;color:#CCC;background-color:#333;max-height:300px;height:300px;overflow-y:scroll;margin-bottom:16px}.extend-bolt-container #extension-log .timestamp{color:#BBF}.extend-bolt-container #extension-log .command{font-weight:400;color:#8F8}.extend-bolt-container #extension-log .error{font-weight:700;color:#F44}.extend-bolt-container #extension-log .warning{font-weight:700;color:#FF4}.extend-bolt-container .tag.label{background-color:#888;font-weight:400;letter-spacing:.5px}#extension-error code{display:block;white-space:pre-wrap}#navpage-primary .omnisearch{width:280px}#navpage-secondary .omnisearch{width:180px}.omnisearch .select2-results__option div{font-weight:700}.omnisearch .select2-results__option div span{font-weight:400}.omnisearch .select2-results__option small{display:block;font-size:smaller;color:#999}.omnisearch .select2-results__option--highlighted small{color:#fff}.omnisearch .select2-search__field{color:#000!important;background:#fff!important}.widgetholder{padding:0 0 8px}.widget .panel{margin-bottom:12px}.widget-inline{display:inline;margin-right:8px}.buic-browser div.header{height:41px;padding:10px}.buic-browser div.list{overflow-y:scroll;margin:0;height:calc(100vh - 184px)}.buic-browser div.list.multi{height:calc(100vh - 234px)}.buic-browser table{margin:0;padding:0}.buic-browser .modal-header{padding:6px 15px}.buic-browser .modal-footer{padding:12px 15px}.buic-browser h4 span{display:inline-block;margin:0 8px 0 4px}.buic-browser div.header{line-height:21px;background:#f2f2f2;overflow:hidden;white-space:nowrap}.buic-browser div.header>div{display:inline-block;border-left:1px solid #888;padding-left:10px;margin-left:6px;height:21px;vertical-align:top}.buic-browser div.header>div:first-child{border:none;padding-left:0;margin-left:0}.buic-browser div.header input[type=text],.buic-browser div.header select{font-weight:400;line-height:15px;padding:1px 4px}.buic-browser div.header .toogle-folders,.buic-browser div.header .toogle-files{border:none;background:none;font-family:FontAwesome;color:#ddd}.buic-browser div.header .toogle-folders[aria-pressed=true],.buic-browser div.header .toogle-files[aria-pressed=true]{color:#000}.buic-browser div.header .toogle-folders:after{font-size:18px;content:"\\f114"}.buic-browser div.header .toogle-files:after{font-size:16px;content:"\\f016"}.buic-browser table td{padding:2px 8px}.buic-browser table td.name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;max-width:0}.buic-browser table td.info{vertical-align:middle;width:110px;min-width:110px}.buic-browser table td.info div{float:left;clear:both}.buic-browser table td.info .filesize{border-bottom:1px dashed #bbb;line-height:1.1}.buic-browser table td.info .dimensions{margin-top:3px;color:#999;font-size:90%}.buic-browser table td.thumb{width:70px;min-width:70px}.buic-browser table td.select{padding:2px 0 0}.buic-browser table tr.directory td{background:#fdfdfd;padding-top:0;padding-bottom:0}.buic-browser table tr.locked{opacity:.4}.buic-browser table tr.locked span:after{display:inline-block;vertical-align:middle;font-family:FontAwesome;font-weight:400;color:#000;content:"\\f023"}.buic-browser table mark{padding-left:0;padding-right:0}.buic-browser .entry{font-weight:700}.buic-browser .entry:before{display:inline-block;margin-right:5px;width:1.2em;vertical-align:middle;text-align:center;font-family:FontAwesome;font-size:120%;font-weight:400;color:#555}.buic-browser .type-folder{color:#7e94a5}.buic-browser .type-folder:before{content:"\uf114";color:#7e94a5}.buic-browser .type-file:before{content:"\uf016"}.buic-browser .type-image:before{content:"\uf1c5"}.buic-browser .type-video:before{content:"\uf1c8"}.buic-browser .type-audio:before{content:"\uf1c7"}.buic-browser .type-archive:before{content:"\uf1c6"}.buic-browser .type-pdf:before{content:"\uf1c1"}.buic-browser .type-powerpoint:before{content:"\uf1c4"}.buic-browser .type-excel:before{content:"\uf1c3"}.buic-browser .type-word:before{content:"\uf1c2"}.buic-browser .type-code:before{content:"\uf1c9"}.buic-browser .type-text:before{content:"\uf0f6"}.buic-browser .image-dimensions{color:#999;font-size:90%}.buic-browser .times{padding:0 2px}.buic-checkbox{margin-top:6px;vertical-align:top}.buic-checkbox label{display:inline-block;margin-left:6px;white-space:nowrap;vertical-align:top;line-height:21px;color:red;cursor:pointer}.buic-checkbox input{display:none}.buic-checkbox input+button:before{line-height:22px;font-family:FontAwesome;display:inline-block;font-size:16px;width:22px;height:22px;margin:-1px 0 0 -1px}.buic-checkbox input+button:before{content:" "}.buic-checkbox input:checked+button:before{content:"\\f00c";color:#555}.buic-checkbox button{line-height:21px;width:21px;height:21px;padding:0;border:1px solid #CCC;border-radius:3px;background:#FFF;overflow:hidden}div.buic-listing table.listing tbody tr{background:#fdfdfa}div.buic-listing table.listing tbody tr.row-selected{background:#e4e4e1}div.buic-listing table.listing tbody.striping_odd tr:nth-of-type(odd){background:#f2f4f3}div.buic-listing table.listing tbody.striping_odd tr:nth-of-type(odd).row-selected{background:#dadcdb}div.buic-listing table.listing tbody.striping_even tr:nth-of-type(even){background:#f2f4f3}div.buic-listing table.listing tbody.striping_even tr:nth-of-type(even).row-selected{background:#dadcdb}div.buic-listing table.listing tr.heading th{padding:1em .2em .1em;background:#fdfdfa!important;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:24px;font-weight:400}div.buic-listing table.listing tbody:first-child tr.heading th{padding-top:0;border-top:none}div.buic-listing table.listing tr.header th{color:#005394;vertical-align:middle}div.buic-listing table.listing tr.header th a.order-none:after,div.buic-listing table.listing tr.header th a.order-asc:after,div.buic-listing table.listing tr.header th a.order-desc:after{display:inline-block;margin-left:.4em;color:#ddd;font-family:FontAwesome;content:"\uf0dc"}div.buic-listing table.listing tr.header th a.order-none:hover:after,div.buic-listing table.listing tr.header th a.order-asc:hover:after,div.buic-listing table.listing tr.header th a.order-desc:hover:after{color:#00c;content:"\uf0dd"}div.buic-listing table.listing tr.header th a.order-asc:after{color:#888;content:"\uf0dd"}div.buic-listing table.listing tr.header th a.order-asc:hover:after{content:"\uf0de"}div.buic-listing table.listing tr.header th a.order-desc:after{color:#888;content:"\uf0de"}div.buic-listing table.listing tr.header th a.order-desc:hover:after{content:"\uf0dc"}div.buic-listing table.listing tr.header th.menu{padding:0;text-align:center}div.buic-listing table.listing tr.header th.menu button{padding:0 4px}div.buic-listing table.listing tr.selectiontoolbar td{background:#fff;border:none}div.buic-listing table.listing tr.selectiontoolbar div.count{display:inline-block;padding:0 .2em;min-width:1.9em;background:#f8f8f8;border:1px solid #dee7ee;border-radius:3px;vertical-align:middle;text-align:center;line-height:1.5;color:#7b9db8}div.buic-listing table.listing tr.selectiontoolbar button.separator{margin-right:.6em}div.buic-listing table.listing tr[id] input[type=checkbox][name=checkRow]{margin:2px 0 0 1px}div.buic-listing table.listing th.fill-max,div.buic-listing table.listing td.fill-max{width:100%}div.buic-listing table.listing tbody.omnisearch span{font-weight:400;font-family:Menlo,Consolas,Monaco,Courier New,monospace}.buic-modal .modal-body{min-height:200px}.buic-modal .modal-loading .modal-body{opacity:.4}.buic-modal .modal-loading:after{position:absolute;display:block;top:50px;left:50%;width:70px;margin-left:-35px;text-align:center;font-family:FontAwesome;content:"\\f110";font-size:500%;color:#666;-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.buic-modal .modal-loading .modal-retry{display:none}.buic-modal .modal-retry{position:absolute;left:50%;width:36px;margin-left:-18px;margin-top:50px}.modal-backdrop{z-index:100008}.bootbox,.modal{z-index:100023}.buic-moment{border-bottom:1px dashed #BBB;cursor:default}.buic-progress{position:relative;display:none;margin-top:12px}.buic-progress:before,.buic-progress:after{content:" ";display:table}.buic-progress:after{clear:both}.buic-progress .progress{display:none;margin:6px 0 0 26px}.buic-progress .progress:first-child{margin-top:0}.buic-progress .progress:before{position:absolute;left:0;width:20px;height:20px;background:#f5f5f5;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);line-height:20px;text-align:center;font-family:fontawesome;content:"\\f093"}.buic-progress .progress:after{position:absolute;z-index:1;left:26px;right:0;overflow:hidden;padding-left:6px;height:20px;line-height:20px;white-space:nowrap;font-size:12px;color:#333;content:attr(data-label)}.buic-progress .progress-bar{position:relative;z-index:2;left:-26px;overflow:hidden;margin-left:26px;padding-left:6px;white-space:nowrap;text-align:left}.buic-select{display:table;width:100%;margin-top:4px}.buic-select>div{display:table-row}.buic-select>div div:nth-child(odd){display:table-cell;width:100%}.buic-select>div div:nth-child(even){display:table-cell;vertical-align:top}.buic-select>div div:nth-child(even) button{color:#666;background-color:#e0e0e0;border-color:#d6d6d6;padding:1px;font-size:12px;line-height:1.5;border-radius:3px;margin-left:6px;margin-top:4px}.buic-select>div div:nth-child(even) button:focus,.buic-select>div div:nth-child(even) button.focus{color:#666;background-color:#c7c7c7;border-color:#969696}.buic-select>div div:nth-child(even) button:hover{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.buic-select>div div:nth-child(even) button:active,.buic-select>div div:nth-child(even) button.active,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.buic-select>div div:nth-child(even) button:active:hover,.buic-select>div div:nth-child(even) button:active:focus,.buic-select>div div:nth-child(even) button:active.focus,.buic-select>div div:nth-child(even) button.active:hover,.buic-select>div div:nth-child(even) button.active:focus,.buic-select>div div:nth-child(even) button.active.focus,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle:hover,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle:focus,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle.focus{color:#666;background-color:#b5b5b5;border-color:#969696}.buic-select>div div:nth-child(even) button:active,.buic-select>div div:nth-child(even) button.active,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle{background-image:none}.buic-select>div div:nth-child(even) button.disabled:hover,.buic-select>div div:nth-child(even) button.disabled:focus,.buic-select>div div:nth-child(even) button.disabled.focus,.buic-select>div div:nth-child(even) button[disabled]:hover,.buic-select>div div:nth-child(even) button[disabled]:focus,.buic-select>div div:nth-child(even) button[disabled].focus,fieldset[disabled] .buic-select>div div:nth-child(even) button:hover,fieldset[disabled] .buic-select>div div:nth-child(even) button:focus,fieldset[disabled] .buic-select>div div:nth-child(even) button.focus{background-color:#e0e0e0;border-color:#d6d6d6}.buic-select>div div:nth-child(even) button .badge{color:#e0e0e0;background-color:#666}.buic-select>div div:nth-child(even) button:first-child{margin-top:3px}.buic-select>div div:nth-child(even) button:before{font-family:FontAwesome;display:block;width:18px}.buic-select>div div:nth-child(even) button.select-all:before{content:"\\f00c"}.buic-select>div div:nth-child(even) button.select-none:before{content:"\\f00d"}.buic-select .select2-search__field{width:100%!important}.buic-select .select2-selection--single .select2-selection__rendered{word-break:break-all;height:2em;white-space:normal}fieldset.buic-stack .templates{display:none}fieldset.buic-stack .stackholder{padding:12px 0 12px 2px;overflow-x:hidden;overflow-y:auto}fieldset.buic-stack .stackbuttons{margin-top:16px}fieldset.buic-stack .stackbuttons .btn-group{display:inline-block;margin:0}fieldset.buic-stack .stackitem{border:6px solid #fff;background-color:#ddd;box-shadow:2px 2px 0 rgba(0,0,0,.2);width:100px;height:100px;position:relative;float:left;left:0;margin-right:-80px;overflow:hidden}fieldset.buic-stack .stackitem-wide{margin-right:-35px}fieldset.buic-stack .stackitem strong{display:block;text-align:center;font-size:16px;margin:10px auto}fieldset.buic-stack .stackitem small{display:block;text-align:center;font-size:12px;line-height:15px;margin:0 5px;word-break:break-all}fieldset.buic-stack .stackitem:hover{z-index:111!important;box-shadow:3px 3px 0 rgba(0,0,0,.5)}fieldset.buic-stack .stackitem:nth-child(1){z-index:110}fieldset.buic-stack .stackitem:nth-child(2){z-index:109;-webkit-transform:rotate(4deg);-ms-transform:rotate(4deg);transform:rotate(4deg);margin-top:8px}fieldset.buic-stack .stackitem:nth-child(3){z-index:108;-webkit-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg);margin-top:-8px}fieldset.buic-stack .stackitem:nth-child(4){z-index:107;-webkit-transform:rotate(9deg);-ms-transform:rotate(9deg);transform:rotate(9deg);margin-top:3px}fieldset.buic-stack .stackitem:nth-child(5){z-index:106;margin-top:-6px}fieldset.buic-stack .stackitem:nth-child(6){z-index:105;-webkit-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg);margin-top:5px}fieldset.buic-stack .stackitem:nth-child(7){z-index:104;-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg);margin-top:-3px}fieldset.buic-stack .empty{text-align:center;color:#aaa}#editcontent small{font-size:12px;color:#666}#editcontent input,#editcontent select,#editcontent textarea{border-radius:2px;border-color:#CCC;font-size:15px}#editcontent .error{border-color:#888;color:#a94442;background:#f2dede}#editcontent .cke_error{border-color:#a94442}#editcontent input.large{font-size:150%;height:100%}#editcontent .narrow{width:45%;min-width:200px}#editcontent .verynarrow{width:8%;min-width:50px}#editcontent .narrow.wide{width:60%;min-width:200px}#editcontent .dropzone.hover,#editcontent .dropzone.in{background:#DEF}#editcontent .dropzone.hover *,#editcontent .dropzone.in *{opacity:.7}#editcontent .fileselectbuttongroup>*{margin:8px 8px 4px 0;float:left}#editcontent .fileselectbuttongroup .caret{margin:0 -4px 0 4px}#editcontent .imageholder{overflow:hidden}#editcontent .imageholder img{max-height:148px;max-width:100%;border:1px solid #BBB}#editcontent input.datepicker{width:21%;min-width:120px;margin-right:6px;float:left}#editcontent input[type=number]{width:20%;min-width:140px}#editcontent textarea{width:100%;height:200px;padding-right:0;font-size:14px;line-height:21px;color:#444;font-family:Menlo,Consolas,Monaco,Courier New,monospace}#editcontent input.timepicker{width:10%;min-width:93px;float:left}#editcontent .uk-htmleditor-content .CodeMirror{font-size:14px;border:0!important;font-family:Menlo,Consolas,Monaco,Courier New,monospace;margin:0}#editcontent .uk-htmleditor-navbar{border-top:1px solid #CCC;border-left:1px solid #CCC;border-right:1px solid #CCC}#editcontent .uk-htmleditor-preview{padding:6px 14px;font-size:14px}#editcontent .uk-htmleditor-fullscreen{margin-top:52px;margin-bottom:24px;z-index:100015}div[data-bolt-fieldset]{margin-top:24px;margin-bottom:12px;border-bottom:1px solid transparent}div[data-bolt-fieldset] .prefix,div[data-bolt-fieldset] .postfix{color:#666}div[data-bolt-fieldset] .prefix p:last-of-type,div[data-bolt-fieldset] .postfix p:last-of-type{margin-bottom:0}div[data-bolt-fieldset] .prefix{margin-bottom:2px}div[data-bolt-fieldset] .postfix{margin-top:4px}div[data-bolt-fieldset]:last-child,div[data-bolt-fieldset=meta]{border-bottom:1px solid #e8e8e8;padding-bottom:20px;margin-bottom:15px}div[data-bolt-fieldset=repeater]>.prefix{display:none}fieldset[class*=\' bolt-field-\'],fieldset[class^=bolt-field-]{margin-top:0!important;margin-bottom:0!important}fieldset[class*=\' bolt-field-\'] label,fieldset[class*=\' bolt-field-\'] .control-label,fieldset[class^=bolt-field-] label,fieldset[class^=bolt-field-] .control-label{font-weight:400;font-size:13px;color:gray}fieldset[class*=\' bolt-field-\'] label.main,fieldset[class^=bolt-field-] label.main{color:#282828;font-weight:400;font-size:16px;margin-bottom:6px}fieldset[class*=\' bolt-field-\'] .info-pop,fieldset[class^=bolt-field-] .info-pop{cursor:help;color:#bbb;padding-left:4px}fieldset.bolt-field-filelist p,fieldset.bolt-field-imagelist p{padding:8px;color:#999;margin:0;font-style:italic}fieldset.bolt-field-filelist img,fieldset.bolt-field-imagelist img{padding-right:6px}fieldset.bolt-field-filelist .buttons,fieldset.bolt-field-imagelist .buttons{float:left;padding:7px 8px}fieldset.bolt-field-filelist .list,fieldset.bolt-field-imagelist .list{border:1px solid #e0e0e0;padding:0;width:100%;background-color:#fff;border-radius:3px}fieldset.bolt-field-filelist .item,fieldset.bolt-field-imagelist .item{min-height:48px;margin:6px;padding:4px 6px;border:2px solid #f0f0f0;border-radius:3px;cursor:pointer;overflow:hidden;background:#f6f6f6}fieldset.bolt-field-filelist .item.selected,fieldset.bolt-field-imagelist .item.selected{border:2px solid #7e94a5}fieldset.bolt-field-filelist .item.zombie,fieldset.bolt-field-imagelist .item.zombie{border:2px solid #d00;opacity:.1}fieldset.bolt-field-filelist .item.ui-sortable-helper,fieldset.bolt-field-imagelist .item.ui-sortable-helper{cursor:ns-resize}fieldset.bolt-field-filelist .item *,fieldset.bolt-field-imagelist .item *{float:left}fieldset.bolt-field-filelist .item input,fieldset.bolt-field-imagelist .item input{padding:1px 0 0 5px;width:65%;border:0}fieldset.bolt-field-filelist .item a.remove,fieldset.bolt-field-imagelist .item a.remove{padding:5px;cursor:pointer;color:#999;float:right;border-radius:3px}fieldset.bolt-field-filelist .item a.remove:hover,fieldset.bolt-field-imagelist .item a.remove:hover{background:#dcdcdc}fieldset.bolt-field-filelist .item span.desc,fieldset.bolt-field-imagelist .item span.desc{color:#aaa;font-size:90%;padding:3px 0 0 4px}fieldset.bolt-field-filelist .item .icon,fieldset.bolt-field-imagelist .item .icon{height:37px;width:32px;overflow:hidden;text-align:center;margin-right:6px;margin-top:3px;color:#bbb}fieldset.bolt-field-filelist .item .icon i,fieldset.bolt-field-imagelist .item .icon i{font-size:180%;float:none}fieldset.bolt-field-filelist .item .icon span,fieldset.bolt-field-imagelist .item .icon span{display:block;float:none;font-size:85%}fieldset.bolt-field-categories .select2-selection--multiple{min-height:56px}fieldset.bolt-field-file .infotext{clear:left;color:#666;font-size:85%;font-style:italic;border-left:5px solid #eee;padding-left:.5em}fieldset.bolt-field-geolocation .mapframe{min-width:150px;max-width:200px}fieldset.bolt-field-geolocation .mapholder{background:#e5e3df;border:1px solid #bbb;height:150px;text-align:center;color:#dad7d1;clear:both}fieldset.bolt-field-geolocation .mapholder i{margin-top:42.5px}fieldset.bolt-field-geolocation input[type=text]{width:100%}fieldset.bolt-field-geolocation .matched,fieldset.bolt-field-geolocation .latitude,fieldset.bolt-field-geolocation .longitude{box-shadow:none;font-size:1em;line-height:1em;cursor:text;padding:.5em;height:auto}fieldset.bolt-field-geolocation .expand{float:right;padding-top:1px;padding-bottom:1px;margin-bottom:3px}fieldset.bolt-field-geolocation .compress{display:none}fieldset.bolt-field-geolocation .header{padding-top:3px}fieldset.bolt-field-geolocation .expanded{background:#fdfdfa;position:fixed;left:0;top:0;right:0;bottom:0;height:inherit;min-width:none;max-width:none;z-index:100999;padding:40px 10px 25px}fieldset.bolt-field-geolocation .expanded .mapholder{height:100%}fieldset.bolt-field-geolocation .expanded label{position:absolute;left:15px}fieldset.bolt-field-geolocation .expanded label.header{top:6px;font-size:140%}fieldset.bolt-field-geolocation .expanded label.snapbox{bottom:0}fieldset.bolt-field-geolocation .expanded .compress{display:block;position:absolute;top:10px;right:10px}fieldset.bolt-field-geolocation .expanded .expand{display:none}fieldset.bolt-field-repeater>label.main{margin-top:10px;float:none;padding-left:0}fieldset.bolt-field-repeater .repeater-add{float:right}fieldset.bolt-field-repeater .repeater-group{border:1px solid #ddd;margin:15px}fieldset.bolt-field-repeater .repeater-field{position:relative;float:left;width:100%;min-height:1px;padding-left:15px;padding-right:15px;margin-top:24px}fieldset.bolt-field-repeater .repeater-field:first-of-type{margin-top:0}fieldset.bolt-field-select .select2-selection--multiple{min-height:56px}fieldset.bolt-field-slug .input-group-addon{background:#f8f8f8;color:#999;padding:2px 0 1px 10px;border-right:none}fieldset.bolt-field-slug .input-group-addon:before{display:inline-block;width:21px;margin-right:10px;text-align:center;font-family:FontAwesome;color:#000;content:"\uf023"}fieldset.bolt-field-slug input{padding-left:1px;border-left:none;text-overflow:ellipsis;color:#999;height:33px!important;border-radius:0!important}fieldset.bolt-field-slug input[readonly]{background:#f8f8f8;box-shadow:none}fieldset.bolt-field-slug button{padding-left:8px;padding-right:8px;height:33px!important}fieldset.bolt-field-slug li.link{white-space:normal}fieldset.bolt-field-slug li.link a{white-space:normal}fieldset.bolt-field-slug li.link i{position:absolute}fieldset.bolt-field-slug li.link span{display:block;margin-left:21px}fieldset.bolt-field-slug li.link var{color:#888}fieldset.bolt-field-slug .edititable .input-group-addon,fieldset.bolt-field-slug .edititable input{background:#fff}fieldset.bolt-field-slug .edititable input{color:inherit}fieldset.bolt-field-slug .edititable .input-group-addon:before{content:"\uf040"}fieldset.bolt-field-slug .linked .input-group-addon:before{content:"\uf0c1"}fieldset.bolt-field-slug .loading .input-group-addon:before{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear;-webkit-animation-delay:.5s;animation-delay:.5s}fieldset.bolt-field-slug .warning{margin-top:4px;margin-left:10px;color:#800}fieldset.bolt-field-tags .tagcloud{display:none;margin-top:6px;padding:3px 1px;background:#fafafa;border-radius:10px;text-align:center}fieldset.bolt-field-tags .tagcloud button{background:none;border:none;padding:1px 2px;margin:1px 2px;vertical-align:middle;line-height:1}fieldset.bolt-field-tags .tagcloud button:hover{text-decoration:underline;cursor:copy}fieldset.bolt-field-video input[type=number]{width:30%!important;min-width:10px!important;max-width:100px}fieldset.bolt-field-video .form-inline .form-control{display:inline-block;width:100%;vertical-align:middle}fieldset.bolt-field-video .label-pixels{display:inline}fieldset.bolt-field-video .title,fieldset.bolt-field-video .authorname{box-shadow:none;font-size:13px!important;line-height:13px!important;cursor:text;padding:1px 6px;height:auto;text-overflow:ellipsis}fieldset.bolt-field-video .authorname{margin-top:4px}fieldset.bolt-field-video .imageholder{position:relative}fieldset.bolt-field-video .imageholder button{display:block;position:absolute;top:0;left:0;width:100%;max-width:200px;height:100%;background:none;border:none;color:#000;-webkit-transition:color .3s ease;transition:color .3s ease}fieldset.bolt-field-video .imageholder button:hover{color:#d00}fieldset.bolt-field-video .imageholder button:after{display:block;position:absolute;left:50%;top:50%;width:40px;height:20px;margin-left:-20px;margin-top:-10px;background:#fff;line-height:.6;text-align:center;font-family:fontawesome;font-size:300%;content:"\\f16a"}html{height:100%}body{background:#fdfdfa;color:#333;font-size:13px;min-height:100%}body.popup{padding:6px 12px 0}.table-changelog-details th{width:40%}.table-changelog-details th:first-child{width:20%}.table-changelog-details td{vertical-align:top}div.extension{border:1px solid #CCC;background:#FFF;border-radius:2px;padding:0 10px 8px;margin:0 10px 8px 0;box-shadow:2px 2px 0 rgba(0,0,0,.3)}div.extension h3{font-size:17px;line-height:28px;margin:4px 0 0}div.extension p{margin:0 0 4px;line-height:16px}blockquote.quote{border:0;margin:15px 0;font-size:21px;line-height:26px;font-style:italic;font-family:Times New Roman,Georgia;color:#AAA}blockquote.quote cite{display:block;margin-top:8px;font-size:12px;line-height:18px;font-style:normal;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#999}.login-panel{margin-top:25%}.flot-chart{display:block;height:400px}.flot-chart-content{width:100%;height:100%}table.dataTable thead .sorting,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background:transparent}table.dataTable thead .sorting_asc:after{content:"\\f0de";float:right;font-family:fontawesome}table.dataTable thead .sorting_desc:after{content:"\\f0dd";float:right;font-family:fontawesome}table.dataTable thead .sorting:after{content:"\\f0dc";float:right;font-family:fontawesome;color:rgba(50,50,50,.5)}.show-grid [class^=col-]{padding-top:10px;padding-bottom:10px;border:1px solid #ddd;background-color:#eee!important}.show-grid{margin:15px 0}.login .logo{margin-top:100px;width:179px;height:auto}.dropdown-menu .nav-header{clear:both;float:none;padding:3px 12px}form#filescreenuploader div{float:left;margin-right:6px;margin-top:6px;display:inline;width:100%}.relatedfiles{float:right}.alert label{display:inline;cursor:pointer;padding-right:4px}@media print{*,:before,:after{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,div.buic-listing table.listing tr.selectiontoolbar button>.caret,.dropup>.btn>.caret,div.buic-listing table.listing tr.selectiontoolbar .dropup>button>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.visible-print-block{display:block!important}.visible-print-inline{display:inline!important}.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}@media(min-width:768px){.lead{font-size:21px}.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.container{width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.33333333%}.col-sm-2{width:16.66666667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333%}.col-sm-5{width:41.66666667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333333%}.col-sm-8{width:66.66666667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333%}.col-sm-11{width:91.66666667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.33333333%}.col-sm-push-2{left:16.66666667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333%}.col-sm-push-5{left:41.66666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333333%}.col-sm-push-8{left:66.66666667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333%}.col-sm-push-11{left:91.66666667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-12{margin-left:100%}.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}.navbar{border-radius:4px}.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}.container>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-header,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}.navbar-static-top{border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:0}.navbar-toggle{display:none}.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;box-shadow:none}.navbar-text{float:left;margin-left:0;margin-right:0}.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:0}.navbar-right~.navbar-right{margin-right:0}.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}.form-horizontal .control-label{text-align:left}#editcontent .right-on-large{float:right}}@media(min-width:992px){.container{width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.33333333%}.col-md-2{width:16.66666667%}.col-md-3{width:25%}.col-md-4{width:33.33333333%}.col-md-5{width:41.66666667%}.col-md-6{width:50%}.col-md-7{width:58.33333333%}.col-md-8{width:66.66666667%}.col-md-9{width:75%}.col-md-10{width:83.33333333%}.col-md-11{width:91.66666667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.33333333%}.col-md-pull-2{right:16.66666667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333%}.col-md-pull-5{right:41.66666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333333%}.col-md-pull-8{right:66.66666667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333%}.col-md-pull-11{right:91.66666667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.33333333%}.col-md-push-2{left:16.66666667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333%}.col-md-push-5{left:41.66666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333333%}.col-md-push-8{left:66.66666667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333%}.col-md-push-11{left:91.66666667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-12{margin-left:100%}.modal-lg{width:900px}}@media(min-width:1200px){.container{width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.33333333%}.col-lg-2{width:16.66666667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333%}.col-lg-5{width:41.66666667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333333%}.col-lg-8{width:66.66666667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333%}.col-lg-11{width:91.66666667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.33333333%}.col-lg-push-2{left:16.66666667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333%}.col-lg-push-5{left:41.66666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333333%}.col-lg-push-8{left:66.66666667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333%}.col-lg-push-11{left:91.66666667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-12{margin-left:100%}.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}.hidden-lg{display:none!important}}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}input[type=date].input-sm,.input-group-sm>input[type=date].form-control,.input-group-sm>input[type=date].input-group-addon,.input-group-sm>.input-group-btn>input[type=date].btn,.input-group-sm input[type=date],input[type=time].input-sm,.input-group-sm>input[type=time].form-control,.input-group-sm>input[type=time].input-group-addon,.input-group-sm>.input-group-btn>input[type=time].btn,.input-group-sm input[type=time],input[type=datetime-local].input-sm,.input-group-sm>input[type=datetime-local].form-control,.input-group-sm>input[type=datetime-local].input-group-addon,.input-group-sm>.input-group-btn>input[type=datetime-local].btn,.input-group-sm input[type=datetime-local],input[type=month].input-sm,.input-group-sm>input[type=month].form-control,.input-group-sm>input[type=month].input-group-addon,.input-group-sm>.input-group-btn>input[type=month].btn,.input-group-sm input[type=month]{line-height:30px}input[type=date].input-lg,.input-group-lg>input[type=date].form-control,.input-group-lg>input[type=date].input-group-addon,.input-group-lg>.input-group-btn>input[type=date].btn,.input-group-lg input[type=date],input[type=time].input-lg,.input-group-lg>input[type=time].form-control,.input-group-lg>input[type=time].input-group-addon,.input-group-lg>.input-group-btn>input[type=time].btn,.input-group-lg input[type=time],input[type=datetime-local].input-lg,.input-group-lg>input[type=datetime-local].form-control,.input-group-lg>input[type=datetime-local].input-group-addon,.input-group-lg>.input-group-btn>input[type=datetime-local].btn,.input-group-lg input[type=datetime-local],input[type=month].input-lg,.input-group-lg>input[type=month].form-control,.input-group-lg>input[type=month].input-group-addon,.input-group-lg>.input-group-btn>input[type=month].btn,.input-group-lg input[type=month]{line-height:46px}}@media(max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}.hidden-xs{display:none!important}.visible-xs{display:inline!important}.btn-group{margin-top:-8px;margin-bottom:8px}.contenttype-title{width:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboardlisting td.actions{padding-left:4px;padding-right:0}#filtertabs a{padding:4px 6px}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}.hidden-md{display:none!important}}@media(max-width:640px){.page-header{padding-bottom:0}.navbar .navbar-brand{padding:10px 8px 8px 6px}#navpage-secondary ul.submenu a{padding:7px 8px 7px 48px}.dashboardlisting td.listthumb{padding:4px 0 0}.dashboardlisting td.listthumb img{margin-left:0}.dashboardlisting td.excerpt{padding:6px 6px 6px 2px}.form-horizontal .form-group{margin-top:16px;margin-bottom:4px}.buic-browser table td.info{display:none}}@media only screen and (min-width:48em){.navbar-top-links .dropdown-messages,.navbar-top-links .dropdown-tasks,.navbar-top-links .dropdown-alerts{margin-left:auto}#navpage-secondary{width:180px;left:0;position:absolute;font-size:100%}#navpage-secondary>ul{width:180px}#navpage-wrapper.nav-secondary-collapsed #navpage-secondary{width:49px;overflow:hidden;box-shadow:-5px 0 0 rgba(0,0,0,.2) inset;color:#AAA}#navpage-wrapper.nav-secondary-collapsed #navpage-secondary .nav>li a{color:#AAA}#navpage-wrapper.nav-secondary-collapsed-hoverable #navpage-secondary:hover{width:180px;overflow:visible;box-shadow:8px 0 0 rgba(0,0,0,.2);color:#DDD}#navpage-wrapper.nav-secondary-collapsed-hoverable #navpage-secondary:hover .nav>li a{color:#CCC}#navpage-secondary .nav>li.search{visibility:hidden;display:none}.nav-secondary-collapse{visibility:visible;display:block}.nav-secondary-expand{visibility:hidden;display:none}.nav-secondary-collapsed .nav-secondary-collapse{visibility:hidden;display:none}.nav-secondary-collapsed .nav-secondary-expand{visibility:visible;display:block}#navpage-content{padding-top:16px;padding-left:42px;left:180px}#navpage-wrapper.nav-secondary-collapsed #navpage-content{padding-left:42px;left:49px}fieldset.bolt-field-filelist .item input,fieldset.bolt-field-imagelist .item input{width:83%}fieldset.bolt-field-geolocation .mapframe{max-width:none}}@media(max-width:979px){.navbar-inner{min-height:50px}.navbar-inner ul.dropdown-menu li{float:left;padding:0}.navbar-collapse .navbar>li{clear:both}.navbar-collapse.collapse{margin-left:8px}.navbar-collapse .navbar .navbar-header{padding:5px 12px 5px 24px}.navbar-collapse .navbar>li>a,.navbar-collapse .dropdown-menu a{padding:5px 12px;color:#555!important}.navbar .navbar-btn{margin-top:14px!important}aside .panel{margin-left:0}}@media(max-width:766px){body.login label.control-label{padding-top:7px}body.login .logo{margin:18px auto;width:120px}body.login .view-site{right:12px;top:8px}body.login .login-block{width:320px}body.login .login-forgot,body.login .login-remembered{float:none;margin-top:8px}body.login .panel-body{padding:24px 24px 16px}}@media(max-width:400px){.buic-browser table td.thumb{display:none}}@media(min-width:480px){#editcontent input.datepicker.wide{width:35%}#editcontent input.datepicker.extrawide{width:55%}}@media only screen and (min-width:80em){fieldset.bolt-field-geolocation .mapholder{height:180px}}\n\\ No newline at end of file\n+ */@font-face{font-family:FontAwesome;src:url(../fonts/fontawesome-webfont.eot?v=4.6.3);src:url(../fonts/fontawesome-webfont.eot?#iefix&v=4.6.3) format("embedded-opentype"),url(../fonts/fontawesome-webfont.woff2?v=4.6.3) format("woff2"),url(../fonts/fontawesome-webfont.woff?v=4.6.3) format("woff"),url(../fonts/fontawesome-webfont.ttf?v=4.6.3) format("truetype"),url(../fonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular) format("svg")}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{-webkit-filter:none;filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\uf000"}.fa-music:before{content:"\uf001"}.fa-search:before{content:"\uf002"}.fa-envelope-o:before{content:"\uf003"}.fa-heart:before{content:"\uf004"}.fa-star:before{content:"\uf005"}.fa-star-o:before{content:"\uf006"}.fa-user:before{content:"\uf007"}.fa-film:before{content:"\uf008"}.fa-th-large:before{content:"\uf009"}.fa-th:before{content:"\uf00a"}.fa-th-list:before{content:"\uf00b"}.fa-check:before{content:"\uf00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\uf00d"}.fa-search-plus:before{content:"\uf00e"}.fa-search-minus:before{content:"\uf010"}.fa-power-off:before{content:"\uf011"}.fa-signal:before{content:"\uf012"}.fa-gear:before,.fa-cog:before{content:"\uf013"}.fa-trash-o:before{content:"\uf014"}.fa-home:before{content:"\uf015"}.fa-file-o:before{content:"\uf016"}.fa-clock-o:before{content:"\uf017"}.fa-road:before{content:"\uf018"}.fa-download:before{content:"\uf019"}.fa-arrow-circle-o-down:before{content:"\uf01a"}.fa-arrow-circle-o-up:before{content:"\uf01b"}.fa-inbox:before{content:"\uf01c"}.fa-play-circle-o:before{content:"\uf01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\uf01e"}.fa-refresh:before{content:"\uf021"}.fa-list-alt:before{content:"\uf022"}.fa-lock:before{content:"\uf023"}.fa-flag:before{content:"\uf024"}.fa-headphones:before{content:"\uf025"}.fa-volume-off:before{content:"\uf026"}.fa-volume-down:before{content:"\uf027"}.fa-volume-up:before{content:"\uf028"}.fa-qrcode:before{content:"\uf029"}.fa-barcode:before{content:"\uf02a"}.fa-tag:before{content:"\uf02b"}.fa-tags:before{content:"\uf02c"}.fa-book:before{content:"\uf02d"}.fa-bookmark:before{content:"\uf02e"}.fa-print:before{content:"\uf02f"}.fa-camera:before{content:"\uf030"}.fa-font:before{content:"\uf031"}.fa-bold:before{content:"\uf032"}.fa-italic:before{content:"\uf033"}.fa-text-height:before{content:"\uf034"}.fa-text-width:before{content:"\uf035"}.fa-align-left:before{content:"\uf036"}.fa-align-center:before{content:"\uf037"}.fa-align-right:before{content:"\uf038"}.fa-align-justify:before{content:"\uf039"}.fa-list:before{content:"\uf03a"}.fa-dedent:before,.fa-outdent:before{content:"\uf03b"}.fa-indent:before{content:"\uf03c"}.fa-video-camera:before{content:"\uf03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\uf03e"}.fa-pencil:before{content:"\uf040"}.fa-map-marker:before{content:"\uf041"}.fa-adjust:before{content:"\uf042"}.fa-tint:before{content:"\uf043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\uf044"}.fa-share-square-o:before{content:"\uf045"}.fa-check-square-o:before{content:"\uf046"}.fa-arrows:before{content:"\uf047"}.fa-step-backward:before{content:"\uf048"}.fa-fast-backward:before{content:"\uf049"}.fa-backward:before{content:"\uf04a"}.fa-play:before{content:"\uf04b"}.fa-pause:before{content:"\uf04c"}.fa-stop:before{content:"\uf04d"}.fa-forward:before{content:"\uf04e"}.fa-fast-forward:before{content:"\uf050"}.fa-step-forward:before{content:"\uf051"}.fa-eject:before{content:"\uf052"}.fa-chevron-left:before{content:"\uf053"}.fa-chevron-right:before{content:"\uf054"}.fa-plus-circle:before{content:"\uf055"}.fa-minus-circle:before{content:"\uf056"}.fa-times-circle:before{content:"\uf057"}.fa-check-circle:before{content:"\uf058"}.fa-question-circle:before{content:"\uf059"}.fa-info-circle:before{content:"\uf05a"}.fa-crosshairs:before{content:"\uf05b"}.fa-times-circle-o:before{content:"\uf05c"}.fa-check-circle-o:before{content:"\uf05d"}.fa-ban:before{content:"\uf05e"}.fa-arrow-left:before{content:"\uf060"}.fa-arrow-right:before{content:"\uf061"}.fa-arrow-up:before{content:"\uf062"}.fa-arrow-down:before{content:"\uf063"}.fa-mail-forward:before,.fa-share:before{content:"\uf064"}.fa-expand:before{content:"\uf065"}.fa-compress:before{content:"\uf066"}.fa-plus:before{content:"\uf067"}.fa-minus:before{content:"\uf068"}.fa-asterisk:before{content:"\uf069"}.fa-exclamation-circle:before{content:"\uf06a"}.fa-gift:before{content:"\uf06b"}.fa-leaf:before{content:"\uf06c"}.fa-fire:before{content:"\uf06d"}.fa-eye:before{content:"\uf06e"}.fa-eye-slash:before{content:"\uf070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\uf071"}.fa-plane:before{content:"\uf072"}.fa-calendar:before{content:"\uf073"}.fa-random:before{content:"\uf074"}.fa-comment:before{content:"\uf075"}.fa-magnet:before{content:"\uf076"}.fa-chevron-up:before{content:"\uf077"}.fa-chevron-down:before{content:"\uf078"}.fa-retweet:before{content:"\uf079"}.fa-shopping-cart:before{content:"\uf07a"}.fa-folder:before{content:"\uf07b"}.fa-folder-open:before{content:"\uf07c"}.fa-arrows-v:before{content:"\uf07d"}.fa-arrows-h:before{content:"\uf07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\uf080"}.fa-twitter-square:before{content:"\uf081"}.fa-facebook-square:before{content:"\uf082"}.fa-camera-retro:before{content:"\uf083"}.fa-key:before{content:"\uf084"}.fa-gears:before,.fa-cogs:before{content:"\uf085"}.fa-comments:before{content:"\uf086"}.fa-thumbs-o-up:before{content:"\uf087"}.fa-thumbs-o-down:before{content:"\uf088"}.fa-star-half:before{content:"\uf089"}.fa-heart-o:before{content:"\uf08a"}.fa-sign-out:before{content:"\uf08b"}.fa-linkedin-square:before{content:"\uf08c"}.fa-thumb-tack:before{content:"\uf08d"}.fa-external-link:before{content:"\uf08e"}.fa-sign-in:before{content:"\uf090"}.fa-trophy:before{content:"\uf091"}.fa-github-square:before{content:"\uf092"}.fa-upload:before{content:"\uf093"}.fa-lemon-o:before{content:"\uf094"}.fa-phone:before{content:"\uf095"}.fa-square-o:before{content:"\uf096"}.fa-bookmark-o:before{content:"\uf097"}.fa-phone-square:before{content:"\uf098"}.fa-twitter:before{content:"\uf099"}.fa-facebook-f:before,.fa-facebook:before{content:"\uf09a"}.fa-github:before{content:"\uf09b"}.fa-unlock:before{content:"\uf09c"}.fa-credit-card:before{content:"\uf09d"}.fa-feed:before,.fa-rss:before{content:"\uf09e"}.fa-hdd-o:before{content:"\uf0a0"}.fa-bullhorn:before{content:"\uf0a1"}.fa-bell:before{content:"\uf0f3"}.fa-certificate:before{content:"\uf0a3"}.fa-hand-o-right:before{content:"\uf0a4"}.fa-hand-o-left:before{content:"\uf0a5"}.fa-hand-o-up:before{content:"\uf0a6"}.fa-hand-o-down:before{content:"\uf0a7"}.fa-arrow-circle-left:before{content:"\uf0a8"}.fa-arrow-circle-right:before{content:"\uf0a9"}.fa-arrow-circle-up:before{content:"\uf0aa"}.fa-arrow-circle-down:before{content:"\uf0ab"}.fa-globe:before{content:"\uf0ac"}.fa-wrench:before{content:"\uf0ad"}.fa-tasks:before{content:"\uf0ae"}.fa-filter:before{content:"\uf0b0"}.fa-briefcase:before{content:"\uf0b1"}.fa-arrows-alt:before{content:"\uf0b2"}.fa-group:before,.fa-users:before{content:"\uf0c0"}.fa-chain:before,.fa-link:before{content:"\uf0c1"}.fa-cloud:before{content:"\uf0c2"}.fa-flask:before{content:"\uf0c3"}.fa-cut:before,.fa-scissors:before{content:"\uf0c4"}.fa-copy:before,.fa-files-o:before{content:"\uf0c5"}.fa-paperclip:before{content:"\uf0c6"}.fa-save:before,.fa-floppy-o:before{content:"\uf0c7"}.fa-square:before{content:"\uf0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\uf0c9"}.fa-list-ul:before{content:"\uf0ca"}.fa-list-ol:before{content:"\uf0cb"}.fa-strikethrough:before{content:"\uf0cc"}.fa-underline:before{content:"\uf0cd"}.fa-table:before{content:"\uf0ce"}.fa-magic:before{content:"\uf0d0"}.fa-truck:before{content:"\uf0d1"}.fa-pinterest:before{content:"\uf0d2"}.fa-pinterest-square:before{content:"\uf0d3"}.fa-google-plus-square:before{content:"\uf0d4"}.fa-google-plus:before{content:"\uf0d5"}.fa-money:before{content:"\uf0d6"}.fa-caret-down:before{content:"\uf0d7"}.fa-caret-up:before{content:"\uf0d8"}.fa-caret-left:before{content:"\uf0d9"}.fa-caret-right:before{content:"\uf0da"}.fa-columns:before{content:"\uf0db"}.fa-unsorted:before,.fa-sort:before{content:"\uf0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\uf0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\uf0de"}.fa-envelope:before{content:"\uf0e0"}.fa-linkedin:before{content:"\uf0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\uf0e2"}.fa-legal:before,.fa-gavel:before{content:"\uf0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\uf0e4"}.fa-comment-o:before{content:"\uf0e5"}.fa-comments-o:before{content:"\uf0e6"}.fa-flash:before,.fa-bolt:before{content:"\uf0e7"}.fa-sitemap:before{content:"\uf0e8"}.fa-umbrella:before{content:"\uf0e9"}.fa-paste:before,.fa-clipboard:before{content:"\uf0ea"}.fa-lightbulb-o:before{content:"\uf0eb"}.fa-exchange:before{content:"\uf0ec"}.fa-cloud-download:before{content:"\uf0ed"}.fa-cloud-upload:before{content:"\uf0ee"}.fa-user-md:before{content:"\uf0f0"}.fa-stethoscope:before{content:"\uf0f1"}.fa-suitcase:before{content:"\uf0f2"}.fa-bell-o:before{content:"\uf0a2"}.fa-coffee:before{content:"\uf0f4"}.fa-cutlery:before{content:"\uf0f5"}.fa-file-text-o:before{content:"\uf0f6"}.fa-building-o:before{content:"\uf0f7"}.fa-hospital-o:before{content:"\uf0f8"}.fa-ambulance:before{content:"\uf0f9"}.fa-medkit:before{content:"\uf0fa"}.fa-fighter-jet:before{content:"\uf0fb"}.fa-beer:before{content:"\uf0fc"}.fa-h-square:before{content:"\uf0fd"}.fa-plus-square:before{content:"\uf0fe"}.fa-angle-double-left:before{content:"\uf100"}.fa-angle-double-right:before{content:"\uf101"}.fa-angle-double-up:before{content:"\uf102"}.fa-angle-double-down:before{content:"\uf103"}.fa-angle-left:before{content:"\uf104"}.fa-angle-right:before{content:"\uf105"}.fa-angle-up:before{content:"\uf106"}.fa-angle-down:before{content:"\uf107"}.fa-desktop:before{content:"\uf108"}.fa-laptop:before{content:"\uf109"}.fa-tablet:before{content:"\uf10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\uf10b"}.fa-circle-o:before{content:"\uf10c"}.fa-quote-left:before{content:"\uf10d"}.fa-quote-right:before{content:"\uf10e"}.fa-spinner:before{content:"\uf110"}.fa-circle:before{content:"\uf111"}.fa-mail-reply:before,.fa-reply:before{content:"\uf112"}.fa-github-alt:before{content:"\uf113"}.fa-folder-o:before{content:"\uf114"}.fa-folder-open-o:before{content:"\uf115"}.fa-smile-o:before{content:"\uf118"}.fa-frown-o:before{content:"\uf119"}.fa-meh-o:before{content:"\uf11a"}.fa-gamepad:before{content:"\uf11b"}.fa-keyboard-o:before{content:"\uf11c"}.fa-flag-o:before{content:"\uf11d"}.fa-flag-checkered:before{content:"\uf11e"}.fa-terminal:before{content:"\uf120"}.fa-code:before{content:"\uf121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\uf122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\uf123"}.fa-location-arrow:before{content:"\uf124"}.fa-crop:before{content:"\uf125"}.fa-code-fork:before{content:"\uf126"}.fa-unlink:before,.fa-chain-broken:before{content:"\uf127"}.fa-question:before{content:"\uf128"}.fa-info:before{content:"\uf129"}.fa-exclamation:before{content:"\uf12a"}.fa-superscript:before{content:"\uf12b"}.fa-subscript:before{content:"\uf12c"}.fa-eraser:before{content:"\uf12d"}.fa-puzzle-piece:before{content:"\uf12e"}.fa-microphone:before{content:"\uf130"}.fa-microphone-slash:before{content:"\uf131"}.fa-shield:before{content:"\uf132"}.fa-calendar-o:before{content:"\uf133"}.fa-fire-extinguisher:before{content:"\uf134"}.fa-rocket:before{content:"\uf135"}.fa-maxcdn:before{content:"\uf136"}.fa-chevron-circle-left:before{content:"\uf137"}.fa-chevron-circle-right:before{content:"\uf138"}.fa-chevron-circle-up:before{content:"\uf139"}.fa-chevron-circle-down:before{content:"\uf13a"}.fa-html5:before{content:"\uf13b"}.fa-css3:before{content:"\uf13c"}.fa-anchor:before{content:"\uf13d"}.fa-unlock-alt:before{content:"\uf13e"}.fa-bullseye:before{content:"\uf140"}.fa-ellipsis-h:before{content:"\uf141"}.fa-ellipsis-v:before{content:"\uf142"}.fa-rss-square:before{content:"\uf143"}.fa-play-circle:before{content:"\uf144"}.fa-ticket:before{content:"\uf145"}.fa-minus-square:before{content:"\uf146"}.fa-minus-square-o:before{content:"\uf147"}.fa-level-up:before{content:"\uf148"}.fa-level-down:before{content:"\uf149"}.fa-check-square:before{content:"\uf14a"}.fa-pencil-square:before{content:"\uf14b"}.fa-external-link-square:before{content:"\uf14c"}.fa-share-square:before{content:"\uf14d"}.fa-compass:before{content:"\uf14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\uf150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\uf151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\uf152"}.fa-euro:before,.fa-eur:before{content:"\uf153"}.fa-gbp:before{content:"\uf154"}.fa-dollar:before,.fa-usd:before{content:"\uf155"}.fa-rupee:before,.fa-inr:before{content:"\uf156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\uf157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\uf158"}.fa-won:before,.fa-krw:before{content:"\uf159"}.fa-bitcoin:before,.fa-btc:before{content:"\uf15a"}.fa-file:before{content:"\uf15b"}.fa-file-text:before{content:"\uf15c"}.fa-sort-alpha-asc:before{content:"\uf15d"}.fa-sort-alpha-desc:before{content:"\uf15e"}.fa-sort-amount-asc:before{content:"\uf160"}.fa-sort-amount-desc:before{content:"\uf161"}.fa-sort-numeric-asc:before{content:"\uf162"}.fa-sort-numeric-desc:before{content:"\uf163"}.fa-thumbs-up:before{content:"\uf164"}.fa-thumbs-down:before{content:"\uf165"}.fa-youtube-square:before{content:"\uf166"}.fa-youtube:before{content:"\uf167"}.fa-xing:before{content:"\uf168"}.fa-xing-square:before{content:"\uf169"}.fa-youtube-play:before{content:"\uf16a"}.fa-dropbox:before{content:"\uf16b"}.fa-stack-overflow:before{content:"\uf16c"}.fa-instagram:before{content:"\uf16d"}.fa-flickr:before{content:"\uf16e"}.fa-adn:before{content:"\uf170"}.fa-bitbucket:before{content:"\uf171"}.fa-bitbucket-square:before{content:"\uf172"}.fa-tumblr:before{content:"\uf173"}.fa-tumblr-square:before{content:"\uf174"}.fa-long-arrow-down:before{content:"\uf175"}.fa-long-arrow-up:before{content:"\uf176"}.fa-long-arrow-left:before{content:"\uf177"}.fa-long-arrow-right:before{content:"\uf178"}.fa-apple:before{content:"\uf179"}.fa-windows:before{content:"\uf17a"}.fa-android:before{content:"\uf17b"}.fa-linux:before{content:"\uf17c"}.fa-dribbble:before{content:"\uf17d"}.fa-skype:before{content:"\uf17e"}.fa-foursquare:before{content:"\uf180"}.fa-trello:before{content:"\uf181"}.fa-female:before{content:"\uf182"}.fa-male:before{content:"\uf183"}.fa-gittip:before,.fa-gratipay:before{content:"\uf184"}.fa-sun-o:before{content:"\uf185"}.fa-moon-o:before{content:"\uf186"}.fa-archive:before{content:"\uf187"}.fa-bug:before{content:"\uf188"}.fa-vk:before{content:"\uf189"}.fa-weibo:before{content:"\uf18a"}.fa-renren:before{content:"\uf18b"}.fa-pagelines:before{content:"\uf18c"}.fa-stack-exchange:before{content:"\uf18d"}.fa-arrow-circle-o-right:before{content:"\uf18e"}.fa-arrow-circle-o-left:before{content:"\uf190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\uf191"}.fa-dot-circle-o:before{content:"\uf192"}.fa-wheelchair:before{content:"\uf193"}.fa-vimeo-square:before{content:"\uf194"}.fa-turkish-lira:before,.fa-try:before{content:"\uf195"}.fa-plus-square-o:before{content:"\uf196"}.fa-space-shuttle:before{content:"\uf197"}.fa-slack:before{content:"\uf198"}.fa-envelope-square:before{content:"\uf199"}.fa-wordpress:before{content:"\uf19a"}.fa-openid:before{content:"\uf19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\uf19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\uf19d"}.fa-yahoo:before{content:"\uf19e"}.fa-google:before{content:"\uf1a0"}.fa-reddit:before{content:"\uf1a1"}.fa-reddit-square:before{content:"\uf1a2"}.fa-stumbleupon-circle:before{content:"\uf1a3"}.fa-stumbleupon:before{content:"\uf1a4"}.fa-delicious:before{content:"\uf1a5"}.fa-digg:before{content:"\uf1a6"}.fa-pied-piper-pp:before{content:"\uf1a7"}.fa-pied-piper-alt:before{content:"\uf1a8"}.fa-drupal:before{content:"\uf1a9"}.fa-joomla:before{content:"\uf1aa"}.fa-language:before{content:"\uf1ab"}.fa-fax:before{content:"\uf1ac"}.fa-building:before{content:"\uf1ad"}.fa-child:before{content:"\uf1ae"}.fa-paw:before{content:"\uf1b0"}.fa-spoon:before{content:"\uf1b1"}.fa-cube:before{content:"\uf1b2"}.fa-cubes:before{content:"\uf1b3"}.fa-behance:before{content:"\uf1b4"}.fa-behance-square:before{content:"\uf1b5"}.fa-steam:before{content:"\uf1b6"}.fa-steam-square:before{content:"\uf1b7"}.fa-recycle:before{content:"\uf1b8"}.fa-automobile:before,.fa-car:before{content:"\uf1b9"}.fa-cab:before,.fa-taxi:before{content:"\uf1ba"}.fa-tree:before{content:"\uf1bb"}.fa-spotify:before{content:"\uf1bc"}.fa-deviantart:before{content:"\uf1bd"}.fa-soundcloud:before{content:"\uf1be"}.fa-database:before{content:"\uf1c0"}.fa-file-pdf-o:before{content:"\uf1c1"}.fa-file-word-o:before{content:"\uf1c2"}.fa-file-excel-o:before{content:"\uf1c3"}.fa-file-powerpoint-o:before{content:"\uf1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\uf1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\uf1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\uf1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\uf1c8"}.fa-file-code-o:before{content:"\uf1c9"}.fa-vine:before{content:"\uf1ca"}.fa-codepen:before{content:"\uf1cb"}.fa-jsfiddle:before{content:"\uf1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\uf1cd"}.fa-circle-o-notch:before{content:"\uf1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\uf1d0"}.fa-ge:before,.fa-empire:before{content:"\uf1d1"}.fa-git-square:before{content:"\uf1d2"}.fa-git:before{content:"\uf1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\uf1d4"}.fa-tencent-weibo:before{content:"\uf1d5"}.fa-qq:before{content:"\uf1d6"}.fa-wechat:before,.fa-weixin:before{content:"\uf1d7"}.fa-send:before,.fa-paper-plane:before{content:"\uf1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\uf1d9"}.fa-history:before{content:"\uf1da"}.fa-circle-thin:before{content:"\uf1db"}.fa-header:before{content:"\uf1dc"}.fa-paragraph:before{content:"\uf1dd"}.fa-sliders:before{content:"\uf1de"}.fa-share-alt:before{content:"\uf1e0"}.fa-share-alt-square:before{content:"\uf1e1"}.fa-bomb:before{content:"\uf1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\uf1e3"}.fa-tty:before{content:"\uf1e4"}.fa-binoculars:before{content:"\uf1e5"}.fa-plug:before{content:"\uf1e6"}.fa-slideshare:before{content:"\uf1e7"}.fa-twitch:before{content:"\uf1e8"}.fa-yelp:before{content:"\uf1e9"}.fa-newspaper-o:before{content:"\uf1ea"}.fa-wifi:before{content:"\uf1eb"}.fa-calculator:before{content:"\uf1ec"}.fa-paypal:before{content:"\uf1ed"}.fa-google-wallet:before{content:"\uf1ee"}.fa-cc-visa:before{content:"\uf1f0"}.fa-cc-mastercard:before{content:"\uf1f1"}.fa-cc-discover:before{content:"\uf1f2"}.fa-cc-amex:before{content:"\uf1f3"}.fa-cc-paypal:before{content:"\uf1f4"}.fa-cc-stripe:before{content:"\uf1f5"}.fa-bell-slash:before{content:"\uf1f6"}.fa-bell-slash-o:before{content:"\uf1f7"}.fa-trash:before{content:"\uf1f8"}.fa-copyright:before{content:"\uf1f9"}.fa-at:before{content:"\uf1fa"}.fa-eyedropper:before{content:"\uf1fb"}.fa-paint-brush:before{content:"\uf1fc"}.fa-birthday-cake:before{content:"\uf1fd"}.fa-area-chart:before{content:"\uf1fe"}.fa-pie-chart:before{content:"\uf200"}.fa-line-chart:before{content:"\uf201"}.fa-lastfm:before{content:"\uf202"}.fa-lastfm-square:before{content:"\uf203"}.fa-toggle-off:before{content:"\uf204"}.fa-toggle-on:before{content:"\uf205"}.fa-bicycle:before{content:"\uf206"}.fa-bus:before{content:"\uf207"}.fa-ioxhost:before{content:"\uf208"}.fa-angellist:before{content:"\uf209"}.fa-cc:before{content:"\uf20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\uf20b"}.fa-meanpath:before{content:"\uf20c"}.fa-buysellads:before{content:"\uf20d"}.fa-connectdevelop:before{content:"\uf20e"}.fa-dashcube:before{content:"\uf210"}.fa-forumbee:before{content:"\uf211"}.fa-leanpub:before{content:"\uf212"}.fa-sellsy:before{content:"\uf213"}.fa-shirtsinbulk:before{content:"\uf214"}.fa-simplybuilt:before{content:"\uf215"}.fa-skyatlas:before{content:"\uf216"}.fa-cart-plus:before{content:"\uf217"}.fa-cart-arrow-down:before{content:"\uf218"}.fa-diamond:before{content:"\uf219"}.fa-ship:before{content:"\uf21a"}.fa-user-secret:before{content:"\uf21b"}.fa-motorcycle:before{content:"\uf21c"}.fa-street-view:before{content:"\uf21d"}.fa-heartbeat:before{content:"\uf21e"}.fa-venus:before{content:"\uf221"}.fa-mars:before{content:"\uf222"}.fa-mercury:before{content:"\uf223"}.fa-intersex:before,.fa-transgender:before{content:"\uf224"}.fa-transgender-alt:before{content:"\uf225"}.fa-venus-double:before{content:"\uf226"}.fa-mars-double:before{content:"\uf227"}.fa-venus-mars:before{content:"\uf228"}.fa-mars-stroke:before{content:"\uf229"}.fa-mars-stroke-v:before{content:"\uf22a"}.fa-mars-stroke-h:before{content:"\uf22b"}.fa-neuter:before{content:"\uf22c"}.fa-genderless:before{content:"\uf22d"}.fa-facebook-official:before{content:"\uf230"}.fa-pinterest-p:before{content:"\uf231"}.fa-whatsapp:before{content:"\uf232"}.fa-server:before{content:"\uf233"}.fa-user-plus:before{content:"\uf234"}.fa-user-times:before{content:"\uf235"}.fa-hotel:before,.fa-bed:before{content:"\uf236"}.fa-viacoin:before{content:"\uf237"}.fa-train:before{content:"\uf238"}.fa-subway:before{content:"\uf239"}.fa-medium:before{content:"\uf23a"}.fa-yc:before,.fa-y-combinator:before{content:"\uf23b"}.fa-optin-monster:before{content:"\uf23c"}.fa-opencart:before{content:"\uf23d"}.fa-expeditedssl:before{content:"\uf23e"}.fa-battery-4:before,.fa-battery-full:before{content:"\uf240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\uf241"}.fa-battery-2:before,.fa-battery-half:before{content:"\uf242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\uf243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\uf244"}.fa-mouse-pointer:before{content:"\uf245"}.fa-i-cursor:before{content:"\uf246"}.fa-object-group:before{content:"\uf247"}.fa-object-ungroup:before{content:"\uf248"}.fa-sticky-note:before{content:"\uf249"}.fa-sticky-note-o:before{content:"\uf24a"}.fa-cc-jcb:before{content:"\uf24b"}.fa-cc-diners-club:before{content:"\uf24c"}.fa-clone:before{content:"\uf24d"}.fa-balance-scale:before{content:"\uf24e"}.fa-hourglass-o:before{content:"\uf250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\uf251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\uf252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\uf253"}.fa-hourglass:before{content:"\uf254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\uf255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\uf256"}.fa-hand-scissors-o:before{content:"\uf257"}.fa-hand-lizard-o:before{content:"\uf258"}.fa-hand-spock-o:before{content:"\uf259"}.fa-hand-pointer-o:before{content:"\uf25a"}.fa-hand-peace-o:before{content:"\uf25b"}.fa-trademark:before{content:"\uf25c"}.fa-registered:before{content:"\uf25d"}.fa-creative-commons:before{content:"\uf25e"}.fa-gg:before{content:"\uf260"}.fa-gg-circle:before{content:"\uf261"}.fa-tripadvisor:before{content:"\uf262"}.fa-odnoklassniki:before{content:"\uf263"}.fa-odnoklassniki-square:before{content:"\uf264"}.fa-get-pocket:before{content:"\uf265"}.fa-wikipedia-w:before{content:"\uf266"}.fa-safari:before{content:"\uf267"}.fa-chrome:before{content:"\uf268"}.fa-firefox:before{content:"\uf269"}.fa-opera:before{content:"\uf26a"}.fa-internet-explorer:before{content:"\uf26b"}.fa-tv:before,.fa-television:before{content:"\uf26c"}.fa-contao:before{content:"\uf26d"}.fa-500px:before{content:"\uf26e"}.fa-amazon:before{content:"\uf270"}.fa-calendar-plus-o:before{content:"\uf271"}.fa-calendar-minus-o:before{content:"\uf272"}.fa-calendar-times-o:before{content:"\uf273"}.fa-calendar-check-o:before{content:"\uf274"}.fa-industry:before{content:"\uf275"}.fa-map-pin:before{content:"\uf276"}.fa-map-signs:before{content:"\uf277"}.fa-map-o:before{content:"\uf278"}.fa-map:before{content:"\uf279"}.fa-commenting:before{content:"\uf27a"}.fa-commenting-o:before{content:"\uf27b"}.fa-houzz:before{content:"\uf27c"}.fa-vimeo:before{content:"\uf27d"}.fa-black-tie:before{content:"\uf27e"}.fa-fonticons:before{content:"\uf280"}.fa-reddit-alien:before{content:"\uf281"}.fa-edge:before{content:"\uf282"}.fa-credit-card-alt:before{content:"\uf283"}.fa-codiepie:before{content:"\uf284"}.fa-modx:before{content:"\uf285"}.fa-fort-awesome:before{content:"\uf286"}.fa-usb:before{content:"\uf287"}.fa-product-hunt:before{content:"\uf288"}.fa-mixcloud:before{content:"\uf289"}.fa-scribd:before{content:"\uf28a"}.fa-pause-circle:before{content:"\uf28b"}.fa-pause-circle-o:before{content:"\uf28c"}.fa-stop-circle:before{content:"\uf28d"}.fa-stop-circle-o:before{content:"\uf28e"}.fa-shopping-bag:before{content:"\uf290"}.fa-shopping-basket:before{content:"\uf291"}.fa-hashtag:before{content:"\uf292"}.fa-bluetooth:before{content:"\uf293"}.fa-bluetooth-b:before{content:"\uf294"}.fa-percent:before{content:"\uf295"}.fa-gitlab:before{content:"\uf296"}.fa-wpbeginner:before{content:"\uf297"}.fa-wpforms:before{content:"\uf298"}.fa-envira:before{content:"\uf299"}.fa-universal-access:before{content:"\uf29a"}.fa-wheelchair-alt:before{content:"\uf29b"}.fa-question-circle-o:before{content:"\uf29c"}.fa-blind:before{content:"\uf29d"}.fa-audio-description:before{content:"\uf29e"}.fa-volume-control-phone:before{content:"\uf2a0"}.fa-braille:before{content:"\uf2a1"}.fa-assistive-listening-systems:before{content:"\uf2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\uf2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\uf2a4"}.fa-glide:before{content:"\uf2a5"}.fa-glide-g:before{content:"\uf2a6"}.fa-signing:before,.fa-sign-language:before{content:"\uf2a7"}.fa-low-vision:before{content:"\uf2a8"}.fa-viadeo:before{content:"\uf2a9"}.fa-viadeo-square:before{content:"\uf2aa"}.fa-snapchat:before{content:"\uf2ab"}.fa-snapchat-ghost:before{content:"\uf2ac"}.fa-snapchat-square:before{content:"\uf2ad"}.fa-pied-piper:before{content:"\uf2ae"}.fa-first-order:before{content:"\uf2b0"}.fa-yoast:before{content:"\uf2b1"}.fa-themeisle:before{content:"\uf2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\uf2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\uf2b4"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.btn,div.buic-listing table.listing tr.selectiontoolbar button{font-size:13px;font-weight:400!important;border-radius:3px}.btn-group{margin-right:6px}.btn-group>.btn-xs,.btn-group-xs.btn-group>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group>button{font-size:12px;line-height:16px;padding:3px 7px}.btn-sm,.btn-group-sm>.btn,div.buic-listing table.listing tr.selectiontoolbar .btn-group-sm>button{font-size:13px;line-height:16px;padding:4px 9px}.btn-group>a.btn-sm,.btn-group-sm.btn-group>a.btn,.btn-group>a.btn-xs,.btn-group-xs.btn-group>a.btn{font-weight:400;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.btn-primary{background-color:#5d9f11;border-color:#528d0f;color:#FFF!important}.btn-primary:focus,.btn-primary.focus{color:#FFF;background-color:#42710c;border-color:#0f1903}.btn-primary:hover{color:#FFF;background-color:#42710c;border-color:#325509}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{color:#FFF;background-color:#42710c;border-color:#325509}.btn-primary:active:hover,.btn-primary:active:focus,.btn-primary:active.focus,.btn-primary.active:hover,.btn-primary.active:focus,.btn-primary.active.focus,.open>.btn-primary.dropdown-toggle:hover,.open>.btn-primary.dropdown-toggle:focus,.open>.btn-primary.dropdown-toggle.focus{color:#FFF;background-color:#2f5109;border-color:#0f1903}.btn-primary:active,.btn-primary.active,.open>.btn-primary.dropdown-toggle{background-image:none}.btn-primary.disabled:hover,.btn-primary.disabled:focus,.btn-primary.disabled.focus,.btn-primary[disabled]:hover,.btn-primary[disabled]:focus,.btn-primary[disabled].focus,fieldset[disabled] .btn-primary:hover,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary.focus{background-color:#5d9f11;border-color:#528d0f}.btn-primary .badge{color:#5d9f11;background-color:#FFF}.btn-secondary{background-color:#2a78cb;border-color:#276eba;color:#FFF!important}.btn-secondary:focus,.btn-secondary.focus{color:#FFF;background-color:#215fa1;border-color:#113050}.btn-secondary:hover{color:#FFF;background-color:#215fa1;border-color:#1c5087}.btn-secondary:active,.btn-secondary.active,.open>.btn-secondary.dropdown-toggle{color:#FFF;background-color:#215fa1;border-color:#1c5087}.btn-secondary:active:hover,.btn-secondary:active:focus,.btn-secondary:active.focus,.btn-secondary.active:hover,.btn-secondary.active:focus,.btn-secondary.active.focus,.open>.btn-secondary.dropdown-toggle:hover,.open>.btn-secondary.dropdown-toggle:focus,.open>.btn-secondary.dropdown-toggle.focus{color:#FFF;background-color:#1b4e83;border-color:#113050}.btn-secondary:active,.btn-secondary.active,.open>.btn-secondary.dropdown-toggle{background-image:none}.btn-secondary.disabled:hover,.btn-secondary.disabled:focus,.btn-secondary.disabled.focus,.btn-secondary[disabled]:hover,.btn-secondary[disabled]:focus,.btn-secondary[disabled].focus,fieldset[disabled] .btn-secondary:hover,fieldset[disabled] .btn-secondary:focus,fieldset[disabled] .btn-secondary.focus{background-color:#2a78cb;border-color:#276eba}.btn-secondary .badge{color:#2a78cb;background-color:#FFF}.btn-tertiary{background-color:#7e94a5;border-color:#728a9d;color:#FFF!important}.btn-tertiary:focus,.btn-tertiary.focus{color:#FFF;background-color:#627b8e;border-color:#3b4955}.btn-tertiary:hover{color:#FFF;background-color:#627b8e;border-color:#566b7c}.btn-tertiary:active,.btn-tertiary.active,.open>.btn-tertiary.dropdown-toggle{color:#FFF;background-color:#627b8e;border-color:#566b7c}.btn-tertiary:active:hover,.btn-tertiary:active:focus,.btn-tertiary:active.focus,.btn-tertiary.active:hover,.btn-tertiary.active:focus,.btn-tertiary.active.focus,.open>.btn-tertiary.dropdown-toggle:hover,.open>.btn-tertiary.dropdown-toggle:focus,.open>.btn-tertiary.dropdown-toggle.focus{color:#FFF;background-color:#546879;border-color:#3b4955}.btn-tertiary:active,.btn-tertiary.active,.open>.btn-tertiary.dropdown-toggle{background-image:none}.btn-tertiary.disabled:hover,.btn-tertiary.disabled:focus,.btn-tertiary.disabled.focus,.btn-tertiary[disabled]:hover,.btn-tertiary[disabled]:focus,.btn-tertiary[disabled].focus,fieldset[disabled] .btn-tertiary:hover,fieldset[disabled] .btn-tertiary:focus,fieldset[disabled] .btn-tertiary.focus{background-color:#7e94a5;border-color:#728a9d}.btn-tertiary .badge{color:#7e94a5;background-color:#FFF}.btn-default,div.buic-listing table.listing tr.selectiontoolbar button{background-color:#e0e0e0;border-color:#d6d6d6;color:#666!important}.btn-default:focus,div.buic-listing table.listing tr.selectiontoolbar button:focus,.btn-default.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus{color:#666;background-color:#c7c7c7;border-color:#969696}.btn-default:hover,div.buic-listing table.listing tr.selectiontoolbar button:hover{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-default:active:hover,div.buic-listing table.listing tr.selectiontoolbar button:active:hover,.btn-default:active:focus,div.buic-listing table.listing tr.selectiontoolbar button:active:focus,.btn-default:active.focus,div.buic-listing table.listing tr.selectiontoolbar button:active.focus,.btn-default.active:hover,div.buic-listing table.listing tr.selectiontoolbar button.active:hover,.btn-default.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active:focus,.btn-default.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus,.open>.btn-default.dropdown-toggle:hover,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:hover,.open>.btn-default.dropdown-toggle:focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle:focus,.open>.btn-default.dropdown-toggle.focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.focus{color:#666;background-color:#b5b5b5;border-color:#969696}.btn-default:active,div.buic-listing table.listing tr.selectiontoolbar button:active,.btn-default.active,div.buic-listing table.listing tr.selectiontoolbar button.active,.open>.btn-default.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle{background-image:none}.btn-default.disabled:hover,div.buic-listing table.listing tr.selectiontoolbar button.disabled:hover,.btn-default.disabled:focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled:focus,.btn-default.disabled.focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.focus,.btn-default[disabled]:hover,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:hover,.btn-default[disabled]:focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled]:focus,.btn-default[disabled].focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].focus,fieldset[disabled] .btn-default:hover,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:hover,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:hover,fieldset[disabled] .btn-default:focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button:focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button:focus,fieldset[disabled] .btn-default.focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.focus{background-color:#e0e0e0;border-color:#d6d6d6}.btn-default .badge,div.buic-listing table.listing tr.selectiontoolbar button .badge{color:#e0e0e0;background-color:#666}.btn-bolt{background-color:#204460;border-color:#183449;color:#FFF!important}.btn-bolt:focus,.btn-bolt.focus{color:#FFF;background-color:#13293a;border-color:black}.btn-bolt:hover{color:#FFF;background-color:#13293a;border-color:#09131b}.btn-bolt:active,.btn-bolt.active,.open>.btn-bolt.dropdown-toggle{color:#FFF;background-color:#13293a;border-color:#09131b}.btn-bolt:active:hover,.btn-bolt:active:focus,.btn-bolt:active.focus,.btn-bolt.active:hover,.btn-bolt.active:focus,.btn-bolt.active.focus,.open>.btn-bolt.dropdown-toggle:hover,.open>.btn-bolt.dropdown-toggle:focus,.open>.btn-bolt.dropdown-toggle.focus{color:#FFF;background-color:#0a161f;border-color:black}.btn-bolt:active,.btn-bolt.active,.open>.btn-bolt.dropdown-toggle{background-image:none}.btn-bolt.disabled:hover,.btn-bolt.disabled:focus,.btn-bolt.disabled.focus,.btn-bolt[disabled]:hover,.btn-bolt[disabled]:focus,.btn-bolt[disabled].focus,fieldset[disabled] .btn-bolt:hover,fieldset[disabled] .btn-bolt:focus,fieldset[disabled] .btn-bolt.focus{background-color:#204460;border-color:#183449}.btn-bolt .badge{color:#204460;background-color:#FFF}.btn-danger{background-color:#aa1010;border-color:#970e0e;color:#FFF!important}.btn-danger:focus,.btn-danger.focus{color:#FFF;background-color:#7b0c0c;border-color:#230303}.btn-danger:hover{color:#FFF;background-color:#7b0c0c;border-color:#5f0909}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{color:#FFF;background-color:#7b0c0c;border-color:#5f0909}.btn-danger:active:hover,.btn-danger:active:focus,.btn-danger:active.focus,.btn-danger.active:hover,.btn-danger.active:focus,.btn-danger.active.focus,.open>.btn-danger.dropdown-toggle:hover,.open>.btn-danger.dropdown-toggle:focus,.open>.btn-danger.dropdown-toggle.focus{color:#FFF;background-color:#5b0909;border-color:#230303}.btn-danger:active,.btn-danger.active,.open>.btn-danger.dropdown-toggle{background-image:none}.btn-danger.disabled:hover,.btn-danger.disabled:focus,.btn-danger.disabled.focus,.btn-danger[disabled]:hover,.btn-danger[disabled]:focus,.btn-danger[disabled].focus,fieldset[disabled] .btn-danger:hover,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger.focus{background-color:#aa1010;border-color:#970e0e}.btn-danger .badge{color:#aa1010;background-color:#FFF}.btn-silent-danger,div.buic-listing table.listing tr.selectiontoolbar button.danger{background-color:#e0e0e0;border-color:#d6d6d6;color:#666!important}.btn-silent-danger:focus,div.buic-listing table.listing tr.selectiontoolbar button.danger:focus,.btn-silent-danger.focus,div.buic-listing table.listing tr.selectiontoolbar button.focus.danger{color:#666;background-color:#c7c7c7;border-color:#969696}.btn-silent-danger:hover,div.buic-listing table.listing tr.selectiontoolbar button.danger:hover{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-silent-danger:active,div.buic-listing table.listing tr.selectiontoolbar button.danger:active,.btn-silent-danger.active,div.buic-listing table.listing tr.selectiontoolbar button.active.danger,.open>.btn-silent-danger.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.btn-silent-danger:active:hover,div.buic-listing table.listing tr.selectiontoolbar button.danger:active:hover,.btn-silent-danger:active:focus,div.buic-listing table.listing tr.selectiontoolbar button.danger:active:focus,.btn-silent-danger:active.focus,div.buic-listing table.listing tr.selectiontoolbar button.danger:active.focus,.btn-silent-danger.active:hover,div.buic-listing table.listing tr.selectiontoolbar button.active.danger:hover,.btn-silent-danger.active:focus,div.buic-listing table.listing tr.selectiontoolbar button.active.danger:focus,.btn-silent-danger.active.focus,div.buic-listing table.listing tr.selectiontoolbar button.active.focus.danger,.open>.btn-silent-danger.dropdown-toggle:hover,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger:hover,.open>.btn-silent-danger.dropdown-toggle:focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger:focus,.open>.btn-silent-danger.dropdown-toggle.focus,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.focus.danger{color:#666;background-color:#b5b5b5;border-color:#969696}.btn-silent-danger:active,div.buic-listing table.listing tr.selectiontoolbar button.danger:active,.btn-silent-danger.active,div.buic-listing table.listing tr.selectiontoolbar button.active.danger,.open>.btn-silent-danger.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .open>button.dropdown-toggle.danger{background-image:none}.btn-silent-danger.disabled:hover,div.buic-listing table.listing tr.selectiontoolbar button.disabled.danger:hover,.btn-silent-danger.disabled:focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.danger:focus,.btn-silent-danger.disabled.focus,div.buic-listing table.listing tr.selectiontoolbar button.disabled.focus.danger,.btn-silent-danger[disabled]:hover,div.buic-listing table.listing tr.selectiontoolbar button[disabled].danger:hover,.btn-silent-danger[disabled]:focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].danger:focus,.btn-silent-danger[disabled].focus,div.buic-listing table.listing tr.selectiontoolbar button[disabled].focus.danger,fieldset[disabled] .btn-silent-danger:hover,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.danger:hover,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.danger:hover,fieldset[disabled] .btn-silent-danger:focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.danger:focus,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.danger:focus,fieldset[disabled] .btn-silent-danger.focus,fieldset[disabled] div.buic-listing table.listing tr.selectiontoolbar button.focus.danger,div.buic-listing table.listing tr.selectiontoolbar fieldset[disabled] button.focus.danger{background-color:#e0e0e0;border-color:#d6d6d6}.btn-silent-danger .badge,div.buic-listing table.listing tr.selectiontoolbar button.danger .badge{color:#e0e0e0;background-color:#666}.btn-silent-danger:hover,div.buic-listing table.listing tr.selectiontoolbar button.danger:hover{color:#FFF!important;background-color:#aa1010;border-color:#970e0e}.page-header{padding-bottom:16px;margin:6px 0 20px;border-bottom:0}.center-block{float:none}.navbar-fixed-top,.navbar-fixed-bottom{position:static;background-color:#204460}.navbar-fixed-top .container{width:auto;margin-right:20px}.navbar-bolt{background:transparent;background-color:#204460;background-repeat:repeat-x;border-bottom:0;box-shadow:0 -5px 0 rgba(0,0,0,.15) inset}.navbar-bolt div.navbar-collapse{float:right;clear:none;display:inline-block}.navbar-bolt ul.navbar,.navbar-bolt ul.navbar li{list-style:none;display:inline}.navbar{min-height:54px;margin-bottom:0}.navbar .navbar-brand{display:inline-block;top:0;color:#fff;font-size:28px;line-height:28px;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;margin:0;padding:8px 8px 8px 2px}.navbar .navbar-brand img{width:26px;height:26px;margin:0 2px 2px 0}.navbar form{padding:0;display:inline}.navbar .dropdown button{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;padding:9px 15px 27px 8px;height:2.4em;font-weight:400}.navbar .navbar-collapse .navbar.pull-right{margin-top:10px}.navbar-site{display:inline-block;color:#ccc!important;font-size:22px;line-height:30px;margin-top:8px;padding:1px 5px 0;float:left;font-weight:400;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif}.navbar-site i{color:#ccc!important;font-size:16px}.navbar-brand:hover,.navbar-site:hover,.navbar-site:hover i{color:#fff!important;text-decoration:none;background-color:#428bca;outline:0}.navbar-toggle{float:left;margin:11px 0 0 -8px;padding:5px 8px 4px 5px;background-color:#a7b4be;border:0 solid #fff!important;color:#222}.navbar-toggle:hover,.navbar-toggle:focus{background-color:#fff!important}.navbar-header{margin-top:2px;float:left}.navbar-right{float:right!important}.navbar-top-links li:last-child{margin-right:0!important}.dropdown-menu{margin:0;border-radius:0;box-shadow:2px 2px 0 rgba(0,0,0,.15)}.dropdown-menu .btn-link{color:#555;padding:3px 20px;display:block}.dropdown-menu .btn-link:hover{color:#1a364d;background-color:#DDD;text-decoration:none}.dropdown-menu li{text-align:left}.dropdown-menu li a,.dropdown-menu li button{font-size:13px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.dropdown-menu li a:hover{background-color:#DDD}.dropdown-menu li.divider{margin:4px 1px}.dropdown-menu li a.nolink{background-color:#fdfdfa!important;color:#474747!important}.pagination{border-radius:2px!important}.pagination>li>a{color:#6f879b}.pagination>li>span{color:#888}.pagination .active a{background-color:#7e94a5;border-color:#7e94a5}.cke_reset_all,.cke_reset_all *{max-width:1500px}.cke_chrome{display:block;border:1px solid #DDD!important;padding:0}.cke_top{background-color:#EEE!important;padding-bottom:4px}.cke_bottom{display:block!important;float:right;border:0!important;top:1px;padding:0 4px!important;background-image:none!important;background-color:transparent!important}.cke_top{padding:0!important}.cke_toolgroup,.cke_combo_button{border-color:#e7e7e7!important;margin:3px!important}.cke_combo_text,.cke_button_label{color:#666!important}.cke_button_on{background-image:none!important;background-color:#e7e7e7!important}.cke_contents textarea{width:99%!important;max-width:100%!important;padding:8px;background-color:#EEE;color:#666!important}.cke_maximized{background-color:#e7e7e7!important}.cke_maximized .cke_contents{margin-bottom:12px!important}.cke_maximized .cke_contents iframe{max-width:900px!important;position:relative!important;border-left:1px solid #CCC;border-right:1px solid #CCC;box-shadow:2px 2px 15px rgba(0,0,0,.3)}.cke_toolbar_separator{background-color:#BBB!important}.CodeMirror{border:1px solid #DDD!important;font-size:14px;line-height:1em;font-family:Menlo,Consolas,Monaco,Courier New,monospace;margin-bottom:16px}.CodeMirror-scroll{background-color:#FFF}.CodeMirror-gutter{background-color:#f2f2f2!important;border-right:1px solid #CCC!important}.cm-tab:after{content:"\\21e5";display:inline-block;width:0;position:relative;overflow:visible;left:-1.4em;color:#aaa}#editcontent .select2-selection__clear{display:none}#editcontent .select2-selection__arrow{border-left:1px solid #eee}#editcontent .select2-selection__arrow:hover{background:#f0f0f0}#editcontent .select2-container--default.select2-container--focus .select2-selection--multiple{box-shadow:0 0 5px rgba(0,0,0,.2)}#editcontent .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#f4f4f4;border:1px solid #ddd;padding:2px 5px}#editcontent .select2-container--open .select2-search--inline{clear:both}#editcontent .select2-container--default .select2-selection--single,#editcontent .select2-container--default .select2-selection--multiple{border-color:#ccc;border-radius:2px}@font-face{font-family:Source Sans Pro;src:url(../fonts/SourceSansPro-Regular.woff2) format("woff2"),url(../fonts/SourceSansPro-Regular.woff) format("woff")}@font-face{font-family:Source Sans Pro;font-weight:600;src:url(../fonts/SourceSansPro-Semibold.woff2) format("woff2"),url(../fonts/SourceSansPro-Semibold.woff) format("woff")}@font-face{font-family:Source Sans Pro;font-style:italic;src:url(../fonts/SourceSansPro-It.woff2) format("woff2"),url(../fonts/SourceSansPro-It.woff) format("woff")}#navpage-wrapper{width:100%;height:100%}#navpage-primary .navbar-form{border:0;box-shadow:none!important;font-size:100%;margin-right:8px;padding:0 15px 8px 6px}#navpage-primary input.semitransparent{opacity:.5}#navpage-primary input.semitransparent:focus{opacity:1}.navbar-top-links{margin-top:5px}.navbar-top-links li{display:inline-block}.navbar-top-links li:last-child{margin-right:15px}.navbar-top-links li a{padding:12px;min-height:42px}.navbar-top-links .dropdown-menu li{display:block}.navbar-top-links .dropdown-menu li:last-child{margin-right:0}.navbar-top-links .dropdown-menu li a div{white-space:normal}.navbar-top-links .dropdown-menu>li a{color:#555;min-height:0}.navbar-top-links .dropdown-menu button:hover{background-color:#DDD;color:#1a364d}.navbar-top-links .dropdown-messages,.navbar-top-links .dropdown-tasks,.navbar-top-links .dropdown-alerts{width:310px;min-width:0}.navbar-top-links .dropdown-messages{margin-left:5px}.navbar-top-links .dropdown-tasks{margin-left:-59px}.navbar-top-links .dropdown-alerts{margin-left:-123px}.navbar-top-links .dropdown-user{right:0;left:auto}.navbar-static-top .nav>li>a{color:#CCC;font-weight:400}.navbar-static-top .nav>li:hover>a,.navbar-static-top .nav>li :focus{color:#FFF;background:#4a5e6e}.nav .open>a,.nav .open>a:hover,.nav .open>a:focus{background-color:#4a5e6e}#navpage-secondary{visibility:visible;display:block;z-index:100002;position:absolute;width:280px;padding-top:17px;height:100%;left:-280px;-webkit-transition:left .1s,width .1s;transition:left .1s,width .1s;box-shadow:-5px 0 0 rgba(0,0,0,.15) inset;background:#33363e;color:#DDD;font-size:120%}#navpage-secondary ul.submenu{visibility:hidden;display:none;font-size:90%;background:#4a4e5a}#navpage-secondary ul.submenu.show{visibility:visible;display:block}#navpage-secondary ul.submenu>li.subdivider{border-top:1px dashed #616776}#navpage-secondary ul.submenu a{padding:9px 8px 9px 48px;text-indent:-40px;color:#CCC;font-weight:400}#navpage-secondary ul.submenu a i{width:24px;margin-right:8px;text-indent:0}.nav-secondary-opened #navpage-secondary{left:0}#navpage-secondary .nav>li>a,#navpage-secondary .nav>li>form,#navpage-secondary .nav>li>em{padding:13px 8px 9px 50px;color:#CCC;display:block;font-weight:400;max-height:3.6em;overflow:hidden;cursor:pointer}#navpage-secondary .nav>li.nav-secondary-dashboard>a{padding:13px 8px 13px 50px}#navpage-secondary .nav>li a.menu-pop{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#navpage-secondary .nav>li a.menu-pop:before{display:inline-block;font-family:fontawesome;float:right;content:"\\f0da";text-indent:0;font-size:120%;padding-left:4px;color:#8c8c8c;line-height:22px}#navpage-secondary .nav>li:hover>a,#navpage-secondary .nav>li a:focus{color:#FFF;background:#3f515f}#navpage-secondary .nav>li:hover>a i.icon,#navpage-secondary .nav>li a:focus i.icon{background:#FFF}#navpage-secondary .nav>li>em{font-weight:700;font-style:normal;color:#b3c7d6}#navpage-secondary .nav>li>em i.icon{background:none;color:#b3c7d6;top:17px}#navpage-secondary .nav>li.active>a{color:#FFF;background:#42627b}#navpage-secondary .nav>li.active>a i.icon{background:#FFF}#navpage-secondary .nav>li.divider{border-top:1px solid #454954;padding-top:6px;margin-top:14px}#navpage-secondary .nav>li.search{padding-bottom:14px}#navpage-secondary .nav>li.search form{margin:0;padding-top:0;border:none;box-shadow:none}#navpage-secondary .nav>li.search .form-group{vertical-align:middle;display:inline-block;width:220px;text-indent:0;margin:0}#navpage-secondary .nav>li.search .select2-container{padding:4px 8px}#navpage-secondary .nav>li.search i.icon{background:none;color:#CCC}#navpage-secondary .nav>li i.icon{display:block;margin-right:8px;width:24px;height:24px;line-height:24px;text-align:center;vertical-align:baseline;text-indent:0;font-style:normal;font-weight:700;background:#CCC;border-radius:3px;font-size:16px;color:#333;position:absolute;left:12px;top:10px}#navpage-secondary .nav>li i.icon:before{font-weight:400}#navpage-secondary .nav>li .popover.right{margin-left:-16px}#navpage-secondary .nav>li .popover-content{z-index:20;color:#444;padding:3px;overflow:hidden;text-indent:0}#navpage-secondary .nav>li .popover-content a{display:block;padding:4px 6px 4px 4px;background:transparent;color:#555!important;font-size:100%;text-indent:-32px;padding-left:32px;text-overflow:ellipsis;white-space:nowrap}#navpage-secondary .nav>li .popover-content a i{width:32px;text-indent:0}#navpage-secondary .nav>li .popover-content a:hover{color:#1a364d!important;background-color:#DDD;text-decoration:none}#navpage-secondary .nav>li .popover-content hr{margin:4px 0;padding:0 8px}.arrow{float:right}.fa.arrow:before{content:"\\f104"}.active>a>.fa.arrow:before{content:"\\f107"}.nav-secondary-collapse,.nav-secondary-expand{border-top:1px solid #454954;padding-top:6px;margin-top:14px;visibility:hidden;display:none}.nav-secondary-collapse i.icon,.nav-secondary-expand i.icon{background:none!important;color:#CCC!important}body.mfp-zoom-out-cur #navpage-secondary{z-index:1000}#navpage-content{padding:12px 16px 60px 6px;-webkit-transition:left .3s;transition:left .3s;position:absolute;left:0;right:0}footer{position:fixed;bottom:0;border-top:1px solid #CCC;background-color:#e7e7e7;color:#999;width:100%;padding:4px 10px;z-index:100004}.bolt-footer-mini{background:#272a30;color:#919191;border-top:0;width:180px;font-size:90%;text-align:center}.bolt-footer-mini a{color:gray!important}.bolt-footer-hidden{display:none}h1,h2,h3,h4,h5,h6{font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;margin:.5em 0;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}h1{font-size:30px;line-height:36px}h2{font-size:26px;line-height:31px}a{color:#005394;font-weight:700}a:link{color:#005394}a:visited{color:#005394}a:focus,a:hover,a:active{color:#0065b3}strong,b{font-weight:600;line-height:normal}em,i{font-style:italic}tt,code,.source-code{font-family:Menlo,Consolas,Monaco,Courier New,monospace}tt,code{padding:1px 2px;border:0;white-space:pre;color:#555;background-color:#e8e8e8}pre{background-color:#f2f2f2;color:#555;padding:2px 4px;font-family:Menlo,Consolas,Monaco,Courier New,monospace}small{font-size:85%;line-height:85%}h1 span{float:right;font-size:50%;margin:.45em 0 -.45em -0;color:#666}.status-timed{color:#A80}.status-published{color:#7fa800}.status-held{color:#ca2300}.status-draft{color:#0569e2}.popover{width:220px;max-width:360px;box-shadow:2px 2px 0 rgba(0,0,0,.15)}.menu-pop-wide .popover{width:340px!important}.popover-content{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px;font-weight:400;line-height:18px}.popover-content p{margin:4px 0}.popover-content a{font-weight:400;overflow:hidden;height:2em}.popover.bottom{width:220px;margin-top:4px}.popover.bottom .popover-content,.popover.bottom .popover-content code{font-size:12px;overflow:hidden}.morelink{font-size:12px;font-weight:400;color:rgba(25,71,112,.8);text-shadow:none;line-height:18px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.dashboardlisting{box-shadow:0 1px 0 -2px rgba(0,0,0,.3);margin-bottom:10px;width:100%;padding:1px}.dashboardlisting tbody{border-top:0!important}.dashboardlisting th,.dashboardlisting td{border-bottom:1px solid #CCC;font-size:13px;line-height:1.42857143;vertical-align:top;padding:10px 8px}.dashboardlisting th{background-color:#f2f2f2!important;text-align:left;font-weight:700;color:#888;padding-top:5px;padding-bottom:5px;border-bottom:1px solid #e7e7e7}.dashboardlisting th.listthumb{padding:0}.dashboardlisting th h2{margin:.4em 0 .1em;color:#666}.dashboardlisting tr{background-color:#FFF}.dashboardlisting td{border-color:#e8e8e8}.dashboardlisting tr.dim td.id,.dashboardlisting tr.dim td.excerpt,.dashboardlisting tr.dim td.listthumb,.dashboardlisting tr.dim td.username{opacity:.8;-webkit-filter:grayscale(.5);filter:grayscale(.5)}.dashboardlisting tr.dim img{-webkit-filter:grayscale(.6) blur(1px);filter:grayscale(.6) blur(1px)}.dashboardlisting td.id,.dashboardlisting td.username,.dashboardlisting td.actions,.dashboardlisting td.listthumb{white-space:nowrap;color:#666}.dashboardlisting td.username{text-align:left}.dashboardlisting td.listthumb{padding:9px 0 2px}.dashboardlisting td.listthumb img{max-width:inherit}.dashboardlisting td.actions{text-align:right}.dashboardlisting td.actions .btn-group{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-self:auto;padding-left:6px}.dashboardlisting .btn-group>.btn+.dropdown-toggle,.dashboardlisting div.buic-listing table.listing tr.selectiontoolbar .btn-group>button+.dropdown-toggle,div.buic-listing table.listing tr.selectiontoolbar .dashboardlisting .btn-group>button+.dropdown-toggle{padding-left:3px;padding-right:6px}.dashboardlisting td.excerpt{padding-top:9px}.dashboardlisting td.excerpt span{max-height:40px;display:block;line-height:19px;color:#777;overflow:hidden;word-wrap:break-word;word-break:break-all}.dashboardlisting td.excerpt.large span{max-height:58px}aside section{background-color:#f2f2f2;border:1px solid #e8e8e8;padding:0 10px 10px;margin-bottom:20px}aside section h2{font-size:17px;line-height:21px;margin:10px 0 6px;color:#333}aside .morelink{font-weight:400;line-height:1em;position:static}aside section p{font-size:12px;line-height:18px;margin:4px 0}aside .panel{border-radius:0;margin-left:12px;border-color:#e8e8e8}aside .panel-body>ul{list-style:none;margin-left:0;padding-left:.7em;text-indent:-.7em}aside .panel-body>ul li:before{content:"- "}aside .panel-body>ul li{line-height:18px;margin-bottom:4px}aside .panel-body>ul li small{color:#777}aside .btn-group{margin:0 6px 12px 0}aside .dropdown-menu .btn-link{display:block;text-align:left;margin-bottom:4px}aside div.description{margin:12px 0 0;line-height:18px}aside code{letter-spacing:-.5px}label{display:block;margin-bottom:3px}label label{display:inline!important}.form-control{height:33px}.form-control::-webkit-input-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}.form-control:-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}.form-control::-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}.form-control:-ms-input-placeholder{color:#999!important;font-style:italic!important;font-size:92%!important}.form-horizontal .control-label{text-align:left;font-size:15px;font-weight:400;margin-bottom:5px}.form-horizontal .control-label-inline{font-size:14px;font-weight:700;margin-bottom:5px;padding-top:4px}.form-horizontal .form-group{margin-top:24px;margin-bottom:12px}.form-horizontal .form-group .form-group:first-of-type{margin-top:0}.button-wrap{margin:8px 0 4px;position:relative}input[type=checkbox]{margin:4px 8px 0 0}fieldset.checkbox{display:inline-block;margin-top:-12px;margin-bottom:-12px}fieldset.checkbox label{display:inline}fieldset.checkbox div{margin:.3em 0 .5em}.fileinput-button{margin-right:4px}.ui-sortable-helper{border:1px solid #999;box-shadow:6px 6px 0 rgba(0,0,0,.3);opacity:.5}.ui-sortable-placeholder{border:1px dashed #666;visibility:visible!important;opacity:.5}#filtertabs{margin-bottom:16px;border:0;border-bottom:1px solid #bac4cb}#filtertabs a{color:#657987;background-color:#d7dde1;border:1px solid #bac4cb;cursor:pointer;padding:5px 12px;font-weight:400}#filtertabs a:hover{color:#444;background-color:#FFF!important;border-bottom:0}#filtertabs li{margin-right:2px}#filtertabs li.active a{background-color:#fdfdfa;border:1px solid #9dabb5;border-bottom:1px solid #fdfdfa;color:#555}div.datetime-container{display:table}div.datetime-container>div{display:table-cell;vertical-align:middle;width:9px;overflow:visible}form .progress{height:7px;margin:2px 0 0}#navpage-primary .nav .close-live-editor{display:none;margin-right:15px;cursor:pointer;background:#aa1010}#navpage-primary .nav .close-live-editor a{color:#FFF}.live-editor{position:absolute;display:none;padding:0;width:auto;height:auto;z-index:10;top:54px;left:0;right:0;bottom:0}.live-editor iframe{border:none;display:block;width:100%;height:100%}.live-editor-active #navpage-content,.live-editor-active .navbar-toggle{display:none}.live-editor-active #navpage-primary{-webkit-transition:background-color .5s;transition:background-color .5s;background-color:#333}.live-editor-active #navpage-primary .nav>li{display:none}.live-editor-active #navpage-primary .nav .close-live-editor{display:inline-block}.live-editor-active #navpage-primary .navbar-header{opacity:.5;-webkit-transition:opacity .5s;transition:opacity .5s}.live-editor-active #navpage-secondary{display:none}.live-editor-active footer{display:none}.live-editor-active .navbar-form{display:none}.live-editor-active .live-editor{display:block}.live-editor-active #navpage-secondary{top:54px;height:auto;bottom:0}.live-editor-active #navpage-secondary .nav>li{display:none}.live-editor-active #navpage-secondary .nav>li.close-live-editor,.live-editor-active #navpage-secondary .nav>li.nav-secondary-dashboard{display:block}body.login{background-color:#f8f8f8;overflow-x:hidden}body.login .logo{display:block;margin:80px auto 30px}body.login .login-block{width:440px;float:none}body.login .panel{border-radius:6px;box-shadow:0 0 150px rgba(0,0,0,.15)}body.login .panel-body{padding:40px 40px 30px}body.login .panel-title{line-height:1.2}body.login .togglepass{color:#999;cursor:pointer;float:right}body.login .col-sm-2{min-width:180px}body.login .col-lg-4{min-width:280px}body.login .togglepass.hide-password{display:none}body.login .view-site{position:absolute;right:44px;top:18px}body.login .control-label{color:#8f8f8f;font-size:14px;font-weight:400}body.login .form-control{height:40px}body.login .form-control::-webkit-input-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}body.login .form-control:-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}body.login .form-control::-moz-placeholder{color:#999!important;font-style:italic!important;font-size:85%!important}body.login .form-control:-ms-input-placeholder{color:#999!important;font-style:italic!important;font-size:92%!important}body.login .form-group{margin-bottom:30px}body.login .btn-primary{padding:.6em 1.1em}body.login .login-remembered{display:block;margin-top:5px;padding-left:0}body.login .login-forgot{display:block;margin-top:5px;float:right}body.login p.first-user{font-size:14px;max-width:32em;margin-bottom:1.5em}body.login p.cookie-notice{display:none}html.modernizr-no-cookies p.cookie-notice{display:block}.extend-bolt-container .hide-block{display:none}.extend-bolt-container .install-container{position:relative}.extend-bolt-container .install-container input{width:50%;padding:.5em}.extend-bolt-container .install-container label{display:block;margin-top:15px}.extend-bolt-container .installed-container .panel-heading{padding:5px 15px 4px 10px}.extend-bolt-container .installed-container .panel-heading:before,.extend-bolt-container .installed-container .panel-heading:after{content:" ";display:table}.extend-bolt-container .installed-container .panel-heading:after{clear:both}.extend-bolt-container .installed-container .panel-heading>em{display:inline-block;margin-top:3px;font-style:normal;font-size:140%}.extend-bolt-container .installed-container .panel-heading>em:before{position:relative;top:-2px;display:inline-block;font-size:120%;font-family:Fontawesome;vertical-align:middle;width:1.28571429em;margin-right:.3em;text-align:center;content:"\uf059"}.extend-bolt-container .installed-container .panel-heading>em.bolt-extension:before{content:"\uf1b2"}.extend-bolt-container .installed-container .panel-heading>em.bolt-theme:before{content:"\uf03e"}.extend-bolt-container .installed-container .panel-heading>div{float:right}.extend-bolt-container .installed-container .panel-heading>div em{float:right;clear:both;font-size:120%;font-style:normal;font-weight:700;color:#555}.extend-bolt-container .installed-container .panel-heading>div small{float:right;clear:both;color:#999}.extend-bolt-container .installed-container .panel-body>div{margin-top:5px;text-indent:-1em;padding-left:1.5em}.extend-bolt-container .installed-container .panel-body>div:first-child{margin-top:0}.extend-bolt-container .installed-container .panel-body>div:before{display:inline-block;font-family:Fontawesome;vertical-align:middle;width:1em;text-align:center}.extend-bolt-container .installed-container .panel-body .description:before{content:"\uf05a"}.extend-bolt-container .installed-container .panel-body .tags:before{content:"\uf02b"}.extend-bolt-container .installed-container .panel-body .author:before{content:"\uf007"}.extend-bolt-container .installed-container .panel-footer{background:#fff}.extend-bolt-container .installed-container .panel-footer:before,.extend-bolt-container .installed-container .panel-footer:after{content:" ";display:table}.extend-bolt-container .installed-container .panel-footer:after{clear:both}.extend-bolt-container .installed-container .panel-footer>div{float:right}.extend-bolt-container .auto-search{position:absolute;top:28px;background-color:#f1f2f7;border-radius:2px;box-shadow:1px 1px 5px rgba(0,0,0,.4);width:50%;z-index:1000;max-height:410px;overflow:scroll}.extend-bolt-container .auto-search .btn,.extend-bolt-container .auto-search div.buic-listing table.listing tr.selectiontoolbar button,div.buic-listing table.listing tr.selectiontoolbar .extend-bolt-container .auto-search button{border-radius:0;margin-top:0}.extend-bolt-container #extension-log{border:1px solid #000;padding:4px;font-size:10px;line-height:1em;font-family:Menlo,Consolas,Monaco,Courier New,monospace;color:#CCC;background-color:#333;max-height:300px;height:300px;overflow-y:scroll;margin-bottom:16px}.extend-bolt-container #extension-log .timestamp{color:#BBF}.extend-bolt-container #extension-log .command{font-weight:400;color:#8F8}.extend-bolt-container #extension-log .error{font-weight:700;color:#F44}.extend-bolt-container #extension-log .warning{font-weight:700;color:#FF4}.extend-bolt-container .tag.label{background-color:#888;font-weight:400;letter-spacing:.5px}#extension-error code{display:block;white-space:pre-wrap}#navpage-primary .omnisearch{width:280px}#navpage-secondary .omnisearch{width:180px}.omnisearch .select2-results__option div{font-weight:700}.omnisearch .select2-results__option div span{font-weight:400}.omnisearch .select2-results__option small{display:block;font-size:smaller;color:#999}.omnisearch .select2-results__option--highlighted small{color:#fff}.omnisearch .select2-search__field{color:#000!important;background:#fff!important}.widgetholder{padding:0 0 8px}.widget .panel{margin-bottom:12px}.widget-inline{display:inline;margin-right:8px}.buic-browser div.header{height:41px;padding:10px}.buic-browser div.list{overflow-y:scroll;margin:0;height:calc(100vh - 184px)}.buic-browser div.list.multi{height:calc(100vh - 234px)}.buic-browser table{margin:0;padding:0}.buic-browser .modal-header{padding:6px 15px}.buic-browser .modal-footer{padding:12px 15px}.buic-browser h4 span{display:inline-block;margin:0 8px 0 4px}.buic-browser div.header{line-height:21px;background:#f2f2f2;overflow:hidden;white-space:nowrap}.buic-browser div.header>div{display:inline-block;border-left:1px solid #888;padding-left:10px;margin-left:6px;height:21px;vertical-align:top}.buic-browser div.header>div:first-child{border:none;padding-left:0;margin-left:0}.buic-browser div.header input[type=text],.buic-browser div.header select{font-weight:400;line-height:15px;padding:1px 4px}.buic-browser div.header .toogle-folders,.buic-browser div.header .toogle-files{border:none;background:none;font-family:FontAwesome;color:#ddd}.buic-browser div.header .toogle-folders[aria-pressed=true],.buic-browser div.header .toogle-files[aria-pressed=true]{color:#000}.buic-browser div.header .toogle-folders:after{font-size:18px;content:"\\f114"}.buic-browser div.header .toogle-files:after{font-size:16px;content:"\\f016"}.buic-browser table td{padding:2px 8px}.buic-browser table td.name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;max-width:0}.buic-browser table td.info{vertical-align:middle;width:110px;min-width:110px}.buic-browser table td.info div{float:left;clear:both}.buic-browser table td.info .filesize{border-bottom:1px dashed #bbb;line-height:1.1}.buic-browser table td.info .dimensions{margin-top:3px;color:#999;font-size:90%}.buic-browser table td.thumb{width:70px;min-width:70px}.buic-browser table td.select{padding:2px 0 0}.buic-browser table tr.directory td{background:#fdfdfd;padding-top:0;padding-bottom:0}.buic-browser table tr.locked{opacity:.4}.buic-browser table tr.locked span:after{display:inline-block;vertical-align:middle;font-family:FontAwesome;font-weight:400;color:#000;content:"\\f023"}.buic-browser table mark{padding-left:0;padding-right:0}.buic-browser .entry{font-weight:700}.buic-browser .entry:before{display:inline-block;margin-right:5px;width:1.2em;vertical-align:middle;text-align:center;font-family:FontAwesome;font-size:120%;font-weight:400;color:#555}.buic-browser .type-folder{color:#7e94a5}.buic-browser .type-folder:before{content:"\uf114";color:#7e94a5}.buic-browser .type-file:before{content:"\uf016"}.buic-browser .type-image:before{content:"\uf1c5"}.buic-browser .type-video:before{content:"\uf1c8"}.buic-browser .type-audio:before{content:"\uf1c7"}.buic-browser .type-archive:before{content:"\uf1c6"}.buic-browser .type-pdf:before{content:"\uf1c1"}.buic-browser .type-powerpoint:before{content:"\uf1c4"}.buic-browser .type-excel:before{content:"\uf1c3"}.buic-browser .type-word:before{content:"\uf1c2"}.buic-browser .type-code:before{content:"\uf1c9"}.buic-browser .type-text:before{content:"\uf0f6"}.buic-browser .image-dimensions{color:#999;font-size:90%}.buic-browser .times{padding:0 2px}.buic-checkbox{margin-top:6px;vertical-align:top}.buic-checkbox label{display:inline-block;margin-left:6px;white-space:nowrap;vertical-align:top;line-height:21px;color:red;cursor:pointer}.buic-checkbox input{display:none}.buic-checkbox input+button:before{line-height:22px;font-family:FontAwesome;display:inline-block;font-size:16px;width:22px;height:22px;margin:-1px 0 0 -1px}.buic-checkbox input+button:before{content:" "}.buic-checkbox input:checked+button:before{content:"\\f00c";color:#555}.buic-checkbox button{line-height:21px;width:21px;height:21px;padding:0;border:1px solid #CCC;border-radius:3px;background:#FFF;overflow:hidden}div.buic-listing table.listing tbody tr{background:#fdfdfa}div.buic-listing table.listing tbody tr.row-selected{background:#e4e4e1}div.buic-listing table.listing tbody.striping_odd tr:nth-of-type(odd){background:#f2f4f3}div.buic-listing table.listing tbody.striping_odd tr:nth-of-type(odd).row-selected{background:#dadcdb}div.buic-listing table.listing tbody.striping_even tr:nth-of-type(even){background:#f2f4f3}div.buic-listing table.listing tbody.striping_even tr:nth-of-type(even).row-selected{background:#dadcdb}div.buic-listing table.listing tr.heading th{padding:1em .2em .1em;background:#fdfdfa!important;font-family:Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:24px;font-weight:400}div.buic-listing table.listing tbody:first-child tr.heading th{padding-top:0;border-top:none}div.buic-listing table.listing tr.header th{color:#005394;vertical-align:middle}div.buic-listing table.listing tr.header th a.order-none:after,div.buic-listing table.listing tr.header th a.order-asc:after,div.buic-listing table.listing tr.header th a.order-desc:after{display:inline-block;margin-left:.4em;color:#ddd;font-family:FontAwesome;content:"\uf0dc"}div.buic-listing table.listing tr.header th a.order-none:hover:after,div.buic-listing table.listing tr.header th a.order-asc:hover:after,div.buic-listing table.listing tr.header th a.order-desc:hover:after{color:#00c;content:"\uf0dd"}div.buic-listing table.listing tr.header th a.order-asc:after{color:#888;content:"\uf0dd"}div.buic-listing table.listing tr.header th a.order-asc:hover:after{content:"\uf0de"}div.buic-listing table.listing tr.header th a.order-desc:after{color:#888;content:"\uf0de"}div.buic-listing table.listing tr.header th a.order-desc:hover:after{content:"\uf0dc"}div.buic-listing table.listing tr.header th.menu{padding:0;text-align:center}div.buic-listing table.listing tr.header th.menu button{padding:0 4px}div.buic-listing table.listing tr.selectiontoolbar td{background:#fff;border:none}div.buic-listing table.listing tr.selectiontoolbar div.count{display:inline-block;padding:0 .2em;min-width:1.9em;background:#f8f8f8;border:1px solid #dee7ee;border-radius:3px;vertical-align:middle;text-align:center;line-height:1.5;color:#7b9db8}div.buic-listing table.listing tr.selectiontoolbar button.separator{margin-right:.6em}div.buic-listing table.listing tr[id] input[type=checkbox][name=checkRow]{margin:2px 0 0 1px}div.buic-listing table.listing th.fill-max,div.buic-listing table.listing td.fill-max{width:100%}div.buic-listing table.listing tbody.omnisearch span{font-weight:400;font-family:Menlo,Consolas,Monaco,Courier New,monospace}.buic-modal .modal-body{min-height:200px}.buic-modal .modal-loading .modal-body{opacity:.4}.buic-modal .modal-loading:after{position:absolute;display:block;top:50px;left:50%;width:70px;margin-left:-35px;text-align:center;font-family:FontAwesome;content:"\\f110";font-size:500%;color:#666;-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.buic-modal .modal-loading .modal-retry{display:none}.buic-modal .modal-retry{position:absolute;left:50%;width:36px;margin-left:-18px;margin-top:50px}.modal-backdrop{z-index:100008}.bootbox,.modal{z-index:100023}.buic-moment{border-bottom:1px dashed #BBB;cursor:default}.buic-progress{position:relative;display:none;margin-top:12px}.buic-progress:before,.buic-progress:after{content:" ";display:table}.buic-progress:after{clear:both}.buic-progress .progress{display:none;margin:6px 0 0 26px}.buic-progress .progress:first-child{margin-top:0}.buic-progress .progress:before{position:absolute;left:0;width:20px;height:20px;background:#f5f5f5;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);line-height:20px;text-align:center;font-family:fontawesome;content:"\\f093"}.buic-progress .progress:after{position:absolute;z-index:1;left:26px;right:0;overflow:hidden;padding-left:6px;height:20px;line-height:20px;white-space:nowrap;font-size:12px;color:#333;content:attr(data-label)}.buic-progress .progress-bar{position:relative;z-index:2;left:-26px;overflow:hidden;margin-left:26px;padding-left:6px;white-space:nowrap;text-align:left}.buic-select{display:table;width:100%;margin-top:4px}.buic-select>div{display:table-row}.buic-select>div div:nth-child(odd){display:table-cell;width:100%}.buic-select>div div:nth-child(even){display:table-cell;vertical-align:top}.buic-select>div div:nth-child(even) button{color:#666;background-color:#e0e0e0;border-color:#d6d6d6;padding:1px;font-size:12px;line-height:1.5;border-radius:3px;margin-left:6px;margin-top:4px}.buic-select>div div:nth-child(even) button:focus,.buic-select>div div:nth-child(even) button.focus{color:#666;background-color:#c7c7c7;border-color:#969696}.buic-select>div div:nth-child(even) button:hover{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.buic-select>div div:nth-child(even) button:active,.buic-select>div div:nth-child(even) button.active,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle{color:#666;background-color:#c7c7c7;border-color:#b7b7b7}.buic-select>div div:nth-child(even) button:active:hover,.buic-select>div div:nth-child(even) button:active:focus,.buic-select>div div:nth-child(even) button:active.focus,.buic-select>div div:nth-child(even) button.active:hover,.buic-select>div div:nth-child(even) button.active:focus,.buic-select>div div:nth-child(even) button.active.focus,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle:hover,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle:focus,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle.focus{color:#666;background-color:#b5b5b5;border-color:#969696}.buic-select>div div:nth-child(even) button:active,.buic-select>div div:nth-child(even) button.active,.open>.buic-select>div div:nth-child(even) button.dropdown-toggle{background-image:none}.buic-select>div div:nth-child(even) button.disabled:hover,.buic-select>div div:nth-child(even) button.disabled:focus,.buic-select>div div:nth-child(even) button.disabled.focus,.buic-select>div div:nth-child(even) button[disabled]:hover,.buic-select>div div:nth-child(even) button[disabled]:focus,.buic-select>div div:nth-child(even) button[disabled].focus,fieldset[disabled] .buic-select>div div:nth-child(even) button:hover,fieldset[disabled] .buic-select>div div:nth-child(even) button:focus,fieldset[disabled] .buic-select>div div:nth-child(even) button.focus{background-color:#e0e0e0;border-color:#d6d6d6}.buic-select>div div:nth-child(even) button .badge{color:#e0e0e0;background-color:#666}.buic-select>div div:nth-child(even) button:first-child{margin-top:3px}.buic-select>div div:nth-child(even) button:before{font-family:FontAwesome;display:block;width:18px}.buic-select>div div:nth-child(even) button.select-all:before{content:"\\f00c"}.buic-select>div div:nth-child(even) button.select-none:before{content:"\\f00d"}.buic-select .select2-search__field{width:100%!important}.buic-select .select2-selection--single .select2-selection__rendered{word-break:break-all;height:2em;white-space:normal}fieldset.buic-stack .templates{display:none}fieldset.buic-stack .stackholder{padding:12px 0 12px 2px;overflow-x:hidden;overflow-y:auto}fieldset.buic-stack .stackbuttons{margin-top:16px}fieldset.buic-stack .stackbuttons .btn-group{display:inline-block;margin:0}fieldset.buic-stack .stackitem{border:6px solid #fff;background-color:#ddd;box-shadow:2px 2px 0 rgba(0,0,0,.2);width:100px;height:100px;position:relative;float:left;left:0;margin-right:-80px;overflow:hidden}fieldset.buic-stack .stackitem-wide{margin-right:-35px}fieldset.buic-stack .stackitem strong{display:block;text-align:center;font-size:16px;margin:10px auto}fieldset.buic-stack .stackitem small{display:block;text-align:center;font-size:12px;line-height:15px;margin:0 5px;word-break:break-all}fieldset.buic-stack .stackitem:hover{z-index:111!important;box-shadow:3px 3px 0 rgba(0,0,0,.5)}fieldset.buic-stack .stackitem:nth-child(1){z-index:110}fieldset.buic-stack .stackitem:nth-child(2){z-index:109;-webkit-transform:rotate(4deg);-ms-transform:rotate(4deg);transform:rotate(4deg);margin-top:8px}fieldset.buic-stack .stackitem:nth-child(3){z-index:108;-webkit-transform:rotate(-3deg);-ms-transform:rotate(-3deg);transform:rotate(-3deg);margin-top:-8px}fieldset.buic-stack .stackitem:nth-child(4){z-index:107;-webkit-transform:rotate(9deg);-ms-transform:rotate(9deg);transform:rotate(9deg);margin-top:3px}fieldset.buic-stack .stackitem:nth-child(5){z-index:106;margin-top:-6px}fieldset.buic-stack .stackitem:nth-child(6){z-index:105;-webkit-transform:rotate(3deg);-ms-transform:rotate(3deg);transform:rotate(3deg);margin-top:5px}fieldset.buic-stack .stackitem:nth-child(7){z-index:104;-webkit-transform:rotate(-5deg);-ms-transform:rotate(-5deg);transform:rotate(-5deg);margin-top:-3px}fieldset.buic-stack .empty{text-align:center;color:#aaa}#editcontent small{font-size:12px;color:#666}#editcontent input,#editcontent select,#editcontent textarea{border-radius:2px;border-color:#CCC;font-size:15px}#editcontent .error{border-color:#888;color:#a94442;background:#f2dede}#editcontent .cke_error{border-color:#a94442}#editcontent input.large{font-size:150%;height:100%}#editcontent .narrow{width:45%;min-width:200px}#editcontent .verynarrow{width:8%;min-width:50px}#editcontent .narrow.wide{width:60%;min-width:200px}#editcontent .dropzone.hover,#editcontent .dropzone.in{background:#DEF}#editcontent .dropzone.hover *,#editcontent .dropzone.in *{opacity:.7}#editcontent .fileselectbuttongroup>*{margin:8px 8px 4px 0;float:left}#editcontent .fileselectbuttongroup .caret{margin:0 -4px 0 4px}#editcontent .imageholder{overflow:hidden}#editcontent .imageholder img{max-height:148px;max-width:100%;border:1px solid #BBB}#editcontent input.datepicker{width:21%;min-width:120px;margin-right:6px;float:left}#editcontent input[type=number]{width:20%;min-width:140px}#editcontent textarea{width:100%;height:200px;padding-right:0;font-size:14px;line-height:21px;color:#444;font-family:Menlo,Consolas,Monaco,Courier New,monospace}#editcontent input.timepicker{width:10%;min-width:93px;float:left}#editcontent .uk-htmleditor-content .CodeMirror{font-size:14px;border:0!important;font-family:Menlo,Consolas,Monaco,Courier New,monospace;margin:0}#editcontent .uk-htmleditor-navbar{border-top:1px solid #CCC;border-left:1px solid #CCC;border-right:1px solid #CCC}#editcontent .uk-htmleditor-preview{padding:6px 14px;font-size:14px}#editcontent .uk-htmleditor-fullscreen{margin-top:52px;margin-bottom:24px;z-index:100015}div[data-bolt-fieldset]{margin-top:24px;margin-bottom:12px;border-bottom:1px solid transparent}div[data-bolt-fieldset] .prefix,div[data-bolt-fieldset] .postfix{color:#666}div[data-bolt-fieldset] .prefix p:last-of-type,div[data-bolt-fieldset] .postfix p:last-of-type{margin-bottom:0}div[data-bolt-fieldset] .prefix{margin-bottom:2px}div[data-bolt-fieldset] .postfix{margin-top:4px}div[data-bolt-fieldset]:last-child,div[data-bolt-fieldset=meta]{border-bottom:1px solid #e8e8e8;padding-bottom:20px;margin-bottom:15px}div[data-bolt-fieldset=repeater]>.prefix{display:none}fieldset[class*=\' bolt-field-\'],fieldset[class^=bolt-field-]{margin-top:0!important;margin-bottom:0!important}fieldset[class*=\' bolt-field-\'] label,fieldset[class*=\' bolt-field-\'] .control-label,fieldset[class^=bolt-field-] label,fieldset[class^=bolt-field-] .control-label{font-weight:400;font-size:13px;color:gray}fieldset[class*=\' bolt-field-\'] label.main,fieldset[class^=bolt-field-] label.main{color:#282828;font-weight:400;font-size:16px;margin-bottom:6px}fieldset[class*=\' bolt-field-\'] .info-pop,fieldset[class^=bolt-field-] .info-pop{cursor:help;color:#bbb;padding-left:4px}fieldset.bolt-field-filelist p,fieldset.bolt-field-imagelist p{padding:8px;color:#999;margin:0;font-style:italic}fieldset.bolt-field-filelist img,fieldset.bolt-field-imagelist img{padding-right:6px}fieldset.bolt-field-filelist .buttons,fieldset.bolt-field-imagelist .buttons{float:left;padding:7px 8px}fieldset.bolt-field-filelist .list,fieldset.bolt-field-imagelist .list{border:1px solid #e0e0e0;padding:0;width:100%;background-color:#fff;border-radius:3px}fieldset.bolt-field-filelist .item,fieldset.bolt-field-imagelist .item{min-height:48px;margin:6px;padding:4px 6px;border:2px solid #f0f0f0;border-radius:3px;cursor:pointer;overflow:hidden;background:#f6f6f6}fieldset.bolt-field-filelist .item.selected,fieldset.bolt-field-imagelist .item.selected{border:2px solid #7e94a5}fieldset.bolt-field-filelist .item.zombie,fieldset.bolt-field-imagelist .item.zombie{border:2px solid #d00;opacity:.1}fieldset.bolt-field-filelist .item.ui-sortable-helper,fieldset.bolt-field-imagelist .item.ui-sortable-helper{cursor:ns-resize}fieldset.bolt-field-filelist .item *,fieldset.bolt-field-imagelist .item *{float:left}fieldset.bolt-field-filelist .item input,fieldset.bolt-field-imagelist .item input{padding:1px 0 0 5px;width:65%;border:0}fieldset.bolt-field-filelist .item a.remove,fieldset.bolt-field-imagelist .item a.remove{padding:5px;cursor:pointer;color:#999;float:right;border-radius:3px}fieldset.bolt-field-filelist .item a.remove:hover,fieldset.bolt-field-imagelist .item a.remove:hover{background:#dcdcdc}fieldset.bolt-field-filelist .item span.desc,fieldset.bolt-field-imagelist .item span.desc{color:#aaa;font-size:90%;padding:3px 0 0 4px}fieldset.bolt-field-filelist .item .icon,fieldset.bolt-field-imagelist .item .icon{height:37px;width:32px;overflow:hidden;text-align:center;margin-right:6px;margin-top:3px;color:#bbb}fieldset.bolt-field-filelist .item .icon i,fieldset.bolt-field-imagelist .item .icon i{font-size:180%;float:none}fieldset.bolt-field-filelist .item .icon span,fieldset.bolt-field-imagelist .item .icon span{display:block;float:none;font-size:85%}fieldset.bolt-field-categories .select2-selection--multiple{min-height:56px}fieldset.bolt-field-file .infotext{clear:left;color:#666;font-size:85%;font-style:italic;border-left:5px solid #eee;padding-left:.5em}fieldset.bolt-field-geolocation .mapframe{min-width:150px;max-width:200px}fieldset.bolt-field-geolocation .mapholder{background:#e5e3df;border:1px solid #bbb;height:150px;text-align:center;color:#dad7d1;clear:both}fieldset.bolt-field-geolocation .mapholder i{margin-top:42.5px}fieldset.bolt-field-geolocation input[type=text]{width:100%}fieldset.bolt-field-geolocation .matched,fieldset.bolt-field-geolocation .latitude,fieldset.bolt-field-geolocation .longitude{box-shadow:none;font-size:1em;line-height:1em;cursor:text;padding:.5em;height:auto}fieldset.bolt-field-geolocation .expand{float:right;padding-top:1px;padding-bottom:1px;margin-bottom:3px}fieldset.bolt-field-geolocation .compress{display:none}fieldset.bolt-field-geolocation .header{padding-top:3px}fieldset.bolt-field-geolocation .expanded{background:#fdfdfa;position:fixed;left:0;top:0;right:0;bottom:0;height:inherit;min-width:none;max-width:none;z-index:100999;padding:40px 10px 25px}fieldset.bolt-field-geolocation .expanded .mapholder{height:100%}fieldset.bolt-field-geolocation .expanded label{position:absolute;left:15px}fieldset.bolt-field-geolocation .expanded label.header{top:6px;font-size:140%}fieldset.bolt-field-geolocation .expanded label.snapbox{bottom:0}fieldset.bolt-field-geolocation .expanded .compress{display:block;position:absolute;top:10px;right:10px}fieldset.bolt-field-geolocation .expanded .expand{display:none}fieldset.bolt-field-repeater>label.main{margin-top:10px;float:none;padding-left:0}fieldset.bolt-field-repeater .repeater-add{float:right}fieldset.bolt-field-repeater .repeater-group{border:1px solid #ddd;margin:15px}fieldset.bolt-field-repeater .repeater-field{position:relative;float:left;width:100%;min-height:1px;padding-left:15px;padding-right:15px;margin-top:24px}fieldset.bolt-field-repeater .repeater-field:first-of-type{margin-top:0}fieldset.bolt-field-select .select2-selection--multiple{min-height:56px}fieldset.bolt-field-slug .input-group-addon{background:#f8f8f8;color:#999;padding:2px 0 1px 10px;border-right:none}fieldset.bolt-field-slug .input-group-addon:before{display:inline-block;width:21px;margin-right:10px;text-align:center;font-family:FontAwesome;color:#000;content:"\uf023"}fieldset.bolt-field-slug input{padding-left:1px;border-left:none;text-overflow:ellipsis;color:#999;height:33px!important;border-radius:0!important}fieldset.bolt-field-slug input[readonly]{background:#f8f8f8;box-shadow:none}fieldset.bolt-field-slug button{padding-left:8px;padding-right:8px;height:33px!important}fieldset.bolt-field-slug li.link{white-space:normal}fieldset.bolt-field-slug li.link a{white-space:normal}fieldset.bolt-field-slug li.link i{position:absolute}fieldset.bolt-field-slug li.link span{display:block;margin-left:21px}fieldset.bolt-field-slug li.link var{color:#888}fieldset.bolt-field-slug .edititable .input-group-addon,fieldset.bolt-field-slug .edititable input{background:#fff}fieldset.bolt-field-slug .edititable input{color:inherit}fieldset.bolt-field-slug .edititable .input-group-addon:before{content:"\uf040"}fieldset.bolt-field-slug .linked .input-group-addon:before{content:"\uf0c1"}fieldset.bolt-field-slug .loading .input-group-addon:before{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear;-webkit-animation-delay:.5s;animation-delay:.5s}fieldset.bolt-field-slug .warning{margin-top:4px;margin-left:10px;color:#800}fieldset.bolt-field-tags .tagcloud{display:none;margin-top:6px;padding:3px 1px;background:#fafafa;border-radius:10px;text-align:center}fieldset.bolt-field-tags .tagcloud button{background:none;border:none;padding:1px 2px;margin:1px 2px;vertical-align:middle;line-height:1}fieldset.bolt-field-tags .tagcloud button:hover{text-decoration:underline;cursor:copy}fieldset.bolt-field-video input[type=number]{width:30%!important;min-width:10px!important;max-width:100px}fieldset.bolt-field-video .form-inline .form-control{display:inline-block;width:100%;vertical-align:middle}fieldset.bolt-field-video .label-pixels{display:inline}fieldset.bolt-field-video .title,fieldset.bolt-field-video .authorname{box-shadow:none;font-size:13px!important;line-height:13px!important;cursor:text;padding:1px 6px;height:auto;text-overflow:ellipsis}fieldset.bolt-field-video .authorname{margin-top:4px}fieldset.bolt-field-video .imageholder{position:relative}fieldset.bolt-field-video .imageholder button{display:block;position:absolute;top:0;left:0;width:100%;max-width:200px;height:100%;background:none;border:none;color:#000;-webkit-transition:color .3s ease;transition:color .3s ease}fieldset.bolt-field-video .imageholder button:hover{color:#d00}fieldset.bolt-field-video .imageholder button:after{display:block;position:absolute;left:50%;top:50%;width:40px;height:20px;margin-left:-20px;margin-top:-10px;background:#fff;line-height:.6;text-align:center;font-family:fontawesome;font-size:300%;content:"\\f16a"}html{height:100%}body{background:#fdfdfa;color:#333;font-size:13px;min-height:100%}body.popup{padding:6px 12px 0}.table-changelog-details th{width:40%}.table-changelog-details th:first-child{width:20%}.table-changelog-details td{vertical-align:top}div.extension{border:1px solid #CCC;background:#FFF;border-radius:2px;padding:0 10px 8px;margin:0 10px 8px 0;box-shadow:2px 2px 0 rgba(0,0,0,.3)}div.extension h3{font-size:17px;line-height:28px;margin:4px 0 0}div.extension p{margin:0 0 4px;line-height:16px}blockquote.quote{border:0;margin:15px 0;font-size:21px;line-height:26px;font-style:italic;font-family:Times New Roman,Georgia;color:#AAA}blockquote.quote cite{display:block;margin-top:8px;font-size:12px;line-height:18px;font-style:normal;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;color:#999}.login-panel{margin-top:25%}.flot-chart{display:block;height:400px}.flot-chart-content{width:100%;height:100%}table.dataTable thead .sorting,table.dataTable thead .sorting_asc:after,table.dataTable thead .sorting_desc,table.dataTable thead .sorting_asc_disabled,table.dataTable thead .sorting_desc_disabled{background:transparent}table.dataTable thead .sorting_asc:after{content:"\\f0de";float:right;font-family:fontawesome}table.dataTable thead .sorting_desc:after{content:"\\f0dd";float:right;font-family:fontawesome}table.dataTable thead .sorting:after{content:"\\f0dc";float:right;font-family:fontawesome;color:rgba(50,50,50,.5)}.show-grid [class^=col-]{padding-top:10px;padding-bottom:10px;border:1px solid #ddd;background-color:#eee!important}.show-grid{margin:15px 0}.login .logo{margin-top:100px;width:179px;height:auto}.dropdown-menu .nav-header{clear:both;float:none;padding:3px 12px}form#filescreenuploader div{float:left;margin-right:6px;margin-top:6px;display:inline;width:100%}.relatedfiles{float:right}.alert label{display:inline;cursor:pointer;padding-right:4px}@media print{*,*:before,*:after{background:transparent!important;color:#000!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}img{max-width:100%!important}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,div.buic-listing table.listing tr.selectiontoolbar button>.caret,.dropup>.btn>.caret,div.buic-listing table.listing tr.selectiontoolbar .dropup>button>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered th,.table-bordered td{border:1px solid #ddd!important}.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}th.visible-print,td.visible-print{display:table-cell!important}.visible-print-block{display:block!important}.visible-print-inline{display:inline!important}.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}@media(min-width:768px){.lead{font-size:21px}.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}.container{width:750px}.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-1{width:8.33333333%}.col-sm-2{width:16.66666667%}.col-sm-3{width:25%}.col-sm-4{width:33.33333333%}.col-sm-5{width:41.66666667%}.col-sm-6{width:50%}.col-sm-7{width:58.33333333%}.col-sm-8{width:66.66666667%}.col-sm-9{width:75%}.col-sm-10{width:83.33333333%}.col-sm-11{width:91.66666667%}.col-sm-12{width:100%}.col-sm-pull-0{right:auto}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-3{right:25%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-6{right:50%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-9{right:75%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-12{right:100%}.col-sm-push-0{left:auto}.col-sm-push-1{left:8.33333333%}.col-sm-push-2{left:16.66666667%}.col-sm-push-3{left:25%}.col-sm-push-4{left:33.33333333%}.col-sm-push-5{left:41.66666667%}.col-sm-push-6{left:50%}.col-sm-push-7{left:58.33333333%}.col-sm-push-8{left:66.66666667%}.col-sm-push-9{left:75%}.col-sm-push-10{left:83.33333333%}.col-sm-push-11{left:91.66666667%}.col-sm-push-12{left:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-12{margin-left:100%}.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn,.form-inline .input-group .form-control{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .radio,.form-inline .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .radio label,.form-inline .checkbox label{padding-left:0}.form-inline .radio input[type=radio],.form-inline .checkbox input[type=checkbox]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}.form-horizontal .control-label{text-align:right;margin-bottom:0;padding-top:7px}.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{left:0;right:auto}.nav-justified>li,.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a,.nav-tabs.nav-justified>li>a{margin-bottom:0}.nav-tabs-justified>li>a,.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs.nav-justified>.active>a,.nav-tabs-justified>.active>a:hover,.nav-tabs.nav-justified>.active>a:hover,.nav-tabs-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:focus{border-bottom-color:#fff}.navbar{border-radius:4px}.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{padding-left:0;padding-right:0}.container>.navbar-header,.container>.navbar-collapse,.container-fluid>.navbar-header,.container-fluid>.navbar-collapse{margin-right:0;margin-left:0}.navbar-static-top{border-radius:0}.navbar-fixed-top,.navbar-fixed-bottom{border-radius:0}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:0}.navbar-toggle{display:none}.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn,.navbar-form .input-group .form-control{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .radio,.navbar-form .checkbox{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .radio label,.navbar-form .checkbox label{padding-left:0}.navbar-form .radio input[type=radio],.navbar-form .checkbox input[type=checkbox]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}.navbar-form{width:auto;border:0;margin-left:0;margin-right:0;padding-top:0;padding-bottom:0;box-shadow:none}.navbar-text{float:left;margin-left:0;margin-right:0}.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:0}.navbar-right~.navbar-right{margin-right:0}.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}.form-horizontal .control-label{text-align:left}#editcontent .right-on-large{float:right}}@media(min-width:992px){.container{width:970px}.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-1{width:8.33333333%}.col-md-2{width:16.66666667%}.col-md-3{width:25%}.col-md-4{width:33.33333333%}.col-md-5{width:41.66666667%}.col-md-6{width:50%}.col-md-7{width:58.33333333%}.col-md-8{width:66.66666667%}.col-md-9{width:75%}.col-md-10{width:83.33333333%}.col-md-11{width:91.66666667%}.col-md-12{width:100%}.col-md-pull-0{right:auto}.col-md-pull-1{right:8.33333333%}.col-md-pull-2{right:16.66666667%}.col-md-pull-3{right:25%}.col-md-pull-4{right:33.33333333%}.col-md-pull-5{right:41.66666667%}.col-md-pull-6{right:50%}.col-md-pull-7{right:58.33333333%}.col-md-pull-8{right:66.66666667%}.col-md-pull-9{right:75%}.col-md-pull-10{right:83.33333333%}.col-md-pull-11{right:91.66666667%}.col-md-pull-12{right:100%}.col-md-push-0{left:auto}.col-md-push-1{left:8.33333333%}.col-md-push-2{left:16.66666667%}.col-md-push-3{left:25%}.col-md-push-4{left:33.33333333%}.col-md-push-5{left:41.66666667%}.col-md-push-6{left:50%}.col-md-push-7{left:58.33333333%}.col-md-push-8{left:66.66666667%}.col-md-push-9{left:75%}.col-md-push-10{left:83.33333333%}.col-md-push-11{left:91.66666667%}.col-md-push-12{left:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-12{margin-left:100%}.modal-lg{width:900px}}@media(min-width:1200px){.container{width:1170px}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-1{width:8.33333333%}.col-lg-2{width:16.66666667%}.col-lg-3{width:25%}.col-lg-4{width:33.33333333%}.col-lg-5{width:41.66666667%}.col-lg-6{width:50%}.col-lg-7{width:58.33333333%}.col-lg-8{width:66.66666667%}.col-lg-9{width:75%}.col-lg-10{width:83.33333333%}.col-lg-11{width:91.66666667%}.col-lg-12{width:100%}.col-lg-pull-0{right:auto}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-3{right:25%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-6{right:50%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-9{right:75%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-12{right:100%}.col-lg-push-0{left:auto}.col-lg-push-1{left:8.33333333%}.col-lg-push-2{left:16.66666667%}.col-lg-push-3{left:25%}.col-lg-push-4{left:33.33333333%}.col-lg-push-5{left:41.66666667%}.col-lg-push-6{left:50%}.col-lg-push-7{left:58.33333333%}.col-lg-push-8{left:66.66666667%}.col-lg-push-9{left:75%}.col-lg-push-10{left:83.33333333%}.col-lg-push-11{left:91.66666667%}.col-lg-push-12{left:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-12{margin-left:100%}.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}th.visible-lg,td.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}.hidden-lg{display:none!important}}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>thead>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>tfoot>tr>td{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>thead>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child{border-left:0}.table-responsive>.table-bordered>thead>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td{border-bottom:0}}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=time].form-control,input[type=datetime-local].form-control,input[type=month].form-control{line-height:34px}input[type=date].input-sm,.input-group-sm>input[type=date].form-control,.input-group-sm>input[type=date].input-group-addon,.input-group-sm>.input-group-btn>input[type=date].btn,.input-group-sm input[type=date],input[type=time].input-sm,.input-group-sm>input[type=time].form-control,.input-group-sm>input[type=time].input-group-addon,.input-group-sm>.input-group-btn>input[type=time].btn,.input-group-sm input[type=time],input[type=datetime-local].input-sm,.input-group-sm>input[type=datetime-local].form-control,.input-group-sm>input[type=datetime-local].input-group-addon,.input-group-sm>.input-group-btn>input[type=datetime-local].btn,.input-group-sm input[type=datetime-local],input[type=month].input-sm,.input-group-sm>input[type=month].form-control,.input-group-sm>input[type=month].input-group-addon,.input-group-sm>.input-group-btn>input[type=month].btn,.input-group-sm input[type=month]{line-height:30px}input[type=date].input-lg,.input-group-lg>input[type=date].form-control,.input-group-lg>input[type=date].input-group-addon,.input-group-lg>.input-group-btn>input[type=date].btn,.input-group-lg input[type=date],input[type=time].input-lg,.input-group-lg>input[type=time].form-control,.input-group-lg>input[type=time].input-group-addon,.input-group-lg>.input-group-btn>input[type=time].btn,.input-group-lg input[type=time],input[type=datetime-local].input-lg,.input-group-lg>input[type=datetime-local].form-control,.input-group-lg>input[type=datetime-local].input-group-addon,.input-group-lg>.input-group-btn>input[type=datetime-local].btn,.input-group-lg input[type=datetime-local],input[type=month].input-lg,.input-group-lg>input[type=month].form-control,.input-group-lg>input[type=month].input-group-addon,.input-group-lg>.input-group-btn>input[type=month].btn,.input-group-lg input[type=month]{line-height:46px}}@media(max-device-width:480px) and (orientation:landscape){.navbar-fixed-top .navbar-collapse,.navbar-fixed-bottom .navbar-collapse{max-height:200px}}@media(max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu>li>a,.navbar-nav .open .dropdown-menu .dropdown-header{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:hover,.navbar-nav .open .dropdown-menu>li>a:focus{background-image:none}.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#ccc;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus{color:#fff;background-color:#090909}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus{color:#444;background-color:transparent}.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}th.visible-xs,td.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}.hidden-xs{display:none!important}.visible-xs{display:inline!important}.btn-group{margin-top:-8px;margin-bottom:8px}.contenttype-title{width:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboardlisting td.actions{padding-left:4px;padding-right:0}#filtertabs a{padding:4px 6px}}@media(min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}th.visible-sm,td.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}.hidden-sm{display:none!important}}@media(min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}th.visible-md,td.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}.hidden-md{display:none!important}}@media(max-width:640px){.page-header{padding-bottom:0}.navbar .navbar-brand{padding:10px 8px 8px 6px}#navpage-secondary ul.submenu a{padding:7px 8px 7px 48px}.dashboardlisting td.listthumb{padding:4px 0 0}.dashboardlisting td.listthumb img{margin-left:0}.dashboardlisting td.excerpt{padding:6px 6px 6px 2px}.form-horizontal .form-group{margin-top:16px;margin-bottom:4px}.buic-browser table td.info{display:none}}@media only screen and (min-width:48em){.navbar-top-links .dropdown-messages,.navbar-top-links .dropdown-tasks,.navbar-top-links .dropdown-alerts{margin-left:auto}#navpage-secondary{width:180px;left:0;position:absolute;font-size:100%}#navpage-secondary>ul{width:180px}#navpage-wrapper.nav-secondary-collapsed #navpage-secondary{width:49px;overflow:hidden;box-shadow:-5px 0 0 rgba(0,0,0,.2) inset;color:#AAA}#navpage-wrapper.nav-secondary-collapsed #navpage-secondary .nav>li a{color:#AAA}#navpage-wrapper.nav-secondary-collapsed-hoverable #navpage-secondary:hover{width:180px;overflow:visible;box-shadow:8px 0 0 rgba(0,0,0,.2);color:#DDD}#navpage-wrapper.nav-secondary-collapsed-hoverable #navpage-secondary:hover .nav>li a{color:#CCC}#navpage-secondary .nav>li.search{visibility:hidden;display:none}.nav-secondary-collapse{visibility:visible;display:block}.nav-secondary-expand{visibility:hidden;display:none}.nav-secondary-collapsed .nav-secondary-collapse{visibility:hidden;display:none}.nav-secondary-collapsed .nav-secondary-expand{visibility:visible;display:block}#navpage-content{padding-top:16px;padding-left:42px;left:180px}#navpage-wrapper.nav-secondary-collapsed #navpage-content{padding-left:42px;left:49px}fieldset.bolt-field-filelist .item input,fieldset.bolt-field-imagelist .item input{width:83%}fieldset.bolt-field-geolocation .mapframe{max-width:none}}@media(max-width:979px){.navbar-inner{min-height:50px}.navbar-inner ul.dropdown-menu li{float:left;padding:0}.navbar-collapse .navbar>li{clear:both}.navbar-collapse.collapse{margin-left:8px}.navbar-collapse .navbar .navbar-header{padding:5px 12px 5px 24px}.navbar-collapse .navbar>li>a,.navbar-collapse .dropdown-menu a{padding:5px 12px;color:#555!important}.navbar .navbar-btn{margin-top:14px!important}aside .panel{margin-left:0}}@media(max-width:766px){body.login label.control-label{padding-top:7px}body.login .logo{margin:18px auto;width:120px}body.login .view-site{right:12px;top:8px}body.login .login-block{width:320px}body.login .login-forgot,body.login .login-remembered{float:none;margin-top:8px}body.login .panel-body{padding:24px 24px 16px}}@media(max-width:400px){.buic-browser table td.thumb{display:none}}@media(min-width:480px){#editcontent input.datepicker.wide{width:35%}#editcontent input.datepicker.extrawide{width:55%}}@media only screen and (min-width:80em){fieldset.bolt-field-geolocation .mapholder{height:180px}}\n\\ No newline at end of file\ndiff --git a/app/view/js/bolt.js b/app/view/js/bolt.js\nindex 96e40f5b3..6b8016a07 100644\n--- a/app/view/js/bolt.js\n+++ b/app/view/js/bolt.js\n@@ -5,6 +5,6 @@\n  * this file. You will need to use the "Cloning from Git" installation method, to \n  * get these files. See: https://docs.bolt.cm/installation/install-git-clone, \n  * as well as the `README.md` file in the `app/src/` folder.\n- */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$(\'<div class="\'+a+\' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>\'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;200>c&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$(\'[data-toggle="dropdown"]\').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find(\'[data-toggle="dropdown"]\'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&g>f&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$(\'a[href="#tab-meta"]\').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($(\'input[name="password"]\').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($(\'input[name="password"]\').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\\s*([AP])[. ]?M\\.?))\\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\\d{4}-\\d{2}-\\d{2})(?: (\\d{2}:\\d{2}:\\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=12>c?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\\[.+?\\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);return b(this).data("valid",d),d?void 0:(c.preventDefault(),!1)}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b(\'#filtertabs a[href="#tab-\'+a.replace(/^#/,"")+\'"]\').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find(\'input[name="bolt_csrf_token"]\').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html(\'<i class="fa fa-circle status-\'+b("#statusselect option:selected").val()+\'"></i> \'+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(\':input[name="\'+a+"["+c+\']"]\').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){return q()||a.liveEditor.active?a.data("editcontent.msg.change_quit"):void 0}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d;c(".update-container").show(),d=c(".update-list-items"),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(Bolt.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c(\'.update-list-items tr[data-package="\'+f+\'"]\').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n=\'<i class="fa fa-cog fa-fw"></i>\';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c(\'input[name="check-package"]\').val(),d=c(\'input[name="check-package"]\').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c(\'input[name="check-package"]\').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c(\'input[name="check-package"]\');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f=\'data-request="prefill-package" data-packagename="\'+e.name+\'"\';b.append(\'<a class="btn btn-block btn-default prefill-package" \'+f+\'style="text-align: left;">\'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c(\'input[name="check-package"]\').val(d.closest("a").text()),c(\'input[name="check-package"]\').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\\n\\n<pre>"+g.message+"</pre>")}if("Bolt\\\\Exception\\\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,\'<a href="http\').replace(/(\\w+>)/g,\'">this link</a>\'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\\\Exception\\\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!")},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp();\n-})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||-1===f.indexOf(c)||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\\s?<br.*?>\\s?/g,"\\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\\.|\\[|\\]|,)/g,"\\\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?\'<i class="fa fa-spinner fa-spin"></i> \':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \\n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\\-|\\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\\.(.+?[^\\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",\'select[name="ext"]\',function(){b._filter(f)}).keyup(\'input[name="filter"]\',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find(\'input[name="filter"]\').val(),f=b.body.find(\'select[name="ext"]\').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find(\'td input:checkbox[name="checkRow"]\').each(function(){this.checked=c,b._update(this)})}),this.element.find(\'td input:checkbox[name="checkRow"]\').on("click",function(){b._update(this)}),this.toolbar.find(\'button[data-stb-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find(\'a[data-listing-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a(\'<div class="modal-header hidden"/>\'),d=a("<div class=modal-body/>"),e=a(\'<div class="modal-footer hidden"/>\'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a(\'<div tabindex=-1 role=dialog class="modal fade buic-modal"/>\').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body=\'<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>\',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add(\'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\')),this.options.header=this.options.header.add(a(\'<h4 class="modal-title"/>\').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b=\'<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>\';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\\./,"").split(/,\\./):[],h=new RegExp("(\\\\.|\\\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&e>=b)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0?!0:null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a(\'a[data-toggle="tab"]\').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find(\'script[type="text/template"]\').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find(\'[for="\'+c+\'"]\').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&"),d=new RegExp("^"+c+"\\\\[(#|\\\\d)\\\\]");\n-this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\\[\\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find(\'option[value="\'+b+\'"]\');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a(\'[name^="templatefields"]\').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$(\'label[for="\'+b.id+\'"]\').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;d>b;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();\n\\ No newline at end of file\n+ */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$(\'<div class="\'+a+\' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>\'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;c<200&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$(\'[data-toggle="dropdown"]\').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find(\'[data-toggle="dropdown"]\'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&f<g&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$(\'a[href="#tab-meta"]\').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($(\'input[name="password"]\').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($(\'input[name="password"]\').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\\s*([AP])[. ]?M\\.?))\\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\\d{4}-\\d{2}-\\d{2})(?: (\\d{2}:\\d{2}:\\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=c<12?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\\[.+?\\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);if(b(this).data("valid",d),!d)return c.preventDefault(),!1}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b(\'#filtertabs a[href="#tab-\'+a.replace(/^#/,"")+\'"]\').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find(\'input[name="bolt_csrf_token"]\').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html(\'<i class="fa fa-circle status-\'+b("#statusselect option:selected").val()+\'"></i> \'+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(\':input[name="\'+a+"["+c+\']"]\').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){if(q()||a.liveEditor.active)return a.data("editcontent.msg.change_quit")}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d,e;c(".update-container").show(),e=c(".update-output-data").html(),c(".update-output-notice").html(e),c(".update-output-notice").find(".update-output-element").removeClass("update-output-element").addClass("update-output").show(),c(".update-list").hide(),d=c(".update-list-items"),d.html(""),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(a.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c(\'.update-list-items tr[data-package="\'+f+\'"]\').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n=\'<i class="fa fa-cog fa-fw"></i>\';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c(\'input[name="check-package"]\').val(),d=c(\'input[name="check-package"]\').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c(\'input[name="check-package"]\').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c(\'input[name="check-package"]\');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f=\'data-request="prefill-package" data-packagename="\'+e.name+\'"\';b.append(\'<a class="btn btn-block btn-default prefill-package" \'+f+\'style="text-align: left;">\'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c(\'input[name="check-package"]\').val(d.closest("a").text()),c(\'input[name="check-package"]\').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\\n\\n<pre>"+g.message+"</pre>")}if("Bolt\\\\Exception\\\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,\'<a href="http\').replace(/(\\w+>)/g,\'">this link</a>\'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\\\Exception\\\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!");\n+},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp()})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||f.indexOf(c)===-1||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\\s?<br.*?>\\s?/g,"\\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\\.|\\[|\\]|,)/g,"\\\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?\'<i class="fa fa-spinner fa-spin"></i> \':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \\n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\\-|\\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\\.(.+?[^\\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",\'select[name="ext"]\',function(){b._filter(f)}).keyup(\'input[name="filter"]\',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find(\'input[name="filter"]\').val(),f=b.body.find(\'select[name="ext"]\').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find(\'td input:checkbox[name="checkRow"]\').each(function(){this.checked=c,b._update(this)})}),this.element.find(\'td input:checkbox[name="checkRow"]\').on("click",function(){b._update(this)}),this.toolbar.find(\'button[data-stb-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find(\'a[data-listing-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a(\'<div class="modal-header hidden"/>\'),d=a("<div class=modal-body/>"),e=a(\'<div class="modal-footer hidden"/>\'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a(\'<div tabindex=-1 role=dialog class="modal fade buic-modal"/>\').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body=\'<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>\',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add(\'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\')),this.options.header=this.options.header.add(a(\'<h4 class="modal-title"/>\').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b=\'<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>\';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\\./,"").split(/,\\./):[],h=new RegExp("(\\\\.|\\\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&b<=e)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0||null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a(\'a[data-toggle="tab"]\').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find(\'script[type="text/template"]\').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){\n+var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find(\'[for="\'+c+\'"]\').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&"),d=new RegExp("^"+c+"\\\\[(#|\\\\d)\\\\]");this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\\[\\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find(\'option[value="\'+b+\'"]\');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a(\'[name^="templatefields"]\').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$(\'label[for="\'+b.id+\'"]\').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;b<d;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();\n\\ No newline at end of file\n', 'commit_subject': 'Rebuild web assets', 'repo_name': 'bolt/bolt', 'committer': {'name': 'Gawain Lynch', 'email': 'f745ec5336bcd096400627fc09f6ec7139408726@gmail.com', 'time_sec': '1467819006', 'tz_offset': '120', 'date': {'seconds': '1467819006'}}, 'commit_tree': '5356207217e9ae0490d60f55510fd502d1ce1268', 'commit_message': 'Rebuild web assets\n', 'language_name': 'PHP', 'license': 'mit', 'hunks': '@@ -5,6 +5,6 @@\n  * this file. You will need to use the "Cloning from Git" installation method, to \n  * get these files. See: https://docs.bolt.cm/installation/install-git-clone, \n  * as well as the `README.md` file in the `app/src/` folder.\n- */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$(\'<div class="\'+a+\' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>\'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;200>c&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$(\'[data-toggle="dropdown"]\').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find(\'[data-toggle="dropdown"]\'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&g>f&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$(\'a[href="#tab-meta"]\').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($(\'input[name="password"]\').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($(\'input[name="password"]\').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\\s*([AP])[. ]?M\\.?))\\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\\d{4}-\\d{2}-\\d{2})(?: (\\d{2}:\\d{2}:\\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=12>c?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\\[.+?\\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);return b(this).data("valid",d),d?void 0:(c.preventDefault(),!1)}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b(\'#filtertabs a[href="#tab-\'+a.replace(/^#/,"")+\'"]\').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find(\'input[name="bolt_csrf_token"]\').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html(\'<i class="fa fa-circle status-\'+b("#statusselect option:selected").val()+\'"></i> \'+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(\':input[name="\'+a+"["+c+\']"]\').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){return q()||a.liveEditor.active?a.data("editcontent.msg.change_quit"):void 0}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d;c(".update-container").show(),d=c(".update-list-items"),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(Bolt.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c(\'.update-list-items tr[data-package="\'+f+\'"]\').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n=\'<i class="fa fa-cog fa-fw"></i>\';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c(\'input[name="check-package"]\').val(),d=c(\'input[name="check-package"]\').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c(\'input[name="check-package"]\').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c(\'input[name="check-package"]\');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f=\'data-request="prefill-package" data-packagename="\'+e.name+\'"\';b.append(\'<a class="btn btn-block btn-default prefill-package" \'+f+\'style="text-align: left;">\'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c(\'input[name="check-package"]\').val(d.closest("a").text()),c(\'input[name="check-package"]\').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\\n\\n<pre>"+g.message+"</pre>")}if("Bolt\\\\Exception\\\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,\'<a href="http\').replace(/(\\w+>)/g,\'">this link</a>\'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\\\Exception\\\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!")},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp();\n-})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||-1===f.indexOf(c)||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\\s?<br.*?>\\s?/g,"\\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\\.|\\[|\\]|,)/g,"\\\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?\'<i class="fa fa-spinner fa-spin"></i> \':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \\n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\\-|\\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\\.(.+?[^\\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",\'select[name="ext"]\',function(){b._filter(f)}).keyup(\'input[name="filter"]\',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find(\'input[name="filter"]\').val(),f=b.body.find(\'select[name="ext"]\').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find(\'td input:checkbox[name="checkRow"]\').each(function(){this.checked=c,b._update(this)})}),this.element.find(\'td input:checkbox[name="checkRow"]\').on("click",function(){b._update(this)}),this.toolbar.find(\'button[data-stb-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find(\'a[data-listing-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a(\'<div class="modal-header hidden"/>\'),d=a("<div class=modal-body/>"),e=a(\'<div class="modal-footer hidden"/>\'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a(\'<div tabindex=-1 role=dialog class="modal fade buic-modal"/>\').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body=\'<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>\',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add(\'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\')),this.options.header=this.options.header.add(a(\'<h4 class="modal-title"/>\').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b=\'<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>\';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\\./,"").split(/,\\./):[],h=new RegExp("(\\\\.|\\\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&e>=b)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0?!0:null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a(\'a[data-toggle="tab"]\').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find(\'script[type="text/template"]\').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find(\'[for="\'+c+\'"]\').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&"),d=new RegExp("^"+c+"\\\\[(#|\\\\d)\\\\]");\n-this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\\[\\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find(\'option[value="\'+b+\'"]\');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a(\'[name^="templatefields"]\').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$(\'label[for="\'+b.id+\'"]\').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;d>b;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();\n\\ No newline at end of file\n+ */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$(\'<div class="\'+a+\' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>\'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;c<200&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$(\'[data-toggle="dropdown"]\').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find(\'[data-toggle="dropdown"]\'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&f<g&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$(\'a[href="#tab-meta"]\').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($(\'input[name="password"]\').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($(\'input[name="password"]\').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\\s*([AP])[. ]?M\\.?))\\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\\d{4}-\\d{2}-\\d{2})(?: (\\d{2}:\\d{2}:\\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=c<12?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\\[.+?\\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);if(b(this).data("valid",d),!d)return c.preventDefault(),!1}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b(\'#filtertabs a[href="#tab-\'+a.replace(/^#/,"")+\'"]\').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find(\'input[name="bolt_csrf_token"]\').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html(\'<i class="fa fa-circle status-\'+b("#statusselect option:selected").val()+\'"></i> \'+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(\':input[name="\'+a+"["+c+\']"]\').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){if(q()||a.liveEditor.active)return a.data("editcontent.msg.change_quit")}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d,e;c(".update-container").show(),e=c(".update-output-data").html(),c(".update-output-notice").html(e),c(".update-output-notice").find(".update-output-element").removeClass("update-output-element").addClass("update-output").show(),c(".update-list").hide(),d=c(".update-list-items"),d.html(""),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(a.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c(\'.update-list-items tr[data-package="\'+f+\'"]\').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n=\'<i class="fa fa-cog fa-fw"></i>\';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c(\'input[name="check-package"]\').val(),d=c(\'input[name="check-package"]\').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c(\'input[name="check-package"]\').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c(\'input[name="check-package"]\');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f=\'data-request="prefill-package" data-packagename="\'+e.name+\'"\';b.append(\'<a class="btn btn-block btn-default prefill-package" \'+f+\'style="text-align: left;">\'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c(\'input[name="check-package"]\').val(d.closest("a").text()),c(\'input[name="check-package"]\').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\\n\\n<pre>"+g.message+"</pre>")}if("Bolt\\\\Exception\\\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,\'<a href="http\').replace(/(\\w+>)/g,\'">this link</a>\'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\\\Exception\\\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!");\n+},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp()})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||f.indexOf(c)===-1||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\\s?<br.*?>\\s?/g,"\\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\\.|\\[|\\]|,)/g,"\\\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?\'<i class="fa fa-spinner fa-spin"></i> \':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \\n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\\-|\\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\\.(.+?[^\\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",\'select[name="ext"]\',function(){b._filter(f)}).keyup(\'input[name="filter"]\',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find(\'input[name="filter"]\').val(),f=b.body.find(\'select[name="ext"]\').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find(\'td input:checkbox[name="checkRow"]\').each(function(){this.checked=c,b._update(this)})}),this.element.find(\'td input:checkbox[name="checkRow"]\').on("click",function(){b._update(this)}),this.toolbar.find(\'button[data-stb-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find(\'a[data-listing-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a(\'<div class="modal-header hidden"/>\'),d=a("<div class=modal-body/>"),e=a(\'<div class="modal-footer hidden"/>\'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a(\'<div tabindex=-1 role=dialog class="modal fade buic-modal"/>\').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body=\'<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>\',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add(\'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\')),this.options.header=this.options.header.add(a(\'<h4 class="modal-title"/>\').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b=\'<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>\';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\\./,"").split(/,\\./):[],h=new RegExp("(\\\\.|\\\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&b<=e)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0||null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a(\'a[data-toggle="tab"]\').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find(\'script[type="text/template"]\').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){\n+var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find(\'[for="\'+c+\'"]\').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&"),d=new RegExp("^"+c+"\\\\[(#|\\\\d)\\\\]");this._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\\[\\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find(\'option[value="\'+b+\'"]\');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a(\'[name^="templatefields"]\').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$(\'label[for="\'+b.id+\'"]\').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;b<d;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();\n\\ No newline at end of file\n', 'addition_count': 3, 'deletion_count': 3, 'src_file': 'a/app/view/js/bolt.js', 'tgt_file': 'b/app/view/js/bolt.js', 'file_extension': '.js', 'before_file': '/**\n * These are Bolt’s COMPILED JS files!\n * Do not edit this file, because all changes will be lost. You can edit the \n * `*.js` files in `app/src/js/` and then run `yarn grunt updateBolt` to generate \n * this file. You will need to use the "Cloning from Git" installation method, to \n * get these files. See: https://docs.bolt.cm/installation/install-git-clone, \n * as well as the `README.md` file in the `app/src/` folder.\n */try{console.assert(1)}catch(e){console={log:function(){},assert:function(){}}}String.prototype.subst=function(a){return this.replace(/%[A-Z][A-Z0-9_]+%/g,function(b){return b in a?a[b]:b})};var init={depublishTracking:function(){var a="dateDepublishNotice",b=$("#datedepublish").data("notice");$("#datedepublish, #statusselect").on("change",function(){var c=$("#statusselect").val(),d=$("#datedepublish").val();$("."+a).remove(),""!==d&&"published"===c&&moment(d+Bolt.conf("timezone.offset"))<moment()&&$(\'<div class="\'+a+\' alert alert-warning alert-dismissible"><button type="button" class="close" data-dismiss="alert">×</button>\'+b+"</div>").hide().insertAfter(".depublish-group").slideDown("fast")}),$("#datedepublish").trigger("change")},bindEditFile:function(a){var b;if("undefined"!=typeof CodeMirror){b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});var c=$(window).height()-312;200>c&&(c=200),b.setSize(null,c)}$("#saveeditfile").on("click",function(){Bolt.events.fire("Bolt.File.Save.Start"),b&&b.save();var a="Not saved";$("#saveeditfile").addClass("disabled"),$("#saveeditfile i").addClass("fa-spin fa-spinner"),$("p.lastsaved").text(Bolt.data("editcontent.msg.saving")),$.post("?returnto=ajax",$("#editfile").serialize()).done(function(a){a.ok?Bolt.events.fire("Bolt.File.Save.Done",a):(alert(a.msg),Bolt.events.fire("Bolt.File.Save.Fail",a)),$("p.lastsaved").html(a.msg)}).fail(function(){Bolt.events.fire("Bolt.File.Save.Fail"),alert(a)}).always(function(){Bolt.events.fire("Bolt.File.Save.Always"),window.setTimeout(function(){$("#saveeditfile").removeClass("disabled").blur(),$("#saveeditfile i").removeClass("fa-spin fa-spinner")},300)})})},bindEditLocale:function(a){var b=CodeMirror.fromTextArea(document.getElementById("form_contents"),{lineNumbers:!0,autofocus:!0,tabSize:4,indentUnit:4,indentWithTabs:!1,readOnly:a.readonly});b.setSize(null,$(window).height()-276)},bindFileBrowser:function(){$("#myTab a").click(function(a){a.preventDefault(),$(this).tab("show")});var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()}),$("a.filebrowserCloseLink").bind("click",function(){window.close()})},bindCkFileSelect:function(){var a=function(a){var b=new RegExp("(?:[?&]|&)"+a+"=([^&]+)","i"),c=window.location.search.match(b);return c&&c.length>1?c[1]:null},b=a("CKEditorFuncNum");$("a.filebrowserCallbackLink").bind("click",function(a){a.preventDefault();var c=$(this).attr("href");window.opener.CKEDITOR.tools.callFunction(b,c),window.close()})},bindPrefill:function(){$("#check-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked").trigger("click")}),$("#uncheck-all").on("click",function(){$("#form_contenttypes :checkbox").removeAttr("checked")})},confirmationDialogs:function(){$(".confirm").on("click",function(){return confirm($(this).data("confirm"))})},deferredWidgets:function(){$("div.widget").each(function(){if("undefined"!=typeof $(this).data("defer")){var a=$(this).data("key");$.ajax({url:Bolt.conf("paths.async")+"widget/"+a,type:"GET",success:function(b){$("#widget-"+a).html(b)},error:function(){console.log("failed to get widget")}})}})},dropDowns:function(){$(\'[data-toggle="dropdown"]\').each(function(a,b){var c;"undefined"==typeof event?$(b).parent().click(function(a){c=a}):c=event,$(b).parent().on("show.bs.dropdown",function(){if("undefined"!=typeof c&&null!==c){var a=$(this).find(\'[data-toggle="dropdown"]\'),b=a.next(".dropdown-menu"),d=c.pageY+20,e=b.height(),f=$(window).height()-d+e,g=37;d-e>20&&g>f&&b.css({top:"auto",bottom:"100%"})}})})},dropZone:function(){$(document).bind("dragover",function(a){var b=$(".dropzone"),c=window.dropZoneTimeout;c?clearTimeout(c):b.addClass("in"),a.target===b[0]?b.addClass("hover"):b.removeClass("hover"),window.dropZoneTimeout=setTimeout(function(){window.dropZoneTimeout=null,b.removeClass("in hover")},100)})},magnificPopup:function(){$(".magnific, .fancybox").magnificPopup({type:"image",gallery:{enabled:!0},disableOn:400,closeBtnInside:!0,enableEscapeKey:!0,mainClass:"mfp-with-zoom",zoom:{enabled:!0,duration:300,easing:"ease-in-out",opener:function(a){return a.parent().parent().find("img")}}})},focusStatusSelect:function(){$("#lastsavedstatus").click(function(a){a.preventDefault(),$(\'a[href="#tab-meta"]\').click(),$("#statusselect").focus()})},passwordInput:function(){$(".togglepass").on("click",function(){$(this).hasClass("show-password")?($(\'input[name="password"]\').attr("type","text"),$(".togglepass.show-password").hide(),$(".togglepass.hide-password").show()):($(\'input[name="password"]\').attr("type","password"),$(".togglepass.show-password").show(),$(".togglepass.hide-password").hide())}),$(".login-forgot").bind("click",function(){$(".login-group, .password-group").hide(),$(".reset-group").show()}),$(".login-remembered").bind("click",function(){$(".login-group, .password-group").show(),$(".reset-group").hide()})},popOvers:function(){$(".info-pop").popover({trigger:"hover",delay:{show:500,hide:200}})},sortables:function(){$("tbody.sortable").sortable({items:"tr",opacity:"0.5",axis:"y",handle:".sorthandle",update:function(){var a=$(this).sortable("serialize");$.ajax({url:$("#baseurl").attr("value")+"content/sortcontent/"+$(this).parent("table").data("contenttype"),type:"POST",data:a,success:function(){}})}})}},Bolt={};!function(bolt,$){"use strict";var actions={};actions.init=function(){$("button, input[type=button], a").off("click.action"),$("[data-action]").on("click.action",function(e){var action=$(this).attr("data-action");"undefined"!=typeof action&&""!==action&&(e.preventDefault(),eval(action),e.stopPropagation())}).on("click.popover",".popover",function(a){a.stopPropagation()}),$(".clickspinner").on("click.spinner",function(){$(this).addClass("disabled").blur(),$(this).find("i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,this)}),$(".submitspinner").on("submit.spinner",function(){$(this).find("button[type=submit]").addClass("disabled").blur(),$(this).find("button[type=submit] i").addClass("fa-spin fa-spinner"),window.setTimeout(function(a){$(a).removeClass("disabled"),$(a).find("i").removeClass("fa-spin fa-spinner")},1e4,$(this).find("button[type=submit]"))})},bolt.actions=actions}(Bolt||{},jQuery),function(a,b,c,d){"use strict";function e(){d.confirmationDialogs(),d.magnificPopup(),d.dropZone(),d.popOvers(),d.dropDowns(),d.deferredWidgets(),d.passwordInput(),d.sortables(),d.focusStatusSelect(),d.depublishTracking(),b("[data-bind]").each(function(){var c=b(this).data("bind");switch(c.bind){case"editcontent":a.editcontent.init(c);break;case"editfile":d.bindEditFile(c);break;case"editlocale":d.bindEditLocale(c);break;case"filebrowser":d.bindFileBrowser();break;case"ckfileselect":d.bindCkFileSelect();break;case"prefill":d.bindPrefill()}})}function f(){a.events.on("Bolt.GoogleMapsAPI.Load.Request",function(){if(void 0===h){h=!1;var c="https://maps.google.com/maps/api/js?sensor=false&callback=Bolt.app.gMapsApiReady";Bolt.conf.get("google_api_key")&&(c=c+"&key="+Bolt.conf.get("google_api_key")),b.getScript(c).fail(function(){h=void 0,a.events.fire("Bolt.GoogleMapsAPI.Load.Fail")})}else h===!0&&a.events.fire("Bolt.GoogleMapsAPI.Load.Done")})}function g(){var d=a.conf("locale.long");b.fn.select2.defaults.set("language",d.replace("_","-")),c.locale(d),b.datepicker.setDefaults(b.datepicker.regional[d])}var h,i={},j=1e4;i.gMapsApiReady=function(){h=!0,a.events.fire("Bolt.GoogleMapsAPI.Load.Done")},i.run=function(){a.conf.init(),a.data.init(),j=a.conf("buid").match(/(\\d+)$/)[1],g(),f(),a.actions.init(),a.secmenu.init(),a.stack.init(),a.omnisearch.init(),a.extend.init(),a.ckeditor.init(),a.datetime.init(),e(),a.app.initWidgets()},i.buid=function(){return"buid-"+j++},i.initWidgets=function(a){"undefined"==typeof a&&(a=b(document.documentElement)),b("[data-bolt-widget]",a).each(function(){var a=b(this),c=a.data("bolt-widget"),d={};"string"==typeof c?d[c]={}:d=c,b.each(d,function(b,c){a[b](c).removeAttr("data-bolt-widget").removeData("bolt-widget")})})},b(document).ready(i.run),a.app=i}(Bolt||{},jQuery,moment,init),function(a,b,c){"use strict";function d(){var a=[];for(var b in arguments)if(1===arguments[b].length||arguments[b][0]){var c=arguments[b][arguments[b].length-1];"string"==typeof c&&"|"===c.substr(0,1)&&(c=c.substr(1),a=a.concat("-")),a=a.concat(c)}return a}var e={};e.init=function(){c&&(c=e.initcke(c))},e.update=function(){if(c)for(var a in c.instances)c.instances.hasOwnProperty(a)&&c.instances[a].updateElement()},e.add=function(a){c.replace(a)},e.initcke=function(c){c.editorConfig=function(c){var e,f=b(this.element.$).data("param")||{},g=a.conf("ckeditor");c.language=a.conf("ckeditor.lang"),c.skin="boltcke",c.resize_enabled=!0,c.entities=!1,c.fillEmptyBlocks=!1,c.extraPlugins="codemirror",c.baseFloatZIndex=100015,c.toolbar=d([{name:"styles",items:d(["Format"],[g.styles,"Styles"])}],[{name:"basicstyles",items:d(["Bold"],["Italic"],[g.underline,"Underline"],[g.strike,"Strike"])}],[{name:"paragraph",items:d(["NumberedList"],["BulletedList"],["Indent"],["Outdent"],[g.blockquote,"|Blockquote"])}],[{name:"links",items:d(["Link"],["Unlink"],[g.anchor,"|Anchor"])}],[g.subsuper,{name:"subsuper",items:d(["Subscript"],["Superscript"])}],[g.images,{name:"image",items:d(["Image"])}],[g.embed,{name:"embed",items:d(["oembed"])}],[g.tables,{name:"table",items:d(["Table"])}],[g.ruler,{name:"ruler",items:d(["HorizontalRule"])}],[g.align,{name:"align",items:d(["JustifyLeft"],["JustifyCenter"],["JustifyRight"],["JustifyBlock"])}],[g.fontcolor,{name:"colors",items:d(["TextColor"],["BGColor"])}],[g.codesnippet,{name:"code",items:d(["|CodeSnippet"])}],[{name:"tools",items:d(["RemoveFormat"],["Maximize"],["|Source"],[g.specialchar,"|SpecialChar"])}]),g.embed&&(c.extraPlugins+=",oembed,widget",c.oembed_maxWidth="853",c.oembed_maxHeight="480"),c.height=250,c.autoGrow_onStartup=!0,c.autoGrow_minHeight=150,c.autoGrow_maxHeight=400,c.autoGrow_bottomSpace=24,c.removePlugins="elementspath",c.resize_dir="vertical",g.filebrowser?(g.filebrowser.browseUrl&&(c.filebrowserBrowseUrl=g.filebrowser.browseUrl),g.filebrowser.imageBrowseUrl&&(c.filebrowserImageBrowseUrl=g.filebrowser.imageBrowseUrl),g.filebrowser.uploadUrl&&(c.filebrowserUploadUrl=g.filebrowser.uploadUrl),g.filebrowser.imageUploadUrl&&(c.filebrowserImageUploadUrl=g.filebrowser.imageUploadUrl)):(c.filebrowserBrowseUrl="",c.filebrowserImageBrowseUrl="",c.filebrowserUploadUrl="",c.filebrowserImageUploadUrl=""),c.codemirror={theme:"default",lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,autoCloseTags:!0,autoCloseBrackets:!0,enableSearchTools:!0,enableCodeFolding:!0,enableCodeFormatting:!1,autoFormatOnStart:!1,autoFormatOnUncomment:!1,autoFormatOnModeChange:!1,highlightActiveLine:!0,highlightMatches:!0,showFormatButton:!1,showCommentButton:!1,showUncommentButton:!1};for(e in g.ck)g.ck.hasOwnProperty(e)&&(c[e]=g.ck[e]);f.height&&(c.height=parseInt(f.height),c.autoGrow_minHeight=Math.max(c.autoGrow_minHeight,c.height),c.autoGrow_maxHeight=Math.max(c.autoGrow_maxHeight,c.height));for(e in f.ckeditor)f.ckeditor.hasOwnProperty(e)&&(c[e]=f.ckeditor[e])};var e=a.conf("ckeditor");return e.ck.allowNbsp&&c.on("instanceReady",function(a){a.editor.on("paste",function(a){a.data.dataValue=a.data.dataValue.replace(/&nbsp;/g," "),a.data.dataValue=a.data.dataValue.replace(/<p> <\\/p>/g,"")},null,null,9)}),c},a.ckeditor=e}(Bolt||{},jQuery,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={},e=function(a){var b,e=a.split("."),f=d;for(b=0;b<e.length;b++){if("undefined"==typeof f[e[b]])return c;f=f[e[b]]}return f};e.get=e,e.init=function(){d=b("script[data-config]").first().data("config")},a.conf=e}(Bolt||{},jQuery),function(a,b,c){"use strict";var d={},e=function(a,b){var e,f=a.split("."),g=d;for(e=0;e<f.length;e++){if("undefined"==typeof g[f[e]])return c;g=g[f[e]]}return b&&"string"==typeof g?g.subst(b):g};e.get=e,e.init=function(){d=b("script[data-jsdata]").first().data("jsdata")||{}},a.data=e}(Bolt||{},jQuery),function(a,b,c){"use strict";function d(a){var b,d,e,f=c(a.date.datepicker("getDate")),g=c([2001,11,24]),h=!1;if(a.time.exists&&(e=a.time.val().match(/^\\s*(?:(?:([01]?[0-9]|2[0-3])[:,.]([0-5]?[0-9]))|(1[012]|0?[1-9])[:,.]([0-5]?[0-9])(?:\\s*([AP])[. ]?M\\.?))\\s*$/i),e&&(b=parseInt(e[1]?e[1]:e[3]),d=parseInt(e[2]?e[2]:e[4]),"p"!==e[5]&&"P"!==e[5]||12===b?"a"!==e[5]&&"A"!==e[5]||12!==b||(b-=12):b+=12,g=c([2001,11,24,b,d]),h=!0)),f.isValid()){var i=a.time.exists?" "+g.format("HH:mm:00"):"";a.data.val(f.format("YYYY-MM-DD")+i)}else h?a.data.val(c().format("YYYY-MM-DD")+" "+g.format("HH:mm:00")):a.data.val("")}function e(a){var c,d,e,f,g="",i="";"datedepublish"===a.data.attr("id")&&"1900-01-01 00:00:00"===a.data.val()&&a.data.val(""),d=a.data.val().match(/^(\\d{4}-\\d{2}-\\d{2})(?: (\\d{2}:\\d{2}:\\d{2}))?$/),d&&(g=d[1],i=d[2]||""),e=""===g||"0000-00-00"===g?"":b.datepicker.parseDate("yy-mm-dd",g),a.date.datepicker("setDate",e),a.time.exists&&"0000-00-00"!==g&&(""===i?i=""!==g?"00:00":"":h?i=a.data.val().slice(11,16):(c=parseInt(i.slice(0,2)),f=12>c?" AM":" PM",i=(c%12||12)+i.slice(2,5)+f),a.time.val(i)),a.data.trigger("change")}function f(a){var b=a.date.data("field-options"),c={showOn:"none"};for(var d in b)b.hasOwnProperty(d)&&(c[d]=b[d]);a.date.datepicker(c),a.show.click(function(){a.date.datepicker("show")}),a.clear.click(function(){a.data.val(""),e(a)})}function g(a){var b=a.closest(".datetime-container"),c={};return c.data=a,c.date=b.find("input.datepicker"),c.time=b.find("input.timepicker"),c.show=b.find("button.btn-tertiary"),c.clear=b.find("button.btn-default"),c.time.exists=c.time.length>0,c}var h,i={},j=[];i.init=function(){h=!c.localeData()._longDateFormat.LT.replace(/\\[.+?\\]/gi,"").match(/A/),b("input.datetime").each(function(){var a=g(b(this));j.push(a),f(a),e(a),a.date.change(function(){d(a),e(a)}),a.time.change(function(){d(a),e(a)})})},i.update=function(){for(var a in j)j.hasOwnProperty(a)&&e(j[a])},a.datetime=i}(Bolt||{},jQuery,moment),function(a,b,c,d,e,f){"use strict";function g(){b("#editcontent").attr("novalidate","novalidate").on("submit",function(c){var d=a.validation.run(this);return b(this).data("valid",d),d?void 0:(c.preventDefault(),!1)}),b("#editcontent").on("boltvalidate",function(){var c=a.validation.run(this);return b(this).data("valid",c),c})}function h(){var a=c.location.hash;a&&b(\'#filtertabs a[href="#tab-\'+a.replace(/^#/,"")+\'"]\').tab("show"),b("#filtertabs a").click(function(){var a;b(this).tab("show"),a=b("body").scrollTop(),c.location.hash=this.hash.replace(/^#tab-/,""),b("html,body").scrollTop(a)})}function i(){b("#previewbutton, #sidebarpreviewbutton").bind("click",function(a){var c=b(a.target).data("url");a.preventDefault(),b("#editcontent").attr("action",c).attr("target","_blank").submit(),b("#editcontent").attr("action","").attr("target","_self")})}function j(){}function k(){b("#deletebutton, #sidebardeletebutton").bind("click",function(d){d.preventDefault(),e.confirm(a.data("editcontent.delete"),function(d){if(b(".alert").alert(),d===!0){var e=a.conf("paths.bolt"),f=b("#id").closest("form"),g=b("#contenttype").val(),h=b("#id").val(),i=f.find(\'input[name="bolt_csrf_token"]\').val(),j=a.conf("paths.async")+"content/action",k={};k[g]={},k[g][h]={"delete":null},b.ajax({url:j,type:"POST",data:{bolt_csrf_token:i,contenttype:g,actions:k},success:function(){c.location.href=e+"overview/"+b("#contenttype").val()}})}})})}function l(){b("#sidebarsavebutton").bind("click",function(){b("#savebutton").trigger("click")}),b("#savebutton").bind("click",function(){p()})}function m(){b("#sidebarsavenewbutton, #savenewbutton").bind("click",function(){p();var a="?returnto=saveandnew";b("#editcontent").attr("action",a).submit()})}function n(e){b("#sidebarsavecontinuebutton, #savecontinuebutton").bind("click",function(g){if(g.preventDefault(),b("#editcontent").trigger("boltvalidate"),!b("#editcontent").data("valid"))return!1;var h=e.newRecord,i=e.savedon,j=e.msgNotSaved;b("#sidebarsavecontinuebutton, #savecontinuebutton").addClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").addClass("fa-spin fa-spinner"),b("p.lastsaved").text(a.data("editcontent.msg.saving")),h?(p(),b("#editcontent").attr("action","?returnto=new").submit()):(p(),a.events.fire("Bolt.Content.Save.Start"),b.post("?returnto=ajax",b("#editcontent").serialize()).done(function(e){a.events.fire("Bolt.Content.Save.Done",{form:e}),c.onbeforeunload=null,b("p.lastsaved").html(i).find("strong").text(d(e.datechanged).format("MMM D, HH:mm")).end().find(".buic-moment").buicMoment().buicMoment("set",e.datechanged),b("a#lastsavedstatus strong").html(\'<i class="fa fa-circle status-\'+b("#statusselect option:selected").val()+\'"></i> \'+b("#statusselect option:selected").text()),"object"===b.type(e)&&b.each(e,function(a,c){if("object"===b.type(c))b.each(c,function(c,d){b(\':input[name="\'+a+"["+c+\']"]\').val(d)});else if("array"===b.type(c));else{var d=b("#editcontent [name="+a+"]");"checkbox"===d.attr("type")?d.prop("checked","1"===c):d.val(c),f&&f.instances[a]&&f.instances[a].setData(c,{callback:function(){this.resetDirty()}})}}),a.datetime.update(),p()}).fail(function(){a.events.fire("Bolt.Content.Save.Fail"),b("p.lastsaved").text(j)}).always(function(){a.events.fire("Bolt.Content.Save.Always"),c.setTimeout(function(){b("#sidebarsavecontinuebutton, #savecontinuebutton").removeClass("disabled"),b("#sidebarsavecontinuebutton i, #savecontinuebutton i").removeClass("fa-spin fa-spinner")},300)}))})}function o(){(b("#sidebarsavecontinuebutton").is("*")||b("#saveeditfile").is("*"))&&(b("body, input").bind("keydown.ctrl_s keydown.meta_s",function(a){a.preventDefault(),p(),b("#sidebarsavecontinuebutton, #saveeditfile").trigger("click")}),c.setTimeout(function(){p()},1e3))}function p(){b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&(f.instances[this.id].updateElement(),f.instances[this.id].resetDirty());else{var a=r(this);void 0!==a&&b(this).data("watch",a)}}),c.onbeforeunload=function(){return q()||a.liveEditor.active?a.data("editcontent.msg.change_quit"):void 0}}function q(){var a=0;return b("form#editcontent").find("input, textarea, select").each(function(){if("textarea"===this.type&&b(this).hasClass("ckeditor"))f.instances[this.id].checkDirty()&&a++;else{var c=r(this);void 0!==c&&b(this).data("watch")!==c&&a++}}),a>0}function r(a){var c;return a.name&&(c=b(a).val(),"select-multiple"===a.type&&(c=JSON.stringify(c))),c}var s={};s.init=function(b){g(),l(),m(),n(b),i(),j(),k(),h(),a.liveEditor.init(b),c.setTimeout(function(){o()},1e3)},a.editcontent=s}(Bolt||{},jQuery,window,moment,bootbox,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";function c(a){return b(".extend-bolt-container").find(a)}function d(){b("#installModal").on("hide.bs.modal",function(){c(".latest-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".stable-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-stable")+"</strong></td></tr>"),c(".dev-version-container .installed-version-item").html(\'<tr><td colspan="3"><strong>\'+a.data("extend.text.no-test")+"</strong></td></tr>"),c(".install-response-container .console").html(a.data("extend.text.installing")),c(".theme-postinstall").hide(),c(".theme-generate-response").hide(),c(".extension-postinstall").hide(),c(".install-response-container").hide(),c(".install-latest-container").hide(),c(".install-version-container").hide(),c(".postinstall-footer").hide(),c("#installModal .loader").show()})}function e(){var d;c(".update-container").show(),d=c(".update-list-items"),B=c(".update-output"),B.html(a.data("extend.text.updating")),b.get(a.data("extend.baseurl")+"check",function(b){if(b.updates.length>0||b.installs.length>0){var e,f;for(e in b.installs)b.installs.hasOwnProperty(e)&&(f=b.installs[e],d.append(Bolt.data("extend.packages.install_new",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));for(e in b.updates)b.updates.hasOwnProperty(e)&&(f=b.updates[e],d.append(a.data("extend.packages.install_update",{"%PACKAGE%":f.name,"%VERSION%":f.version,"%PRETTYVERSION%":f.prettyversion})));B.hide(),c(".update-list").show()}else B.html(a.data("extend.text.updated"))}).fail(function(a){A(a)})}function f(){c(".update-container").show();var d=c(".update-output");B=d,B.html(a.data("extend.text.running-update")),b.get(a.data("extend.baseurl")+"update",function(a){d.html(a),setTimeout(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)})}function g(d){var e=c(".update-output").html(a.data("extend.text.updating")),f=b(d.target).data("package");e.show(),B=e,b.get(a.data("extend.baseurl")+"update?package="+f).success(function(a){c(".update-output").html(a),c(\'.update-list-items tr[data-package="\'+f+\'"]\').remove(),F(function(){B.hide()},4e3),c(".update-list-items tbody tr").length<1&&c(".update-container").hide(),j()}).fail(function(a){A(a)}),d.preventDefault()}function h(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"installAll",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function i(d){var e=c(".update-output");c(".update-container").show(),B=e,B.html(a.data("extend.text.install-all")),b.get(a.data("extend.baseurl")+"dumpAutoload",function(a){e.html(a),F(function(){c(".update-container").hide()},7e3),j()}).fail(function(a){A(a)}),d.stopPropagation(),d.preventDefault()}function j(){c(".installed-container").each(function(){var d=b(this).find(".installed-list");B=c(".installed-container .console"),b.get(a.data("extend.baseurl")+"installed",function(b){var e="";if("object"!=typeof b)return void B.html(a.data("extend.text.bad-json"));d.show(),d.find(".installed-list-items").html(""),c(".installed-container .console").hide();var f=!0;"object"==typeof b&&(e+=k(b),f=!1),f&&(e=a.data("extend.packages.empty"),B.hide()),d.find(".installed-list-items").append(e)}).fail(function(a){A(a)})})}function k(b){var c="";for(var d in b)if(b.hasOwnProperty(d)){var e=b[d],f=a.data("extend.packages"),g=[],h=[],i=0;if(e.authors&&e.authors.length>0)for(i=0;i<e.authors.length;i++)g.push(f.author.subst({"%AUTHOR%":e.authors[i].name}));if(g=g.length?f.authors.subst({"%AUTHORS%":g.join(", ")}):"",e.keywords&&e.keywords.length>0)for(i=0;i<e.keywords.length;i++)h.push(f.keyword.subst({"%KEYWORD%":e.keywords[i]}));h=h.length?f.keywords.subst({"%KEYWORDS%":h.join(" ")}):"";var j="",k="";"wikimedia/composer-merge-plugin"===e.name&&(e.title="Local Extension Helper"),"installed"===e.status&&(j=f.avail_button.subst({"%NAME%":e.name}),k=f.uninstall_button.subst({"%BASEURL%":a.data("extend.baseurl"),"%NAME%":e.name}));var l=" — [INVALID] ",m=" — [DISABLED] ",n=\'<i class="fa fa-cog fa-fw"></i>\';c+=f.item.subst({"%TITLE%":e.title?e.title:e.name,"%NAME%":e.name,"%VERSION%":e.version,"%AUTHORS%":g,"%TYPE%":e.type,"%AVAILABLE%":j,"%README%":e.readmeLink?f.readme_button.subst({"%README%":e.readmeLink}):"","%CONFIG%":e.configLink?f.config_button.subst({"%CONFIG%":e.configLink}):"","%THEME%":"bolt-theme"===e.type?f.theme_button.subst({"%NAME%":e.name}):"","%BASEURL%":a.data("extend.baseurl"),"%UNINSTALL%":k,"%DESCRIPTION%":e.description?f.description.subst({"%DESCRIPTION%":e.description}):"","%KEYWORDS%":h,"%STATUS%":e.valid===!1?l:"","%ENABLED%":e.enabled===!1?m:"","%CONSTRAINT%":null!==e.constraint?n+" Requires Bolt "+e.constraint:""})}return c}function l(a){var b=c(\'input[name="check-package"]\').val(),d=c(\'input[name="check-package"]\').data("packagename");d&&(b=d),m(b),a.preventDefault()}function m(d){B=c(".update-output"),b.get(a.data("extend.baseurl")+"installInfo?package="+d,function(a){var b=a.dev,d=a.stable;b.length>0&&(c(".dev-version-container .installed-version-item").html(""),c(".dev-version-container .installed-version-item").append(o(b))),d.length>0?(c(".stable-version-container .installed-version-item").html(""),c(".stable-version-container .installed-version-item").append(o(d)),c(".latest-version-container .installed-version-item").html(""),c(".latest-version-container .installed-version-item").append(o([a.stable[0]])),c(".install-latest-container").show()):c(".install-version-container").show(),c("#installModal .loader").hide()}).fail(function(a){A(a)})}function n(){c(".install-latest-container").hide(),c(".install-version-container").show()}function o(b){var c,d,e="";for(var f in b)b.hasOwnProperty(f)&&(c=b[f],"undefined"!=typeof c&&(d="approved"===c.buildStatus?" label-success":"",e+=a.data("extend.packages.versions",{"%NAME%":c.name,"%VERSION%":c.version,"%CLASS%%":d,"%BUILDSTATUS%":c.buildStatus})));return e}function p(d){var e=b(d.target).data("package"),f=b(d.target).data("version");c(".install-response-container").show(),c(".install-latest-container").hide(),c(".install-version-container").hide(),B=c(".install-response-container .console"),B.html(a.data("extend.text.installing")),c("#installModal .loader .message").html(a.data("extend.text.installing")),b.get(a.data("extend.baseurl")+"install",{"package":e,version:f}).done(function(){q(e,f),c(".install-response-container").hide(),c(".check-package").show(),c(\'input[name="check-package"]\').val(""),j()}).fail(function(a){A(a)}),d.preventDefault()}function q(c,d){b.get(a.data("extend.baseurl")+"packageInfo",{"package":c,version:d}).done(function(a){"bolt-extension"===a.type&&r(a),"bolt-theme"===a.type&&s(a)}).fail(function(a){A(a)})}function r(a){c(".extension-postinstall").show(),c(".extension-postinstall .modal-success").show(),c(".postinstall-footer .ext-link").attr("href",a.source),c(".postinstall-footer").show()}function s(a){var b=a.name.split(/\\/+/).pop();c(".install-response-container").hide(),c(".theme-postinstall").show(),c(".theme-generation-container").show(),c(".theme-postinstall .theme-generator").data("theme",a.name),c(".theme-postinstall #theme-name").val(b),c(".postinstall-footer").show()}function t(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){c(".theme-generate-response").html("<p>"+a+"</p>").show(),c(".theme-generation-container").hide()}).fail(function(a){A(a)}),d.preventDefault()}function u(d){var e=b(d.target),f=e.data("theme"),g=c("#theme-name").val();if(confirm(a.data("extend.text.overwrite"))){var h=c(".installed-container .console").html(a.data("extend.text.copying"));h.show(),B=h,b.get(a.data("extend.baseurl")+"generateTheme",{theme:f,name:g}).done(function(a){B.html(a),F(function(){h.hide()},5e3)}).fail(function(a){A(a)})}d.preventDefault()}function v(a){b.get(b(a.target).data("readme")).done(function(a){bootbox.dialog({message:a?a:"Readme is empty."})}).fail(function(a){A(a)}),a.preventDefault()}function w(a){m(b(a.target).data("available"))}function x(d){var e=c(".installed-container .console").html(a.data("extend.text.removing"));return confirm(a.data("extend.text.confirm-remove"))===!1?(d.stopPropagation(),d.preventDefault(),!1):(e.show(),B=e,b.get(b(d.target).attr("href")).done(function(a){c(".installed-container .console").html(a),j(),F(function(){B.hide()},2e3)}).fail(function(a){A(a)}),void d.preventDefault())}function y(){var d=c(\'input[name="check-package"]\');d.on("keyup",function(){var c=b(this).val();c.length<3||F(function(){b.ajax({url:a.data("extend.siteurl")+"list.json",dataType:"jsonp",data:{name:c}}).success(function(a){if(a.packages.length){var b=d.parent().find(".auto-search");b.html("").show();for(var c in a.packages)if(a.packages.hasOwnProperty(c)){var e=a.packages[c],f=\'data-request="prefill-package" data-packagename="\'+e.name+\'"\';b.append(\'<a class="btn btn-block btn-default prefill-package" \'+f+\'style="text-align: left;">\'+e.title+" <small "+f+">("+e.authors+" - "+e.name+")</small></a>")}d.on("blur",function(){b.fadeOut()})}})},500)})}function z(a){var d=b(a.target);c(\'input[name="check-package"]\').val(d.closest("a").text()),c(\'input[name="check-package"]\').data("packagename",d.data("packagename")),c(".auto-search").hide()}function A(c){var d="",e="",f="";try{d=b.parseJSON(c.responseText)}catch(g){b(".modal").modal("hide"),bootbox.alert("<p>An unknown error occurred. This was the error message:</p>\\n\\n<pre>"+g.message+"</pre>")}if("Bolt\\\\Exception\\\\PackageManagerException"===d.error.type)f=d.error.message.replace(/(<http)/g,\'<a href="http\').replace(/(\\w+>)/g,\'">this link</a>\'),e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Composer Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else if("Bolt\\\\Exception\\\\ExtensionsInfoServiceException"===d.error.type)f=d.error.message,e=a.data("extend.packages.error",{"%ERROR_TYPE%":"Extension Site Error","%ERROR_MESSAGE%":f,"%ERROR_LOCATION%":""});else{var h=d.error.file.replace(new RegExp(a.data("extend.rootpath"),"g"),"");e=a.data("extend.packages.error",{"%ERROR_TYPE%":"PHP Error","%ERROR_MESSAGE%":d.error.message,"%ERROR_LOCATION%":"File: "+h+"::"+d.error.line})}b(".modal").modal("hide"),bootbox.alert(e)}var B,C,D={},E={click:function(a){var c=b(a.target).data("request");switch(c){case"update-check":e();break;case"update-run":f();break;case"update-package":g(a.originalEvent);break;case"check-package":l(a.originalEvent);break;case"uninstall-package":x(a.originalEvent);break;case"install-package":p(a.originalEvent);break;case"prefill-package":z(a.originalEvent);break;case"install-run":h(a.originalEvent);break;case"autoload-dump":i(a.originalEvent);break;case"generate-theme":t(a.originalEvent);break;case"package-available":w(a.originalEvent);break;case"package-copy":u(a.originalEvent);break;case"package-readme":v(a.originalEvent);break;case"show-all":n(a.originalEvent)}}};D.init=function(){var a=b(".extend-bolt-container");a.length&&(a.on("click",E.click),b(document).ajaxStart(function(){C=setInterval(function(){B&&B.append(".")},1e3)}).ajaxSuccess(function(){clearInterval(C)}).ajaxError(function(){clearInterval(C)}),j(),y(),d())};var F=function(){var a=0;return function(b,c){clearTimeout(a),a=setTimeout(b,c)}}();a.extend=D}(Bolt||{},jQuery),function(a,b){"use strict";var c={},d={},e=/^([a-zA-Z0-9_-]+)(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?(?:\\.([a-zA-Z0-9_-]+))?$/;c.fire=function(a,b){var c=e.exec(a);if(c&&"undefined"!=typeof c[4])for(;a;)d[a]&&d[a].fire({namespace:c[1],domain:c[2],event:c[3],status:c[4]},b),a=a.replace(/\\.?[a-zA-Z0-9_-]+$/,"")},c.on=function(a,c){e.exec(a)&&(d[a]||(d[a]=b.Callbacks("unique")),d[a].add(c))},c.off=function(a,b){e.exec(a)&&d[a]&&d[a].remove(b)},a.events=c}(Bolt||{},jQuery),function(a,b){"use strict";function c(c,d,e,f){var g={url:a.conf("paths.async")+c,type:"POST",data:d,success:function(){document.location.reload()},error:function(a){alert(a.responseText),console.log(e)}};f&&(g.success=f),b.ajax(g)}var d={};d.createFile=function(b,d){var e=window.prompt(a.data("files.msg.create_file"));e.length&&c("file/create",{filename:e,parentPath:d,namespace:b},"Something went wrong creating this file!")},d.renameFile=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_file"),e);f.length&&f!==e&&c("file/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this file!")},d.deleteFile=function(d,e,f){confirm(a.data("files.msg.delete_file",{"%FILENAME%":e}))&&c("file/delete",{namespace:d,filename:e},"Failed to delete the file from the server",function(){null!==f&&b(f).closest("tr").slideUp();\n})},d.duplicateFile=function(a,b){c("file/duplicate",{namespace:a,filename:b},"Something went wrong duplicating this file!")},d.createFolder=function(b,d){var e=window.prompt(a.data("files.msg.create_folder"));e.length&&c("folder/create",{parent:d,foldername:e,namespace:b},"Something went wrong renaming this folder!")},d.renameFolder=function(b,d,e){var f=window.prompt(a.data("files.msg.rename_folder"),e);f.length&&f!==e&&c("folder/rename",{namespace:b,parent:d,oldname:e,newname:f},"Something went wrong renaming this folder!")},d.deleteFolder=function(d,e,f){window.confirm(a.data("files.msg.delete_folder",{"%FOLDERNAME%":f}))&&(c("folder/remove",{namespace:d,parent:e,foldername:f},"Something went wrong renaming this folder!"),b.ajax({success:function(){}}))},a.files=d}(Bolt||{},jQuery),function(a,b,c,d){"use strict";var e={},f=["text","html","textarea"],g=null;e.init=function(a){e.slug=a.singularSlug,Modernizr.contenteditable?(b("#sidebar-live-editor-button, #live-editor-button").bind("click",e.start),b(".close-live-editor").bind("click",e.stop)):b(".live-editor, #sidebar-live-editor-button, #live-editor-button").remove()},e.start=function(){var c=a.validation.run(b("#editcontent")[0]);if(c){var d=function(a){a.preventDefault()},h=function(){var c=b("#live-editor-iframe")[0],g=c.contentWindow||c,h=g.document,i=b(h);i.on("click","a",d);var j=a.ckeditor.initcke(g.CKEDITOR),k=j.editorConfig;j.editorConfig=function(a){k.bind(this)(a);for(var b in a.toolbar)if("tools"===a.toolbar[b].name){var c=a.toolbar[b].items.indexOf("Source");c>-1&&delete a.toolbar[b].items[c]}},j.disableAutoInline=!1,i.find("[data-bolt-field]").each(function(){var a=b("#editcontent *[name="+e.escapejQuery(b(this).data("bolt-field"))+"]"),c=a.closest("[data-bolt-fieldset]").data("bolt-fieldset");b(this).addClass("bolt-editable"),b(this).data("no-edit")||-1===f.indexOf(c)||(b(this).attr("contenteditable",!0),"html"===c?j.inline(this,{allowedContent:""}):(b(this).on("paste",function(a){var b;a.preventDefault(),a.originalEvent.clipboardData?(b=a.originalEvent.clipboardData.getData("text/plain"),h.execCommand("insertText",!1,b)):g.clipboardData&&(b=g.clipboardData.getData("Text"),g.getSelection&&g.getSelection().getRangeAt(0).insertNode(h.createTextNode(b)))}),"textarea"===c?b(this).on("keypress",function(a){13===a.which&&(a.preventDefault(),h.execCommand("insertHTML",!1,"<br><br>"))}):b(this).on("keypress",function(a){return 13!==a.which}).on("focus blur",function(){b(this).html(b(this).text())})))})};b("#live-editor-iframe").on("load",h),a.liveEditor.active=!0,b("body").addClass("live-editor-active"),b("#navpage-primary .navbar-header a").on("click",d);var i=a.conf("paths.root")+"preview/"+e.slug;b("#editcontent *[name=_live-editor-preview]").val("yes"),b("#editcontent").attr("action",i).attr("target","live-editor-iframe").submit(),b("#editcontent").attr("action","").attr("target","_self"),b("#editcontent *[name=_live-editor-preview]").val(""),g=function(){b("#live-editor-iframe").off("load",h),b("#navpage-primary .navbar-header a").off("click",d)}}},e.stop=function(){var c=b("#live-editor-iframe")[0],f=c.contentWindow||c,h=f.document,i=b(h);i.find("[data-bolt-field]").each(function(){var a=b(this).data("bolt-field"),c=b("#editcontent [name="+e.escapejQuery(a)+"]"),f=c.closest("[data-bolt-fieldset]").data("bolt-fieldset"),g="";if("html"===f){g=b(this).html();var h=c.attr("id");d.instances.hasOwnProperty(h)&&d.instances[h].setData(g)}else g=e.cleanText(b(this),f);c.val(g)}),b(c).attr("src",""),a.liveEditor.active=!1,b("body").removeClass("live-editor-active"),g()},e.cleanText=function(a,b){return"textarea"===b&&a.html(a.html().replace(/&nbsp;/g," ").replace(/\\s?<br.*?>\\s?/g,"\\n")),a.text()},e.escapejQuery=function(a){return a.replace(/(:|\\.|\\[|\\]|,)/g,"\\\\$1")},e.active=!1,e.slug=null,a.liveEditor=e}(Bolt||{},jQuery,window,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b,c){"use strict";var d={};d.init=function(){b(".omnisearch select").select2({width:"100%",placeholder:a.data("omnisearch.placeholder"),minimumInputLength:3,multiple:!0,ajax:{delay:600,url:a.conf("paths.async")+"omnisearch",dataType:"json",data:function(a){return{q:a.term}},processResults:function(a){var c=[];return b.each(a,function(a,b){c.push({id:b.path,path:b.path,text:b.label})}),{results:c}}},templateResult:function(a){var b=a.path?"<small>"+a.path+"</small>":"",c=a.loading?\'<i class="fa fa-spinner fa-spin"></i> \':"";return"<div>"+c+a.text+"</div>"+b},templateSelection:function(a){return c.location.href=a.path,null},escapeMarkup:function(a){return a}})},a.omnisearch=d}(Bolt||{},jQuery,window),function(a,b,c){"use strict";function d(){b("#navpage-secondary").outerHeight(0);var a=b(document).height()-b("#navpage-secondary").position().top,e=3e3;a!==b("#navpage-secondary").outerHeight()&&(b("#navpage-secondary").outerHeight(a),e=300),c.setTimeout(d,e)}function e(){b(".navbar-toggle").on("click",function(){var a=b("#navpage-wrapper");a.hasClass("nav-secondary-opened")?a.removeClass("nav-secondary-opened nav-secondary-collapsed"):a.removeClass("nav-secondary-collapsed").addClass("nav-secondary-opened")})}function f(){b(".nav-secondary-collapse a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-opened").addClass("nav-secondary-collapsed"),setTimeout(function(){b("#navpage-wrapper").addClass("nav-secondary-collapsed-hoverable")},300),b.cookie("sidebar","collapsed",{expires:21,path:"/"}),b("#bolt-footer").addClass("bolt-footer-hidden"),!1})}function g(){b(".nav-secondary-expand a").on("click",function(){return b("#navpage-wrapper").removeClass("nav-secondary-collapsed nav-secondary-opened nav-secondary-collapsed-hoverable"),b.removeCookie("sidebar",{path:"/"}),b("#bolt-footer").removeClass("bolt-footer-hidden"),!1})}function h(){b("#navpage-secondary").find("a.menu-pop").each(function(){var a=b(this),d="";a.nextAll(".submenu").children().each(function(){b(this).hasClass("subdivider")&&(d+="<hr>"),d+=b(this).html().trim().replace(/[ \\n]+/g," ").replace(/(>) | (<)/g,"$1$2")}),a.popover({trigger:"manual",content:d,html:!0}),a.on("mouseover focus click dblclick",function(a){var d=this,e=300;"click"!==a.type||b(d).next().hasClass("popover")||(a.preventDefault(),e=0),c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").not(d).popover("hide"),b(d).popover("show")},e)})}).end().on("mouseenter focus",".popover",function(){c.clearTimeout(k)}).on("mouseleave blur","a.menu-pop, .popover",function(){c.clearTimeout(k),k=c.setTimeout(function(){b("#navpage-secondary a.menu-pop").popover("hide")},300)})}function i(){b("#navpage-secondary a.menu-pop").on("click",function(a){var c=b(this).nextAll(".submenu");a.preventDefault(),c.hasClass("show")?c.removeClass("show"):(b("#navpage-secondary .submenu").removeClass("show"),c.addClass("show"))})}var j={};j.init=function(){var a=!b(".navbar-toggle").is(":visible");e(),f(),g(),b("#navpage-secondary").length&&d(),a?h():i()};var k=0;a.secmenu=j}(Bolt||{},jQuery,window),function(a,b){"use strict";var c={};c.init=function(){b("a[data-bolt-addtostack]").each(function(){b(this).on("click",function(a){var d=b(a.currentTarget),e=d.data("bolt-addtostack");a.preventDefault(),c.addToStack(e,d)})})},c.addToStack=function(c,d){c=c.replace(/files\\//gi,""),b.get(a.conf("paths.async")+"stack/add/"+c).done(function(){d&&b(d).addClass("disabled"),b(":bolt-buicStack").buicStack("prepend",c)}).fail(function(){console.log("Failed to add file to stack")})},a.stack=c}(Bolt||{},jQuery),function(a){"use strict";var b={};b.humanBytes=function(b){for(var c=" kMGTPEZY",d=-1;++d<8&&Math.abs(b)>=1e3;)b/=1e3;return b="object"==typeof Intl&&Intl&&"function"==typeof Intl.NumberFormat?b.toLocaleString(a.conf("locale.long").replace(/_/g,"-"),{maximumSignificantDigits:3}):b.toFixed(2),b+" "+c[d].trim()+"B"},b.filterInt=function(a,b){return/^(\\-|\\+)?([0-9]+|Infinity)$/.test(a)?Number(a):b||NaN},a.utils=b}(Bolt||{}),function(a){"use strict";a.widget("bolt.baseField",{_create:function(){}})}(jQuery),function(a){"use strict";var b={};a.widget("bolt.baseInterval",{options:{delay:1e4},_create:function(){var c=this,d=this.widgetName;if(!b[d]){var e=a.Callbacks(),f=setInterval(e.fire,this.options.delay);b[d]={id:f,delay:this.options.delay,callbacks:e}}this._fncUpdate=function(){c._update()},b[d].callbacks.add(this._fncUpdate)},_destroy:function(){var a=this.widgetName;b[a].callbacks.remove(this._fncUpdate),b[a].callbacks.has()||(clearInterval(b[a].id),delete b[a])}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicBrowser",{options:{namespace:"",path:"",multiselect:!1},_create:function(){this._url=b.conf("paths.async")+"browse/"+this.options.namespace+(this.options.path?"/"+this.options.path:""),this._on({click:function(){this._browse()}})},_browse:function(){var b=this,c={multiselect:this.options.multiselect},d=[],e=!1;a("body").buicModal({size:"large",remote:{url:b._url,data:c},loaded:function(c,f){var g=f.footer.find("[data-fbrowser-add-checked]");f.body.find(".entry").each(function(){var b=a(this).closest("tr"),c=a(this).text().trim(),d=c.match(/\\.(.+?[^\\/])$/);a(b).attr("data-bolt-browse-name",c).attr("data-bolt-browse-ext",d?d[1]:"")}),f.header.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}),f.body.on("click.bolt","[data-fbrowser-chdir]",function(c){c.preventDefault(),b._url=a(this).data("fbrowser-chdir"),b._browse()}).on("click.bolt","[data-fbrowser-select]",function(c){c.preventDefault(),b._trigger("selected",null,{path:a(this).data("fbrowser-select")}),f.close()}).on("click.bolt","[aria-pressed]",function(b){var c="false"===a(this).attr("aria-pressed"),d=this.className.replace("toogle-","");a(this).attr("aria-pressed",c?"true":"false"),f.body.find("tbody."+d).toggleClass("hidden",!c),b.clientX>0&&this.blur()}).on("change",\'select[name="ext"]\',function(){b._filter(f)}).keyup(\'input[name="filter"]\',function(){b._filter(f)}).on("change","[data-fbrowser-check]",function(){var b=d.indexOf(a(this).data("fbrowser-check"));b>-1?(d.splice(b,1),e=!1,console.log(d.length),0===d.length&&g.addClass("disabled")):(d.push(a(this).data("fbrowser-check")),g.removeClass("disabled"))}),f.footer.on("click.bolt",".toggle-all",function(b){b.preventDefault(),e?(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!1)}),d.length=0,e=!1,g.addClass("disabled")):(f.body.find("[data-fbrowser-check]").each(function(){a(this).prop("checked",!0),d.push(a(this).data("fbrowser-check"))}),e=!0,g.removeClass("disabled"))}).on("click.bolt","[data-fbrowser-add-checked]:not(.disabled)",function(a){a.preventDefault(),d.forEach(function(a){b._trigger("selected",null,{path:a})}),f.close()})}})},_filter:function(b){var c,d,e=b.body.find(\'input[name="filter"]\').val(),f=b.body.find(\'select[name="ext"]\').val();b.body.find("[data-bolt-browse-name]").each(function(){c=a(this).data("bolt-browse-name"),d=""!==f&&a(this).data("bolt-browse-ext")!==f||""!==e&&c.search(e)<0,a(this).toggleClass("hidden",d),d||a(this).find("a, span").each(function(){a(this).html(c.replace(e,"<mark>"+e+"</mark>"))})})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicCheckbox",{_create:function(){var a=this.element.find("button"),b=this.element.find("input");this._on(a,{click:function(){b.prop("checked",!b.prop("checked"))}})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicListing",{_create:function(){this.csrfToken=this.element.data("bolt_csrf_token"),this.contentType=this.element.data("contenttype"),this.contentTypeName=this.element.data("contenttype-name"),this.element.find("table.listing tbody").buicListingPart()},modifyRecords:function(c,d,e){var f,g=this,h={},i={"delete":{name:b.data("recordlisting.action.delete",{"%CTNAME%":this.contentTypeName}),cmd:{"delete":null}},publish:{name:b.data("recordlisting.action.publish",{"%CTNAME%":this.contentTypeName}),cmd:{modify:{status:"published"}}},depublish:{name:b.data("recordlisting.action.depublish"),cmd:{modify:{status:"held"}}},draft:{name:b.data("recordlisting.action.draft"),cmd:{modify:{status:"draft"}}}};h[g.contentType]={},a(d).each(function(){h[g.contentType][this]=i[c].cmd}),f=1===d.length?b.data("recordlisting.confirm.one"):b.data("recordlisting.confirm.multi",{"%NUMBER%":"<b>"+d.length+"</b>"}),f=f+"<br><br><b>"+b.data("recordlisting.confirm.no-undo")+"</b>",bootbox.dialog({message:f,title:i[c].name,buttons:{cancel:{label:b.data("recordlisting.action.cancel"),className:"btn-default"},ok:{label:e,className:"btn-primary",callback:function(){var c=b.conf("paths.async")+"content/action"+window.location.search;a.ajax({url:c,type:"POST",data:{bolt_csrf_token:g.csrfToken,contenttype:g.contentType,actions:h},success:function(a){g.element.html(a),g.element.find("table.listing tbody").buicListingPart()},error:function(a,b,c){console.log(a.status+" ("+c+"):"),console.log(JSON.parse(a.responseText))},dataType:"html"})}}}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.buicListingPart",{_create:function(){var b=this;this.listing=this.element.closest(":bolt-buicListing"),this.toolbar=this.element.find("tr.selectiontoolbar"),this.toolbarCount=this.toolbar.find("div.count"),this.menu=this.element.find("tr.header th.menu"),this.menuOnlyOnSelection=this.menu.find("li:not(.select-all)"),this.menuSelectionCount=this.menu.find("li.dropdown-header"),this.menuSelectionCountTemplate=this.menuSelectionCount.text(),this.selectedIds=[],this.menu.find("li.select-all, li.select-none").on("click",function(){var c=a(this).hasClass("select-all");b.element.find(\'td input:checkbox[name="checkRow"]\').each(function(){this.checked=c,b._update(this)})}),this.element.find(\'td input:checkbox[name="checkRow"]\').on("click",function(){b._update(this)}),this.toolbar.find(\'button[data-stb-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("stb-cmd"),b.selectedIds,a(this).html())}),this.element.find(\'a[data-listing-cmd^="record:"]\').on("click",function(){b._modifyRecords(a(this).data("listing-cmd"),[a(this).parents("tr").attr("id").substr(5)],a(this).html())})},_modifyRecords:function(a,b,c){b.length>0&&this.listing.buicListing("modifyRecords",a.replace(/^record:/,""),b,c)},_update:function(b){var c,d=a(b).closest("tr"),e=d.attr("id").substr(5);b.checked?(this.selectedIds.push(e),d.addClass("row-selected")):(this.selectedIds.splice(this.selectedIds.indexOf(e),1),d.removeClass("row-selected")),c=this.selectedIds.length,c?(this.toolbar.removeClass("hidden"),this.menuOnlyOnSelection.removeClass("hidden")):(this.toolbar.addClass("hidden"),this.menuOnlyOnSelection.addClass("hidden")),this.toolbarCount.text(c),this.menuSelectionCount.text(this.menuSelectionCountTemplate.replace("(#)","("+c+")"))}})}(jQuery),function(a){"use strict";a.widget("bolt.buicModal",{options:{size:void 0,closer:!1,classname:void 0,headline:void 0,header:void 0,body:void 0,footer:void 0,remote:void 0,loaded:void 0},_create:function(){var b=this,c=a(\'<div class="modal-header hidden"/>\'),d=a("<div class=modal-body/>"),e=a(\'<div class="modal-footer hidden"/>\'),f=a("<div class=modal-content/>").append(c,d,e),g=a("<div class=modal-dialog role=document/>").append(f),h=a(\'<div tabindex=-1 role=dialog class="modal fade buic-modal"/>\').append(g);this._ui={header:c,body:d,footer:e,content:f,dialog:g,modal:h},this._on(this.element,{"click .modal-retry":function(){b._load()}}),b.element.prepend(b._ui.modal),b._ui.modal.on("show.bs.modal",function(){b._fire("show")}).on("shown.bs.modal",function(){b._fire("shown")}).on("hide.bs.modal",function(){b._fire("hide")}).on("hidden.bs.modal",function(){b._fire("hidden"),b.destroy()}).modal("show")},_destroy:function(){this._ui.modal.data("modal",null).remove()},_fire:function(a){var b=this;b._trigger(a,null,{close:function(){b._ui.modal.modal("hide")},header:b._ui.header,body:b._ui.body,footer:b._ui.footer})},_init:function(){this._ui.dialog.toggleClass("modal-sm","small"===this.options.size).toggleClass("modal-lg","large"===this.options.size),this.options.remote?this._load():this._update()},_load:function(){var b=this;b._ui.content.addClass("modal-loading"),a.get(b.options.remote.url,b.options.remote.data||{}).done(function(c){b.options.classname=a(c)[0].className,a.each(["header","body","footer"],function(d,e){var f=a(c).children(e.replace("body","main"))[0];b.options[e]=f?f.innerHTML:void 0}),b._update(),b._fire("loaded")}).fail(function(){b.options.header=void 0,b.options.body=\'<button type=button class="btn btn-default modal-retry"><i class="fa fa-refresh"></i></button>\',b.options.footer=void 0,b._update()}).always(function(){b._ui.content.removeClass("modal-loading")})},_update:function(){var b,c=this;void 0!==this.options.headline&&(this.options.header=a(),this.options.closer&&(this.options.header=this.options.header.add(\'<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>\')),this.options.header=this.options.header.add(a(\'<h4 class="modal-title"/>\').append(this.options.headline))),this._ui.content.attr("class","modal-content").addClass(this.options.classname),a.each(["header","body","footer"],function(d,e){b=a("<div>").append(c.options[e]).html()||"",c._ui[e].off().toggleClass("hidden",!b.length).html(b)}),this._ui.modal.modal("handleUpdate")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicMoment",a.bolt.baseInterval,{options:{delay:15e3,titleFormat:"YYYY-MM-DD HH:mm:ss ZZ"},_create:function(){this.set(),this._super()},_update:function(){this.element.html(b(this.element.attr("datetime")).fromNow())},set:function(a){a?this.element.attr("datetime",b(a).format()):a=this.element.attr("datetime"),this.element.attr("title",b(a).format(this.options.titleFormat)),this._update()}})}(jQuery,moment),function(a){"use strict";var b=\'<div class="progress"><div class="progress-bar progress-bar-striped active" role="progressbar" aria-valuemin="0" aria-valuemax="100"></div></div>\';a.widget("bolt.buicProgress",{_create:function(){this.bars={},this.element.addClass("buic-progress")},_set:function(a,b){b=parseFloat(b),b=isNaN(b)?0:Math.min(100,Math.max(0,Math.round(100*b))),this.bars[a]&&this.bars[a].find(".progress-bar").attr("aria-valuenow",b).css("width",b+"%")},add:function(c,d,e){this.bars[c]||(this.bars[c]=a(b),this.bars[c].attr("data-label",e||c).find(".progress-bar").text(e||c),this._set(c,d),this.element.append(this.bars[c]).show(),this.bars[c].show(300))},remove:function(a){if(this.bars[a]){var b=this,c=this.bars[a];delete this.bars[a],c.hide(300,function(){c.remove(),0===Object.keys(b.bars).length&&b.element.hide()})}},set:function(a,b){this._set(a,b)}})}(jQuery),function(a){"use strict";a.widget("bolt.buicSelect",{_create:function(){this.select=this.element.find("select"),this.buttonAll=this.element.find(".select-all"),this.buttonNone=this.element.find(".select-none"),this.buttonAll.prop("title",this.buttonAll.text().trim()),this._on(this.buttonAll,{click:function(){this.all()}}),this.buttonNone.prop("title",this.buttonNone.text().trim()),this._on(this.buttonNone,{click:function(){this.none()}}),this._update(),this._on(this.select,{change:function(){this._update()}})},_update:function(){var a=this.select.find("option"),b=a.length,c=a.filter(":selected").length,d=this.select.prop("multiple")?0===c:""===this.select.val();this.buttonAll.prop("disabled",c===b),this.buttonNone.prop("disabled",d)},all:function(){this.select.find("option").prop("selected",!0).trigger("change")},none:function(){this.select.val(null).trigger("change")}})}(jQuery),function(a,b){"use strict";a.widget("bolt.buicStack",{_addPath:function(a,c){b.stack.addToStack(c.path)},_create:function(){var a=this,b=this.element;this._ui={holder:b.find(".stackholder"),template:{image:b.find(".templates .image"),other:b.find(".templates .other")}},a._on({buicbrowserselected:a._addPath,buicuploaduploaded:a._addPath}),b.buicUpload()},prepend:function(c){var d=c.substr(c.lastIndexOf(".")+1).toUpperCase();a(".stackitem:nth-child(7)",this._ui.holder).remove(),a(".empty").remove(),this._ui.template[d.match(/^(JPE?G|PNG|GIF)$/)?"image":"other"].clone().find("img").attr("src",b.conf("paths.bolt")+"../thumbs/100x100c/"+encodeURI(c)).end().find("strong").html(d).end().find("small").html(c).end().prependTo(this._ui.holder)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.buicUpload",{_create:function(){var c=this.element,d=a("input[type=file]",c),e=a(".dropzone",c),f=a(d).attr("accept"),g=f?f.replace(/^\\./,"").split(/,\\./):[],h=new RegExp("(\\\\.|\\\\/)("+g.join("|")+")$","i");if(null===this.options.maxSize){var i=Math.floor(b.conf("uploadConfig.maxSize"));this.options.maxSize=b.utils.filterInt(i,2e6)}this._ui={progress:null},d.fileupload({dataType:"json",dropZone:e,pasteZone:null,maxFileSize:this.options.maxSize>0?this.options.maxSize:void 0,minFileSize:void 0,acceptFileTypes:f?h:void 0,maxNumberOfFiles:void 0,messages:{maxFileSize:">:"+b.utils.humanBytes(this.options.maxSize),minFileSize:"<",acceptFileTypes:"T:."+g.join(", ."),maxNumberOfFiles:"#"}}),this._on({fileuploadprocessfail:this._onProcessFail,fileuploadsubmit:this._onUploadSubmit,fileuploadprogress:this._onUploadProgress,fileuploadalways:this._onUploadAlways,fileuploaddone:this._onUploadDone})},_onProcessFail:function(a,c){var d,e=c.files[c.index],f=e.error.substr(0,1),g={"%FILENAME%":e.name,"%FILESIZE%":b.utils.humanBytes(e.size),"%FILETYPE%":e.type,"%ALLOWED%":e.error.substr(2)};switch(f){case">":d=b.data("field.uploads.template.large-file",g);break;case"T":d=b.data("field.uploads.template.wrong-type",g);break;default:d="<p>"+e.error+"</p>"}bootbox.alert(d)},_onUploadSubmit:function(a,b){this._progress("add",b.files)},_onUploadProgress:function(a,b){this._progress("set",b.files,b.loaded/b.total)},_onUploadAlways:function(a,b){this._progress("remove",b.files)},_onUploadDone:function(c,d){var e=this;a.each(d.result,function(a,d){d.error?bootbox.alert(b.data("field.uploads.template.error",{"%ERROR%":d.error})):e._trigger("uploaded",c,{path:d.name})})},_progress:function(b,c,d){var e=this;null===e._ui.progress&&(e._ui.progress=a(":bolt-buicProgress",e.element)),a.each(c,function(){e._ui.progress.buicProgress(b,this.name,d)})},options:{maxSize:null}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldCategories",a.bolt.baseField,{_create:function(){var a=this.element.find("select");a.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.categories.text.placeholder")}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFile",a.bolt.baseField,{_create:function(){var c=this,d=this.element,e=(a("input[accept]",d).prop("accept")||"").replace(/\\./g,""),f=a("input.path",d);f.autocomplete({source:b.conf("paths.async")+"file/autocomplete?ext="+encodeURIComponent(e),minLength:2,close:function(){a(f).trigger("change")}}),c._on({"click.select-from-stack a":c._onSelectFromStack,buicbrowserselected:c._onSetPath,buicuploaduploaded:c._onSetPath}),d.buicUpload()},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onSetPath(b,{path:c.data("path")}),b.preventDefault()},_onSetPath:function(c,d){a("input.path",this.element).val(d.path).trigger("change"),"click"!==c.type&&b.stack.addToStack(d.path)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldFilelist",a.bolt.baseField,{_create:function(){var b=this,c=this.element;this._ui={data:c.find("textarea"),list:c.find(".list")},this._lastClickIndex=0,b.options.isImage=this.options.isImage||!1,b._ui.list.sortable({helper:function(b,c){return c.addClass("selected"),a("<div/>")},start:function(b,d){var e=a(".selected",c).not(".ui-sortable-placeholder"),f=e.length,g=d.placeholder,h=g.outerHeight(!0),i=g.height(),j=parseInt(g.css("margin-top"))+parseInt(g.css("margin-bottom"));e.hide(),g.height(i+(f-1)*h-j),d.item.data("items",e)},beforeStop:function(a,b){b.item.before(b.item.data("items"))},stop:function(){a(".selected",c).show(),b._serialize()},axis:"y",delay:100,distance:5}),b._on(b._ui.list,{"click.item":b._onSelect,"click.remove":b._onRemove,"change input":b._serialize}),a("input.title",b._ui.list).on("keyup",b._updateTitle),b._on({"click.select-from-stack a":b._onSelectFromStack,buicbrowserselected:b._onAddPath,buicuploaduploaded:b._onAddPath}),c.buicUpload()},_onAddPath:function(b,c){a(">p",this._ui.list).remove(),this._ui.list.append(a(Bolt.data(this.options.isImage?"field.imagelist.template.item":"field.filelist.template.item",{"%TITLE_A%":c.path.replace(/\\.[a-z0-9]+$/,""),"%FILENAME_E%":a("<div>").text(c.path).html(),"%FILENAME_A%":c.path,"%EXT_E%":c.path.replace(/^.+?\\.([a-z0-9]+)$/,"$1").toUpperCase()}))),this._serialize()},_onRemove:function(c){var d=a(c.target).closest(".item"),e=d.hasClass("selected")?a(".selected",this._ui.list):d,f=this.options.isImage?"field.imagelist.message.remove":"field.filelist.message.remove",g=this.options.isImage?"field.imagelist.message.removeMulti":"field.filelist.message.removeMulti";e.addClass("zombie"),confirm(b.data(e.length>1?g:f))?(c.target.closest(".item").remove(),this._serialize()):e.removeClass("zombie"),c.preventDefault(),c.stopPropagation()},_onSelect:function(b){var c=a(b.target);if(c.hasClass("item"))if(b.shiftKey){var d=Math.min(this._lastClickIndex,c.index()),e=Math.max(this._lastClickIndex,c.index());this._ui.list.children().each(function(b,c){a(c).toggleClass("selected",b>=d&&e>=b)})}else if(b.ctrlKey||b.metaKey)c.toggleClass("selected"),this._lastClickIndex=c.index();else{var f=this._ui.list.children(".selected").not(c);f.removeClass("selected"),c.toggleClass("selected",f.length>0?!0:null),this._lastClickIndex=c.index()}},_onSelectFromStack:function(b){var c=a(b.target);c.closest(".btn-group").removeClass("open"),this._onAddPath(b,{path:c.data("path")}),b.preventDefault()},_serialize:function(){var c=this.options.isImage?"field.imagelist.template.empty":"field.filelist.template.empty",d=[];a(".item",this._ui.list).each(function(){d.push({filename:a("input.filename",this).val(),title:a("input.title",this).val()})}),this._ui.data.val(JSON.stringify(d)),0===d.length&&this._ui.list.html(b.data(c))},_updateTitle:function(b){var c=a(b.target).closest(".item");a("a",c).attr("title",a(".title",c).val())}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldGeolocation",a.bolt.baseField,{options:{latitude:"",longitude:""},_create:function(){var a=this,c=a.element;this._ui={address:c.find(".address"),matched:c.find(".matched"),mapholder:c.find(".mapholder"),spinner:c.find(".mapholder i"),latitude:c.find(".latitude"),longitude:c.find(".longitude"),snap:c.find(".snap")},this._map=null,this._marker=null,this._timeout=0,a._on({"click.expand":a._onExpand,"click.compress":a._onExpand});var d=function(){b.events.off("Bolt.GoogleMapsAPI.Load.Done",d),a._initGoogleMap(a.options.latitude,a.options.longitude)};b.events.on("Bolt.GoogleMapsAPI.Load.Done",d),b.events.on("Bolt.GoogleMapsAPI.Load.Fail",function(){a._ui.spinner.removeClass("fa-spinner fa-spin").addClass("fa-refresh").one("click",function(){a._ui.spinner.removeClass("fa-refresh").addClass("fa-spinner fa-spin"),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")})}),b.events.fire("Bolt.GoogleMapsAPI.Load.Request")},_geoCode:function(a){var b=this;a&&(new google.maps.Geocoder).geocode(a,function(c,d){if(d===google.maps.GeocoderStatus.OK){var e;e=a.latLng&&!b._ui.snap.is(":checked")?a.latLng:c[0].geometry.location,b._display(c[0].formatted_address,e.lat(),e.lng()),b._marker.setPosition(e),b._map.setCenter(e)}}),b._display()},_display:function(a,b,c){this._ui.matched.val(a||""),this._ui.latitude.val(b||""),this._ui.longitude.val(c||"")},_initGoogleMap:function(c,d){var e=this,f={zoom:15,mapTypeId:google.maps.MapTypeId.ROADMAP,center:new google.maps.LatLng(c,d),streetViewControl:!1};e._map=new google.maps.Map(e._ui.mapholder[0],f),e._marker=new google.maps.Marker({map:e._map,position:f.center,title:b.data("field.geolocation.marker"),draggable:!0,animation:google.maps.Animation.DROP,icon:b.conf("paths.app")+"view/img/pin_red.png"}),google.maps.event.addListener(e._marker,"mouseup",function(){e._geoCode({latLng:e._marker.getPosition()})}),e._ui.address.on("propertychange input",function(){clearTimeout(e._timeout),e._timeout=setTimeout(function(){var a=e._ui.address.val();e._geoCode(a.length>2?{address:a}:void 0)},800)}),a(\'a[data-toggle="tab"]\').on("shown.bs.tab",function(){e._ui.mapholder.closest("div.tab-pane").hasClass("active")&&google.maps.event.trigger(e._map,"resize")})},_onExpand:function(){var a=this._marker.getPosition();this._ui.mapholder.parent().toggleClass("expanded"),google.maps.event.trigger(this._map,"resize"),this._map.setCenter(a)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldHtml",a.bolt.baseField,{_create:function(){b.ckeditor.add(this.element.find(".ckeditor")[0])}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldImage",a.bolt.fieldFile,{_create:function(){var a=this.element,c=a.find("input.path"),d=a.find("img"),e=d.attr("width"),f=d.attr("height");this._super(),this._on(c,{change:function(){var a=c.val(),g=b.conf("paths.app")+"view/img/default_empty_4x3.png";a&&(g=b.conf("paths.root")+"thumbs/"+e+"x"+f+"c/"+encodeURI(a)),d.attr("src",g)}})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldImagelist",a.bolt.fieldFilelist,{_create:function(){this.options.isImage=!0,this._super()}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldMarkdown",a.bolt.baseField,{_create:function(){b.$("textarea[data-uk-htmleditor]",this.element).each(function(){var a=b.$(this);a.data("htmleditor")||b.htmleditor(a,b.Utils.options(a.attr("data-uk-htmleditor")))})}})}(jQuery,"undefined"!=typeof UIkit?UIkit:void 0),function(a){"use strict";a.widget("bolt.fieldMeta",a.bolt.baseField,{_create:function(){var a=this.element.find("#statusselect"),b=this.element.find("#ownerid");a.select2({width:"50%",minimumResultsForSearch:1/0}),b.select2({width:"50%",minimumResultsForSearch:1/0})}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldRelationship",a.bolt.baseField,{_create:function(){var c=this.element.find("select");c.select2({width:"100%",placeholder:{id:"",text:b.data("field.relationship.text.placeholder")},allowClear:!0,templateSelection:function(b){var c=a(b.element).parent().attr("label");return(c?c+": ":"")+b.text}})}})}(jQuery,Bolt),function(a,b,c){"use strict";a.widget("bolt.fieldRepeater",a.bolt.baseField,{options:{minimum:1,maximum:1,name:""},_create:function(){var b=this;for(this._ui={add:b.element.find(".add-button"),slot:b.element.find(".repeater-slot")},this._template=a(b.element.find(\'script[type="text/template"]\').html()),this._count=b._ui.slot.find("div.repeater-group").length,0===b.options.maximum&&(b.options.maximum=1/0),b._setCount(),b._ui.add.on("click",function(){b._append()}),b.element.on("click",".duplicate-button",function(){var c=a(this).closest(".repeater-group"),d=b._clone(b._template);a(c).find(":input").each(function(b){var c=a(this).val();c&&a(d).find(":input").eq(b).val(c)}),c.after(d),b._setCount(1),b._renumber()}),b.element.on("click",".delete-button",function(){var c=a(this).closest(".repeater-group");c.remove(),b._setCount(-1),b._renumber()}),b.element.on("click",".move-up",function(){var c=a(this).closest(".repeater-group");c.insertBefore(c.prev(".repeater-group")),b._renumber(),b._resetEditors(c)}),b.element.on("click",".move-down",function(){var c=a(this).closest(".repeater-group");c.insertAfter(c.next(".repeater-group")),b._renumber(),b._resetEditors(c)});b._count<b.options.minimum;)b._append()},_append:function(){var a=this._clone(this._template);this._ui.slot.append(a),this._setCount(1),this._renumber(),b.datetime.init(),b.ckeditor.init()},_clone:function(c){var d=a(c).clone();return d.find("[id]").each(function(){var c=a(this).attr("id"),e=b.app.buid();a(this).attr("id",e),d.find(\'[for="\'+c+\'"]\').each(function(){a(this).attr("for",e)})}),b.app.initWidgets(d),d},_renumber:function(){var b=this.options.name,c=b.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&"),d=new RegExp("^"+c+"\\\\[(#|\\\\d)\\\\]");\nthis._ui.slot.find("div.repeater-group").each(function(c,e){a(e).find("[name]").each(function(){this.name=this.name.replace(d,b+"["+c+"]")}),a(e).is(":first-of-type")?a(e).find(".move-up").addClass("disabled"):a(e).find(".move-up").removeClass("disabled"),a(e).is(":last-of-type")?a(e).find(".move-down").addClass("disabled"):a(e).find(".move-down").removeClass("disabled")})},_resetEditors:function(a){var b=a.find(".ckeditor");b.each(function(a,b){c.instances[b.id].destroy(),c.replace(b.id)})},_setCount:function(a){this._count+=a||0,this._count>=this.options.maximum?(this._ui.add.addClass("disabled"),this.element.find(".duplicate-button").addClass("disabled")):(this._ui.add.removeClass("disabled"),this.element.find(".duplicate-button").removeClass("disabled")),this._count<=this.options.minimum?this.element.find(".delete-button").addClass("disabled"):this.element.find(".delete-button").removeClass("disabled")}})}(jQuery,Bolt,"undefined"!=typeof CKEDITOR?CKEDITOR:void 0),function(a,b){"use strict";a.widget("bolt.fieldSelect",a.bolt.baseField,{options:{autocomplete:!1},_create:function(){var a=this.element.find("select");a.select2({width:"100%",placeholder:{id:"",text:b.data("field.select.text.placeholder")},allowClear:!0,minimumResultsForSearch:this.options.autocomplete?0:1/0})}})}(jQuery,Bolt),function(a,b){"use strict";var c={lock:1,link:2,edit:3};a.widget("bolt.fieldSlug",a.bolt.baseField,{options:{contentId:null,key:"",slug:"",uses:[]},_create:function(){var b=this,d=this.element;this._ui={form:this.element.closest("form"),group:d.find(".input-group"),data:d.find("input"),uses:a()},a("[name]",b._ui.form).each(function(){b.options.uses.indexOf(this.name.replace(/\\[\\]$/,""))>=0&&(b._ui.uses=b._ui.uses.add(a(this)))}),this._timeout=0,this._mode=c.lock,this._ui.group.hasClass("linked")?this._setMode(c.link):this._ui.group.hasClass("editable")&&(this._mode=c.edit),this._on({"click li.lock":function(a){a.preventDefault(),this._setMode(c.lock)},"click li.link":function(a){a.preventDefault(),this._setMode(c.link)},"click li.edit":function(a){a.preventDefault(),this._setMode(c.edit),this.element.find("input").focus()},"focusout input":function(){this._mode===c.edit&&this._setMode(c.lock)}})},_destroy:function(){clearTimeout(this._timeout)},_setMode:function(b){var d=b===c.lock,e=b===c.link,f=b===c.edit;a("li.lock",this.element).toggleClass("disabled",d),a("li.link",this.element).toggleClass("disabled",e),a("li.edit",this.element).toggleClass("disabled",f),this._ui.group.toggleClass("locked",d).toggleClass("linked",e).toggleClass("edititable",f),a(".warning",this.element).toggleClass("hidden",!f),this._ui.data.prop("readonly",!f),e?(this._buildSlug(),this._on(this._ui.uses,{change:function(){this._buildSlug()},input:function(){this._buildSlug()}})):this._timeout>0&&(clearTimeout(this._timeout),this._timeout=0,this._off(this._ui.uses,"change"),this._off(this._ui.uses,"input")),this._mode=b},_buildSlug:function(){var b,c=this,d="";a.each(c._ui.uses,function(c,e){b=a(e).val(),b&&(d+=("object"==typeof b?b.join(" "):b)+" ")}),clearTimeout(c._timeout),c._timeout=setTimeout(function(){c._getUri(d.trim())},200)},_getUri:function(d){var e=this,f={title:d,contenttypeslug:e.options.slug,id:e.options.contentId,slugfield:e.options.key,fulluri:!1};e._ui.group.addClass("loading"),a.get(b.conf("paths.async")+"makeuri",f).done(function(a){e._mode===c.link&&e._ui.data.val(a)}).fail(function(){console.log("failed to get an URI")}).always(function(){e._ui.group.removeClass("loading")})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTags",a.bolt.baseField,{options:{slug:"",allowSpaces:!1},_create:function(){var c=this.element.find("select"),d=this.element.find(".tagcloud"),e=this.options.slug,f=[","],g={};this.options.allowSpaces||f.push(" "),c.select2({width:"100%",tags:g,minimumInputLength:1,tokenSeparators:f}),a.ajax({url:b.conf("paths.root")+"async/tags/"+e,dataType:"json",success:function(b){var d=c.val()||[];a.each(b,function(b,e){d.indexOf(e.name)<0&&(d.push(e.name),c.append(a("<option/>",{value:e.name,text:e.name})).trigger("change"))})}}),d&&a.ajax({url:b.conf("paths.root")+"async/populartags/"+e,dataType:"json",data:{limit:40},success:function(b){b.length>0&&(a.each(b,function(b,c){d.append(a("<button/>",{type:"button",text:c.name,rel:c.count})).append("")}),d.find("button").on("click",function(){var b=a(this).text(),d=c.find(\'option[value="\'+b+\'"]\');d.length>0?d=d.not(":selected").attr("selected",!0).trigger("change"):c.append(a("<option/>",{value:b,text:b,selected:!0})).trigger("change")}),a.fn.tagcloud.defaults={size:{start:10,end:20,unit:"px"},color:{start:"#888",end:"#194770"}},d.find("button").tagcloud(),d.css("display","block"))}})}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.fieldTemplateselect",a.bolt.baseField,{options:{currentHas:!1,current:"",fieldTemplates:[]},_create:function(){var c=this,d=c.element.find("select"),e=c.element.find("p"),f=e.parent();d.select2({width:"100%",allowClear:!0,placeholder:{id:"",text:b.data("field.templateselect.text.default")},minimumResultsForSearch:1/0}),d.on("change",function(){if(f.addClass("hidden"),e.html("").removeClass("text-danger"),d.val()!==c.options.current)if(c.options.currentHas){e.html(b.data("field.templateselect.template.warning",{"%STATUS%":b.data("field.templateselect.message.status"),"%MESSAGE%":b.data("field.templateselect.message.warning")}));var g=!0;a(\'[name^="templatefields"]\').each(function(){"checkbox"!==a(this).attr("type")&&"SELECT"!==a(this).prop("tagName")&&""!==a(this).val()&&(g=!1),"checkbox"===a(this).attr("type")&&a(this).prop("checked")&&(g=!1)}),g?a("#tabindicator-tab-template").hide():(e.addClass("text-danger"),f.removeClass("hidden"))}else c.options.fieldTemplates.indexOf(d.val())>-1&&(e.html(b.data("field.templateselect.message.change")),f.removeClass("hidden"),a("#tabindicator-tab-template").show())})}})}(jQuery,Bolt),function(a){"use strict";a.widget("bolt.fieldText",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a){"use strict";a.widget("bolt.fieldTextarea",a.bolt.baseField,{_create:function(){}})}(jQuery),function(a,b){"use strict";a.widget("bolt.fieldVideo",a.bolt.baseField,{_create:function(){var b=this,c=this.element,d=0;this._ui={url:c.find("input.url"),width:c.find("input.width"),height:c.find("input.height"),html:c.find("input.html"),ratio:c.find("input.ratio"),authorName:c.find("input.authorname"),authorUrl:c.find("input.authorurl"),title:c.find("input.title"),thumbnailUrl:c.find("input.thumbnailurl"),preview:c.find("img"),play:c.find(".imageholder button"),refresh:c.find("button.refresh"),spinner:c.find("button.refresh i")},b._ui.url.on("propertychange input",function(){clearTimeout(d),d=setTimeout(function(){b._update()},1e3)}),b._ui.width.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.height.val(Math.round(b._ui.width.val()/b._ui.ratio.val()))}),b._ui.height.on("propertychange input",function(){b._ui.ratio.val()>0&&b._ui.width.val(Math.round(b._ui.height.val()*b._ui.ratio.val()))}),b._ui.refresh.on("click",function(){b._update()}),b._ui.play.on("click",function(){a("body").buicModal({size:"large",closer:!0,headline:b._ui.title.val(),body:b._ui.html.val()})})},_update:function(){var b=this,c="https://api.embed.ly/1/oembed",d={format:"json",key:"51fa004148ad4d05b115940be9dd3c7e",url:b._ui.url.val()};d.url.length<2?b._set({}):(this._ui.refresh.prop("disabled",!0),b._ui.spinner.addClass("fa-spin"),a.getJSON(c,d).done(function(a){b._set(a)}).fail(function(){b._set({})}).always(function(){b._ui.spinner.removeClass("fa-spin")}))},_set:function(a){var c=a.thumbnail_url||b.conf("paths.app")+"view/img/default_empty_4x3.png";this._ui.html.val(a.html||""),this._ui.width.val(a.width||""),this._ui.height.val(a.height||""),this._ui.ratio.val(a.width&&a.height?a.width/a.height:""),this._ui.authorName.val(a.author_name||""),this._ui.authorUrl.val(a.author_url||""),this._ui.title.val(a.title||""),this._ui.thumbnailUrl.val(a.thumbnail_url||""),this._ui.preview.attr("src",c),a.html?this._ui.play.removeClass("hidden"):this._ui.play.addClass("hidden"),this._ui.refresh.prop("disabled",this._ui.url.val().length<=2||this._ui.html.val().length>0)}})}(jQuery,Bolt),function(a,b){"use strict";a.widget("bolt.panelActivity",a.bolt.baseInterval,{options:{delay:3e4,url:""},_create:function(){this.options.url||(this.options.url=b.conf("paths.async")+"latestactivity"),this._super()},_update:function(){var c=this;a.get(c.options.url).done(function(d){var e=a(d);b.app.initWidgets(e),c.element.html(e)})}})}(jQuery,Bolt),Bolt.validation=function(){function a(a){var b=!0,c=a.value,d=a.getAttribute("type"),e="checkbox"===d||"radio"===d,f=a.getAttribute("required"),g=a.getAttribute("minlength"),h=a.getAttribute("maxlength"),i=a.getAttribute("pattern");return a.disabled?b:(b=b&&(!f||e&&a.checked||!e&&""!==c),b=b&&(e||(!g||c.length>=g)&&(!h||c.length<=h)),b&&i&&(i=new RegExp("^(?:"+i+")$"),b=i.test(c)),b)}function b(a,b){$(a).addClass("error"),b&&$("#cke_"+a.id).addClass("cke_error")}function c(a,b){$(a).removeClass("error"),b&&$("#cke_"+a.id).removeClass("cke_error")}function d(a,b,c){var d;d=Bolt.data("validation.alertbox",{"%NOTICE_ID%":a,"%FIELD_ID%":b.id,"%FIELD_NAME%":$(\'label[for="\'+b.id+\'"]\').contents().first().text().trim()||b.name,"%MESSAGE%":c||$(b).data("errortext")||Bolt.data("validation.generic_msg")}),$(d).hide().insertAfter(".page-header").slideDown("fast")}function e(a){return""===a||a.match(/^[-+]?[0-9]*[,.]?[0-9]+([eE][-+]?[0-9]+)?$/)?"":Bolt.data("validation.float")}function f(a,b){return b===!0&&""===a?Bolt.data("validation.required"):""}function g(a,b){return""!==a&&Number(a.replace(",","."))<b?Bolt.data("validation.min",{"%MINVAL%":b}):""}function h(a,b){return""!==a&&Number(a.replace(",","."))>b?Bolt.data("validation.max",{"%MAXVAL%":b}):""}function i(a,b){"undefined"!=typeof a.willValidate?a.setCustomValidity(b):a.validity.valid=""===b}function j(j){var k,l,m,n="undefined"!=typeof j.willValidate,o=j.value,p="",q=$(j).data("validate");if(q){for(l in q)if(q.hasOwnProperty(l)){switch(m=q[l],l){case"float":p=e(o);break;case"required":p=f(o,m);break;case"min":p=g(o,m);break;case"max":p=h(o,m);break;default:console.log("UNKNOWN VALIDATION"+l+" -> "+m)}if(p)break}i(j,p)}else if(n?("INPUT"===j.nodeName&&j.type!==j.getAttribute("type")&&j.setCustomValidity(a(j)?"":"error"),j.checkValidity()):(j.validity=j.validity||{},j.validity.valid=a(j)),k="TEXTAREA"===j.nodeName&&$(j).hasClass("ckeditor")){var r,s=CKEDITOR.instances[j.id];s&&(r=s._.required===!0&&""===s.getData().trim(),i(j,r?"Required":""))}var t="notice--"+j.id;return $("#"+t).remove(),j.validity.valid?(c(j,k),!0):(b(j,k),d(t,j,p),!1)}return{run:function(a){var b,c,d=a.elements.length,e=!0;for(b=0;d>b;b++)c=a.elements[b],"INPUT"!==c.nodeName&&"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||("INPUT"===c.nodeName&&(c.value=c.value.trim()),j(c)===!1&&(e=!1));return e}}}();\n', 'message': 'Rebuild web assets\n', 'author_name': 'Gawain Lynch', 'lang': 'js'}