From 8be19de0c611b1dc15a59db8ac5086b53ac633d0 Mon Sep 17 00:00:00 2001 From: hender Date: Sun, 14 Jul 2019 15:10:41 -0400 Subject: Originales --- ...vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js (limited to 'RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js') diff --git a/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js b/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js new file mode 100644 index 0000000..3a69a3c --- /dev/null +++ b/RaspberryPITVHDMI_archivos/vendor-25f91d66eba869fbd399d751711e74544b6d60bf034a5350b61c6c.js @@ -0,0 +1,6 @@ +!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":">",'"':""","'":"'","`":"`","=":"="},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;l0?(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=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=0&&e0&&(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=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",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");f.append("");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=" "),p=r[d].href?r[d].href:"javascript:;",l=l+""+g+h+"",f[d]=m}var w=["");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

").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,">"),e=e.replace(/[ ]/g,"​ ​"),e.replace(/\n/g,"
")},l=function(t,e,n){var r;return r=v.substring(t,t+1),"\n"===r?"
":""+i(r)+""},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-199?"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.maxc.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').prop("disabled")),t.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),t.support.xhrFormDataFileUpload=!!window.FormData,t.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),t.widget("blueimp.fileupload",{options:{dropZone:t(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(e,n){return e=this.messages[e]||e.toString(),n&&t.each(n,function(t,n){e=e.replace("{"+t+"}",n)}),e},formData:function(t){return t.serializeArray()},add:function(e,n){if(e.isDefaultPrevented())return!1;(n.autoUpload||!1!==n.autoUpload&&t(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:t.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(t,e,n){var r=t-this.timestamp;return(!this.bitrate||!n||r>n)&&(this.bitrate=(e-this.loaded)*(1e3/r)*8,this.loaded=e,this.timestamp=t),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&t.support.xhrFileUpload||t.support.xhrFormDataFileUpload)},_getFormData:function(e){var n;return"function"===t.type(e.formData)?e.formData(e.form):t.isArray(e.formData)?e.formData:"object"===t.type(e.formData)?(n=[],t.each(e.formData,function(t,e){n.push({name:t,value:e})}),n):[]},_getTotal:function(e){var n=0;return t.each(e,function(t,e){n+=e.size||1}),n},_initProgressObject:function(e){var n={loaded:0,total:0,bitrate:0};e._progress?t.extend(e._progress,n):e._progress=n},_initResponseObject:function(t){var e;if(t._response)for(e in t._response)t._response.hasOwnProperty(e)&&delete t._response[e];else t._response={}},_onProgress:function(e,n){if(e.lengthComputable){var r,i=Date.now?Date.now():(new Date).getTime();if(n._time&&n.progressInterval&&i-n._time").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&n&&n!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(t){this._isXHRUpload(t)?(this._chunkedUpload(t,!0)||(t.data||this._initXHRData(t),this._initProgressListener(t)),t.postMessage&&(t.dataType="postmessage "+(t.dataType||""))):this._initIframeSettings(t)},_getParamName:function(e){var n=t(e.fileInput),r=e.paramName;return r?t.isArray(r)||(r=[r]):(r=[],n.each(function(){for(var e=t(this),n=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(e){e.form&&e.form.length||(e.form=t(e.fileInput.prop("form")),e.form.length||(e.form=t(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===t.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){var n=t.extend({},this.options,e);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(t){return t.state?t.state():t.isResolved()?"resolved":t.isRejected()?"rejected":"pending"},_enhancePromise:function(t){return t.success=t.done,t.error=t.fail,t.complete=t.always,t},_getXHRPromise:function(e,n,r){var i=t.Deferred(),o=i.promise();return n=n||this.options.context||o,!0===e?i.resolveWith(n,r):!1===e&&i.rejectWith(n,r),o.abort=i.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,n){var r=this,i=function(e){return t.Deferred().resolveWith(r,e).promise()};n.process=function(e,o){return(e||o)&&(n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?t.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(e,o)),this._processQueue||i([this])},n.submit=function(){return"pending"!==this.state()&&(n.jqXHR=this.jqXHR=!1!==r._trigger("submit",t.Event("submit",{delegatedEvent:e}),this)&&r._onSend(e,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){return this.jqXHR?r._getDeferredState(this.jqXHR):this._processQueue?r._getDeferredState(this._processQueue):void 0},n.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===r._getDeferredState(this._processQueue)},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),n=e&&e.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(e,n){e.uploadedBytes=e.uploadedBytes||0;var r,i,o=this,a=e.files[0],s=a.size,u=e.uploadedBytes,l=e.maxChunkSize||s,c=this._blobSlice,f=t.Deferred(),d=f.promise();return!(!(this._isXHRUpload(e)&&c&&(u||l=s?(a.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",a.error])):(i=function(){var n=t.extend({},e),d=n._progress.loaded;n.blob=c.call(a,u,u+l,a.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+u+"-"+(u+n.chunkSize-1)+"/"+s,o._initXHRData(n),o._initProgressListener(n),r=(!1!==o._trigger("chunksend",null,n)&&t.ajax(n)||o._getXHRPromise(!1,n.context)).done(function(r,a,l){u=o._getUploadedBytes(l)||u+n.chunkSize,d+n.chunkSize-n._progress.loaded&&o._onProgress(t.Event("progress",{lengthComputable:!0,loaded:u-n.uploadedBytes,total:u-n.uploadedBytes}),n),e.uploadedBytes=n.uploadedBytes=u,n.result=r,n.textStatus=a,n.jqXHR=l,o._trigger("chunkdone",null,n),o._trigger("chunkalways",null,n),us._sending)for(var r=s._slots.shift();r;){if("pending"===s._getDeferredState(r)){r.resolve();break}r=s._slots.shift()}0===s._active&&s._trigger("stop")})};return this._beforeSend(e,u),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=t.Deferred(),this._slots.push(o),a=o.pipe(l)):(this._sequence=this._sequence.pipe(l,l),a=this._sequence),a.abort=function(){return i=[void 0,"abort","abort"], +r?r.abort():(o&&o.rejectWith(u.context,i),l())},this._enhancePromise(a)):l()},_onAdd:function(e,n){var r,i,o,a,s=this,u=!0,l=t.extend({},this.options,n),c=n.files,f=c.length,d=l.limitMultiFileUploads,h=l.limitMultiFileUploadSize,p=l.limitMultiFileUploadSizeOverhead,v=0,g=this._getParamName(l),m=0;if(!h||f&&void 0!==c[0].size||(