summaryrefslogtreecommitdiffstats
path: root/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js
diff options
context:
space:
mode:
authorHender2023-04-13 00:38:16 -0400
committerGitHub2023-04-13 00:38:16 -0400
commitbd36e6c1f959b511eca6120e5099d108bbb2c426 (patch)
tree1b0edf875937b7154dd6512a217fe6af78ba6186 /RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js
parentb5ad1f3cde58e2c49b142be534b919b21a960a6c (diff)
downloadbash-cec-bd36e6c1f959b511eca6120e5099d108bbb2c426.tar.gz
bash-cec-bd36e6c1f959b511eca6120e5099d108bbb2c426.tar.bz2
bash-cec-bd36e6c1f959b511eca6120e5099d108bbb2c426.zip
Delete RaspberryPITVHDMI_archivos directoryHEADorigin/masterorigin/HEADmaster
Diffstat (limited to 'RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js')
-rw-r--r--RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js b/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js
deleted file mode 100644
index 3a69a3c..0000000
--- a/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js
+++ /dev/null
@@ -1,6 +0,0 @@
-!function(){var t=null;window.Logster||(window.Logster={enabled:!0}),window.onerror=function(e,n,r,i,o){if(!(t&&new Date-t<6e4)&&Logster.enabled){t=new Date;var a={message:e,url:n,line:r,column:i,window_location:window.location&&window.location+""};o&&o.stack&&(a.stacktrace=o.stack),$.ajax("/logs/report_js_error",{data:a,type:"POST",cache:!1})}}}(),function(){window.jQuery;window.Discourse={},Discourse.SiteSettings={}}(),function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Handlebars=e():t.Handlebars=e()}(this,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(){var t=new s.HandlebarsEnvironment;return h.extend(t,s),t.SafeString=l.default,t.Exception=f.default,t.Utils=h,t.escapeExpression=h.escapeExpression,t.VM=v,t.template=function(e){return v.template(e,t)},t}var i=n(1).default,o=n(2).default;e.__esModule=!0;var a=n(3),s=i(a),u=n(20),l=o(u),c=n(5),f=o(c),d=n(4),h=i(d),p=n(21),v=i(p),g=n(33),m=o(g),_=r();_.create=r,m.default(_),_.default=_,e.default=_,t.exports=e.default},function(t,e){"use strict";e.default=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},e.__esModule=!0},function(t,e){"use strict";e.default=function(t){return t&&t.__esModule?t:{default:t}},e.__esModule=!0},function(t,e,n){"use strict";function r(t,e,n){this.helpers=t||{},this.partials=e||{},this.decorators=n||{},u.registerDefaultHelpers(this),l.registerDefaultDecorators(this)}var i=n(2).default;e.__esModule=!0,e.HandlebarsEnvironment=r;var o=n(4),a=n(5),s=i(a),u=n(9),l=n(17),c=n(19),f=i(c);e.VERSION="4.1.2";e.COMPILER_REVISION=7;var d={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0"};e.REVISION_CHANGES=d;r.prototype={constructor:r,logger:f.default,log:f.default.log,registerHelper:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new s.default("Arg not supported with multiple helpers");o.extend(this.helpers,t)}else this.helpers[t]=e},unregisterHelper:function(t){delete this.helpers[t]},registerPartial:function(t,e){if("[object Object]"===o.toString.call(t))o.extend(this.partials,t);else{if(void 0===e)throw new s.default('Attempting to register a partial called "'+t+'" as undefined');this.partials[t]=e}},unregisterPartial:function(t){delete this.partials[t]},registerDecorator:function(t,e){if("[object Object]"===o.toString.call(t)){if(e)throw new s.default("Arg not supported with multiple decorators");o.extend(this.decorators,t)}else this.decorators[t]=e},unregisterDecorator:function(t){delete this.decorators[t]}};var h=f.default.log;e.log=h,e.createFrame=o.createFrame,e.logger=f.default},function(t,e){"use strict";function n(t){return c[t]}function r(t){for(var e=1;e<arguments.length;e++)for(var n in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],n)&&(t[n]=arguments[e][n]);return t}function i(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n;return-1}function o(t){if("string"!=typeof t){if(t&&t.toHTML)return t.toHTML();if(null==t)return"";if(!t)return t+"";t=""+t}return d.test(t)?t.replace(f,n):t}function a(t){return!t&&0!==t||!(!v(t)||0!==t.length)}function s(t){var e=r({},t);return e._parent=t,e}function u(t,e){return t.path=e,t}function l(t,e){return(t?t+".":"")+e}e.__esModule=!0,e.extend=r,e.indexOf=i,e.escapeExpression=o,e.isEmpty=a,e.createFrame=s,e.blockParams=u,e.appendContextPath=l;var c={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,h=Object.prototype.toString;e.toString=h;var p=function(t){return"function"==typeof t};p(/x/)&&(e.isFunction=p=function(t){return"function"==typeof t&&"[object Function]"===h.call(t)}),e.isFunction=p;var v=Array.isArray||function(t){return!(!t||"object"!=typeof t)&&"[object Array]"===h.call(t)};e.isArray=v},function(t,e,n){"use strict";function r(t,e){var n=e&&e.loc,a=void 0,s=void 0;n&&(a=n.start.line,s=n.start.column,t+=" - "+a+":"+s);for(var u=Error.prototype.constructor.call(this,t),l=0;l<o.length;l++)this[o[l]]=u[o[l]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=a,i?Object.defineProperty(this,"column",{value:s,enumerable:!0}):this.column=s)}catch(t){}}var i=n(6).default;e.__esModule=!0;var o=["description","fileName","lineNumber","message","name","number","stack"];r.prototype=new Error,e.default=r,t.exports=e.default},function(t,e,n){t.exports={default:n(7),__esModule:!0}},function(t,e,n){var r=n(8);t.exports=function(t,e,n){return r.setDesc(t,e,n)}},function(t,e){var n=Object;t.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(t,e,n){"use strict";function r(t){a.default(t),u.default(t),c.default(t),d.default(t),p.default(t),g.default(t),_.default(t)}var i=n(2).default;e.__esModule=!0,e.registerDefaultHelpers=r;var o=n(10),a=i(o),s=n(11),u=i(s),l=n(12),c=i(l),f=n(13),d=i(f),h=n(14),p=i(h),v=n(15),g=i(v),m=n(16),_=i(m)},function(t,e,n){"use strict";e.__esModule=!0;var r=n(4);e.default=function(t){t.registerHelper("blockHelperMissing",function(e,n){var i=n.inverse,o=n.fn;if(!0===e)return o(this);if(!1===e||null==e)return i(this);if(r.isArray(e))return e.length>0?(n.ids&&(n.ids=[n.name]),t.helpers.each(e,n)):i(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return o(e,n)})},t.exports=e.default},function(t,e,n){"use strict";var r=n(2).default;e.__esModule=!0;var i=n(4),o=n(5),a=r(o);e.default=function(t){t.registerHelper("each",function(t,e){function n(e,n,o){l&&(l.key=e,l.index=n,l.first=0===n,l.last=!!o,c&&(l.contextPath=c+e)),u+=r(t[e],{data:l,blockParams:i.blockParams([t[e],e],[c+e,null])})}if(!e)throw new a.default("Must pass iterator to #each");var r=e.fn,o=e.inverse,s=0,u="",l=void 0,c=void 0;if(e.data&&e.ids&&(c=i.appendContextPath(e.data.contextPath,e.ids[0])+"."),i.isFunction(t)&&(t=t.call(this)),e.data&&(l=i.createFrame(e.data)),t&&"object"==typeof t)if(i.isArray(t))for(var f=t.length;s<f;s++)s in t&&n(s,s,s===t.length-1);else{var d=void 0;for(var h in t)t.hasOwnProperty(h)&&(void 0!==d&&n(d,s-1),d=h,s++);void 0!==d&&n(d,s-1,!0)}return 0===s&&(u=o(this)),u})},t.exports=e.default},function(t,e,n){"use strict";var r=n(2).default;e.__esModule=!0;var i=n(5),o=r(i);e.default=function(t){t.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(4);e.default=function(t){t.registerHelper("if",function(t,e){return r.isFunction(t)&&(t=t.call(this)),!e.hash.includeZero&&!t||r.isEmpty(t)?e.inverse(this):e.fn(this)}),t.registerHelper("unless",function(e,n){return t.helpers.if.call(this,e,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("log",function(){for(var e=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)e.push(arguments[r]);var i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),e[0]=i,t.log.apply(t,e)})},t.exports=e.default},function(t,e){"use strict";e.__esModule=!0,e.default=function(t){t.registerHelper("lookup",function(t,e){if(!t)return t;if("constructor"!==e||t.propertyIsEnumerable(e))return t[e]})},t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(4);e.default=function(t){t.registerHelper("with",function(t,e){r.isFunction(t)&&(t=t.call(this));var n=e.fn;if(r.isEmpty(t))return e.inverse(this);var i=e.data;return e.data&&e.ids&&(i=r.createFrame(e.data),i.contextPath=r.appendContextPath(e.data.contextPath,e.ids[0])),n(t,{data:i,blockParams:r.blockParams([t],[i&&i.contextPath])})})},t.exports=e.default},function(t,e,n){"use strict";function r(t){a.default(t)}var i=n(2).default;e.__esModule=!0,e.registerDefaultDecorators=r;var o=n(18),a=i(o)},function(t,e,n){"use strict";e.__esModule=!0;var r=n(4);e.default=function(t){t.registerDecorator("inline",function(t,e,n,i){var o=t;return e.partials||(e.partials={},o=function(i,o){var a=n.partials;n.partials=r.extend({},a,e.partials);var s=t(i,o);return n.partials=a,s}),e.partials[i.args[0]]=i.fn,o})},t.exports=e.default},function(t,e,n){"use strict";e.__esModule=!0;var r=n(4),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(t){if("string"==typeof t){var e=r.indexOf(i.methodMap,t.toLowerCase());t=e>=0?e:parseInt(t,10)}return t},log:function(t){if(t=i.lookupLevel(t),"undefined"!=typeof console&&i.lookupLevel(i.level)<=t){var e=i.methodMap[t];console[e]||(e="log");for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];console[e].apply(console,r)}}};e.default=i,t.exports=e.default},function(t,e){"use strict";function n(t){this.string=t}e.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},e.default=n,t.exports=e.default},function(t,e,n){"use strict";function r(t){var e=t&&t[0]||1,n=_.COMPILER_REVISION;if(e!==n){if(e<n){var r=_.REVISION_CHANGES[n],i=_.REVISION_CHANGES[e];throw new m.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+i+").")}throw new m.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}}function i(t,e){function n(n,r,i){i.hash&&(r=v.extend({},r,i.hash),i.ids&&(i.ids[0]=!0)),n=e.VM.resolvePartial.call(this,n,r,i);var o=e.VM.invokePartial.call(this,n,r,i);if(null==o&&e.compile&&(i.partials[i.name]=e.compile(n,t.compilerOptions,e),o=i.partials[i.name](r,i)),null!=o){if(i.indent){for(var a=o.split("\n"),s=0,u=a.length;s<u&&(a[s]||s+1!==u);s++)a[s]=i.indent+a[s];o=a.join("\n")}return o}throw new m.default("The partial "+i.name+" could not be compiled when running in runtime-only mode")}function r(e){function n(e){return""+t.main(i,e,i.helpers,i.partials,a,u,s)}var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],a=o.data;r._setup(o),!o.partial&&t.useData&&(a=l(e,a));var s=void 0,u=t.useBlockParams?[]:void 0;return t.useDepths&&(s=o.depths?e!=o.depths[0]?[e].concat(o.depths):o.depths:[e]),(n=c(t.main,n,i,o.depths||[],a,u))(e,o)}if(!e)throw new m.default("No environment passed to template");if(!t||!t.main)throw new m.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var i={strict:function(t,e){if(!(e in t))throw new m.default('"'+e+'" not defined in '+t);return t[e]},lookup:function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r]&&null!=t[r][e])return t[r][e]},lambda:function(t,e){return"function"==typeof t?t.call(e):t},escapeExpression:v.escapeExpression,invokePartial:n,fn:function(e){var n=t[e];return n.decorator=t[e+"_d"],n},programs:[],program:function(t,e,n,r,i){var a=this.programs[t],s=this.fn(t);return e||i||r||n?a=o(this,t,s,e,n,r,i):a||(a=this.programs[t]=o(this,t,s)),a},data:function(t,e){for(;t&&e--;)t=t._parent;return t},merge:function(t,e){var n=t||e;return t&&e&&t!==e&&(n=v.extend({},e,t)),n},nullContext:f({}),noop:e.VM.noop,compilerInfo:t.compiler};return r.isTop=!0,r._setup=function(n){n.partial?(i.helpers=n.helpers,i.partials=n.partials,i.decorators=n.decorators):(i.helpers=i.merge(n.helpers,e.helpers),t.usePartial&&(i.partials=i.merge(n.partials,e.partials)),(t.usePartial||t.useDecorators)&&(i.decorators=i.merge(n.decorators,e.decorators)))},r._child=function(e,n,r,a){if(t.useBlockParams&&!r)throw new m.default("must pass block params");if(t.useDepths&&!a)throw new m.default("must pass parent depths");return o(i,e,t[e],n,0,r,a)},r}function o(t,e,n,r,i,o,a){function s(e){var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||e==a[0]||e===t.nullContext&&null===a[0]||(s=[e].concat(a)),n(t,e,t.helpers,t.partials,i.data||r,o&&[i.blockParams].concat(o),s)}return s=c(n,s,t,a,r,o),s.program=e,s.depth=a?a.length:0,s.blockParams=i||0,s}function a(t,e,n){return t?t.call||n.name||(n.name=t,t=n.partials[t]):t="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],t}function s(t,e,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var i=void 0;if(n.fn&&n.fn!==u&&function(){n.data=_.createFrame(n.data);var t=n.fn;i=n.data["partial-block"]=function(e){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=_.createFrame(n.data),n.data["partial-block"]=r,t(e,n)},t.partials&&(n.partials=v.extend({},n.partials,t.partials))}(),void 0===t&&i&&(t=i),void 0===t)throw new m.default("The partial "+n.name+" could not be found");if(t instanceof Function)return t(e,n)}function u(){return""}function l(t,e){return e&&"root"in e||(e=e?_.createFrame(e):{},e.root=t),e}function c(t,e,n,r,i,o){if(t.decorator){var a={};e=t.decorator(e,a,n,r&&r[0],i,o,r),v.extend(e,a)}return e}var f=n(22).default,d=n(1).default,h=n(2).default;e.__esModule=!0,e.checkRevision=r,e.template=i,e.wrapProgram=o,e.resolvePartial=a,e.invokePartial=s,e.noop=u;var p=n(4),v=d(p),g=n(5),m=h(g),_=n(3)},function(t,e,n){t.exports={default:n(23),__esModule:!0}},function(t,e,n){n(24),t.exports=n(29).Object.seal},function(t,e,n){var r=n(25);n(26)("seal",function(t){return function(e){return t&&r(e)?t(e):e}})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(27),i=n(29),o=n(32);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(28),i=n(29),o=n(30),a=function(t,e,n){var s,u,l,c=t&a.F,f=t&a.G,d=t&a.S,h=t&a.P,p=t&a.B,v=t&a.W,g=f?i:i[e]||(i[e]={}),m=f?r:d?r[e]:(r[e]||{}).prototype;f&&(n=e);for(s in n)(u=!c&&m&&s in m)&&s in g||(l=u?m[s]:n[s],g[s]=f&&"function"!=typeof m[s]?n[s]:p&&u?o(l,r):v&&m[s]==l?function(t){var e=function(e){return this instanceof t?new t(e):t(e)};return e.prototype=t.prototype,e}(l):h&&"function"==typeof l?o(Function.call,l):l,h&&((g.prototype||(g.prototype={}))[s]=l))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,t.exports=a},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(31);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){(function(n){"use strict";e.__esModule=!0,e.default=function(t){var e=void 0!==n?n:window,r=e.Handlebars;t.noConflict=function(){return e.Handlebars===t&&(e.Handlebars=r),t}},t.exports=e.default}).call(e,function(){return this}())}])}),function(){if("undefined"!=typeof I18n){var t=I18n.toHumanSize;I18n.toHumanSize=function(e,n){return n=n||{},n.format=I18n.t("number.human.storage_units.format"),t.apply(this,[e,n])},"w"in String.prototype&&(String.prototype.i18n=function(t){return I18n.t(String(this),t)})}}(),function(t,e,n){"use strict";var r,i,o,a,s,u,l,c,f,d,h,p,v,g,m,_,y=(t.MessageBus,!1);s=function(){return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(t){var e,n;return e=16*Math.random()|0,n="x"===t?e:3&e|8,n.toString(16)})},i=s(),r=[],o=0,u="/",p=!1,v=[],m=0,g=t.jQuery;var b;!function(){for(var t=["","webkit","ms","moz"],n=0;n<t.length;n++){var r=t[n],i=r+(""===r?"hidden":"Hidden");void 0!==e[i]&&(b=i)}}();var w=function(){return void 0!==b?e[b]:!e.hasFocus},x=function(){try{return localStorage.setItem("mbTestLocalStorage",Date.now()),localStorage.removeItem("mbTestLocalStorage"),!0}catch(t){return!1}}(),k=function(){x&&localStorage.setItem("__mbLastAjax",Date.now())},j=function(){if(x&&w()){var t=parseInt(localStorage.getItem("__mbLastAjax"),10),e=Date.now()-t;return e>=0&&e<l.minHiddenPollInterval}return!1},E=null===(new XMLHttpRequest).onprogress,O=function(){return l.enableChunkedEncoding&&E};a=function(){return l.alwaysLongPoll||!w()};var C,T=0,I=0,S=function(t){var e=!1;if(!t)return!1;for(var n=0;n<t.length;n++){var i=t[n];e=!0;for(var o=0;o<r.length;o++){var a=r[o];if(a.channel===i.channel){a.last_id=i.message_id;try{a.func(i.data,i.global_id,i.message_id)}catch(t){console.log&&console.log("MESSAGE BUS FAIL: callback "+a.channel+" caused exception "+t.message)}}"/__status"===i.channel&&void 0!==i.data[a.channel]&&(a.last_id=i.data[a.channel])}}return e},A=function(t){if(o=0,!p)return S(t);if(t)for(var e=0;e<t.length;e++)v.push(t[e]);return!1};d=function(t,e){if(!y){var n=!1,r=!1;C=new Date,I+=1,e.__seq=I;var i=a()&&l.enableLongPolling,s=i&&O();m>0&&(m--,s=!1);var u={"X-SILENCE-LOGGER":"true"};for(var f in l.headers)u[f]=l.headers[f];s||(u["Dont-Chunk"]="true");var d=s?"text":"json",p=function(t,n){var r=t.indexOf("\r\n|\r\n",n);if(-1===r)return n;var i=t.substring(n,r);i=i.replace(/\r\n\|\|\r\n/g,"\r\n|\r\n");try{A(JSON.parse(i))}catch(t){console.log&&(console.log("FAILED TO PARSE CHUNKED REPLY"),console.log(e))}return p(t,r+"\r\n|\r\n".length)},v=function(){l.longPoll&&(l.longPoll.abort(),m=30)};if(!l.ajax)throw new Error("Either jQuery or the ajax adapter must be loaded");k(),y=!0;return l.ajax({url:l.baseUrl+"message-bus/"+l.clientId+"/poll"+(i?"":"?dlp=t"),data:e,cache:!1,async:!0,dataType:d,type:"POST",headers:u,messageBus:{chunked:s,onProgressListener:function(t){var e=0,n=setTimeout(v,3e3);return t.onprogress=function(){clearTimeout(n),"application/json; charset=utf-8"===t.getResponseHeader("Content-Type")?s=!1:e=p(t.responseText,e)}}},xhr:function(){var t=g.ajaxSettings.xhr();return s?(this.messageBus.onProgressListener(t),t):t},success:function(t){s||("string"==typeof t&&(t=JSON.parse(t)),n=A(t))},error:function(t,e,n){"abort"===e?r=!0:(o+=1,T+=1)},complete:function(){y=!1;var e;try{n||r?e=l.minPollInterval:(e=l.callbackInterval,o>2?e*=o:a()||(e=l.backgroundCallbackInterval),e>l.maxPollInterval&&(e=l.maxPollInterval),(e-=new Date-C)<100&&(e=100))}catch(t){console.log&&t.message&&console.log("MESSAGE BUS FAIL: "+t.message)}h&&(clearTimeout(h),h=null),c&&(h=setTimeout(function(){h=null,t()},e)),l.longPoll=null}})}},l={minHiddenPollInterval:1500,enableChunkedEncoding:!0,enableLongPolling:!0,callbackInterval:15e3,backgroundCallbackInterval:6e4,minPollInterval:100,maxPollInterval:18e4,callbacks:r,clientId:i,alwaysLongPoll:!1,baseUrl:u,headers:{},ajax:g&&g.ajax,noConflict:function(){return t.MessageBus=t.MessageBus.previousMessageBus,this},diagnostics:function(){console.log("Stopped: "+f+" Started: "+c),console.log("Current callbacks"),console.log(r),console.log("Total ajax calls: "+I+" Recent failure count: "+o+" Total failures: "+T),console.log("Last ajax call: "+(new Date-C)/1e3+" seconds ago")},pause:function(){p=!0},resume:function(){p=!1,S(v),v=[]},stop:function(){f=!0,c=!1,_&&(clearTimeout(_),_=null),l.longPoll&&l.longPoll.abort()},start:function(){var n;c||(c=!0,f=!1,n=function(){var t;if(!f){if(0===r.length||j())return void(_||(_=setTimeout(function(){_=null,n()},parseInt(500+500*Math.random()))));t={};for(var e=0;e<r.length;e++)t[r[e].channel]=r[e].last_id;l.longPoll||(l.longPoll=d(n,t))}},e.addEventListener&&"hidden"in e&&(l.visibilityEvent=t.document.addEventListener("visibilitychange",function(){e.hidden||l.longPoll||!h||(clearTimeout(h),clearTimeout(_),_=null,h=null,n())})),n())},status:function(){if(p)return"paused";if(c)return"started";if(f)return"stopped";throw"Cannot determine current status"},subscribe:function(t,e,n){if(c||f||l.start(),"number"!=typeof n&&(n=-1),"string"!=typeof t)throw"Channel name must be a string!";return r.push({channel:t,func:e,last_id:n}),l.longPoll&&l.longPoll.abort(),e},unsubscribe:function(t,e){var n;-1!==t.indexOf("*",t.length-1)&&(t=t.substr(0,t.length-1),n=!0);for(var i=!1,o=r.length-1;o>=0;o--){var a,s=r[o];a=n?s.channel.substr(0,t.length)!==t:s.channel!==t,!a&&e&&s.func!==e&&(a=!0),a||(r.splice(o,1),i=!0)}return i&&l.longPoll&&l.longPoll.abort(),i}},t.MessageBus=l}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){var e=0,n=Array.prototype.slice;t.cleanData=function(e){return function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)try{r=t._data(i,"events"),r&&r.remove&&t(i).triggerHandler("remove")}catch(t){}e(n)}}(t.cleanData),t.widget=function(e,n,r){var i,o,a,s,u={},l=e.split(".")[0];return e=e.split(".")[1],i=l+"-"+e,r||(r=n,n=t.Widget),t.expr[":"][i.toLowerCase()]=function(e){return!!t.data(e,i)},t[l]=t[l]||{},o=t[l][e],a=t[l][e]=function(t,e){if(!this._createWidget)return new a(t,e);arguments.length&&this._createWidget(t,e)},t.extend(a,o,{version:r.version,_proto:t.extend({},r),_childConstructors:[]}),s=new n,s.options=t.widget.extend({},s.options),t.each(r,function(e,r){if(!t.isFunction(r))return void(u[e]=r);u[e]=function(){var t=function(){return n.prototype[e].apply(this,arguments)},i=function(t){return n.prototype[e].apply(this,t)};return function(){var e,n=this._super,o=this._superApply;return this._super=t,this._superApply=i,e=r.apply(this,arguments),this._super=n,this._superApply=o,e}}()}),a.prototype=t.widget.extend(s,{widgetEventPrefix:o?s.widgetEventPrefix||e:e},u,{constructor:a,namespace:l,widgetName:e,widgetFullName:i}),o?(t.each(o._childConstructors,function(e,n){var r=n.prototype;t.widget(r.namespace+"."+r.widgetName,a,n._proto)}),delete o._childConstructors):n._childConstructors.push(a),t.widget.bridge(e,a),a},t.widget.extend=function(e){for(var r,i,o=n.call(arguments,1),a=0,s=o.length;a<s;a++)for(r in o[a])i=o[a][r],o[a].hasOwnProperty(r)&&void 0!==i&&(t.isPlainObject(i)?e[r]=t.isPlainObject(e[r])?t.widget.extend({},e[r],i):t.widget.extend({},i):e[r]=i);return e},t.widget.bridge=function(e,r){var i=r.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,s=n.call(arguments,1),u=this;return o=!a&&s.length?t.widget.extend.apply(null,[o].concat(s)):o,a?this.each(function(){var n,r=t.data(this,i);return"instance"===o?(u=r,!1):r?t.isFunction(r[o])&&"_"!==o.charAt(0)?(n=r[o].apply(r,s),n!==r&&void 0!==n?(u=n&&n.jquery?u.pushStack(n.get()):n,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):this.each(function(){var e=t.data(this,i);e?(e.option(o||{}),e._init&&e._init()):t.data(this,i,new r(o,this))}),u}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(n,r){r=t(r||this.defaultElement||this)[0],this.element=t(r),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=t(),this.hoverable=t(),this.focusable=t(),r!==this&&(t.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===r&&this.destroy()}}),this.document=t(r.style?r.ownerDocument:r.document||r),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var r,i,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},r=e.split("."),e=r.shift(),r.length){for(i=a[e]=t.widget.extend({},this.options[e]),o=0;o<r.length-1;o++)i[r[o]]=i[r[o]]||{},i=i[r[o]];if(e=r.pop(),1===arguments.length)return void 0===i[e]?null:i[e];i[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=n}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(e,n,r){var i,o=this;"boolean"!=typeof e&&(r=n,n=e,e=!1),r?(n=i=t(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),t.each(r,function(r,a){function s(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof a?o[a]:a).apply(o,arguments)}"string"!=typeof a&&(s.guid=a.guid=a.guid||s.guid||t.guid++);var u=r.match(/^([\w:-]*)\s*(.*)$/),l=u[1]+o.eventNamespace,c=u[2];c?i.delegate(c,l,s):n.bind(l,s)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.unbind(e).undelegate(e)},_delay:function(t,e){function n(){return("string"==typeof t?r[t]:t).apply(r,arguments)}var r=this;return setTimeout(n,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,n,r){var i,o,a=this.options[e];if(r=r||{},n=t.Event(n),n.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(i in o)i in n||(n[i]=o[i]);return this.element.trigger(n,r),!(t.isFunction(a)&&!1===a.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,n){t.Widget.prototype["_"+e]=function(r,i,o){"string"==typeof i&&(i={effect:i});var a,s=i?!0===i||"number"==typeof i?n:i.effect||n:e;i=i||{},"number"==typeof i&&(i={duration:i}),a=!t.isEmptyObject(i),i.complete=o,i.delay&&r.delay(i.delay),a&&t.effects&&t.effects.effect[s]?r[e](i):s!==e&&r[s]?r[s](i.duration,i.easing,o):r.queue(function(n){t(this)[e](),o&&o.call(r[0]),n()})}});t.widget});var Markdown;Markdown="object"==typeof exports&&"function"==typeof require?exports:{},function(){function t(t){return t}function e(t){return!1}function n(){}n.prototype={chain:function(e,n){var r=this[e];if(!r)throw new Error("unknown hook "+e);this[e]=r===t?n:function(t){var e=Array.prototype.slice.call(arguments,0);return e[0]=r.apply(null,e),n.apply(null,e)}},set:function(t,e){if(!this[t])throw new Error("unknown hook "+t);this[t]=e},addNoop:function(e){this[e]=t},addFalse:function(t){this[t]=e}},Markdown.HookCollection=n}();var bootbox=window.bootbox||function(t,e){function n(t,e){return void 0===e&&(e=r),"string"==typeof f[e][t]?f[e][t]:e!=i?n(t,i):t}var r="en",i="en",o=!0,a="static",s="",u={},l={},c={};c.setLocale=function(t){for(var e in f)if(e==t)return void(r=t);throw new Error("Invalid locale: "+t)},c.addLocale=function(t,e){void 0===f[t]&&(f[t]={});for(var n in e)f[t][n]=e[n]},c.setIcons=function(t){"object"==typeof(l=t)&&null!==l||(l={})},c.setBtnClasses=function(t){"object"==typeof(u=t)&&null!==u||(u={})},c.alert=function(){var t="",e=n("OK"),r=null;switch(arguments.length){case 1:t=arguments[0];break;case 2:t=arguments[0],"function"==typeof arguments[1]?r=arguments[1]:e=arguments[1];break;case 3:t=arguments[0],e=arguments[1],r=arguments[2];break;default:throw new Error("Incorrect number of arguments: expected 1-3")}return c.dialog(t,{label:e,icon:l.OK,class:u.OK,callback:r},{onEscape:r||!0})},c.confirm=function(){var t="",e=n("CANCEL"),r=n("CONFIRM"),i=null;switch(arguments.length){case 1:t=arguments[0];break;case 2:t=arguments[0],"function"==typeof arguments[1]?i=arguments[1]:e=arguments[1];break;case 3:t=arguments[0],e=arguments[1],"function"==typeof arguments[2]?i=arguments[2]:r=arguments[2];break;case 4:t=arguments[0],e=arguments[1],r=arguments[2],i=arguments[3];break;default:throw new Error("Incorrect number of arguments: expected 1-4")}var o=function(){if("function"==typeof i)return i(!1)},a=function(){if("function"==typeof i)return i(!0)};return c.dialog(t,[{label:e,icon:l.CANCEL,class:u.CANCEL,callback:o},{label:r,icon:l.CONFIRM,class:u.CONFIRM,callback:a}],{onEscape:o})},c.prompt=function(){var t="",r=n("CANCEL"),i=n("CONFIRM"),o=null,a="";switch(arguments.length){case 1:t=arguments[0];break;case 2:t=arguments[0],"function"==typeof arguments[1]?o=arguments[1]:r=arguments[1];break;case 3:t=arguments[0],r=arguments[1],"function"==typeof arguments[2]?o=arguments[2]:i=arguments[2];break;case 4:t=arguments[0],r=arguments[1],i=arguments[2],o=arguments[3];break;case 5:t=arguments[0],r=arguments[1],i=arguments[2],o=arguments[3],a=arguments[4];break;default:throw new Error("Incorrect number of arguments: expected 1-5")}var s=t,f=e("<form></form>");f.append("<input class='input-block-level' autocomplete=off type=text value='"+a+"' />");var d=function(){if("function"==typeof o)return o(null)},h=function(){if("function"==typeof o)return o(f.find("input[type=text]").val())},p=c.dialog(f,[{label:r,icon:l.CANCEL,class:u.CANCEL,callback:d},{label:i,icon:l.CONFIRM,class:u.CONFIRM,callback:h}],{header:s,show:!1,onEscape:d});return p.on("shown",function(){f.find("input[type=text]").focus(),f.on("submit",function(t){t.preventDefault(),p.find(".btn-primary").click()})}),p.modal("show"),p},c.dialog=function(n,r,i){function u(t){var e=null;"function"==typeof i.onEscape&&(e=i.onEscape()),!1!==e&&k.modal("hide")}var l="",f=[];i||(i={}),void 0===r?r=[]:void 0===r.length&&(r=[r]);for(var d=r.length;d--;){var h=null,p=null,v="btn-default",g="",m=null;if(void 0===r[d].label&&void 0===r[d].class&&void 0===r[d].callback){var _=0,y=null;for(var b in r[d])if(y=b,++_>1)break;1==_&&"function"==typeof r[d][b]&&(r[d].label=y,r[d].callback=r[d][b])}"function"==typeof r[d].callback&&(m=r[d].callback),r[d].class?v=r[d].class:d==r.length-1&&r.length<=2&&(v="btn-primary"),!0!==r[d].link&&(v="btn "+v),h=r[d].label?r[d].label:"Option "+(d+1),r[d].icon&&(g="<i class='"+r[d].icon+"'></i> "),p=r[d].href?r[d].href:"javascript:;",l=l+"<a data-handler='"+d+"' class='"+v+"' href='"+p+"'>"+g+h+"</a>",f[d]=m}var w=["<div class='bootbox modal' tabindex='-1' style='overflow:hidden;'>"];if(i.header){var x="";(void 0===i.headerCloseButton||i.headerCloseButton)&&(x="<a href='javascript:;' class='close'>&times;</a>"),w.push("<div class='modal-header'>"+x+"<h3>"+i.header+"</h3></div>")}w.push("<div class='modal-body'></div>"),l&&w.push("<div class='modal-footer'>"+l+"</div>"),
-w.push("</div>");var k=e(w.join("\n"));(void 0===i.animate?o:i.animate)&&k.addClass("fade");var j=void 0===i.classes?s:i.classes;return j&&k.addClass(j),k.find(".modal-body").html(n),k.on("keyup.dismiss.modal",function(t){27===t.which&&!1!==i.onEscape&&u("escape")}),k.on("click","a.close",function(t){t.preventDefault(),u("close")}),k.on("shown.bs.modal",function(){k.find("a.btn-primary:first").focus()}),k.on("hidden.bs.modal",function(){k.remove()}),k.on("click",".modal-footer a",function(t){var n=this;Ember.run(function(){var i=e(n).data("handler"),o=f[i],a=null;void 0!==i&&void 0!==r[i].href||(t.preventDefault(),"function"==typeof o&&(a=o(t)),!1!==a&&k.modal("hide"))})}),(c.$body||e("body")).append(k),k.modal({backdrop:void 0===i.backdrop?a:i.backdrop,keyboard:!1,show:!1}),k.on("show",function(n){e(t).off("focusin.modal")}),void 0!==i.show&&!0!==i.show||k.modal("show"),k},c.modal=function(){var t,n,r,i={onEscape:null,keyboard:!0,backdrop:a};switch(arguments.length){case 1:t=arguments[0];break;case 2:t=arguments[0],"object"==typeof arguments[1]?r=arguments[1]:n=arguments[1];break;case 3:t=arguments[0],n=arguments[1],r=arguments[2];break;default:throw new Error("Incorrect number of arguments: expected 1-3")}return i.header=n,r="object"==typeof r?e.extend(i,r):i,c.dialog(t,[],r)},c.hideAll=function(){e(".bootbox").modal("hide")},c.animate=function(t){o=t},c.backdrop=function(t){a=t},c.classes=function(t){s=t};var f={br:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Sim"},da:{OK:"OK",CANCEL:"Annuller",CONFIRM:"Accepter"},de:{OK:"OK",CANCEL:"Abbrechen",CONFIRM:"Akzeptieren"},en:{OK:"OK",CANCEL:"Cancel",CONFIRM:"OK"},es:{OK:"OK",CANCEL:"Cancelar",CONFIRM:"Aceptar"},fr:{OK:"OK",CANCEL:"Annuler",CONFIRM:"D'accord"},it:{OK:"OK",CANCEL:"Annulla",CONFIRM:"Conferma"},nl:{OK:"OK",CANCEL:"Annuleren",CONFIRM:"Accepteren"},pl:{OK:"OK",CANCEL:"Anuluj",CONFIRM:"Potwierdź"},ru:{OK:"OK",CANCEL:"Отмена",CONFIRM:"Применить"},zh_CN:{OK:"OK",CANCEL:"取消",CONFIRM:"确认"},zh_TW:{OK:"OK",CANCEL:"取消",CONFIRM:"確認"}};return c}(document,window.jQuery);window.bootbox=bootbox,function(t){"use strict";function e(e,r){return this.each(function(){var i=t(this),o=i.data("bs.modal"),a=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);o||i.data("bs.modal",o=new n(this,a)),"string"==typeof e?o[e](r):a.show&&o.show(r)})}var n=function(e,n){this.options=n,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};n.VERSION="3.4.1",n.TRANSITION_DURATION=300,n.BACKDROP_TRANSITION_DURATION=150,n.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},n.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},n.prototype.show=function(e){var r=this,i=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(i),this.isShown||i.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var i=t.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),i&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var o=t.Event("shown.bs.modal",{relatedTarget:e});i?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(o)}).emulateTransitionEnd(n.TRANSITION_DURATION):r.$element.trigger("focus").trigger(o)}))},n.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(n.TRANSITION_DURATION):this.hideModal())},n.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},n.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},n.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},n.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},n.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},n.prototype.backdrop=function(e){var r=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=t.support.transition&&i;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){if(this.ignoreBackdropClick)return void(this.ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;o?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){r.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(n.BACKDROP_TRANSITION_DURATION):a()}else e&&e()},n.prototype.handleUpdate=function(){this.adjustDialog()},n.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},n.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},n.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},n.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+n),t(this.fixedContent).each(function(e,r){var i=r.style.paddingRight,o=t(r).css("padding-right");t(r).data("padding-right",i).css("padding-right",parseFloat(o)+n+"px")}))},n.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),t(this.fixedContent).each(function(e,n){var r=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=r||""})},n.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var r=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=n,t.fn.modal.noConflict=function(){return t.fn.modal=r,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(n){var r=t(this),i=r.attr("href"),o=r.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),a=t(document).find(o),s=a.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(i)&&i},a.data(),r.data());r.is("a")&&n.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),e.call(a,s,this)})}(jQuery);var clone=null;$.fn.caret=function(t){return function(t){var e,n,r;return t.selectionStart?t.selectionStart:document.selection?(t.focus(),(e=document.selection.createRange())?(r=t.createTextRange(),n=r.duplicate(),r.moveToBookmark(e.getBookmark()),n.setEndPoint("EndToStart",r),n.text.length):0):0}(t||this[0])},$.fn.caretPosition=function(t){var e,n,r,i,o,a,s,u,l,c,f,d,h,p,v;clone&&clone.remove(),$("#pos span"),p=$(this),r=function(t){return t.currentStyle?t.currentStyle:document.defaultView.getComputedStyle(t,"")},a=function(t){return h.getPropertyValue(t)},h=r(p[0]),clone=$("<div><p></p></div>").appendTo("body"),c=clone.find("p");const g=$("html").hasClass("rtl");clone.css({border:"1px solid black",padding:a("padding"),resize:a("resize"),"max-height":p.height()+"px","overflow-y":"auto","word-wrap":"break-word",position:"absolute",left:g?"auto":"-7000px",right:g?"-7000px":"auto"}),c.css({margin:0,padding:0,"word-wrap":"break-word","letter-spacing":a("letter-spacing"),"font-family":a("font-family"),"font-size":a("font-size"),"line-height":a("line-height")}),clone.width(p.width()),clone.height(p.height()),d=t&&(t.pos||0===t.pos)?t.pos:$.caret(p[0]),v=p.val().replace("\r",""),t&&t.key&&(v=v.substring(0,d)+t.key+v.substring(d)),n=d-1,e=d,s=!1,"\n"===v[n]&&"\n"===v[e]&&(s=!0),i=function(t){var e;return e=t.replace(/</g,"&lt;"),e=e.replace(/>/g,"&gt;"),e=e.replace(/[ ]/g,"&#x200b;&nbsp;&#x200b;"),e.replace(/\n/g,"<br />")},l=function(t,e,n){var r;return r=v.substring(t,t+1),"\n"===r?"<br>":"<span class='"+e+"' style='background-color:"+n+"; margin:0; padding: 0'>"+i(r)+"</span>"},o="",n>=0&&(o+=i(v.substring(0,d-1))+l(n,"before","#d0ffff"),s&&(o+=l(0,"post-before","#d0ffff"))),e>=0&&(o+=l(e,"after","#ffd0ff"),e-1<v.length&&(o+=i(v.substring(e+1)))),c.html(o),clone.scrollTop(p.scrollTop()),u=c.find("span:first"),d=u.offset(),u.hasClass("before")&&(d.left=d.left+u.width()),f=c.offset();var m={left:d.left-f.left,top:d.top-f.top-clone.scrollTop()};return clone.remove(),m},function(){function t(t){this.icon=t,this.opacity=.4,this.canvas=document.createElement("canvas"),this.font="Helvetica, Arial, sans-serif"}function e(t){return t=Math.round(t),isNaN(t)||t<1?"":t<10?" "+t:t>99?"99":t}function n(t,e,n,r,i){var o,a,s,u,l,c,f,d=document.getElementsByTagName("head")[0],h=document.querySelector("link[rel=icon]"),p=document.createElement("link");o=r.width/16,a=11*o,u=o,l=11*o,c=o,f=2*o,t.height=t.width=r.width,s=t.getContext("2d"),s.font="bold "+a+"px "+n,i&&(s.globalAlpha=e),s.drawImage(r,0,0),s.globalAlpha=1,s.shadowColor="#FFF",s.shadowBlur=f,s.shadowOffsetX=0,s.shadowOffsetY=0,s.fillStyle="#FFF",s.fillText(i,u,l),s.fillText(i,u+c,l),s.fillText(i,u,l+c),s.fillText(i,u+c,l+c),s.fillStyle="#000",s.fillText(i,u+c/2,l+c/2),p.rel="icon",p.href=t.toDataURL("image/png"),h&&d.removeChild(h),d.appendChild(p)}t.prototype.set=function(t){var r=this,i=document.createElement("img");r.canvas.getContext&&(i.crossOrigin="anonymous",i.onload=function(){n(r.canvas,r.opacity,r.font,i,e(t))},i.src=this.icon)},this.Favcount=t}.call(this),function(){Favcount.VERSION="1.5.1"}.call(this),function(t,e,n){"$:nomunge";function r(){i=e[s](function(){o.each(function(){var e=t(this),n=e.width(),r=e.height(),i=t.data(this,l);n===i.w&&r===i.h||e.trigger(u,[i.w=n,i.h=r])}),r()},a[c])}var i,o=t([]),a=t.resize=t.extend(t.resize,{}),s="setTimeout",u="resize",l=u+"-special-event",c="delay";a[c]=250,a.throttleWindow=!0,t.event.special[u]={setup:function(){if(!a.throttleWindow&&this[s])return!1;var e=t(this);o=o.add(e),t.data(this,l,{w:e.width(),h:e.height()}),1===o.length&&r()},teardown:function(){if(!a.throttleWindow&&this[s])return!1;var e=t(this);o=o.not(e),e.removeData(l),o.length||clearTimeout(i)},add:function(e){function r(e,r,o){var a=t(this),s=t.data(this,l);s.w=r!==n?r:a.width(),s.h=o!==n?o:a.height(),i.apply(this,arguments)}if(!a.throttleWindow&&this[s])return!1;var i;if(t.isFunction(e))return i=e,r;i=e.handler,e.handler=r}}}(jQuery,this),function(t,e){function n(t,e,n){var r=f[e.type]||{};return(e.empty||n)&&null==t?null:e.def&&null==t?e.def:(t=r.floor?~~t:parseFloat(t),null==t||isNaN(t)?e.def:r.mod?(t%=r.mod,t<0?r.mod+t:t):r.min>t?r.min:r.max<t?r.max:t)}function r(e){var n=l(),r=n._rgba=[];return e=e.toLowerCase(),p(u,function(t,i){var o,a=i.re.exec(e),s=a&&i.parse(a),u=i.space||"rgba",l=c[u].cache;if(s)return o=n[u](s),n[l]=o[l],r=n._rgba=o._rgba,!1}),0!==r.length?(0===Math.max.apply(Math,r)&&t.extend(r,o.transparent),n):(e=o[e])?e:void 0}function i(t,e,n){return n=(n+1)%1,6*n<1?t+6*(e-t)*n:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}var o,a="backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color outlineColor".split(" "),s=/^([\-+])=\s*(\d+\.?\d*)/,u=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return[t[1],t[2],t[3],t[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,parse:function(t){return[2.55*t[1],2.55*t[2],2.55*t[3],t[4]]}},{re:/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/,parse:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/,parse:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d+(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(t){return[t[1],t[2]/100,t[3]/100,t[4]]}}],l=t.Color=function(e,n,r,i){return new t.Color.fn.parse(e,n,r,i)},c={rgba:{cache:"_rgba",props:{red:{idx:0,type:"byte",empty:!0},green:{idx:1,type:"byte",empty:!0},blue:{idx:2,type:"byte",empty:!0},alpha:{idx:3,type:"percent",def:1}}},hsla:{cache:"_hsla",props:{hue:{idx:0,type:"degrees",empty:!0},saturation:{idx:1,type:"percent",empty:!0},lightness:{idx:2,type:"percent",empty:!0}}}},f={byte:{floor:!0,min:0,max:255},percent:{min:0,max:1},degrees:{mod:360,floor:!0}},d=c.rgba.props,h=l.support={},p=t.each;c.hsla.props.alpha=d.alpha,l.fn=l.prototype={constructor:l,parse:function(e,i,a,s){if(void 0===e)return this._rgba=[null,null,null,null],this;(e instanceof t||e.nodeType)&&(e=e instanceof t?e.css(i):t(e).css(i),i=void 0);var u=this,f=t.type(e),h=this._rgba=[];return void 0!==i&&(e=[e,i,a,s],f="array"),"string"===f?this.parse(r(e)||o._default):"array"===f?(p(d,function(t,r){h[r.idx]=n(e[r.idx],r)}),this):"object"===f?(e instanceof l?p(c,function(t,n){e[n.cache]&&(u[n.cache]=e[n.cache].slice())}):p(c,function(t,r){p(r.props,function(t,i){var o=r.cache;if(!u[o]&&r.to){if(null==e[t]||"alpha"===t)return;u[o]=r.to(u._rgba)}u[o][i.idx]=n(e[t],i,!0)})}),this):void 0},is:function(t){var e=l(t),n=!0,r=this;return p(c,function(t,i){var o,a=e[i.cache];return a&&(o=r[i.cache]||i.to&&i.to(r._rgba)||[],p(i.props,function(t,e){if(null!=a[e.idx])return n=a[e.idx]==o[e.idx]})),n}),n},_space:function(){var t=[],e=this;return p(c,function(n,r){e[r.cache]&&t.push(n)}),t.pop()},transition:function(t,e){var r=l(t),i=r._space(),o=c[i],a=this[o.cache]||o.to(this._rgba),s=a.slice();return r=r[o.cache],p(o.props,function(t,i){var o=i.idx,u=a[o],l=r[o],c=f[i.type]||{};null!==l&&(null===u?s[o]=l:(c.mod&&(l-u>c.mod/2?u+=c.mod:u-l>c.mod/2&&(u-=c.mod)),s[i.idx]=n((l-u)*e+u,i)))}),this[i](s)},blend:function(e){if(1===this._rgba[3])return this;var n=this._rgba.slice(),r=n.pop(),i=l(e)._rgba;return l(t.map(n,function(t,e){return(1-r)*i[e]+r*t}))},toRgbaString:function(){var e="rgba(",n=t.map(this._rgba,function(t,e){return null==t?e>2?1:0:t});return 1===n[3]&&(n.pop(),e="rgb("),e+n.join(",")+")"},toHslaString:function(){var e="hsla(",n=t.map(this.hsla(),function(t,e){return null==t&&(t=e>2?1:0),e&&e<3&&(t=Math.round(100*t)+"%"),t});return 1==n[3]&&(n.pop(),e="hsl("),e+n.join(",")+")"},toHexString:function(e){var n=this._rgba.slice(),r=n.pop();return e&&n.push(~~(255*r)),"#"+t.map(n,function(t,e){return t=(t||0).toString(16),1==t.length?"0"+t:t}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}},l.fn.parse.prototype=l.fn,c.hsla.to=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=t[3],s=Math.max(r,i,o),u=Math.min(r,i,o),l=s-u,c=s+u,f=.5*c;return e=u===s?0:r===s?60*(i-o)/l+360:i===s?60*(o-r)/l+120:60*(r-i)/l+240,n=0===f||1===f?f:f<=.5?l/c:l/(2-c),[Math.round(e)%360,n,f,null==a?1:a]},c.hsla.from=function(t){if(null==t[0]||null==t[1]||null==t[2])return[null,null,null,t[3]];var e=t[0]/360,n=t[1],r=t[2],o=t[3],a=r<=.5?r*(1+n):r+n-r*n,s=2*r-a;return[Math.round(255*i(s,a,e+1/3)),Math.round(255*i(s,a,e)),Math.round(255*i(s,a,e-1/3)),o]},p(c,function(e,r){var i=r.props,o=r.cache,a=r.to,u=r.from;l.fn[e]=function(e){if(a&&!this[o]&&(this[o]=a(this._rgba)),void 0===e)return this[o].slice();var r,s=t.type(e),c="array"===s||"object"===s?e:arguments,f=this[o].slice();return p(i,function(t,e){var r=c["object"===s?t:e.idx];null==r&&(r=f[e.idx]),f[e.idx]=n(r,e)}),u?(r=l(u(f)),r[o]=f,r):l(f)},p(i,function(n,r){l.fn[n]||(l.fn[n]=function(i){var o,a=t.type(i),u="alpha"===n?this._hsla?"hsla":"rgba":e,l=this[u](),c=l[r.idx];return"undefined"===a?c:("function"===a&&(i=i.call(this,c),a=t.type(i)),null==i&&r.empty?this:("string"===a&&(o=s.exec(i))&&(i=c+parseFloat(o[2])*("+"===o[1]?1:-1)),l[r.idx]=i,this[u](l)))})})}),p(a,function(e,n){t.cssHooks[n]={set:function(e,i){var o;if("string"!==t.type(i)||(o=r(i))){if(i=l(o||i),!h.rgba&&1!==i._rgba[3]){var a,s="backgroundColor"===n?e.parentNode:e;do{a=t.curCSS(s,"backgroundColor")}while((""===a||"transparent"===a)&&(s=s.parentNode)&&s.style);i=i.blend(a&&"transparent"!==a?a:"_default")}i=i.toRgbaString()}e.style[n]=i}},t.fx.step[n]=function(e){e.colorInit||(e.start=l(e.elem,n),e.end=l(e.end),e.colorInit=!0),t.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}}),t(function(){var t=document.createElement("div"),e=t.style;e.cssText="background-color:rgba(1,1,1,.5)",h.rgba=e.backgroundColor.indexOf("rgba")>-1}),o=t.Color.names={aqua:"#00ffff",azure:"#f0ffff",beige:"#f5f5dc",black:"#000000",blue:"#0000ff",brown:"#a52a2a",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgrey:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkviolet:"#9400d3",fuchsia:"#ff00ff",gold:"#ffd700",green:"#008000",indigo:"#4b0082",khaki:"#f0e68c",lightblue:"#add8e6",lightcyan:"#e0ffff",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightyellow:"#ffffe0",lime:"#00ff00",magenta:"#ff00ff",maroon:"#800000",navy:"#000080",olive:"#808000",orange:"#ffa500",pink:"#ffc0cb",purple:"#800080",violet:"#800080",red:"#ff0000",silver:"#c0c0c0",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(t){function e(t){return s.raw?t:encodeURIComponent(t)}function n(t){return s.raw?t:decodeURIComponent(t)}function r(t){return e(s.json?JSON.stringify(t):String(t))}function i(t){0===t.indexOf('"')&&(t=t.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return t=decodeURIComponent(t.replace(a," ")),s.json?JSON.parse(t):t}catch(t){}}function o(e,n){var r=s.raw?e:i(e);return t.isFunction(n)?n(r):r}var a=/\+/g,s=t.cookie=function(i,a,u){if(void 0!==a&&!t.isFunction(a)){if(u=t.extend({},s.defaults,u),"number"==typeof u.expires){var l=u.expires,c=u.expires=new Date;c.setTime(+c+864e5*l)}return document.cookie=[e(i),"=",r(a),u.expires?"; expires="+u.expires.toUTCString():"",u.path?"; path="+u.path:"",u.domain?"; domain="+u.domain:"",u.secure?"; secure":""].join("")}for(var f=i?void 0:{},d=document.cookie?document.cookie.split("; "):[],h=0,p=d.length;h<p;h++){var v=d[h].split("="),g=n(v.shift()),m=v.join("=");if(i&&i===g){f=o(m,a);break}i||void 0===(m=o(m))||(f[g]=m)}return f};s.defaults={},t.removeCookie=function(e,n){return void 0!==t.cookie(e)&&(t.cookie(e,"",t.extend({},n,{expires:-1})),!t.cookie(e))}}),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery.ui.widget"],t):"object"==typeof exports?t(require("jquery"),require("./vendor/jquery.ui.widget")):t(window.jQuery)}(function(t){"use strict";function e(e){var n="dragover"===e;return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&-1!==t.inArray("Files",i.types)&&!1!==this._trigger(e,t.Event(e,{delegatedEven