RSS Git Download  Clone
Raw Blame History
/*! 
@license gitlist v1.1.3
  
🤖 P3X Gitlist

License: MIT Copyright (c) 2018 Patrik Laszlo
For more information about all licenses, please see bundle.js.LICENSE
 */
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="./themes/bootstrap/js/bundle.js")}({"./node_modules/bootstrap/dist/js/npm.js":function(e,t,n){n("./node_modules/bootstrap/js/transition.js"),n("./node_modules/bootstrap/js/alert.js"),n("./node_modules/bootstrap/js/button.js"),n("./node_modules/bootstrap/js/carousel.js"),n("./node_modules/bootstrap/js/collapse.js"),n("./node_modules/bootstrap/js/dropdown.js"),n("./node_modules/bootstrap/js/modal.js"),n("./node_modules/bootstrap/js/tooltip.js"),n("./node_modules/bootstrap/js/popover.js"),n("./node_modules/bootstrap/js/scrollspy.js"),n("./node_modules/bootstrap/js/tab.js"),n("./node_modules/bootstrap/js/affix.js")},"./node_modules/bootstrap/js/affix.js":function(e,t){!function(e){"use strict";var t=function(n,r){this.options=e.extend({},t.DEFAULTS,r),this.$target=e(this.options.target).on("scroll.bs.affix.data-api",e.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",e.proxy(this.checkPositionWithEventLoop,this)),this.$element=e(n),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(n){return this.each(function(){var r=e(this),o=r.data("bs.affix"),i="object"==typeof n&&n;o||r.data("bs.affix",o=new t(this,i)),"string"==typeof n&&o[n]()})}t.VERSION="3.3.7",t.RESET="affix affix-top affix-bottom",t.DEFAULTS={offset:0,target:window},t.prototype.getState=function(e,t,n,r){var o=this.$target.scrollTop(),i=this.$element.offset(),a=this.$target.height();if(null!=n&&"top"==this.affixed)return o<n&&"top";if("bottom"==this.affixed)return null!=n?!(o+this.unpin<=i.top)&&"bottom":!(o+a<=e-r)&&"bottom";var s=null==this.affixed,l=s?o:i.top;return null!=n&&o<=n?"top":null!=r&&l+(s?a:t)>=e-r&&"bottom"},t.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(t.RESET).addClass("affix");var e=this.$target.scrollTop(),n=this.$element.offset();return this.pinnedOffset=n.top-e},t.prototype.checkPositionWithEventLoop=function(){setTimeout(e.proxy(this.checkPosition,this),1)},t.prototype.checkPosition=function(){if(this.$element.is(":visible")){var n=this.$element.height(),r=this.options.offset,o=r.top,i=r.bottom,a=Math.max(e(document).height(),e(document.body).height());"object"!=typeof r&&(i=o=r),"function"==typeof o&&(o=r.top(this.$element)),"function"==typeof i&&(i=r.bottom(this.$element));var s=this.getState(a,n,o,i);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var l="affix"+(s?"-"+s:""),u=e.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(t.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:a-n-i})}};var r=e.fn.affix;e.fn.affix=n,e.fn.affix.Constructor=t,e.fn.affix.noConflict=function(){return e.fn.affix=r,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),r=t.data();r.offset=r.offset||{},null!=r.offsetBottom&&(r.offset.bottom=r.offsetBottom),null!=r.offsetTop&&(r.offset.top=r.offsetTop),n.call(t,r)})})}(jQuery)},"./node_modules/bootstrap/js/alert.js":function(e,t){!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.VERSION="3.3.7",n.TRANSITION_DURATION=150,n.prototype.close=function(t){var r=e(this),o=r.attr("data-target");o||(o=(o=r.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,""));var i=e("#"===o?[]:o);function a(){i.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),i.length||(i=r.closest(".alert")),i.trigger(t=e.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",a).emulateTransitionEnd(n.TRANSITION_DURATION):a())};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),o=r.data("bs.alert");o||r.data("bs.alert",o=new n(this)),"string"==typeof t&&o[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.bs.alert.data-api",t,n.prototype.close)}(jQuery)},"./node_modules/bootstrap/js/button.js":function(e,t){!function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.isLoading=!1};function n(n){return this.each(function(){var r=e(this),o=r.data("bs.button"),i="object"==typeof n&&n;o||r.data("bs.button",o=new t(this,i)),"toggle"==n?o.toggle():n&&o.setState(n)})}t.VERSION="3.3.7",t.DEFAULTS={loadingText:"loading..."},t.prototype.setState=function(t){var n="disabled",r=this.$element,o=r.is("input")?"val":"html",i=r.data();t+="Text",null==i.resetText&&r.data("resetText",r[o]()),setTimeout(e.proxy(function(){r[o](null==i[t]?this.options[t]:i[t]),"loadingText"==t?(this.isLoading=!0,r.addClass(n).attr(n,n).prop(n,!0)):this.isLoading&&(this.isLoading=!1,r.removeClass(n).removeAttr(n).prop(n,!1))},this),0)},t.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var r=e.fn.button;e.fn.button=n,e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=r,this},e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var r=e(t.target).closest(".btn");n.call(r,"toggle"),e(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),r.is("input,button")?r.trigger("focus"):r.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){e(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery)},"./node_modules/bootstrap/js/carousel.js":function(e,t){!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",e.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",e.proxy(this.pause,this)).on("mouseleave.bs.carousel",e.proxy(this.cycle,this))};function n(n){return this.each(function(){var r=e(this),o=r.data("bs.carousel"),i=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n),a="string"==typeof n?n:i.slide;o||r.data("bs.carousel",o=new t(this,i)),"number"==typeof n?o.to(n):a?o[a]():i.interval&&o.pause().cycle()})}t.VERSION="3.3.7",t.TRANSITION_DURATION=600,t.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},t.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},t.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},t.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},t.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},t.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(e>n?"next":"prev",this.$items.eq(e))},t.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},t.prototype.next=function(){if(!this.sliding)return this.slide("next")},t.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},t.prototype.slide=function(n,r){var o=this.$element.find(".item.active"),i=r||this.getItemForDirection(n,o),a=this.interval,s="next"==n?"left":"right",l=this;if(i.hasClass("active"))return this.sliding=!1;var u=i[0],c=e.Event("slide.bs.carousel",{relatedTarget:u,direction:s});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var f=e(this.$indicators.children()[this.getItemIndex(i)]);f&&f.addClass("active")}var d=e.Event("slid.bs.carousel",{relatedTarget:u,direction:s});return e.support.transition&&this.$element.hasClass("slide")?(i.addClass(n),i[0].offsetWidth,o.addClass(s),i.addClass(s),o.one("bsTransitionEnd",function(){i.removeClass([n,s].join(" ")).addClass("active"),o.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(d)},0)}).emulateTransitionEnd(t.TRANSITION_DURATION)):(o.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger(d)),a&&this.cycle(),this}};var r=e.fn.carousel;e.fn.carousel=n,e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=r,this};var o=function(t){var r,o=e(this),i=e(o.attr("data-target")||(r=o.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""));if(i.hasClass("carousel")){var a=e.extend({},i.data(),o.data()),s=o.attr("data-slide-to");s&&(a.interval=!1),n.call(i,a),s&&i.data("bs.carousel").to(s),t.preventDefault()}};e(document).on("click.bs.carousel.data-api","[data-slide]",o).on("click.bs.carousel.data-api","[data-slide-to]",o),e(window).on("load",function(){e('[data-ride="carousel"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery)},"./node_modules/bootstrap/js/collapse.js":function(e,t){!function(e){"use strict";var t=function(n,r){this.$element=e(n),this.options=e.extend({},t.DEFAULTS,r),this.$trigger=e('[data-toggle="collapse"][href="#'+n.id+'"],[data-toggle="collapse"][data-target="#'+n.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var n,r=t.attr("data-target")||(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,"");return e(r)}function r(n){return this.each(function(){var r=e(this),o=r.data("bs.collapse"),i=e.extend({},t.DEFAULTS,r.data(),"object"==typeof n&&n);!o&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),o||r.data("bs.collapse",o=new t(this,i)),"string"==typeof n&&o[n]()})}t.VERSION="3.3.7",t.TRANSITION_DURATION=350,t.DEFAULTS={toggle:!0},t.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},t.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var n,o=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(o&&o.length&&(n=o.data("bs.collapse"))&&n.transitioning)){var i=e.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){o&&o.length&&(r.call(o,"hide"),n||o.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var s=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!e.support.transition)return s.call(this);var l=e.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",e.proxy(s,this)).emulateTransitionEnd(t.TRANSITION_DURATION)[a](this.$element[0][l])}}}},t.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var n=e.Event("hide.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){var r=this.dimension();this.$element[r](this.$element[r]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var o=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!e.support.transition)return o.call(this);this.$element[r](0).one("bsTransitionEnd",e.proxy(o,this)).emulateTransitionEnd(t.TRANSITION_DURATION)}}},t.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},t.prototype.getParent=function(){return e(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(e.proxy(function(t,r){var o=e(r);this.addAriaAndCollapsedClass(n(o),o)},this)).end()},t.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var o=e.fn.collapse;e.fn.collapse=r,e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=o,this},e(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var o=e(this);o.attr("data-target")||t.preventDefault();var i=n(o),a=i.data("bs.collapse")?"toggle":o.data();r.call(i,a)})}(jQuery)},"./node_modules/bootstrap/js/dropdown.js":function(e,t){!function(e){"use strict";var t=".dropdown-backdrop",n='[data-toggle="dropdown"]',r=function(t){e(t).on("click.bs.dropdown",this.toggle)};function o(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var r=n&&e(n);return r&&r.length?r:t.parent()}function i(r){r&&3===r.which||(e(t).remove(),e(n).each(function(){var t=e(this),n=o(t),i={relatedTarget:this};n.hasClass("open")&&(r&&"click"==r.type&&/input|textarea/i.test(r.target.tagName)&&e.contains(n[0],r.target)||(n.trigger(r=e.Event("hide.bs.dropdown",i)),r.isDefaultPrevented()||(t.attr("aria-expanded","false"),n.removeClass("open").trigger(e.Event("hidden.bs.dropdown",i)))))}))}r.VERSION="3.3.7",r.prototype.toggle=function(t){var n=e(this);if(!n.is(".disabled, :disabled")){var r=o(n),a=r.hasClass("open");if(i(),!a){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",i);var s={relatedTarget:this};if(r.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},r.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var r=e(this);if(t.preventDefault(),t.stopPropagation(),!r.is(".disabled, :disabled")){var i=o(r),a=i.hasClass("open");if(!a&&27!=t.which||a&&27==t.which)return 27==t.which&&i.find(n).trigger("focus"),r.trigger("click");var s=i.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(t.target);38==t.which&&l>0&&l--,40==t.which&&l<s.length-1&&l++,~l||(l=0),s.eq(l).trigger("focus")}}}};var a=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var n=e(this),o=n.data("bs.dropdown");o||n.data("bs.dropdown",o=new r(this)),"string"==typeof t&&o[t].call(n)})},e.fn.dropdown.Constructor=r,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=a,this},e(document).on("click.bs.dropdown.data-api",i).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",n,r.prototype.toggle).on("keydown.bs.dropdown.data-api",n,r.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",r.prototype.keydown)}(jQuery)},"./node_modules/bootstrap/js/modal.js":function(e,t){!function(e){"use strict";var t=function(t,n){this.options=n,this.$body=e(document.body),this.$element=e(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,e.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function n(n,r){return this.each(function(){var o=e(this),i=o.data("bs.modal"),a=e.extend({},t.DEFAULTS,o.data(),"object"==typeof n&&n);i||o.data("bs.modal",i=new t(this,a)),"string"==typeof n?i[n](r):a.show&&i.show(r)})}t.VERSION="3.3.7",t.TRANSITION_DURATION=300,t.BACKDROP_TRANSITION_DURATION=150,t.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},t.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},t.prototype.show=function(n){var r=this,o=e.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(o),this.isShown||o.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"]',e.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(t){e(t.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var o=e.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),o&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var i=e.Event("shown.bs.modal",{relatedTarget:n});o?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(i)}).emulateTransitionEnd(t.TRANSITION_DURATION):r.$element.trigger("focus").trigger(i)}))},t.prototype.hide=function(n){n&&n.preventDefault(),n=e.Event("hide.bs.modal"),this.$element.trigger(n),this.isShown&&!n.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),e(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"),e.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",e.proxy(this.hideModal,this)).emulateTransitionEnd(t.TRANSITION_DURATION):this.hideModal())},t.prototype.enforceFocus=function(){e(document).off("focusin.bs.modal").on("focusin.bs.modal",e.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},t.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",e.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},t.prototype.resize=function(){this.isShown?e(window).on("resize.bs.modal",e.proxy(this.handleUpdate,this)):e(window).off("resize.bs.modal")},t.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},t.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},t.prototype.backdrop=function(n){var r=this,o=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&o;if(this.$backdrop=e(document.createElement("div")).addClass("modal-backdrop "+o).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",e.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!n)return;i?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):n()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){r.removeBackdrop(),n&&n()};e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION):a()}else n&&n()},t.prototype.handleUpdate=function(){this.adjustDialog()},t.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},t.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},t.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},t.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",e+this.scrollbarWidth)},t.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},t.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var r=e.fn.modal;e.fn.modal=n,e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=r,this},e(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var r=e(this),o=r.attr("href"),i=e(r.attr("data-target")||o&&o.replace(/.*(?=#[^\s]+$)/,"")),a=i.data("bs.modal")?"toggle":e.extend({remote:!/#/.test(o)&&o},i.data(),r.data());r.is("a")&&t.preventDefault(),i.one("show.bs.modal",function(e){e.isDefaultPrevented()||i.one("hidden.bs.modal",function(){r.is(":visible")&&r.trigger("focus")})}),n.call(i,a,this)})}(jQuery)},"./node_modules/bootstrap/js/popover.js":function(e,t){!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};if(!e.fn.tooltip)throw new Error("Popover requires tooltip.js");t.VERSION="3.3.7",t.DEFAULTS=e.extend({},e.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype),t.prototype.constructor=t,t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof n?"html":"append":"text"](n),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},t.prototype.hasContent=function(){return this.getTitle()||this.getContent()},t.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),o=r.data("bs.popover"),i="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||r.data("bs.popover",o=new t(this,i)),"string"==typeof n&&o[n]())})},e.fn.popover.Constructor=t,e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(jQuery)},"./node_modules/bootstrap/js/scrollspy.js":function(e,t){!function(e){"use strict";function t(n,r){this.$body=e(document.body),this.$scrollElement=e(n).is(document.body)?e(window):e(n),this.options=e.extend({},t.DEFAULTS,r),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",e.proxy(this.process,this)),this.refresh(),this.process()}function n(n){return this.each(function(){var r=e(this),o=r.data("bs.scrollspy"),i="object"==typeof n&&n;o||r.data("bs.scrollspy",o=new t(this,i)),"string"==typeof n&&o[n]()})}t.VERSION="3.3.7",t.DEFAULTS={offset:10},t.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},t.prototype.refresh=function(){var t=this,n="offset",r=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),e.isWindow(this.$scrollElement[0])||(n="position",r=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=e(this),o=t.data("target")||t.attr("href"),i=/^#./.test(o)&&e(o);return i&&i.length&&i.is(":visible")&&[[i[n]().top+r,o]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},t.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,i=this.targets,a=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),t>=r)return a!=(e=i[i.length-1])&&this.activate(e);if(a&&t<o[0])return this.activeTarget=null,this.clear();for(e=o.length;e--;)a!=i[e]&&t>=o[e]&&(void 0===o[e+1]||t<o[e+1])&&this.activate(i[e])},t.prototype.activate=function(t){this.activeTarget=t,this.clear();var n=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',r=e(n).parents("li").addClass("active");r.parent(".dropdown-menu").length&&(r=r.closest("li.dropdown").addClass("active")),r.trigger("activate.bs.scrollspy")},t.prototype.clear=function(){e(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var r=e.fn.scrollspy;e.fn.scrollspy=n,e.fn.scrollspy.Constructor=t,e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=r,this},e(window).on("load.bs.scrollspy.data-api",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);n.call(t,t.data())})})}(jQuery)},"./node_modules/bootstrap/js/tab.js":function(e,t){!function(e){"use strict";var t=function(t){this.element=e(t)};function n(n){return this.each(function(){var r=e(this),o=r.data("bs.tab");o||r.data("bs.tab",o=new t(this)),"string"==typeof n&&o[n]()})}t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.prototype.show=function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.data("target");if(r||(r=(r=t.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=n.find(".active:last a"),i=e.Event("hide.bs.tab",{relatedTarget:t[0]}),a=e.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(i),t.trigger(a),!a.isDefaultPrevented()&&!i.isDefaultPrevented()){var s=e(r);this.activate(t.closest("li"),n),this.activate(s,s.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},t.prototype.activate=function(n,r,o){var i=r.find("> .active"),a=o&&e.support.transition&&(i.length&&i.hasClass("fade")||!!r.find("> .fade").length);function s(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),n.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(n[0].offsetWidth,n.addClass("in")):n.removeClass("fade"),n.parent(".dropdown-menu").length&&n.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),o&&o()}i.length&&a?i.one("bsTransitionEnd",s).emulateTransitionEnd(t.TRANSITION_DURATION):s(),i.removeClass("in")};var r=e.fn.tab;e.fn.tab=n,e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=r,this};var o=function(t){t.preventDefault(),n.call(e(this),"show")};e(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',o).on("click.bs.tab.data-api",'[data-toggle="pill"]',o)}(jQuery)},"./node_modules/bootstrap/js/tooltip.js":function(e,t){!function(e){"use strict";var t=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};t.VERSION="3.3.7",t.TRANSITION_DURATION=150,t.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},t.prototype.init=function(t,n,r){if(this.enabled=!0,this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.$viewport=this.options.viewport&&e(e.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),i=o.length;i--;){var a=o[i];if("click"==a)this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this));else if("manual"!=a){var s="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},t.prototype.getDefaults=function(){return t.DEFAULTS},t.prototype.getOptions=function(t){return(t=e.extend({},this.getDefaults(),this.$element.data(),t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t},t.prototype.getDelegateOptions=function(){var t={},n=this.getDefaults();return this._options&&e.each(this._options,function(e,r){n[e]!=r&&(t[e]=r)}),t},t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusin"==t.type?"focus":"hover"]=!0),n.tip().hasClass("in")||"in"==n.hoverState)n.hoverState="in";else{if(clearTimeout(n.timeout),n.hoverState="in",!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){"in"==n.hoverState&&n.show()},n.options.delay.show)}},t.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget).data("bs."+this.type);if(n||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n)),t instanceof e.Event&&(n.inState["focusout"==t.type?"focus":"hover"]=!1),!n.isInStateTrue()){if(clearTimeout(n.timeout),n.hoverState="out",!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){"out"==n.hoverState&&n.hide()},n.options.delay.hide)}},t.prototype.show=function(){var n=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(n);var r=e.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(n.isDefaultPrevented()||!r)return;var o=this,i=this.tip(),a=this.getUID(this.type);this.setContent(),i.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&i.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(s);u&&(s=s.replace(l,"")||"top"),i.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?i.appendTo(this.options.container):i.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),f=i[0].offsetWidth,d=i[0].offsetHeight;if(u){var h=s,p=this.getPosition(this.$viewport);s="bottom"==s&&c.bottom+d>p.bottom?"top":"top"==s&&c.top-d<p.top?"bottom":"right"==s&&c.right+f>p.width?"left":"left"==s&&c.left-f<p.left?"right":s,i.removeClass(h).addClass(s)}var g=this.getCalculatedOffset(s,c,f,d);this.applyPlacement(g,s);var m=function(){var e=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==e&&o.leave(o)};e.support.transition&&this.$tip.hasClass("fade")?i.one("bsTransitionEnd",m).emulateTransitionEnd(t.TRANSITION_DURATION):m()}},t.prototype.applyPlacement=function(t,n){var r=this.tip(),o=r[0].offsetWidth,i=r[0].offsetHeight,a=parseInt(r.css("margin-top"),10),s=parseInt(r.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(s)&&(s=0),t.top+=a,t.left+=s,e.offset.setOffset(r[0],e.extend({using:function(e){r.css({top:Math.round(e.top),left:Math.round(e.left)})}},t),0),r.addClass("in");var l=r[0].offsetWidth,u=r[0].offsetHeight;"top"==n&&u!=i&&(t.top=t.top+i-u);var c=this.getViewportAdjustedDelta(n,t,l,u);c.left?t.left+=c.left:t.top+=c.top;var f=/top|bottom/.test(n),d=f?2*c.left-o+l:2*c.top-i+u,h=f?"offsetWidth":"offsetHeight";r.offset(t),this.replaceArrow(d,r[0][h],f)},t.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},t.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},t.prototype.hide=function(n){var r=this,o=e(this.$tip),i=e.Event("hide.bs."+this.type);function a(){"in"!=r.hoverState&&o.detach(),r.$element&&r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),n&&n()}if(this.$element.trigger(i),!i.isDefaultPrevented())return o.removeClass("in"),e.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",a).emulateTransitionEnd(t.TRANSITION_DURATION):a(),this.hoverState=null,this},t.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},t.prototype.hasContent=function(){return this.getTitle()},t.prototype.getPosition=function(t){var n=(t=t||this.$element)[0],r="BODY"==n.tagName,o=n.getBoundingClientRect();null==o.width&&(o=e.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var i=window.SVGElement&&n instanceof window.SVGElement,a=r?{top:0,left:0}:i?null:t.offset(),s={scroll:r?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},l=r?{width:e(window).width(),height:e(window).height()}:null;return e.extend({},o,s,l,a)},t.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},t.prototype.getViewportAdjustedDelta=function(e,t,n,r){var o={top:0,left:0};if(!this.$viewport)return o;var i=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-i-a.scroll,l=t.top+i-a.scroll+r;s<a.top?o.top=a.top-s:l>a.top+a.height&&(o.top=a.top+a.height-l)}else{var u=t.left-i,c=t.left+i+n;u<a.left?o.left=a.left-u:c>a.right&&(o.left=a.left+a.width-c)}return o},t.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},t.prototype.getUID=function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},t.prototype.tip=function(){if(!this.$tip&&(this.$tip=e(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},t.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},t.prototype.enable=function(){this.enabled=!0},t.prototype.disable=function(){this.enabled=!1},t.prototype.toggleEnabled=function(){this.enabled=!this.enabled},t.prototype.toggle=function(t){var n=this;t&&((n=e(t.currentTarget).data("bs."+this.type))||(n=new this.constructor(t.currentTarget,this.getDelegateOptions()),e(t.currentTarget).data("bs."+this.type,n))),t?(n.inState.click=!n.inState.click,n.isInStateTrue()?n.enter(n):n.leave(n)):n.tip().hasClass("in")?n.leave(n):n.enter(n)},t.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),o=r.data("bs.tooltip"),i="object"==typeof n&&n;!o&&/destroy|hide/.test(n)||(o||r.data("bs.tooltip",o=new t(this,i)),"string"==typeof n&&o[n]())})},e.fn.tooltip.Constructor=t,e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(jQuery)},"./node_modules/bootstrap/js/transition.js":function(e,t){!function(e){"use strict";e.fn.emulateTransitionEnd=function(t){var n=!1,r=this;e(this).one("bsTransitionEnd",function(){n=!0});return setTimeout(function(){n||e(r).trigger(e.support.transition.end)},t),this},e(function(){e.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),e.support.transition&&(e.event.special.bsTransitionEnd={bindType:e.support.transition.end,delegateType:e.support.transition.end,handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery)},"./node_modules/codemirror/addon/mode/multiplex.js":function(e,t,n){!function(e){"use strict";e.multiplexingMode=function(t){var n=Array.prototype.slice.call(arguments,1);function r(e,t,n,r){if("string"==typeof t){var o=e.indexOf(t,n);return r&&o>-1?o+t.length:o}var i=t.exec(n?e.slice(n):e);return i?i.index+n+(r?i[0].length:0):-1}return{startState:function(){return{outer:e.startState(t),innerActive:null,inner:null}},copyState:function(n){return{outer:e.copyState(t,n.outer),innerActive:n.innerActive,inner:n.innerActive&&e.copyState(n.innerActive.mode,n.inner)}},token:function(o,i){if(i.innerActive){var a=i.innerActive,s=o.string;if(!a.close&&o.sol())return i.innerActive=i.inner=null,this.token(o,i);var l=a.close?r(s,a.close,o.pos,a.parseDelimiters):-1;if(l==o.pos&&!a.parseDelimiters)return o.match(a.close),i.innerActive=i.inner=null,a.delimStyle&&a.delimStyle+" "+a.delimStyle+"-close";l>-1&&(o.string=s.slice(0,l));var u=a.mode.token(o,i.inner);return l>-1&&(o.string=s),l==o.pos&&a.parseDelimiters&&(i.innerActive=i.inner=null),a.innerStyle&&(u=u?u+" "+a.innerStyle:a.innerStyle),u}for(var c=1/0,s=o.string,f=0;f<n.length;++f){var d=n[f],l=r(s,d.open,o.pos);if(l==o.pos){d.parseDelimiters||o.match(d.open),i.innerActive=d;var h=0;if(t.indent){var p=t.indent(i.outer,"");p!==e.Pass&&(h=p)}return i.inner=e.startState(d.mode,h),d.delimStyle&&d.delimStyle+" "+d.delimStyle+"-open"}-1!=l&&l<c&&(c=l)}c!=1/0&&(o.string=s.slice(0,c));var g=t.token(o,i.outer);return c!=1/0&&(o.string=s),g},indent:function(n,r){var o=n.innerActive?n.innerActive.mode:t;return o.indent?o.indent(n.innerActive?n.inner:n.outer,r):e.Pass},blankLine:function(r){var o=r.innerActive?r.innerActive.mode:t;if(o.blankLine&&o.blankLine(r.innerActive?r.inner:r.outer),r.innerActive)"\n"===r.innerActive.close&&(r.innerActive=r.inner=null);else for(var i=0;i<n.length;++i){var a=n[i];"\n"===a.open&&(r.innerActive=a,r.inner=e.startState(a.mode,o.indent?o.indent(r.outer,""):0))}},electricChars:t.electricChars,innerMode:function(e){return e.inner?{state:e.inner,mode:e.innerActive.mode}:{state:e.outer,mode:t}}}}}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/addon/mode/simple.js":function(e,t,n){!function(e){"use strict";function t(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function n(e,t){if(!e)return/(?:)/;var n="";return e instanceof RegExp?(e.ignoreCase&&(n="i"),e=e.source):e=String(e),new RegExp((!1===t?"":"^")+"(?:"+e+")",n)}function r(e,r){(e.next||e.push)&&t(r,e.next||e.push),this.regex=n(e.regex),this.token=function(e){if(!e)return null;if(e.apply)return e;if("string"==typeof e)return e.replace(/\./g," ");for(var t=[],n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}(e.token),this.data=e}function o(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var n=0;for(var r in e)if(e.hasOwnProperty(r)){if(!t.hasOwnProperty(r)||!o(e[r],t[r]))return!1;n++}for(var r in t)t.hasOwnProperty(r)&&n--;return 0==n}function i(t,r,i,a){var s;if(i.persistent)for(var l=r.persistentStates;l&&!s;l=l.next)(i.spec?o(i.spec,l.spec):i.mode==l.mode)&&(s=l);var u=s?s.mode:i.mode||e.getMode(t,i.spec),c=s?s.state:e.startState(u);i.persistent&&!s&&(r.persistentStates={mode:u,spec:i.spec,state:c,next:r.persistentStates}),r.localState=c,r.local={mode:u,end:i.end&&n(i.end),endScan:i.end&&!1!==i.forceEnd&&n(i.end,!1),endToken:a&&a.join?a[a.length-1]:a}}e.defineSimpleMode=function(t,n){e.defineMode(t,function(t){return e.simpleMode(t,n)})},e.simpleMode=function(n,o){t(o,"start");var a={},s=o.meta||{},l=!1;for(var u in o)if(u!=s&&o.hasOwnProperty(u))for(var c=a[u]=[],f=o[u],d=0;d<f.length;d++){var h=f[d];c.push(new r(h,o)),(h.indent||h.dedent)&&(l=!0)}var p={startState:function(){return{state:"start",pending:null,local:null,localState:null,indent:l?[]:null}},copyState:function(t){var n={state:t.state,pending:t.pending,local:t.local,localState:null,indent:t.indent&&t.indent.slice(0)};t.localState&&(n.localState=e.copyState(t.local.mode,t.localState)),t.stack&&(n.stack=t.stack.slice(0));for(var r=t.persistentStates;r;r=r.next)n.persistentStates={mode:r.mode,spec:r.spec,state:r.state==t.localState?n.localState:e.copyState(r.mode,r.state),next:n.persistentStates};return n},token:function(e,t){return function(n,r){if(r.pending){var o=r.pending.shift();return 0==r.pending.length&&(r.pending=null),n.pos+=o.text.length,o.token}if(r.local){if(r.local.end&&n.match(r.local.end)){var a=r.local.endToken||null;return r.local=r.localState=null,a}var s,a=r.local.mode.token(n,r.localState);return r.local.endScan&&(s=r.local.endScan.exec(n.current()))&&(n.pos=n.start+s.index),a}for(var l=e[r.state],u=0;u<l.length;u++){var c=l[u],f=(!c.data.sol||n.sol())&&n.match(c.regex);if(f){c.data.next?r.state=c.data.next:c.data.push?((r.stack||(r.stack=[])).push(r.state),r.state=c.data.push):c.data.pop&&r.stack&&r.stack.length&&(r.state=r.stack.pop()),c.data.mode&&i(t,r,c.data.mode,c.token),c.data.indent&&r.indent.push(n.indentation()+t.indentUnit),c.data.dedent&&r.indent.pop();var d=c.token;if(d&&d.apply&&(d=d(f)),f.length>2&&c.token&&"string"!=typeof c.token){r.pending=[];for(var h=2;h<f.length;h++)f[h]&&r.pending.push({text:f[h],token:c.token[h-1]});return n.backUp(f[0].length-(f[1]?f[1].length:0)),d[0]}return d&&d.join?d[0]:d}}return n.next(),null}}(a,n),innerMode:function(e){return e.local&&{mode:e.local.mode,state:e.localState}},indent:function(t,n){return function(r,o,i){if(r.local&&r.local.mode.indent)return r.local.mode.indent(r.localState,o,i);if(null==r.indent||r.local||n.dontIndentStates&&function(e,t){for(var n=0;n<t.length;n++)if(t[n]===e)return!0}(r.state,n.dontIndentStates)>-1)return e.Pass;var a=r.indent.length-1,s=t[r.state];e:for(;;){for(var l=0;l<s.length;l++){var u=s[l];if(u.data.dedent&&!1!==u.data.dedentIfLineStart){var c=u.regex.exec(o);if(c&&c[0]){a--,(u.next||u.push)&&(s=t[u.next||u.push]),o=o.slice(c[0].length);continue e}}}break}return a<0?0:r.indent[a]}}(a,s)};if(s)for(var g in s)s.hasOwnProperty(g)&&(p[g]=s[g]);return p}}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/lib/codemirror.css":function(e,t){},"./node_modules/codemirror/lib/codemirror.js":function(e,t,n){e.exports=function(){"use strict";var e=navigator.userAgent,t=navigator.platform,n=/gecko\/\d/i.test(e),r=/MSIE \d/.test(e),o=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),i=/Edge\/(\d+)/.exec(e),a=r||o||i,s=a&&(r?document.documentMode||6:+(i||o)[1]),l=!i&&/WebKit\//.test(e),u=l&&/Qt\/\d+\.\d+/.test(e),c=!i&&/Chrome\//.test(e),f=/Opera\//.test(e),d=/Apple Computer/.test(navigator.vendor),h=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),p=/PhantomJS/.test(e),g=!i&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),m=/Android/.test(e),v=g||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=g||/Mac/.test(t),y=/\bCrOS\b/.test(e),x=/win/i.test(t),w=f&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(f=!1,l=!0);var k=b&&(u||f&&(null==w||w<12.11)),C=n||a&&s>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var F,T=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var o=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(o?r[1]+o:"")}};function A(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function _(e,t){return A(e).appendChild(t)}function j(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var i=0;i<t.length;++i)o.appendChild(t[i]);return o}function L(e,t,n,r){var o=j(e,t,n,r);return o.setAttribute("role","presentation"),o}function E(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function N(){var e;try{e=document.activeElement}catch(t){e=document.body||null}for(;e&&e.shadowRoot&&e.shadowRoot.activeElement;)e=e.shadowRoot.activeElement;return e}function D(e,t){var n=e.className;S(t).test(n)||(e.className+=(n?" ":"")+t)}function M(e,t){for(var n=e.split(" "),r=0;r<n.length;r++)n[r]&&!S(n[r]).test(t)&&(t+=" "+n[r]);return t}F=document.createRange?function(e,t,n,r){var o=document.createRange();return o.setEnd(r||e,n),o.setStart(e,t),o}:function(e,t,n){var r=document.body.createTextRange();try{r.moveToElementText(e.parentNode)}catch(e){return r}return r.collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r};var O=function(e){e.select()};function I(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function B(e,t,n){for(var r in t||(t={}),e)!e.hasOwnProperty(r)||!1===n&&t.hasOwnProperty(r)||(t[r]=e[r]);return t}function z(e,t,n,r,o){null==t&&-1==(t=e.search(/[^\s\u00a0]/))&&(t=e.length);for(var i=r||0,a=o||0;;){var s=e.indexOf("\t",i);if(s<0||s>=t)return a+(t-i);a+=s-i,a+=n-a%n,i=s+1}}g?O=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(O=function(e){try{e.select()}catch(e){}});var P=function(){this.id=null};function $(e,t){for(var n=0;n<e.length;++n)if(e[n]==t)return n;return-1}P.prototype.set=function(e,t){clearTimeout(this.id),this.id=setTimeout(t,e)};var R=30,W={toString:function(){return"CodeMirror.Pass"}},H={scroll:!1},q={origin:"*mouse"},U={origin:"+move"};function V(e,t,n){for(var r=0,o=0;;){var i=e.indexOf("\t",r);-1==i&&(i=e.length);var a=i-r;if(i==e.length||o+a>=t)return r+Math.min(a,t-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=t)return r}}var G=[""];function X(e){for(;G.length<=e;)G.push(Y(G)+" ");return G[e]}function Y(e){return e[e.length-1]}function K(e,t){for(var n=[],r=0;r<e.length;r++)n[r]=t(e[r],r);return n}function Z(){}function J(e,t){var n;return Object.create?n=Object.create(e):(Z.prototype=e,n=new Z),t&&B(t,n),n}var Q=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ee(e){return/\w/.test(e)||e>"€"&&(e.toUpperCase()!=e.toLowerCase()||Q.test(e))}function te(e,t){return t?!!(t.source.indexOf("\\w")>-1&&ee(e))||t.test(e):ee(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var re=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&re.test(e)}function ie(e,t,n){for(;(n<0?t>0:t<e.length)&&oe(e.charAt(t));)t+=n;return t}function ae(e,t,n){for(var r=t>n?-1:1;;){if(t==n)return t;var o=(t+n)/2,i=r<0?Math.ceil(o):Math.floor(o);if(i==t)return e(i)?t:n;e(i)?n=i:t=i+r}}function se(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(t<i){n=o;break}t-=i}return n.lines[t]}function le(e,t,n){var r=[],o=t.line;return e.iter(t.line,n.line+1,function(e){var i=e.text;o==n.line&&(i=i.slice(0,n.ch)),o==t.line&&(i=i.slice(t.ch)),r.push(i),++o}),r}function ue(e,t,n){var r=[];return e.iter(t,n,function(e){r.push(e.text)}),r}function ce(e,t){var n=t-e.height;if(n)for(var r=e;r;r=r.parent)r.height+=n}function fe(e){if(null==e.parent)return null;for(var t=e.parent,n=$(t.lines,e),r=t.parent;r;t=r,r=r.parent)for(var o=0;r.children[o]!=t;++o)n+=r.children[o].chunkSize();return n+t.first}function de(e,t){var n=e.first;e:do{for(var r=0;r<e.children.length;++r){var o=e.children[r],i=o.height;if(t<i){e=o;continue e}t-=i,n+=o.chunkSize()}return n}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return n+a}function he(e,t){return t>=e.first&&t<e.first+e.size}function pe(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function ge(e,t,n){if(void 0===n&&(n=null),!(this instanceof ge))return new ge(e,t,n);this.line=e,this.ch=t,this.sticky=n}function me(e,t){return e.line-t.line||e.ch-t.ch}function ve(e,t){return e.sticky==t.sticky&&0==me(e,t)}function be(e){return ge(e.line,e.ch)}function ye(e,t){return me(e,t)<0?t:e}function xe(e,t){return me(e,t)<0?e:t}function we(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ke(e,t){if(t.line<e.first)return ge(e.first,0);var n=e.first+e.size-1;return t.line>n?ge(n,se(e,n).text.length):function(e,t){var n=e.ch;return null==n||n>t?ge(e.line,t):n<0?ge(e.line,0):e}(t,se(e,t.line).text.length)}function Ce(e,t){for(var n=[],r=0;r<t.length;r++)n[r]=ke(e,t[r]);return n}var Se=!1,Fe=!1;function Te(e,t,n){this.marker=e,this.from=t,this.to=n}function Ae(e,t){if(e)for(var n=0;n<e.length;++n){var r=e[n];if(r.marker==t)return r}}function _e(e,t){for(var n,r=0;r<e.length;++r)e[r]!=t&&(n||(n=[])).push(e[r]);return n}function je(e,t){if(t.full)return null;var n=he(e,t.from.line)&&se(e,t.from.line).markedSpans,r=he(e,t.to.line)&&se(e,t.to.line).markedSpans;if(!n&&!r)return null;var o=t.from.ch,i=t.to.ch,a=0==me(t.from,t.to),s=function(e,t,n){var r;if(e)for(var o=0;o<e.length;++o){var i=e[o],a=i.marker,s=null==i.from||(a.inclusiveLeft?i.from<=t:i.from<t);if(s||i.from==t&&"bookmark"==a.type&&(!n||!i.marker.insertLeft)){var l=null==i.to||(a.inclusiveRight?i.to>=t:i.to>t);(r||(r=[])).push(new Te(a,i.from,l?null:i.to))}}return r}(n,o,a),l=function(e,t,n){var r;if(e)for(var o=0;o<e.length;++o){var i=e[o],a=i.marker,s=null==i.to||(a.inclusiveRight?i.to>=t:i.to>t);if(s||i.from==t&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var l=null==i.from||(a.inclusiveLeft?i.from<=t:i.from<t);(r||(r=[])).push(new Te(a,l?null:i.from-t,null==i.to?null:i.to-t))}}return r}(r,i,a),u=1==t.text.length,c=Y(t.text).length+(u?o:0);if(s)for(var f=0;f<s.length;++f){var d=s[f];if(null==d.to){var h=Ae(l,d.marker);h?u&&(d.to=null==h.to?null:h.to+c):d.to=o}}if(l)for(var p=0;p<l.length;++p){var g=l[p];if(null!=g.to&&(g.to+=c),null==g.from){var m=Ae(s,g.marker);m||(g.from=c,u&&(s||(s=[])).push(g))}else g.from+=c,u&&(s||(s=[])).push(g)}s&&(s=Le(s)),l&&l!=s&&(l=Le(l));var v=[s];if(!u){var b,y=t.text.length-2;if(y>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(b||(b=[])).push(new Te(s[x].marker,null,null));for(var w=0;w<y;++w)v.push(b);v.push(l)}return v}function Le(e){for(var t=0;t<e.length;++t){var n=e[t];null!=n.from&&n.from==n.to&&!1!==n.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Ee(e){var t=e.markedSpans;if(t){for(var n=0;n<t.length;++n)t[n].marker.detachLine(e);e.markedSpans=null}}function Ne(e,t){if(t){for(var n=0;n<t.length;++n)t[n].marker.attachLine(e);e.markedSpans=t}}function De(e){return e.inclusiveLeft?-1:0}function Me(e){return e.inclusiveRight?1:0}function Oe(e,t){var n=e.lines.length-t.lines.length;if(0!=n)return n;var r=e.find(),o=t.find(),i=me(r.from,o.from)||De(e)-De(t);if(i)return-i;var a=me(r.to,o.to)||Me(e)-Me(t);return a||t.id-e.id}function Ie(e,t){var n,r=Fe&&e.markedSpans;if(r)for(var o=void 0,i=0;i<r.length;++i)(o=r[i]).marker.collapsed&&null==(t?o.from:o.to)&&(!n||Oe(n,o.marker)<0)&&(n=o.marker);return n}function Be(e){return Ie(e,!0)}function ze(e){return Ie(e,!1)}function Pe(e,t,n,r,o){var i=se(e,t),a=Fe&&i.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var u=l.marker.find(0),c=me(u.from,n)||De(l.marker)-De(o),f=me(u.to,r)||Me(l.marker)-Me(o);if(!(c>=0&&f<=0||c<=0&&f>=0)&&(c<=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?me(u.to,n)>=0:me(u.to,n)>0)||c>=0&&(l.marker.inclusiveRight&&o.inclusiveLeft?me(u.from,r)<=0:me(u.from,r)<0)))return!0}}}function $e(e){for(var t;t=Be(e);)e=t.find(-1,!0).line;return e}function Re(e,t){var n=se(e,t),r=$e(n);return n==r?t:fe(r)}function We(e,t){if(t>e.lastLine())return t;var n,r=se(e,t);if(!He(e,r))return t;for(;n=ze(r);)r=n.find(1,!0).line;return fe(r)+1}function He(e,t){var n=Fe&&t.markedSpans;if(n)for(var r=void 0,o=0;o<n.length;++o)if((r=n[o]).marker.collapsed){if(null==r.from)return!0;if(!r.marker.widgetNode&&0==r.from&&r.marker.inclusiveLeft&&qe(e,t,r))return!0}}function qe(e,t,n){if(null==n.to){var r=n.marker.find(1,!0);return qe(e,r.line,Ae(r.line.markedSpans,n.marker))}if(n.marker.inclusiveRight&&n.to==t.text.length)return!0;for(var o=void 0,i=0;i<t.markedSpans.length;++i)if((o=t.markedSpans[i]).marker.collapsed&&!o.marker.widgetNode&&o.from==n.to&&(null==o.to||o.to!=n.from)&&(o.marker.inclusiveLeft||n.marker.inclusiveRight)&&qe(e,t,o))return!0}function Ue(e){for(var t=0,n=(e=$e(e)).parent,r=0;r<n.lines.length;++r){var o=n.lines[r];if(o==e)break;t+=o.height}for(var i=n.parent;i;i=(n=i).parent)for(var a=0;a<i.children.length;++a){var s=i.children[a];if(s==n)break;t+=s.height}return t}function Ve(e){if(0==e.height)return 0;for(var t,n=e.text.length,r=e;t=Be(r);){var o=t.find(0,!0);r=o.from.line,n+=o.from.ch-o.to.ch}for(r=e;t=ze(r);){var i=t.find(0,!0);n-=r.text.length-i.from.ch,r=i.to.line,n+=r.text.length-i.to.ch}return n}function Ge(e){var t=e.display,n=e.doc;t.maxLine=se(n,n.first),t.maxLineLength=Ve(t.maxLine),t.maxLineChanged=!0,n.iter(function(e){var n=Ve(e);n>t.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)})}var Xe=null;function Ye(e,t,n){var r;Xe=null;for(var o=0;o<e.length;++o){var i=e[o];if(i.from<t&&i.to>t)return o;i.to==t&&(i.from!=i.to&&"before"==n?r=o:Xe=o),i.from==t&&(i.from!=i.to&&"before"!=n?r=o:Xe=o)}return null!=r?r:Xe}var Ke=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,r=/[stwN]/,o=/[LRr]/,i=/[Lb1n]/,a=/[1n]/;function s(e,t,n){this.level=e,this.from=t,this.to=n}return function(l,u){var c,f="ltr"==u?"L":"R";if(0==l.length||"ltr"==u&&!n.test(l))return!1;for(var d=l.length,h=[],p=0;p<d;++p)h.push((c=l.charCodeAt(p))<=247?e.charAt(c):1424<=c&&c<=1524?"R":1536<=c&&c<=1785?t.charAt(c-1536):1774<=c&&c<=2220?"r":8192<=c&&c<=8203?"w":8204==c?"b":"L");for(var g=0,m=f;g<d;++g){var v=h[g];"m"==v?h[g]=m:m=v}for(var b=0,y=f;b<d;++b){var x=h[b];"1"==x&&"r"==y?h[b]="n":o.test(x)&&(y=x,"r"==x&&(h[b]="R"))}for(var w=1,k=h[0];w<d-1;++w){var C=h[w];"+"==C&&"1"==k&&"1"==h[w+1]?h[w]="1":","!=C||k!=h[w+1]||"1"!=k&&"n"!=k||(h[w]=k),k=C}for(var S=0;S<d;++S){var F=h[S];if(","==F)h[S]="N";else if("%"==F){var T=void 0;for(T=S+1;T<d&&"%"==h[T];++T);for(var A=S&&"!"==h[S-1]||T<d&&"1"==h[T]?"1":"N",_=S;_<T;++_)h[_]=A;S=T-1}}for(var j=0,L=f;j<d;++j){var E=h[j];"L"==L&&"1"==E?h[j]="L":o.test(E)&&(L=E)}for(var N=0;N<d;++N)if(r.test(h[N])){var D=void 0;for(D=N+1;D<d&&r.test(h[D]);++D);for(var M="L"==(N?h[N-1]:f),O="L"==(D<d?h[D]:f),I=M==O?M?"L":"R":f,B=N;B<D;++B)h[B]=I;N=D-1}for(var z,P=[],$=0;$<d;)if(i.test(h[$])){var R=$;for(++$;$<d&&i.test(h[$]);++$);P.push(new s(0,R,$))}else{var W=$,H=P.length;for(++$;$<d&&"L"!=h[$];++$);for(var q=W;q<$;)if(a.test(h[q])){W<q&&P.splice(H,0,new s(1,W,q));var U=q;for(++q;q<$&&a.test(h[q]);++q);P.splice(H,0,new s(2,U,q)),W=q}else++q;W<$&&P.splice(H,0,new s(1,W,$))}return"ltr"==u&&(1==P[0].level&&(z=l.match(/^\s+/))&&(P[0].from=z[0].length,P.unshift(new s(0,0,z[0].length))),1==Y(P).level&&(z=l.match(/\s+$/))&&(Y(P).to-=z[0].length,P.push(new s(0,d-z[0].length,d)))),"rtl"==u?P.reverse():P}}();function Ze(e,t){var n=e.order;return null==n&&(n=e.order=Ke(e.text,t)),n}var Je=[],Qe=function(e,t,n){if(e.addEventListener)e.addEventListener(t,n,!1);else if(e.attachEvent)e.attachEvent("on"+t,n);else{var r=e._handlers||(e._handlers={});r[t]=(r[t]||Je).concat(n)}};function et(e,t){return e._handlers&&e._handlers[t]||Je}function tt(e,t,n){if(e.removeEventListener)e.removeEventListener(t,n,!1);else if(e.detachEvent)e.detachEvent("on"+t,n);else{var r=e._handlers,o=r&&r[t];if(o){var i=$(o,n);i>-1&&(r[t]=o.slice(0,i).concat(o.slice(i+1)))}}}function nt(e,t){var n=et(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o<n.length;++o)n[o].apply(null,r)}function rt(e,t,n){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),nt(e,n||t.type,e,t),ut(t)||t.codemirrorIgnore}function ot(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var n=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),r=0;r<t.length;++r)-1==$(n,t[r])&&n.push(t[r])}function it(e,t){return et(e,t).length>0}function at(e){e.prototype.on=function(e,t){Qe(this,e,t)},e.prototype.off=function(e,t){tt(this,e,t)}}function st(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function lt(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function ut(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ct(e){st(e),lt(e)}function ft(e){return e.target||e.srcElement}function dt(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),b&&e.ctrlKey&&1==t&&(t=3),t}var ht,pt,gt=function(){if(a&&s<9)return!1;var e=j("div");return"draggable"in e||"dragDrop"in e}();function mt(e){if(null==ht){var t=j("span","​");_(e,j("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(ht=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var n=ht?j("span","​"):j("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function vt(e){if(null!=pt)return pt;var t=_(e,document.createTextNode("AخA")),n=F(t,0,1).getBoundingClientRect(),r=F(t,1,2).getBoundingClientRect();return A(e),!(!n||n.left==n.right)&&(pt=r.right-n.right<3)}var bt,yt=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var o=e.indexOf("\n",t);-1==o&&(o=e.length);var i=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),t+=a+1):(n.push(i),t=o+1)}return n}:function(e){return e.split(/\r\n?|\n/)},xt=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(e){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(e){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},wt="oncopy"in(bt=j("div"))||(bt.setAttribute("oncopy","return;"),"function"==typeof bt.oncopy),kt=null,Ct={},St={};function Ft(e){if("string"==typeof e&&St.hasOwnProperty(e))e=St[e];else if(e&&"string"==typeof e.name&&St.hasOwnProperty(e.name)){var t=St[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Ft("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Ft("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Tt(e,t){t=Ft(t);var n=Ct[t.name];if(!n)return Tt(e,"text/plain");var r=n(e,t);if(At.hasOwnProperty(t.name)){var o=At[t.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var At={};function _t(e,t){var n=At.hasOwnProperty(e)?At[e]:At[e]={};B(t,n)}function jt(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function Lt(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function Et(e,t,n){return!e.startState||e.startState(t,n)}var Nt=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};Nt.prototype.eol=function(){return this.pos>=this.string.length},Nt.prototype.sol=function(){return this.pos==this.lineStart},Nt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Nt.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Nt.prototype.eat=function(e){var t=this.string.charAt(this.pos);if("string"==typeof e?t==e:t&&(e.test?e.test(t):e(t)))return++this.pos,t},Nt.prototype.eatWhile=function(e){for(var t=this.pos;this.eat(e););return this.pos>t},Nt.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Nt.prototype.skipToEnd=function(){this.pos=this.string.length},Nt.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Nt.prototype.backUp=function(e){this.pos-=e},Nt.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=z(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},Nt.prototype.indentation=function(){return z(this.string,null,this.tabSize)-(this.lineStart?z(this.string,this.lineStart,this.tabSize):0)},Nt.prototype.match=function(e,t,n){if("string"!=typeof e){var r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var o=function(e){return n?e.toLowerCase():e},i=this.string.substr(this.pos,e.length);if(o(i)==o(e))return!1!==t&&(this.pos+=e.length),!0},Nt.prototype.current=function(){return this.string.slice(this.start,this.pos)},Nt.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Nt.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Nt.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var Dt=function(e,t){this.state=e,this.lookAhead=t},Mt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function Ot(e,t,n,r){var o=[e.state.modeGen],i={};qt(e,t.text,e.doc.mode,n,function(e,t){return o.push(e,t)},i,r);for(var a=n.state,s=function(r){n.baseTokens=o;var s=e.state.overlays[r],l=1,u=0;n.state=!0,qt(e,t.text,s.mode,n,function(e,t){for(var n=l;u<e;){var r=o[l];r>e&&o.splice(l,1,e,o[l+1],r),l+=2,u=Math.min(e,r)}if(t)if(s.opaque)o.splice(n,l-n,e,"overlay "+t),l=n+2;else for(;n<l;n+=2){var i=o[n+1];o[n+1]=(i?i+" ":"")+"overlay "+t}},i),n.state=a,n.baseTokens=null,n.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:o,classes:i.bgClass||i.textClass?i:null}}function It(e,t,n){if(!t.styles||t.styles[0]!=e.state.modeGen){var r=Bt(e,fe(t)),o=t.text.length>e.options.maxHighlightLength&&jt(e.doc.mode,r.state),i=Ot(e,t,r);o&&(r.state=o),t.stateAfter=r.save(!o),t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function Bt(e,t,n){var r=e.doc,o=e.display;if(!r.mode.startState)return new Mt(r,!0,t);var i=function(e,t,n){for(var r,o,i=e.doc,a=n?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=i.first)return i.first;var l=se(i,s-1),u=l.stateAfter;if(u&&(!n||s+(u instanceof Dt?u.lookAhead:0)<=i.modeFrontier))return s;var c=z(l.text,null,e.options.tabSize);(null==o||r>c)&&(o=s-1,r=c)}return o}(e,t,n),a=i>r.first&&se(r,i-1).stateAfter,s=a?Mt.fromSaved(r,a,i):new Mt(r,Et(r.mode),i);return r.iter(i,t,function(n){zt(e,n.text,s);var r=s.line;n.stateAfter=r==t-1||r%5==0||r>=o.viewFrom&&r<o.viewTo?s.save():null,s.nextLine()}),n&&(r.modeFrontier=s.line),s}function zt(e,t,n,r){var o=e.doc.mode,i=new Nt(t,e.options.tabSize,n);for(i.start=i.pos=r||0,""==t&&Pt(o,n.state);!i.eol();)$t(o,i,n.state),i.start=i.pos}function Pt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var n=Lt(e,t);return n.mode.blankLine?n.mode.blankLine(n.state):void 0}}function $t(e,t,n,r){for(var o=0;o<10;o++){r&&(r[0]=Lt(e,n).mode);var i=e.token(t,n);if(t.pos>t.start)return i}throw new Error("Mode "+e.name+" failed to advance stream.")}Mt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},Mt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},Mt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Mt.fromSaved=function(e,t,n){return t instanceof Dt?new Mt(e,jt(e.mode,t.state),n,t.lookAhead):new Mt(e,jt(e.mode,t),n)},Mt.prototype.save=function(e){var t=!1!==e?jt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Dt(t,this.maxLookAhead):t};var Rt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function Wt(e,t,n,r){var o,i=e.doc,a=i.mode;t=ke(i,t);var s,l=se(i,t.line),u=Bt(e,t.line,n),c=new Nt(l.text,e.options.tabSize,u);for(r&&(s=[]);(r||c.pos<t.ch)&&!c.eol();)c.start=c.pos,o=$t(a,c,u.state),r&&s.push(new Rt(c,o,jt(i.mode,u.state)));return r?s:new Rt(c,o,u.state)}function Ht(e,t){if(e)for(;;){var n=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!n)break;e=e.slice(0,n.index)+e.slice(n.index+n[0].length);var r=n[1]?"bgClass":"textClass";null==t[r]?t[r]=n[2]:new RegExp("(?:^|s)"+n[2]+"(?:$|s)").test(t[r])||(t[r]+=" "+n[2])}return e}function qt(e,t,n,r,o,i,a){var s=n.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,u=0,c=null,f=new Nt(t,e.options.tabSize,r),d=e.options.addModeClass&&[null];for(""==t&&Ht(Pt(n,r.state),i);!f.eol();){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&zt(e,t,r,f.pos),f.pos=t.length,l=null):l=Ht($t(n,f,r.state,d),i),d){var h=d[0].name;h&&(l="m-"+(l?h+" "+l:h))}if(!s||c!=l){for(;u<f.start;)u=Math.min(f.start,u+5e3),o(u,c);c=l}f.start=f.pos}for(;u<f.pos;){var p=Math.min(f.pos,u+5e3);o(p,c),u=p}}var Ut=function(e,t,n){this.text=e,Ne(this,t),this.height=n?n(this):1};function Vt(e){e.parent=null,Ee(e)}Ut.prototype.lineNo=function(){return fe(this)},at(Ut);var Gt={},Xt={};function Yt(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?Xt:Gt;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function Kt(e,t){var n=L("span",null,null,l?"padding-right: .1px":null),r={pre:L("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:(a||l)&&e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var i=o?t.rest[o-1]:t.line,s=void 0;r.pos=0,r.addToken=Jt,vt(e.display.measure)&&(s=Ze(i,e.doc.direction))&&(r.addToken=Qt(r.addToken,s)),r.map=[];var u=t!=e.display.externalMeasured&&fe(i);tn(i,r,It(e,i,u)),i.styleClasses&&(i.styleClasses.bgClass&&(r.bgClass=M(i.styleClasses.bgClass,r.bgClass||"")),i.styleClasses.textClass&&(r.textClass=M(i.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(mt(e.display.measure))),0==o?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=r.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return nt(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=M(r.pre.className,r.textClass||"")),r}function Zt(e){var t=j("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function Jt(e,t,n,r,o,i,l){if(t){var u,c=e.splitSpaces?function(e,t){if(e.length>1&&!/  /.test(e))return e;for(var n=t,r="",o=0;o<e.length;o++){var i=e.charAt(o);" "!=i||!n||o!=e.length-1&&32!=e.charCodeAt(o+1)||(i=" "),r+=i,n=" "==i}return r}(t,e.trailingSpace):t,f=e.cm.state.specialChars,d=!1;if(f.test(t)){u=document.createDocumentFragment();for(var h=0;;){f.lastIndex=h;var p=f.exec(t),g=p?p.index-h:t.length-h;if(g){var m=document.createTextNode(c.slice(h,h+g));a&&s<9?u.appendChild(j("span",[m])):u.appendChild(m),e.map.push(e.pos,e.pos+g,m),e.col+=g,e.pos+=g}if(!p)break;h+=g+1;var v=void 0;if("\t"==p[0]){var b=e.cm.options.tabSize,y=b-e.col%b;(v=u.appendChild(j("span",X(y),"cm-tab"))).setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=y}else"\r"==p[0]||"\n"==p[0]?((v=u.appendChild(j("span","\r"==p[0]?"␍":"␤","cm-invalidchar"))).setAttribute("cm-text",p[0]),e.col+=1):((v=e.cm.options.specialCharPlaceholder(p[0])).setAttribute("cm-text",p[0]),a&&s<9?u.appendChild(j("span",[v])):u.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,u=document.createTextNode(c),e.map.push(e.pos,e.pos+t.length,u),a&&s<9&&(d=!0),e.pos+=t.length;if(e.trailingSpace=32==c.charCodeAt(t.length-1),n||r||o||d||l){var x=n||"";r&&(x+=r),o&&(x+=o);var w=j("span",[u],x,l);return i&&(w.title=i),e.content.appendChild(w)}e.content.appendChild(u)}}function Qt(e,t){return function(n,r,o,i,a,s,l){o=o?o+" cm-force-border":"cm-force-border";for(var u=n.pos,c=u+r.length;;){for(var f=void 0,d=0;d<t.length&&!((f=t[d]).to>u&&f.from<=u);d++);if(f.to>=c)return e(n,r,o,i,a,s,l);e(n,r.slice(0,f.to-u),o,i,null,s,l),i=null,r=r.slice(f.to-u),u=f.to}}}function en(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function tn(e,t,n){var r=e.markedSpans,o=e.text,i=0;if(r)for(var a,s,l,u,c,f,d,h=o.length,p=0,g=1,m="",v=0;;){if(v==p){l=u=c=f=s="",d=null,v=1/0;for(var b=[],y=void 0,x=0;x<r.length;++x){var w=r[x],k=w.marker;"bookmark"==k.type&&w.from==p&&k.widgetNode?b.push(k):w.from<=p&&(null==w.to||w.to>p||k.collapsed&&w.to==p&&w.from==p)?(null!=w.to&&w.to!=p&&v>w.to&&(v=w.to,u=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&w.from==p&&(c+=" "+k.startStyle),k.endStyle&&w.to==v&&(y||(y=[])).push(k.endStyle,w.to),k.title&&!f&&(f=k.title),k.collapsed&&(!d||Oe(d.marker,k)<0)&&(d=w)):w.from>p&&v>w.from&&(v=w.from)}if(y)for(var C=0;C<y.length;C+=2)y[C+1]==v&&(u+=" "+y[C]);if(!d||d.from==p)for(var S=0;S<b.length;++S)en(t,0,b[S]);if(d&&(d.from||0)==p){if(en(t,(null==d.to?h+1:d.to)-p,d.marker,null==d.from),null==d.to)return;d.to==p&&(d=!1)}}if(p>=h)break;for(var F=Math.min(h,v);;){if(m){var T=p+m.length;if(!d){var A=T>F?m.slice(0,F-p):m;t.addToken(t,A,a?a+l:l,c,p+A.length==v?u:"",f,s)}if(T>=F){m=m.slice(F-p),p=F;break}p=T,c=""}m=o.slice(i,i=n[g++]),a=Yt(n[g++],t.cm.options)}}else for(var _=1;_<n.length;_+=2)t.addToken(t,o.slice(i,i=n[_]),Yt(n[_+1],t.cm.options))}function nn(e,t,n){this.line=t,this.rest=function(e){for(var t,n;t=ze(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}(t),this.size=this.rest?fe(Y(this.rest))-n+1:1,this.node=this.text=null,this.hidden=He(e,t)}function rn(e,t,n){for(var r,o=[],i=t;i<n;i=r){var a=new nn(e.doc,se(e.doc,i),i);r=i+a.size,o.push(a)}return o}var on=null,an=null;function sn(e,t){var n=et(e,t);if(n.length){var r,o=Array.prototype.slice.call(arguments,2);on?r=on.delayedCallbacks:an?r=an:(r=an=[],setTimeout(ln,0));for(var i=function(e){r.push(function(){return n[e].apply(null,o)})},a=0;a<n.length;++a)i(a)}}function ln(){var e=an;an=null;for(var t=0;t<e.length;++t)e[t]()}function un(e,t,n,r){for(var o=0;o<t.changes.length;o++){var i=t.changes[o];"text"==i?dn(e,t):"gutter"==i?pn(e,t,n,r):"class"==i?hn(e,t):"widget"==i&&gn(e,t,r)}t.changes=null}function cn(e){return e.node==e.text&&(e.node=j("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function fn(e,t){var n=e.display.externalMeasured;return n&&n.line==t.line?(e.display.externalMeasured=null,t.measure=n.measure,n.built):Kt(e,t)}function dn(e,t){var n=t.text.className,r=fn(e,t);t.text==t.node&&(t.node=r.pre),t.text.parentNode.replaceChild(r.pre,t.text),t.text=r.pre,r.bgClass!=t.bgClass||r.textClass!=t.textClass?(t.bgClass=r.bgClass,t.textClass=r.textClass,hn(e,t)):n&&(t.text.className=n)}function hn(e,t){!function(e,t){var n=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(n&&(n+=" CodeMirror-linebackground"),t.background)n?t.background.className=n:(t.background.parentNode.removeChild(t.background),t.background=null);else if(n){var r=cn(t);t.background=r.insertBefore(j("div",null,n),r.firstChild),e.display.input.setUneditable(t.background)}}(e,t),t.line.wrapClass?cn(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var n=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=n||""}function pn(e,t,n,r){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var o=cn(t);t.gutterBackground=j("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px; width: "+r.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),o.insertBefore(t.gutterBackground,t.text)}var i=t.line.gutterMarkers;if(e.options.lineNumbers||i){var a=cn(t),s=t.gutter=j("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?r.fixedPos:-r.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||i&&i["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(j("div",pe(e.options,n),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+r.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),i)for(var l=0;l<e.options.gutters.length;++l){var u=e.options.gutters[l],c=i.hasOwnProperty(u)&&i[u];c&&s.appendChild(j("div",[c],"CodeMirror-gutter-elt","left: "+r.gutterLeft[u]+"px; width: "+r.gutterWidth[u]+"px"))}}}function gn(e,t,n){t.alignable&&(t.alignable=null);for(var r=t.node.firstChild,o=void 0;r;r=o)o=r.nextSibling,"CodeMirror-linewidget"==r.className&&t.node.removeChild(r);vn(e,t,n)}function mn(e,t,n,r){var o=fn(e,t);return t.text=t.node=o.pre,o.bgClass&&(t.bgClass=o.bgClass),o.textClass&&(t.textClass=o.textClass),hn(e,t),pn(e,t,n,r),vn(e,t,r),t.node}function vn(e,t,n){if(bn(e,t.line,t,n,!0),t.rest)for(var r=0;r<t.rest.length;r++)bn(e,t.rest[r],t,n,!1)}function bn(e,t,n,r,o){if(t.widgets)for(var i=cn(n),a=0,s=t.widgets;a<s.length;++a){var l=s[a],u=j("div",[l.node],"CodeMirror-linewidget");l.handleMouseEvents||u.setAttribute("cm-ignore-events","true"),yn(l,u,n,r),e.display.input.setUneditable(u),o&&l.above?i.insertBefore(u,n.gutter||n.text):i.appendChild(u),sn(l,"redraw")}}function yn(e,t,n,r){if(e.noHScroll){(n.alignable||(n.alignable=[])).push(t);var o=r.wrapperWidth;t.style.left=r.fixedPos+"px",e.coverGutter||(o-=r.gutterTotalWidth,t.style.paddingLeft=r.gutterTotalWidth+"px"),t.style.width=o+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-r.gutterTotalWidth+"px"))}function xn(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!E(document.body,e.node)){var n="position: relative;";e.coverGutter&&(n+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(n+="width: "+t.display.wrapper.clientWidth+"px;"),_(t.display.measure,j("div",[e.node],null,n))}return e.height=e.node.parentNode.offsetHeight}function wn(e,t){for(var n=ft(t);n!=e.wrapper;n=n.parentNode)if(!n||1==n.nodeType&&"true"==n.getAttribute("cm-ignore-events")||n.parentNode==e.sizer&&n!=e.mover)return!0}function kn(e){return e.lineSpace.offsetTop}function Cn(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Sn(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=_(e.measure,j("pre","x")),n=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,r={left:parseInt(n.paddingLeft),right:parseInt(n.paddingRight)};return isNaN(r.left)||isNaN(r.right)||(e.cachedPaddingH=r),r}function Fn(e){return R-e.display.nativeBarWidth}function Tn(e){return e.display.scroller.clientWidth-Fn(e)-e.display.barWidth}function An(e){return e.display.scroller.clientHeight-Fn(e)-e.display.barHeight}function _n(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;r<e.rest.length;r++)if(e.rest[r]==t)return{map:e.measure.maps[r],cache:e.measure.caches[r]};for(var o=0;o<e.rest.length;o++)if(fe(e.rest[o])>n)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}function jn(e,t,n,r){return Nn(e,En(e,t),n,r)}function Ln(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[sr(e,t)];var n=e.display.externalMeasured;return n&&t>=n.lineN&&t<n.lineN+n.size?n:void 0}function En(e,t){var n=fe(t),r=Ln(e,n);r&&!r.text?r=null:r&&r.changes&&(un(e,r,n,nr(e)),e.curOp.forceUpdate=!0),r||(r=function(e,t){var n=fe(t=$e(t)),r=e.display.externalMeasured=new nn(e.doc,t,n);r.lineN=n;var o=r.built=Kt(e,r);return r.text=o.pre,_(e.display.lineMeasure,o.pre),r}(e,t));var o=_n(r,t,n);return{line:t,view:r,rect:null,map:o.map,cache:o.cache,before:o.before,hasHeights:!1}}function Nn(e,t,n,r,o){t.before&&(n=-1);var i,l=n+(r||"");return t.cache.hasOwnProperty(l)?i=t.cache[l]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(function(e,t,n){var r=e.options.lineWrapping,o=r&&Tn(e);if(!t.measure.heights||r&&t.measure.width!=o){var i=t.measure.heights=[];if(r){t.measure.width=o;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],u=a[s+1];Math.abs(l.bottom-u.bottom)>2&&i.push((l.bottom+u.top)/2-n.top)}}i.push(n.bottom-n.top)}}(e,t.view,t.rect),t.hasHeights=!0),(i=function(e,t,n,r){var o,i=On(t.map,n,r),l=i.node,u=i.start,c=i.end,f=i.collapse;if(3==l.nodeType){for(var d=0;d<4;d++){for(;u&&oe(t.line.text.charAt(i.coverStart+u));)--u;for(;i.coverStart+c<i.coverEnd&&oe(t.line.text.charAt(i.coverStart+c));)++c;if((o=a&&s<9&&0==u&&c==i.coverEnd-i.coverStart?l.parentNode.getBoundingClientRect():In(F(l,u,c).getClientRects(),r)).left||o.right||0==u)break;c=u,u-=1,f="right"}a&&s<11&&(o=function(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!function(e){if(null!=kt)return kt;var t=_(e,j("span","x")),n=t.getBoundingClientRect(),r=F(t,0,1).getBoundingClientRect();return kt=Math.abs(n.left-r.left)>1}(e))return t;var n=screen.logicalXDPI/screen.deviceXDPI,r=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*n,right:t.right*n,top:t.top*r,bottom:t.bottom*r}}(e.display.measure,o))}else{var h;u>0&&(f=r="right"),o=e.options.lineWrapping&&(h=l.getClientRects()).length>1?h["right"==r?h.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!u&&(!o||!o.left&&!o.right)){var p=l.parentNode.getClientRects()[0];o=p?{left:p.left,right:p.left+tr(e.display),top:p.top,bottom:p.bottom}:Mn}for(var g=o.top-t.rect.top,m=o.bottom-t.rect.top,v=(g+m)/2,b=t.view.measure.heights,y=0;y<b.length-1&&!(v<b[y]);y++);var x=y?b[y-1]:0,w=b[y],k={left:("right"==f?o.right:o.left)-t.rect.left,right:("left"==f?o.left:o.right)-t.rect.left,top:x,bottom:w};return o.left||o.right||(k.bogus=!0),e.options.singleCursorHeightPerLine||(k.rtop=g,k.rbottom=m),k}(e,t,n,r)).bogus||(t.cache[l]=i)),{left:i.left,right:i.right,top:o?i.rtop:i.top,bottom:o?i.rbottom:i.bottom}}var Dn,Mn={left:0,right:0,top:0,bottom:0};function On(e,t,n){for(var r,o,i,a,s,l,u=0;u<e.length;u+=3)if(s=e[u],l=e[u+1],t<s?(o=0,i=1,a="left"):t<l?i=1+(o=t-s):(u==e.length-3||t==l&&e[u+3]>t)&&(o=(i=l-s)-1,t>=l&&(a="right")),null!=o){if(r=e[u+2],s==l&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;u&&e[u-2]==e[u-3]&&e[u-1].insertLeft;)r=e[2+(u-=3)],a="left";if("right"==n&&o==l-s)for(;u<e.length-3&&e[u+3]==e[u+4]&&!e[u+5].insertLeft;)r=e[(u+=3)+2],a="right";break}return{node:r,start:o,end:i,collapse:a,coverStart:s,coverEnd:l}}function In(e,t){var n=Mn;if("left"==t)for(var r=0;r<e.length&&(n=e[r]).left==n.right;r++);else for(var o=e.length-1;o>=0&&(n=e[o]).left==n.right;o--);return n}function Bn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function zn(e){e.display.externalMeasure=null,A(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)Bn(e.display.view[t])}function Pn(e){zn(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function $n(){return c&&m?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Rn(){return c&&m?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Wn(e){var t=0;if(e.widgets)for(var n=0;n<e.widgets.length;++n)e.widgets[n].above&&(t+=xn(e.widgets[n]));return t}function Hn(e,t,n,r,o){if(!o){var i=Wn(t);n.top+=i,n.bottom+=i}if("line"==r)return n;r||(r="local");var a=Ue(t);if("local"==r?a+=kn(e.display):a-=e.display.viewOffset,"page"==r||"window"==r){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==r?0:Rn());var l=s.left+("window"==r?0:$n());n.left+=l,n.right+=l}return n.top+=a,n.bottom+=a,n}function qn(e,t,n){if("div"==n)return t;var r=t.left,o=t.top;if("page"==n)r-=$n(),o-=Rn();else if("local"==n||!n){var i=e.display.sizer.getBoundingClientRect();r+=i.left,o+=i.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:r-a.left,top:o-a.top}}function Un(e,t,n,r,o){return r||(r=se(e.doc,t.line)),Hn(e,r,jn(e,r,t.ch,o),n)}function Vn(e,t,n,r,o,i){function a(t,a){var s=Nn(e,o,t,a?"right":"left",i);return a?s.left=s.right:s.right=s.left,Hn(e,r,s,n)}r=r||se(e.doc,t.line),o||(o=En(e,r));var s=Ze(r,e.doc.direction),l=t.ch,u=t.sticky;if(l>=r.text.length?(l=r.text.length,u="before"):l<=0&&(l=0,u="after"),!s)return a("before"==u?l-1:l,"before"==u);function c(e,t,n){var r=s[t],o=1==r.level;return a(n?e-1:e,o!=n)}var f=Ye(s,l,u),d=Xe,h=c(l,f,"before"==u);return null!=d&&(h.other=c(l,d,"before"!=u)),h}function Gn(e,t){var n=0;t=ke(e.doc,t),e.options.lineWrapping||(n=tr(e.display)*t.ch);var r=se(e.doc,t.line),o=Ue(r)+kn(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function Xn(e,t,n,r,o){var i=ge(e,t,n);return i.xRel=o,r&&(i.outside=!0),i}function Yn(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return Xn(r.first,0,null,!0,-1);var o=de(r,n),i=r.first+r.size-1;if(o>i)return Xn(r.first+r.size-1,se(r,i).text.length,null,!0,1);t<0&&(t=0);for(var a=se(r,o);;){var s=Qn(e,a,o,t,n),l=ze(a),u=l&&l.find(0,!0);if(!l||!(s.ch>u.from.ch||s.ch==u.from.ch&&s.xRel>0))return s;o=fe(a=u.to.line)}}function Kn(e,t,n,r){r-=Wn(t);var o=t.text.length,i=ae(function(t){return Nn(e,n,t-1).bottom<=r},o,0);return o=ae(function(t){return Nn(e,n,t).top>r},i,o),{begin:i,end:o}}function Zn(e,t,n,r){n||(n=En(e,t));var o=Hn(e,t,Nn(e,n,r),"line").top;return Kn(e,t,n,o)}function Jn(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function Qn(e,t,n,r,o){o-=Ue(t);var i=En(e,t),a=Wn(t),s=0,l=t.text.length,u=!0,c=Ze(t,e.doc.direction);if(c){var f=(e.options.lineWrapping?function(e,t,n,r,o,i,a){var s=Kn(e,t,r,a),l=s.begin,u=s.end;/\s/.test(t.text.charAt(u-1))&&u--;for(var c=null,f=null,d=0;d<o.length;d++){var h=o[d];if(!(h.from>=u||h.to<=l)){var p=1!=h.level,g=Nn(e,r,p?Math.min(u,h.to)-1:Math.max(l,h.from)).right,m=g<i?i-g+1e9:g-i;(!c||f>m)&&(c=h,f=m)}}return c||(c=o[o.length-1]),c.from<l&&(c={from:l,to:c.to,level:c.level}),c.to>u&&(c={from:c.from,to:u,level:c.level}),c}:function(e,t,n,r,o,i,a){var s=ae(function(s){var l=o[s],u=1!=l.level;return Jn(Vn(e,ge(n,u?l.to:l.from,u?"before":"after"),"line",t,r),i,a,!0)},0,o.length-1),l=o[s];if(s>0){var u=1!=l.level,c=Vn(e,ge(n,u?l.from:l.to,u?"after":"before"),"line",t,r);Jn(c,i,a,!0)&&c.top>a&&(l=o[s-1])}return l})(e,t,n,i,c,r,o);u=1!=f.level,s=u?f.from:f.to-1,l=u?f.to:f.from-1}var d,h,p=null,g=null,m=ae(function(t){var n=Nn(e,i,t);return n.top+=a,n.bottom+=a,!!Jn(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(p=t,g=n),!0)},s,l),v=!1;if(g){var b=r-g.left<g.right-r,y=b==u;m=p+(y?0:1),h=y?"after":"before",d=b?g.left:g.right}else{u||m!=l&&m!=s||m++,h=0==m?"after":m==t.text.length?"before":Nn(e,i,m-(u?1:0)).bottom+a<=o==u?"after":"before";var x=Vn(e,ge(n,m,h),"line",t,i);d=x.left,v=o<x.top||o>=x.bottom}return m=ie(t.text,m,1),Xn(n,m,h,v,r-d)}function er(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==Dn){Dn=j("pre");for(var t=0;t<49;++t)Dn.appendChild(document.createTextNode("x")),Dn.appendChild(j("br"));Dn.appendChild(document.createTextNode("x"))}_(e.measure,Dn);var n=Dn.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),A(e.measure),n||1}function tr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=j("span","xxxxxxxxxx"),n=j("pre",[t]);_(e.measure,n);var r=t.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function nr(e){for(var t=e.display,n={},r={},o=t.gutters.clientLeft,i=t.gutters.firstChild,a=0;i;i=i.nextSibling,++a)n[e.options.gutters[a]]=i.offsetLeft+i.clientLeft+o,r[e.options.gutters[a]]=i.clientWidth;return{fixedPos:rr(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function rr(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function or(e){var t=er(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/tr(e.display)-3);return function(o){if(He(e.doc,o))return 0;var i=0;if(o.widgets)for(var a=0;a<o.widgets.length;a++)o.widgets[a].height&&(i+=o.widgets[a].height);return n?i+(Math.ceil(o.text.length/r)||1)*t:i+t}}function ir(e){var t=e.doc,n=or(e);t.iter(function(e){var t=n(e);t!=e.height&&ce(e,t)})}function ar(e,t,n,r){var o=e.display;if(!n&&"true"==ft(t).getAttribute("cm-not-content"))return null;var i,a,s=o.lineSpace.getBoundingClientRect();try{i=t.clientX-s.left,a=t.clientY-s.top}catch(t){return null}var l,u=Yn(e,i,a);if(r&&1==u.xRel&&(l=se(e.doc,u.line).text).length==u.ch){var c=z(l,l.length,e.options.tabSize)-l.length;u=ge(u.line,Math.max(0,Math.round((i-Sn(e.display).left)/tr(e.display))-c))}return u}function sr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;r<n.length;r++)if((t-=n[r].size)<0)return r}function lr(e){e.display.input.showSelection(e.display.input.prepareSelection())}function ur(e,t){void 0===t&&(t=!0);for(var n=e.doc,r={},o=r.cursors=document.createDocumentFragment(),i=r.selection=document.createDocumentFragment(),a=0;a<n.sel.ranges.length;a++)if(t||a!=n.sel.primIndex){var s=n.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&cr(e,s.head,o),l||dr(e,s,i)}}return r}function cr(e,t,n){var r=Vn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),o=n.appendChild(j("div"," ","CodeMirror-cursor"));if(o.style.left=r.left+"px",o.style.top=r.top+"px",o.style.height=Math.max(0,r.bottom-r.top)*e.options.cursorHeight+"px",r.other){var i=n.appendChild(j("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));i.style.display="",i.style.left=r.other.left+"px",i.style.top=r.other.top+"px",i.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function fr(e,t){return e.top-t.top||e.left-t.left}function dr(e,t,n){var r=e.display,o=e.doc,i=document.createDocumentFragment(),a=Sn(e.display),s=a.left,l=Math.max(r.sizerWidth,Tn(e)-r.sizer.offsetLeft)-a.right,u="ltr"==o.direction;function c(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),i.appendChild(j("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n                             top: "+t+"px; width: "+(null==n?l-e:n)+"px;\n                             height: "+(r-t)+"px"))}function f(t,n,r){var i,a,f=se(o,t),d=f.text.length;function h(n,r){return Un(e,ge(t,n),"div",f,r)}function p(t,n,r){var o=Zn(e,f,null,t),i="ltr"==n==("after"==r)?"left":"right",a="after"==r?o.begin:o.end-(/\s/.test(f.text.charAt(o.end-1))?2:1);return h(a,i)[i]}var g=Ze(f,o.direction);return function(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var o=!1,i=0;i<e.length;++i){var a=e[i];(a.from<n&&a.to>t||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",i),o=!0)}o||r(t,n,"ltr")}(g,n||0,null==r?d:r,function(e,t,o,f){var m="ltr"==o,v=h(e,m?"left":"right"),b=h(t-1,m?"right":"left"),y=null==n&&0==e,x=null==r&&t==d,w=0==f,k=!g||f==g.length-1;if(b.top-v.top<=3){var C=(u?y:x)&&w,S=(u?x:y)&&k,F=C?s:(m?v:b).left,T=S?l:(m?b:v).right;c(F,v.top,T-F,v.bottom)}else{var A,_,j,L;m?(A=u&&y&&w?s:v.left,_=u?l:p(e,o,"before"),j=u?s:p(t,o,"after"),L=u&&x&&k?l:b.right):(A=u?p(e,o,"before"):s,_=!u&&y&&w?l:v.right,j=!u&&x&&k?s:b.left,L=u?p(t,o,"after"):l),c(A,v.top,_-A,v.bottom),v.bottom<b.top&&c(s,v.bottom,null,b.top),c(j,b.top,L-j,b.bottom)}(!i||fr(v,i)<0)&&(i=v),fr(b,i)<0&&(i=b),(!a||fr(v,a)<0)&&(a=v),fr(b,a)<0&&(a=b)}),{start:i,end:a}}var d=t.from(),h=t.to();if(d.line==h.line)f(d.line,d.ch,h.ch);else{var p=se(o,d.line),g=se(o,h.line),m=$e(p)==$e(g),v=f(d.line,d.ch,m?p.text.length+1:null).end,b=f(h.line,m?0:null,h.ch).start;m&&(v.top<b.top-2?(c(v.right,v.top,null,v.bottom),c(s,b.top,b.left,b.bottom)):c(v.right,v.top,b.left-v.right,v.bottom)),v.bottom<b.top&&c(s,v.bottom,null,b.top)}n.appendChild(i)}function hr(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var n=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval(function(){return t.cursorDiv.style.visibility=(n=!n)?"":"hidden"},e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function pr(e){e.state.focused||(e.display.input.focus(),mr(e))}function gr(e){e.state.delayingBlurEvent=!0,setTimeout(function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,vr(e))},100)}function mr(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(nt(e,"focus",e,t),e.state.focused=!0,D(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout(function(){return e.display.input.reset(!0)},20)),e.display.input.receivedFocus()),hr(e))}function vr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(nt(e,"blur",e,t),e.state.focused=!1,T(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout(function(){e.state.focused||(e.display.shift=!1)},150))}function br(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=0;r<t.view.length;r++){var o=t.view[r],i=void 0;if(!o.hidden){if(a&&s<8){var l=o.node.offsetTop+o.node.offsetHeight;i=l-n,n=l}else{var u=o.node.getBoundingClientRect();i=u.bottom-u.top}var c=o.line.height-i;if(i<2&&(i=er(t)),(c>.005||c<-.005)&&(ce(o.line,i),yr(o.line),o.rest))for(var f=0;f<o.rest.length;f++)yr(o.rest[f])}}}function yr(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var n=e.widgets[t],r=n.node.parentNode;r&&(n.height=r.offsetHeight)}}function xr(e,t,n){var r=n&&null!=n.top?Math.max(0,n.top):e.scroller.scrollTop;r=Math.floor(r-kn(e));var o=n&&null!=n.bottom?n.bottom:r+e.wrapper.clientHeight,i=de(t,r),a=de(t,o);if(n&&n.ensure){var s=n.ensure.from.line,l=n.ensure.to.line;s<i?(i=s,a=de(t,Ue(se(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(i=de(t,Ue(se(t,l))-e.wrapper.clientHeight),a=l)}return{from:i,to:Math.max(a,i+1)}}function wr(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=rr(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,i=r+"px",a=0;a<n.length;a++)if(!n[a].hidden){e.options.fixedGutter&&(n[a].gutter&&(n[a].gutter.style.left=i),n[a].gutterBackground&&(n[a].gutterBackground.style.left=i));var s=n[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=i}e.options.fixedGutter&&(t.gutters.style.left=r+o+"px")}}function kr(e){if(!e.options.lineNumbers)return!1;var t=e.doc,n=pe(e.options,t.first+t.size-1),r=e.display;if(n.length!=r.lineNumChars){var o=r.measure.appendChild(j("div",[j("div",n)],"CodeMirror-linenumber CodeMirror-gutter-elt")),i=o.firstChild.offsetWidth,a=o.offsetWidth-i;return r.lineGutter.style.width="",r.lineNumInnerWidth=Math.max(i,r.lineGutter.offsetWidth-a)+1,r.lineNumWidth=r.lineNumInnerWidth+a,r.lineNumChars=r.lineNumInnerWidth?n.length:-1,r.lineGutter.style.width=r.lineNumWidth+"px",so(e),!0}return!1}function Cr(e,t){var n=e.display,r=er(e.display);t.top<0&&(t.top=0);var o=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,i=An(e),a={};t.bottom-t.top>i&&(t.bottom=t.top+i);var s=e.doc.height+Cn(n),l=t.top<r,u=t.bottom>s-r;if(t.top<o)a.scrollTop=l?0:t.top;else if(t.bottom>o+i){var c=Math.min(t.top,(u?s:t.bottom)-i);c!=o&&(a.scrollTop=c)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft,d=Tn(e)-(e.options.fixedGutter?n.gutters.offsetWidth:0),h=t.right-t.left>d;return h&&(t.right=t.left+d),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(h?0:10)):t.right>d+f-3&&(a.scrollLeft=t.right+(h?0:10)-d),a}function Sr(e,t){null!=t&&(Ar(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function Fr(e){Ar(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function Tr(e,t,n){null==t&&null==n||Ar(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function Ar(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var n=Gn(e,t.from),r=Gn(e,t.to);_r(e,n,r,t.margin)}}function _r(e,t,n,r){var o=Cr(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});Tr(e,o.scrollLeft,o.scrollTop)}function jr(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||ao(e,{top:t}),Lr(e,t,!0),n&&ao(e),to(e,100))}function Lr(e,t,n){t=Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function Er(e,t,n,r){t=Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,wr(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function Nr(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Cn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+Fn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var Dr=function(e,t,n){this.cm=n;var r=this.vert=j("div",[j("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=j("div",[j("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");e(r),e(o),Qe(r,"scroll",function(){r.clientHeight&&t(r.scrollTop,"vertical")}),Qe(o,"scroll",function(){o.clientWidth&&t(o.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};Dr.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var i=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+i)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},Dr.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},Dr.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},Dr.prototype.zeroWidthHack=function(){var e=b&&!h?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new P,this.disableVert=new P},Dr.prototype.enableZeroWidthBar=function(e,t,n){e.style.pointerEvents="auto",t.set(1e3,function r(){var o=e.getBoundingClientRect(),i="vert"==n?document.elementFromPoint(o.right-1,(o.top+o.bottom)/2):document.elementFromPoint((o.right+o.left)/2,o.bottom-1);i!=e?e.style.pointerEvents="none":t.set(1e3,r)})},Dr.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var Mr=function(){};function Or(e,t){t||(t=Nr(e));var n=e.display.barWidth,r=e.display.barHeight;Ir(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&br(e),Ir(e,Nr(e)),n=e.display.barWidth,r=e.display.barHeight}function Ir(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}Mr.prototype.update=function(){return{bottom:0,right:0}},Mr.prototype.setScrollLeft=function(){},Mr.prototype.setScrollTop=function(){},Mr.prototype.clear=function(){};var Br={native:Dr,null:Mr};function zr(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&T(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new Br[e.options.scrollbarStyle](function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),Qe(t,"mousedown",function(){e.state.focused&&setTimeout(function(){return e.display.input.focus()},0)}),t.setAttribute("cm-not-content","true")},function(t,n){"horizontal"==n?Er(e,t):jr(e,t)},e),e.display.scrollbars.addClass&&D(e.display.wrapper,e.display.scrollbars.addClass)}var Pr=0;function $r(e){var t;e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:null,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Pr},t=e.curOp,on?on.ops.push(t):t.ownsGroup=on={ops:[t],delayedCallbacks:[]}}function Rr(e){var t=e.curOp;!function(e,t){var n=e.ownsGroup;if(n)try{!function(e){var t=e.delayedCallbacks,n=0;do{for(;n<t.length;n++)t[n].call(null);for(var r=0;r<e.ops.length;r++){var o=e.ops[r];if(o.cursorActivityHandlers)for(;o.cursorActivityCalled<o.cursorActivityHandlers.length;)o.cursorActivityHandlers[o.cursorActivityCalled++].call(null,o.cm)}}while(n<t.length)}(n)}finally{on=null,t(n)}}(t,function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;!function(e){for(var t=e.ops,n=0;n<t.length;n++)Wr(t[n]);for(var r=0;r<t.length;r++)(o=t[r]).updatedDisplay=o.mustUpdate&&oo(o.cm,o.update);for(var o,i=0;i<t.length;i++)Hr(t[i]);for(var a=0;a<t.length;a++)qr(t[a]);for(var s=0;s<t.length;s++)Ur(t[s])}(e)})}function Wr(e){var t=e.cm,n=t.display;!function(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=Fn(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=Fn(e)+"px",t.scrollbarsClipped=!0)}(t),e.updateMaxLine&&Ge(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<n.viewFrom||e.scrollToPos.to.line>=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new ro(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Hr(e){var t=e.cm,n=t.display;e.updatedDisplay&&br(t),e.barMeasure=Nr(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=jn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+Fn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-Tn(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function qr(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&Er(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var n=e.focus&&e.focus==N();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,n),(e.updatedDisplay||e.startHeight!=t.doc.height)&&Or(t,e.barMeasure),e.updatedDisplay&&lo(t,e.barMeasure),e.selectionChanged&&hr(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),n&&pr(e.cm)}function Ur(e){var t=e.cm,n=t.display,r=t.doc;if(e.updatedDisplay&&io(t,e.update),null==n.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(n.wheelStartX=n.wheelStartY=null),null!=e.scrollTop&&Lr(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&Er(t,e.scrollLeft,!0,!0),e.scrollToPos){var o=function(e,t,n,r){var o;null==r&&(r=0),e.options.lineWrapping||t!=n||(t=t.ch?ge(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,n="before"==t.sticky?ge(t.line,t.ch+1,"before"):t);for(var i=0;i<5;i++){var a=!1,s=Vn(e,t),l=n&&n!=t?Vn(e,n):s;o={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-r,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+r};var u=Cr(e,o),c=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=u.scrollTop&&(jr(e,u.scrollTop),Math.abs(e.doc.scrollTop-c)>1&&(a=!0)),null!=u.scrollLeft&&(Er(e,u.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return o}(t,ke(r,e.scrollToPos.from),ke(r,e.scrollToPos.to),e.scrollToPos.margin);!function(e,t){if(!rt(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),o=null;if(t.top+r.top<0?o=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!p){var i=j("div","​",null,"position: absolute;\n                         top: "+(t.top-n.viewOffset-kn(e.display))+"px;\n                         height: "+(t.bottom-t.top+Fn(e)+n.barHeight)+"px;\n                         left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(o),e.display.lineSpace.removeChild(i)}}}(t,o)}var i=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(i)for(var s=0;s<i.length;++s)i[s].lines.length||nt(i[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&nt(a[l],"unhide");n.wrapper.offsetHeight&&(r.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&nt(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Vr(e,t){if(e.curOp)return t();$r(e);try{return t()}finally{Rr(e)}}function Gr(e,t){return function(){if(e.curOp)return t.apply(e,arguments);$r(e);try{return t.apply(e,arguments)}finally{Rr(e)}}}function Xr(e){return function(){if(this.curOp)return e.apply(this,arguments);$r(this);try{return e.apply(this,arguments)}finally{Rr(this)}}}function Yr(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);$r(t);try{return e.apply(this,arguments)}finally{Rr(t)}}}function Kr(e,t,n,r){null==t&&(t=e.doc.first),null==n&&(n=e.doc.first+e.doc.size),r||(r=0);var o=e.display;if(r&&n<o.viewTo&&(null==o.updateLineNumbers||o.updateLineNumbers>t)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)Fe&&Re(e.doc,t)<o.viewTo&&Jr(e);else if(n<=o.viewFrom)Fe&&We(e.doc,n+r)>o.viewFrom?Jr(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)Jr(e);else if(t<=o.viewFrom){var i=Qr(e,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):Jr(e)}else if(n>=o.viewTo){var a=Qr(e,t,t,-1);a?(o.view=o.view.slice(0,a.index),o.viewTo=a.lineN):Jr(e)}else{var s=Qr(e,t,t,-1),l=Qr(e,n,n+r,1);s&&l?(o.view=o.view.slice(0,s.index).concat(rn(e,s.lineN,l.lineN)).concat(o.view.slice(l.index)),o.viewTo+=r):Jr(e)}var u=o.externalMeasured;u&&(n<u.lineN?u.lineN+=r:t<u.lineN+u.size&&(o.externalMeasured=null))}function Zr(e,t,n){e.curOp.viewChanged=!0;var r=e.display,o=e.display.externalMeasured;if(o&&t>=o.lineN&&t<o.lineN+o.size&&(r.externalMeasured=null),!(t<r.viewFrom||t>=r.viewTo)){var i=r.view[sr(e,t)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==$(a,n)&&a.push(n)}}}function Jr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Qr(e,t,n,r){var o,i=sr(e,t),a=e.display.view;if(!Fe||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var s=e.display.viewFrom,l=0;l<i;l++)s+=a[l].size;if(s!=t){if(r>0){if(i==a.length-1)return null;o=s+a[i].size-t,i++}else o=s-t;t+=o,n+=o}for(;Re(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function eo(e){for(var t=e.display.view,n=0,r=0;r<t.length;r++){var o=t[r];o.hidden||o.node&&!o.changes||++n}return n}function to(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,I(no,e))}function no(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var n=+new Date+e.options.workTime,r=Bt(e,t.highlightFrontier),o=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),function(i){if(r.line>=e.display.viewFrom){var a=i.styles,s=i.text.length>e.options.maxHighlightLength?jt(t.mode,r.state):null,l=Ot(e,i,r,!0);s&&(r.state=s),i.styles=l.styles;var u=i.styleClasses,c=l.classes;c?i.styleClasses=c:u&&(i.styleClasses=null);for(var f=!a||a.length!=i.styles.length||u!=c&&(!u||!c||u.bgClass!=c.bgClass||u.textClass!=c.textClass),d=0;!f&&d<a.length;++d)f=a[d]!=i.styles[d];f&&o.push(r.line),i.stateAfter=r.save(),r.nextLine()}else i.text.length<=e.options.maxHighlightLength&&zt(e,i.text,r),i.stateAfter=r.line%5==0?r.save():null,r.nextLine();if(+new Date>n)return to(e,e.options.workDelay),!0}),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),o.length&&Vr(e,function(){for(var t=0;t<o.length;t++)Zr(e,o[t],"text")})}}var ro=function(e,t,n){var r=e.display;this.viewport=t,this.visible=xr(r,e.doc,t),this.editorIsHidden=!r.wrapper.offsetWidth,this.wrapperHeight=r.wrapper.clientHeight,this.wrapperWidth=r.wrapper.clientWidth,this.oldDisplayWidth=Tn(e),this.force=n,this.dims=nr(e),this.events=[]};function oo(e,t){var n=e.display,r=e.doc;if(t.editorIsHidden)return Jr(e),!1;if(!t.force&&t.visible.from>=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==eo(e))return!1;kr(e)&&(Jr(e),t.dims=nr(e));var o=r.first+r.size,i=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(o,t.visible.to+e.options.viewportMargin);n.viewFrom<i&&i-n.viewFrom<20&&(i=Math.max(r.first,n.viewFrom)),n.viewTo>a&&n.viewTo-a<20&&(a=Math.min(o,n.viewTo)),Fe&&(i=Re(e.doc,i),a=We(e.doc,a));var s=i!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;!function(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=rn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=rn(e,t,r.viewFrom).concat(r.view):r.viewFrom<t&&(r.view=r.view.slice(sr(e,t))),r.viewFrom=t,r.viewTo<n?r.view=r.view.concat(rn(e,r.viewTo,n)):r.viewTo>n&&(r.view=r.view.slice(0,sr(e,n)))),r.viewTo=n}(e,i,a),n.viewOffset=Ue(se(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var u=eo(e);if(!s&&0==u&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=function(e){if(e.hasFocus())return null;var t=N();if(!t||!E(e.display.lineDiv,t))return null;var n={activeElt:t};if(window.getSelection){var r=window.getSelection();r.anchorNode&&r.extend&&E(e.display.lineDiv,r.anchorNode)&&(n.anchorNode=r.anchorNode,n.anchorOffset=r.anchorOffset,n.focusNode=r.focusNode,n.focusOffset=r.focusOffset)}return n}(e);return u>4&&(n.lineDiv.style.display="none"),function(e,t,n){var r=e.display,o=e.options.lineNumbers,i=r.lineDiv,a=i.firstChild;function s(t){var n=t.nextSibling;return l&&b&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var u=r.view,c=r.viewFrom,f=0;f<u.length;f++){var d=u[f];if(d.hidden);else if(d.node&&d.node.parentNode==i){for(;a!=d.node;)a=s(a);var h=o&&null!=t&&t<=c&&d.lineNumber;d.changes&&($(d.changes,"gutter")>-1&&(h=!1),un(e,d,c,n)),h&&(A(d.lineNumber),d.lineNumber.appendChild(document.createTextNode(pe(e.options,c)))),a=d.node.nextSibling}else{var p=mn(e,d,c,n);i.insertBefore(p,a)}c+=d.size}for(;a;)a=s(a)}(e,n.updateLineNumbers,t.dims),u>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,function(e){if(e&&e.activeElt&&e.activeElt!=N()&&(e.activeElt.focus(),e.anchorNode&&E(document.body,e.anchorNode)&&E(document.body,e.focusNode))){var t=window.getSelection(),n=document.createRange();n.setEnd(e.anchorNode,e.anchorOffset),n.collapse(!1),t.removeAllRanges(),t.addRange(n),t.extend(e.focusNode,e.focusOffset)}}(c),A(n.cursorDiv),A(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,s&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,to(e,400)),n.updateLineNumbers=null,!0}function io(e,t){for(var n=t.viewport,r=!0;(r&&e.options.lineWrapping&&t.oldDisplayWidth!=Tn(e)||(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Cn(e.display)-An(e),n.top)}),t.visible=xr(e.display,e.doc,n),!(t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)))&&oo(e,t);r=!1){br(e);var o=Nr(e);lr(e),Or(e,o),lo(e,o),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function ao(e,t){var n=new ro(e,t);if(oo(e,n)){br(e),io(e,n);var r=Nr(e);lr(e),Or(e,r),lo(e,r),n.finish()}}function so(e){var t=e.display.gutters.offsetWidth;e.display.sizer.style.marginLeft=t+"px"}function lo(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+Fn(e)+"px"}function uo(e){var t=e.display.gutters,n=e.options.gutters;A(t);for(var r=0;r<n.length;++r){var o=n[r],i=t.appendChild(j("div",null,"CodeMirror-gutter "+o));"CodeMirror-linenumbers"==o&&(e.display.lineGutter=i,i.style.width=(e.display.lineNumWidth||1)+"px")}t.style.display=r?"":"none",so(e)}function co(e){var t=$(e.gutters,"CodeMirror-linenumbers");-1==t&&e.lineNumbers?e.gutters=e.gutters.concat(["CodeMirror-linenumbers"]):t>-1&&!e.lineNumbers&&(e.gutters=e.gutters.slice(0),e.gutters.splice(t,1))}ro.prototype.signal=function(e,t){it(e,t)&&this.events.push(arguments)},ro.prototype.finish=function(){for(var e=0;e<this.events.length;e++)nt.apply(null,this.events[e])};var fo=0,ho=null;function po(e){var t=e.wheelDeltaX,n=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==n&&e.detail&&e.axis==e.VERTICAL_AXIS?n=e.detail:null==n&&(n=e.wheelDelta),{x:t,y:n}}function go(e){var t=po(e);return t.x*=ho,t.y*=ho,t}function mo(e,t){var r=po(t),o=r.x,i=r.y,a=e.display,s=a.scroller,u=s.scrollWidth>s.clientWidth,c=s.scrollHeight>s.clientHeight;if(o&&u||i&&c){if(i&&b&&l)e:for(var d=t.target,h=a.view;d!=s;d=d.parentNode)for(var p=0;p<h.length;p++)if(h[p].node==d){e.display.currentWheelTarget=d;break e}if(o&&!n&&!f&&null!=ho)return i&&c&&jr(e,Math.max(0,s.scrollTop+i*ho)),Er(e,Math.max(0,s.scrollLeft+o*ho)),(!i||i&&c)&&st(t),void(a.wheelStartX=null);if(i&&null!=ho){var g=i*ho,m=e.doc.scrollTop,v=m+a.wrapper.clientHeight;g<0?m=Math.max(0,m+g-50):v=Math.min(e.doc.height,v+g+50),ao(e,{top:m,bottom:v})}fo<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=o,a.wheelDY=i,setTimeout(function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,n=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,n&&(ho=(ho*fo+n)/(fo+1),++fo)}},200)):(a.wheelDX+=o,a.wheelDY+=i))}}a?ho=-.53:n?ho=15:c?ho=-.7:d&&(ho=-1/3);var vo=function(e,t){this.ranges=e,this.primIndex=t};vo.prototype.primary=function(){return this.ranges[this.primIndex]},vo.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var n=this.ranges[t],r=e.ranges[t];if(!ve(n.anchor,r.anchor)||!ve(n.head,r.head))return!1}return!0},vo.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new bo(be(this.ranges[t].anchor),be(this.ranges[t].head));return new vo(e,this.primIndex)},vo.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},vo.prototype.contains=function(e,t){t||(t=e);for(var n=0;n<this.ranges.length;n++){var r=this.ranges[n];if(me(t,r.from())>=0&&me(e,r.to())<=0)return n}return-1};var bo=function(e,t){this.anchor=e,this.head=t};function yo(e,t){var n=e[t];e.sort(function(e,t){return me(e.from(),t.from())}),t=$(e,n);for(var r=1;r<e.length;r++){var o=e[r],i=e[r-1];if(me(i.to(),o.from())>=0){var a=xe(i.from(),o.from()),s=ye(i.to(),o.to()),l=i.empty()?o.from()==o.head:i.from()==i.head;r<=t&&--t,e.splice(--r,2,new bo(l?s:a,l?a:s))}}return new vo(e,t)}function xo(e,t){return new vo([new bo(e,t||e)],0)}function wo(e){return e.text?ge(e.from.line+e.text.length-1,Y(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ko(e,t){if(me(e,t.from)<0)return e;if(me(e,t.to)<=0)return wo(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=wo(t).ch-t.to.ch),ge(n,r)}function Co(e,t){for(var n=[],r=0;r<e.sel.ranges.length;r++){var o=e.sel.ranges[r];n.push(new bo(ko(o.anchor,t),ko(o.head,t)))}return yo(n,e.sel.primIndex)}function So(e,t,n){return e.line==t.line?ge(n.line,e.ch-t.ch+n.ch):ge(n.line+(e.line-t.line),e.ch)}function Fo(e){e.doc.mode=Tt(e.options,e.doc.modeOption),To(e)}function To(e){e.doc.iter(function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)}),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,to(e,100),e.state.modeGen++,e.curOp&&Kr(e)}function Ao(e,t){return 0==t.from.ch&&0==t.to.ch&&""==Y(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function _o(e,t,n,r){function o(e){return n?n[e]:null}function i(e,n,o){!function(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Ee(e),Ne(e,n);var o=r?r(e):1;o!=e.height&&ce(e,o)}(e,n,o,r),sn(e,"change",e,t)}function a(e,t){for(var n=[],i=e;i<t;++i)n.push(new Ut(u[i],o(i),r));return n}var s=t.from,l=t.to,u=t.text,c=se(e,s.line),f=se(e,l.line),d=Y(u),h=o(u.length-1),p=l.line-s.line;if(t.full)e.insert(0,a(0,u.length)),e.remove(u.length,e.size-u.length);else if(Ao(e,t)){var g=a(0,u.length-1);i(f,f.text,h),p&&e.remove(s.line,p),g.length&&e.insert(s.line,g)}else if(c==f)if(1==u.length)i(c,c.text.slice(0,s.ch)+d+c.text.slice(l.ch),h);else{var m=a(1,u.length-1);m.push(new Ut(d+c.text.slice(l.ch),h,r)),i(c,c.text.slice(0,s.ch)+u[0],o(0)),e.insert(s.line+1,m)}else if(1==u.length)i(c,c.text.slice(0,s.ch)+u[0]+f.text.slice(l.ch),o(0)),e.remove(s.line+1,p);else{i(c,c.text.slice(0,s.ch)+u[0],o(0)),i(f,d+f.text.slice(l.ch),h);var v=a(1,u.length-1);p>1&&e.remove(s.line+1,p-1),e.insert(s.line+1,v)}sn(e,"change",e,t)}function jo(e,t,n){!function e(r,o,i){if(r.linked)for(var a=0;a<r.linked.length;++a){var s=r.linked[a];if(s.doc!=o){var l=i&&s.sharedHist;n&&!l||(t(s.doc,l),e(s.doc,r,l))}}}(e,null,!0)}function Lo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,ir(e),Fo(e),Eo(e),e.options.lineWrapping||Ge(e),e.options.mode=t.modeOption,Kr(e)}function Eo(e){("rtl"==e.doc.direction?D:T)(e.display.lineDiv,"CodeMirror-rtl")}function No(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function Do(e,t){var n={from:be(t.from),to:wo(t),text:le(e,t.from,t.to)};return zo(e,n,t.from.line,t.to.line+1),jo(e,function(e){return zo(e,n,t.from.line,t.to.line+1)},!0),n}function Mo(e){for(;e.length;){var t=Y(e);if(!t.ranges)break;e.pop()}}function Oo(e,t,n,r){var o=e.history;o.undone.length=0;var i,a,s=+new Date;if((o.lastOp==r||o.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&o.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(i=function(e,t){return t?(Mo(e.done),Y(e.done)):e.done.length&&!Y(e.done).ranges?Y(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Y(e.done)):void 0}(o,o.lastOp==r)))a=Y(i.changes),0==me(t.from,t.to)&&0==me(t.from,a.to)?a.to=wo(t):i.changes.push(Do(e,t));else{var l=Y(o.done);for(l&&l.ranges||Bo(e.sel,o.done),i={changes:[Do(e,t)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=s,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,a||nt(e,"historyAdded")}function Io(e,t,n,r){var o=e.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||function(e,t,n,r){var o=t.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}(e,i,Y(o.done),t))?o.done[o.done.length-1]=t:Bo(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&!1!==r.clearRedo&&Mo(o.undone)}function Bo(e,t){var n=Y(t);n&&n.ranges&&n.equals(e)||t.push(e)}function zo(e,t,n,r){var o=t["spans_"+e.id],i=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[i]=n.markedSpans),++i})}function Po(e){if(!e)return null;for(var t,n=0;n<e.length;++n)e[n].marker.explicitlyCleared?t||(t=e.slice(0,n)):t&&t.push(e[n]);return t?t.length?t:null:e}function $o(e,t){var n=function(e,t){var n=t["spans_"+e.id];if(!n)return null;for(var r=[],o=0;o<t.text.length;++o)r.push(Po(n[o]));return r}(e,t),r=je(e,t);if(!n)return r;if(!r)return n;for(var o=0;o<n.length;++o){var i=n[o],a=r[o];if(i&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],u=0;u<i.length;++u)if(i[u].marker==l.marker)continue e;i.push(l)}else a&&(n[o]=a)}return n}function Ro(e,t,n){for(var r=[],o=0;o<e.length;++o){var i=e[o];if(i.ranges)r.push(n?vo.prototype.deepCopy.call(i):i);else{var a=i.changes,s=[];r.push({changes:s});for(var l=0;l<a.length;++l){var u=a[l],c=void 0;if(s.push({from:u.from,to:u.to,text:u.text}),t)for(var f in u)(c=f.match(/^spans_(\d+)$/))&&$(t,Number(c[1]))>-1&&(Y(s)[f]=u[f],delete u[f])}}}return r}function Wo(e,t,n,r){if(r){var o=e.anchor;if(n){var i=me(t,o)<0;i!=me(n,o)<0?(o=t,t=n):i!=me(t,n)<0&&(t=n)}return new bo(o,t)}return new bo(n||t,t)}function Ho(e,t,n,r,o){null==o&&(o=e.cm&&(e.cm.display.shift||e.extend)),Xo(e,new vo([Wo(e.sel.primary(),t,n,o)],0),r)}function qo(e,t,n){for(var r=[],o=e.cm&&(e.cm.display.shift||e.extend),i=0;i<e.sel.ranges.length;i++)r[i]=Wo(e.sel.ranges[i],t[i],null,o);var a=yo(r,e.sel.primIndex);Xo(e,a,n)}function Uo(e,t,n,r){var o=e.sel.ranges.slice(0);o[t]=n,Xo(e,yo(o,e.sel.primIndex),r)}function Vo(e,t,n,r){Xo(e,xo(t,n),r)}function Go(e,t,n){var r=e.history.done,o=Y(r);o&&o.ranges?(r[r.length-1]=t,Yo(e,t,n)):Xo(e,t,n)}function Xo(e,t,n){Yo(e,t,n),Io(e,e.sel,e.cm?e.cm.curOp.id:NaN,n)}function Yo(e,t,n){(it(e,"beforeSelectionChange")||e.cm&&it(e.cm,"beforeSelectionChange"))&&(t=function(e,t,n){var r={ranges:t.ranges,update:function(t){this.ranges=[];for(var n=0;n<t.length;n++)this.ranges[n]=new bo(ke(e,t[n].anchor),ke(e,t[n].head))},origin:n&&n.origin};return nt(e,"beforeSelectionChange",e,r),e.cm&&nt(e.cm,"beforeSelectionChange",e.cm,r),r.ranges!=t.ranges?yo(r.ranges,r.ranges.length-1):t}(e,t,n));var r=n&&n.bias||(me(t.primary().head,e.sel.primary().head)<0?-1:1);Ko(e,Jo(e,t,r,!0)),n&&!1===n.scroll||!e.cm||Fr(e.cm)}function Ko(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=e.cm.curOp.selectionChanged=!0,ot(e.cm)),sn(e,"cursorActivity",e))}function Zo(e){Ko(e,Jo(e,e.sel,null,!1))}function Jo(e,t,n,r){for(var o,i=0;i<t.ranges.length;i++){var a=t.ranges[i],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[i],l=ei(e,a.anchor,s&&s.anchor,n,r),u=ei(e,a.head,s&&s.head,n,r);(o||l!=a.anchor||u!=a.head)&&(o||(o=t.ranges.slice(0,i)),o[i]=new bo(l,u))}return o?yo(o,t.primIndex):t}function Qo(e,t,n,r,o){var i=se(e,t.line);if(i.markedSpans)for(var a=0;a<i.markedSpans.length;++a){var s=i.markedSpans[a],l=s.marker;if((null==s.from||(l.inclusiveLeft?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(l.inclusiveRight?s.to>=t.ch:s.to>t.ch))){if(o&&(nt(l,"beforeCursorEnter"),l.explicitlyCleared)){if(i.markedSpans){--a;continue}break}if(!l.atomic)continue;if(n){var u=l.find(r<0?1:-1),c=void 0;if((r<0?l.inclusiveRight:l.inclusiveLeft)&&(u=ti(e,u,-r,u&&u.line==t.line?i:null)),u&&u.line==t.line&&(c=me(u,n))&&(r<0?c<0:c>0))return Qo(e,u,t,r,o)}var f=l.find(r<0?-1:1);return(r<0?l.inclusiveLeft:l.inclusiveRight)&&(f=ti(e,f,r,f.line==t.line?i:null)),f?Qo(e,f,t,r,o):null}}return t}function ei(e,t,n,r,o){var i=r||1,a=Qo(e,t,n,i,o)||!o&&Qo(e,t,n,i,!0)||Qo(e,t,n,-i,o)||!o&&Qo(e,t,n,-i,!0);return a||(e.cantEdit=!0,ge(e.first,0))}function ti(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?ke(e,ge(t.line-1)):null:n>0&&t.ch==(r||se(e,t.line)).text.length?t.line<e.first+e.size-1?ge(t.line+1,0):null:new ge(t.line,t.ch+n)}function ni(e){e.setSelection(ge(e.firstLine(),0),ge(e.lastLine()),H)}function ri(e,t,n){var r={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return r.canceled=!0}};return n&&(r.update=function(t,n,o,i){t&&(r.from=ke(e,t)),n&&(r.to=ke(e,n)),o&&(r.text=o),void 0!==i&&(r.origin=i)}),nt(e,"beforeChange",e,r),e.cm&&nt(e.cm,"beforeChange",e.cm,r),r.canceled?null:{from:r.from,to:r.to,text:r.text,origin:r.origin}}function oi(e,t,n){if(e.cm){if(!e.cm.curOp)return Gr(e.cm,oi)(e,t,n);if(e.cm.state.suppressEdits)return}if(!(it(e,"beforeChange")||e.cm&&it(e.cm,"beforeChange"))||(t=ri(e,t,!0))){var r=Se&&!n&&function(e,t,n){var r=null;if(e.iter(t.line,n.line+1,function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var n=e.markedSpans[t].marker;!n.readOnly||r&&-1!=$(r,n)||(r||(r=[])).push(n)}}),!r)return null;for(var o=[{from:t,to:n}],i=0;i<r.length;++i)for(var a=r[i],s=a.find(0),l=0;l<o.length;++l){var u=o[l];if(!(me(u.to,s.from)<0||me(u.from,s.to)>0)){var c=[l,1],f=me(u.from,s.from),d=me(u.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&c.push({from:u.from,to:s.from}),(d>0||!a.inclusiveRight&&!d)&&c.push({from:s.to,to:u.to}),o.splice.apply(o,c),l+=c.length-3}}return o}(e,t.from,t.to);if(r)for(var o=r.length-1;o>=0;--o)ii(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text,origin:t.origin});else ii(e,t)}}function ii(e,t){if(1!=t.text.length||""!=t.text[0]||0!=me(t.from,t.to)){var n=Co(e,t);Oo(e,t,n,e.cm?e.cm.curOp.id:NaN),li(e,t,n,je(e,t));var r=[];jo(e,function(e,n){n||-1!=$(r,e.history)||(di(e.history,t),r.push(e.history)),li(e,t,null,je(e,t))})}}function ai(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var o,i=e.history,a=e.sel,s="undo"==t?i.done:i.undone,l="undo"==t?i.undone:i.done,u=0;u<s.length&&(o=s[u],n?!o.ranges||o.equals(e.sel):o.ranges);u++);if(u!=s.length){for(i.lastOrigin=i.lastSelOrigin=null;;){if(!(o=s.pop()).ranges){if(r)return void s.push(o);break}if(Bo(o,l),n&&!o.equals(e.sel))return void Xo(e,o,{clearRedo:!1});a=o}var c=[];Bo(a,l),l.push({changes:c,generation:i.generation}),i.generation=o.generation||++i.maxGeneration;for(var f=it(e,"beforeChange")||e.cm&&it(e.cm,"beforeChange"),d=function(n){var r=o.changes[n];if(r.origin=t,f&&!ri(e,r,!1))return s.length=0,{};c.push(Do(e,r));var i=n?Co(e,r):Y(s);li(e,r,i,$o(e,r)),!n&&e.cm&&e.cm.scrollIntoView({from:r.from,to:wo(r)});var a=[];jo(e,function(e,t){t||-1!=$(a,e.history)||(di(e.history,r),a.push(e.history)),li(e,r,null,$o(e,r))})},h=o.changes.length-1;h>=0;--h){var p=d(h);if(p)return p.v}}}}function si(e,t){if(0!=t&&(e.first+=t,e.sel=new vo(K(e.sel.ranges,function(e){return new bo(ge(e.anchor.line+t,e.anchor.ch),ge(e.head.line+t,e.head.ch))}),e.sel.primIndex),e.cm)){Kr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;r<n.viewTo;r++)Zr(e.cm,r,"gutter")}}function li(e,t,n,r){if(e.cm&&!e.cm.curOp)return Gr(e.cm,li)(e,t,n,r);if(t.to.line<e.first)si(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var o=t.text.length-1-(e.first-t.from.line);si(e,o),t={from:ge(e.first,0),to:ge(t.to.line+o,t.to.ch),text:[Y(t.text)],origin:t.origin}}var i=e.lastLine();t.to.line>i&&(t={from:t.from,to:ge(i,se(e,i).text.length),text:[t.text[0]],origin:t.origin}),t.removed=le(e,t.from,t.to),n||(n=Co(e,t)),e.cm?function(e,t,n){var r=e.doc,o=e.display,i=t.from,a=t.to,s=!1,l=i.line;e.options.lineWrapping||(l=fe($e(se(r,i.line))),r.iter(l,a.line+1,function(e){if(e==o.maxLine)return s=!0,!0})),r.sel.contains(t.from,t.to)>-1&&ot(e),_o(r,t,n,or(e)),e.options.lineWrapping||(r.iter(l,i.line+t.text.length,function(e){var t=Ve(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,s=!1)}),s&&(e.curOp.updateMaxLine=!0)),function(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var n=e.first,r=t-1;r>n;r--){var o=se(e,r).stateAfter;if(o&&(!(o instanceof Dt)||r+o.lookAhead<t)){n=r+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,n)}}(r,i.line),to(e,400);var u=t.text.length-(a.line-i.line)-1;t.full?Kr(e):i.line!=a.line||1!=t.text.length||Ao(e.doc,t)?Kr(e,i.line,a.line+1,u):Zr(e,i.line,"text");var c=it(e,"changes"),f=it(e,"change");if(f||c){var d={from:i,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&sn(e,"change",e,d),c&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(d)}e.display.selForContextMenu=null}(e.cm,t,r):_o(e,t,r),Yo(e,n,H)}}function ui(e,t,n,r,o){var i;r||(r=n),me(r,n)<0&&(n=(i=[r,n])[0],r=i[1]),"string"==typeof t&&(t=e.splitLines(t)),oi(e,{from:n,to:r,text:t,origin:o})}function ci(e,t,n,r){n<e.line?e.line+=r:t<e.line&&(e.line=t,e.ch=0)}function fi(e,t,n,r){for(var o=0;o<e.length;++o){var i=e[o],a=!0;if(i.ranges){i.copied||((i=e[o]=i.deepCopy()).copied=!0);for(var s=0;s<i.ranges.length;s++)ci(i.ranges[s].anchor,t,n,r),ci(i.ranges[s].head,t,n,r)}else{for(var l=0;l<i.changes.length;++l){var u=i.changes[l];if(n<u.from.line)u.from=ge(u.from.line+r,u.from.ch),u.to=ge(u.to.line+r,u.to.ch);else if(t<=u.to.line){a=!1;break}}a||(e.splice(0,o+1),o=0)}}}function di(e,t){var n=t.from.line,r=t.to.line,o=t.text.length-(r-n)-1;fi(e.done,n,r,o),fi(e.undone,n,r,o)}function hi(e,t,n,r){var o=t,i=t;return"number"==typeof t?i=se(e,we(e,t)):o=fe(t),null==o?null:(r(i,o)&&e.cm&&Zr(e.cm,o,n),i)}function pi(e){this.lines=e,this.parent=null;for(var t=0,n=0;n<e.length;++n)e[n].parent=this,t+=e[n].height;this.height=t}function gi(e){this.children=e;for(var t=0,n=0,r=0;r<e.length;++r){var o=e[r];t+=o.chunkSize(),n+=o.height,o.parent=this}this.size=t,this.height=n,this.parent=null}bo.prototype.from=function(){return xe(this.anchor,this.head)},bo.prototype.to=function(){return ye(this.anchor,this.head)},bo.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},pi.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var n=e,r=e+t;n<r;++n){var o=this.lines[n];this.height-=o.height,Vt(o),sn(o,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,n){this.height+=n,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var r=0;r<t.length;++r)t[r].parent=this},iterN:function(e,t,n){for(var r=e+t;e<r;++e)if(n(this.lines[e]))return!0}},gi.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var n=0;n<this.children.length;++n){var r=this.children[n],o=r.chunkSize();if(e<o){var i=Math.min(t,o-e),a=r.height;if(r.removeInner(e,i),this.height-=a-r.height,o==i&&(this.children.splice(n--,1),r.parent=null),0==(t-=i))break;e=0}else e-=o}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof pi))){var s=[];this.collapse(s),this.children=[new pi(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,n){this.size+=t.length,this.height+=n;for(var r=0;r<this.children.length;++r){var o=this.children[r],i=o.chunkSize();if(e<=i){if(o.insertInner(e,t,n),o.lines&&o.lines.length>50){for(var a=o.lines.length%25+25,s=a;s<o.lines.length;){var l=new pi(o.lines.slice(s,s+=25));o.height-=l.height,this.children.splice(++r,0,l),l.parent=this}o.lines=o.lines.slice(0,a),this.maybeSpill()}break}e-=i}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),n=new gi(t);if(e.parent){e.size-=n.size,e.height-=n.height;var r=$(e.parent.children,e);e.parent.children.splice(r+1,0,n)}else{var o=new gi(e.children);o.parent=e,e.children=[o,n],e=o}n.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r<this.children.length;++r){var o=this.children[r],i=o.chunkSize();if(e<i){var a=Math.min(t,i-e);if(o.iterN(e,a,n))return!0;if(0==(t-=a))break;e=0}else e-=i}}};var mi=function(e,t,n){if(n)for(var r in n)n.hasOwnProperty(r)&&(this[r]=n[r]);this.doc=e,this.node=t};function vi(e,t,n){Ue(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&Sr(e,n)}mi.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,n=this.line,r=fe(n);if(null!=r&&t){for(var o=0;o<t.length;++o)t[o]==this&&t.splice(o--,1);t.length||(n.widgets=null);var i=xn(this);ce(n,Math.max(0,n.height-i)),e&&(Vr(e,function(){vi(e,n,-i),Zr(e,r,"widget")}),sn(e,"lineWidgetCleared",e,this,r))}},mi.prototype.changed=function(){var e=this,t=this.height,n=this.doc.cm,r=this.line;this.height=null;var o=xn(this)-t;o&&(ce(r,r.height+o),n&&Vr(n,function(){n.curOp.forceUpdate=!0,vi(n,r,o),sn(n,"lineWidgetChanged",n,e,fe(r))}))},at(mi);var bi=0,yi=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++bi};function xi(e,t,n,r,o){if(r&&r.shared)return function(e,t,n,r,o){(r=B(r)).shared=!1;var i=[xi(e,t,n,r,o)],a=i[0],s=r.widgetNode;return jo(e,function(e){s&&(r.widgetNode=s.cloneNode(!0)),i.push(xi(e,ke(e,t),ke(e,n),r,o));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=Y(i)}),new wi(i,a)}(e,t,n,r,o);if(e.cm&&!e.cm.curOp)return Gr(e.cm,xi)(e,t,n,r,o);var i=new yi(e,o),a=me(t,n);if(r&&B(r,i,!1),a>0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=L("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(Pe(e,t.line,t,n,i)||t.line!=n.line&&Pe(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");Fe=!0}i.addToHistory&&Oo(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var s,l=t.line,u=e.cm;if(e.iter(l,n.line+1,function(e){u&&i.collapsed&&!u.options.lineWrapping&&$e(e)==u.display.maxLine&&(s=!0),i.collapsed&&l!=t.line&&ce(e,0),function(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}(e,new Te(i,l==t.line?t.ch:null,l==n.line?n.ch:null)),++l}),i.collapsed&&e.iter(t.line,n.line+1,function(t){He(e,t)&&ce(t,0)}),i.clearOnEnter&&Qe(i,"beforeCursorEnter",function(){return i.clear()}),i.readOnly&&(Se=!0,(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++bi,i.atomic=!0),u){if(s&&(u.curOp.updateMaxLine=!0),i.collapsed)Kr(u,t.line,n.line+1);else if(i.className||i.title||i.startStyle||i.endStyle||i.css)for(var c=t.line;c<=n.line;c++)Zr(u,c,"text");i.atomic&&Zo(u.doc),sn(u,"markerAdded",u,i)}return i}yi.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&$r(e),it(this,"clear")){var n=this.find();n&&sn(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;i<this.lines.length;++i){var a=this.lines[i],s=Ae(a.markedSpans,this);e&&!this.collapsed?Zr(e,fe(a),"text"):e&&(null!=s.to&&(o=fe(a)),null!=s.from&&(r=fe(a))),a.markedSpans=_e(a.markedSpans,s),null==s.from&&this.collapsed&&!He(this.doc,a)&&e&&ce(a,er(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var u=$e(this.lines[l]),c=Ve(u);c>e.display.maxLineLength&&(e.display.maxLine=u,e.display.maxLineLength=c,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Kr(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Zo(e.doc)),e&&sn(e,"markerCleared",e,this,r,o),t&&Rr(e),this.parent&&this.parent.clear()}},yi.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var o=0;o<this.lines.length;++o){var i=this.lines[o],a=Ae(i.markedSpans,this);if(null!=a.from&&(n=ge(t?i:fe(i),a.from),-1==e))return n;if(null!=a.to&&(r=ge(t?i:fe(i),a.to),1==e))return r}return n&&{from:n,to:r}},yi.prototype.changed=function(){var e=this,t=this.find(-1,!0),n=this,r=this.doc.cm;t&&r&&Vr(r,function(){var o=t.line,i=fe(t.line),a=Ln(r,i);if(a&&(Bn(a),r.curOp.selectionChanged=r.curOp.forceUpdate=!0),r.curOp.updateMaxLine=!0,!He(n.doc,o)&&null!=n.height){var s=n.height;n.height=null;var l=xn(n)-s;l&&ce(o,o.height+l)}sn(r,"markerChanged",r,e)})},yi.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=$(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},yi.prototype.detachLine=function(e){if(this.lines.splice($(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},at(yi);var wi=function(e,t){this.markers=e,this.primary=t;for(var n=0;n<e.length;++n)e[n].parent=this};function ki(e){return e.findMarks(ge(e.first,0),e.clipPos(ge(e.lastLine())),function(e){return e.parent})}function Ci(e){for(var t=function(t){var n=e[t],r=[n.primary.doc];jo(n.primary.doc,function(e){return r.push(e)});for(var o=0;o<n.markers.length;o++){var i=n.markers[o];-1==$(r,i.doc)&&(i.parent=null,n.markers.splice(o--,1))}},n=0;n<e.length;n++)t(n)}wi.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();sn(this,"clear")}},wi.prototype.find=function(e,t){return this.primary.find(e,t)},at(wi);var Si=0,Fi=function(e,t,n,r,o){if(!(this instanceof Fi))return new Fi(e,t,n,r,o);null==n&&(n=0),gi.call(this,[new pi([new Ut("",null)])]),this.first=n,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=n;var i=ge(n,0);this.sel=xo(i),this.history=new No(null),this.id=++Si,this.modeOption=t,this.lineSep=r,this.direction="rtl"==o?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),_o(this,{from:i,to:i,text:e}),Xo(this,xo(i),H)};Fi.prototype=J(gi.prototype,{constructor:Fi,iter:function(e,t,n){n?this.iterN(e-this.first,t-e,n):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var n=0,r=0;r<t.length;++r)n+=t[r].height;this.insertInner(e-this.first,t,n)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=ue(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Yr(function(e){var t=ge(this.first,0),n=this.first+this.size-1;oi(this,{from:t,to:ge(n,se(this,n).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&Tr(this.cm,0,0),Xo(this,xo(t),H)}),replaceRange:function(e,t,n,r){t=ke(this,t),n=n?ke(this,n):t,ui(this,e,t,n,r)},getRange:function(e,t,n){var r=le(this,ke(this,e),ke(this,t));return!1===n?r:r.join(n||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(he(this,e))return se(this,e)},getLineNumber:function(e){return fe(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=se(this,e)),$e(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ke(this,e)},getCursor:function(e){var t=this.sel.primary();return null==e||"head"==e?t.head:"anchor"==e?t.anchor:"end"==e||"to"==e||!1===e?t.to():t.from()},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Yr(function(e,t,n){Vo(this,ke(this,"number"==typeof e?ge(e,t||0):e),null,n)}),setSelection:Yr(function(e,t,n){Vo(this,ke(this,e),ke(this,t||e),n)}),extendSelection:Yr(function(e,t,n){Ho(this,ke(this,e),t&&ke(this,t),n)}),extendSelections:Yr(function(e,t){qo(this,Ce(this,e),t)}),extendSelectionsBy:Yr(function(e,t){var n=K(this.sel.ranges,e);qo(this,Ce(this,n),t)}),setSelections:Yr(function(e,t,n){if(e.length){for(var r=[],o=0;o<e.length;o++)r[o]=new bo(ke(this,e[o].anchor),ke(this,e[o].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),Xo(this,yo(r,t),n)}}),addSelection:Yr(function(e,t,n){var r=this.sel.ranges.slice(0);r.push(new bo(ke(this,e),ke(this,t||e))),Xo(this,yo(r,r.length-1),n)}),getSelection:function(e){for(var t,n=this.sel.ranges,r=0;r<n.length;r++){var o=le(this,n[r].from(),n[r].to());t=t?t.concat(o):o}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],n=this.sel.ranges,r=0;r<n.length;r++){var o=le(this,n[r].from(),n[r].to());!1!==e&&(o=o.join(e||this.lineSeparator())),t[r]=o}return t},replaceSelection:function(e,t,n){for(var r=[],o=0;o<this.sel.ranges.length;o++)r[o]=e;this.replaceSelections(r,t,n||"+input")},replaceSelections:Yr(function(e,t,n){for(var r=[],o=this.sel,i=0;i<o.ranges.length;i++){var a=o.ranges[i];r[i]={from:a.from(),to:a.to(),text:this.splitLines(e[i]),origin:n}}for(var s=t&&"end"!=t&&function(e,t,n){for(var r=[],o=ge(e.first,0),i=o,a=0;a<t.length;a++){var s=t[a],l=So(s.from,o,i),u=So(wo(s),o,i);if(o=s.to,i=u,"around"==n){var c=e.sel.ranges[a],f=me(c.head,c.anchor)<0;r[a]=new bo(f?u:l,f?l:u)}else r[a]=new bo(l,l)}return new vo(r,e.sel.primIndex)}(this,r,t),l=r.length-1;l>=0;l--)oi(this,r[l]);s?Go(this,s):this.cm&&Fr(this.cm)}),undo:Yr(function(){ai(this,"undo")}),redo:Yr(function(){ai(this,"redo")}),undoSelection:Yr(function(){ai(this,"undo",!0)}),redoSelection:Yr(function(){ai(this,"redo",!0)}),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r<e.done.length;r++)e.done[r].ranges||++t;for(var o=0;o<e.undone.length;o++)e.undone[o].ranges||++n;return{undo:t,redo:n}},clearHistory:function(){this.history=new No(this.history.maxGeneration)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Ro(this.history.done),undone:Ro(this.history.undone)}},setHistory:function(e){var t=this.history=new No(this.history.maxGeneration);t.done=Ro(e.done.slice(0),null,!0),t.undone=Ro(e.undone.slice(0),null,!0)},setGutterMarker:Yr(function(e,t,n){return hi(this,e,"gutter",function(e){var r=e.gutterMarkers||(e.gutterMarkers={});return r[t]=n,!n&&ne(r)&&(e.gutterMarkers=null),!0})}),clearGutter:Yr(function(e){var t=this;this.iter(function(n){n.gutterMarkers&&n.gutterMarkers[e]&&hi(t,n,"gutter",function(){return n.gutterMarkers[e]=null,ne(n.gutterMarkers)&&(n.gutterMarkers=null),!0})})}),lineInfo:function(e){var t;if("number"==typeof e){if(!he(this,e))return null;if(t=e,!(e=se(this,e)))return null}else if(null==(t=fe(e)))return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Yr(function(e,t,n){return hi(this,e,"gutter"==t?"gutter":"class",function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[r]){if(S(n).test(e[r]))return!1;e[r]+=" "+n}else e[r]=n;return!0})}),removeLineClass:Yr(function(e,t,n){return hi(this,e,"gutter"==t?"gutter":"class",function(e){var r="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",o=e[r];if(!o)return!1;if(null==n)e[r]=null;else{var i=o.match(S(n));if(!i)return!1;var a=i.index+i[0].length;e[r]=o.slice(0,i.index)+(i.index&&a!=o.length?" ":"")+o.slice(a)||null}return!0})}),addLineWidget:Yr(function(e,t,n){return function(e,t,n,r){var o=new mi(e,n,r),i=e.cm;return i&&o.noHScroll&&(i.display.alignWidgets=!0),hi(e,t,"widget",function(t){var n=t.widgets||(t.widgets=[]);if(null==o.insertAt?n.push(o):n.splice(Math.min(n.length-1,Math.max(0,o.insertAt)),0,o),o.line=t,i&&!He(e,t)){var r=Ue(t)<e.scrollTop;ce(t,t.height+xn(o)),r&&Sr(i,o.height),i.curOp.forceUpdate=!0}return!0}),i&&sn(i,"lineWidgetAdded",i,o,"number"==typeof t?t:fe(t)),o}(this,e,t,n)}),removeLineWidget:function(e){e.clear()},markText:function(e,t,n){return xi(this,ke(this,e),ke(this,t),n,n&&n.type||"range")},setBookmark:function(e,t){var n={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return xi(this,e=ke(this,e),e,n,"bookmark")},findMarksAt:function(e){var t=[],n=se(this,(e=ke(this,e)).line).markedSpans;if(n)for(var r=0;r<n.length;++r){var o=n[r];(null==o.from||o.from<=e.ch)&&(null==o.to||o.to>=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=ke(this,e),t=ke(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,function(i){var a=i.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&o==e.line&&e.ch>=l.to||null==l.from&&o!=e.line||null!=l.from&&o==t.line&&l.from>=t.ch||n&&!n(l.marker)||r.push(l.marker.parent||l.marker)}++o}),r},getAllMarks:function(){var e=[];return this.iter(function(t){var n=t.markedSpans;if(n)for(var r=0;r<n.length;++r)null!=n[r].from&&e.push(n[r].marker)}),e},posFromIndex:function(e){var t,n=this.first,r=this.lineSeparator().length;return this.iter(function(o){var i=o.text.length+r;if(i>e)return t=e,!0;e-=i,++n}),ke(this,ge(n,t))},indexFromPos:function(e){var t=(e=ke(this,e)).ch;if(e.line<this.first||e.ch<0)return 0;var n=this.lineSeparator().length;return this.iter(this.first,e.line,function(e){t+=e.text.length+n}),t},copy:function(e){var t=new Fi(ue(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,n=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<n&&(n=e.to);var r=new Fi(ue(this,t,n),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(r.history=this.history),(this.linked||(this.linked=[])).push({doc:r,sharedHist:e.sharedHist}),r.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n],o=r.find(),i=e.clipPos(o.from),a=e.clipPos(o.to);if(me(i,a)){var s=xi(e,i,a,r.primary,r.primary.type);r.markers.push(s),s.parent=r}}}(r,ki(this)),r},unlinkDoc:function(e){if(e instanceof ka&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var n=this.linked[t];if(n.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),Ci(ki(this));break}}if(e.history==this.history){var r=[e.id];jo(e,function(e){return r.push(e.id)},!0),e.history=new No(null),e.history.done=Ro(this.history.done,r),e.history.undone=Ro(this.history.undone,r)}},iterLinkedDocs:function(e){jo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):yt(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Yr(function(e){var t;"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter(function(e){return e.order=null}),this.cm&&Vr(t=this.cm,function(){Eo(t),Kr(t)}))})}),Fi.prototype.eachLine=Fi.prototype.iter;var Ti=0;function Ai(e){var t=this;if(_i(t),!rt(t,e)&&!wn(t.display,e)){st(e),a&&(Ti=+new Date);var n=ar(t,e,!0),r=e.dataTransfer.files;if(n&&!t.isReadOnly())if(r&&r.length&&window.FileReader&&window.File)for(var o=r.length,i=Array(o),s=0,l=function(e,r){if(!t.options.allowDropFileTypes||-1!=$(t.options.allowDropFileTypes,e.type)){var a=new FileReader;a.onload=Gr(t,function(){var e=a.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(e)&&(e=""),i[r]=e,++s==o){var l={from:n=ke(t.doc,n),to:n,text:t.doc.splitLines(i.join(t.doc.lineSeparator())),origin:"paste"};oi(t.doc,l),Go(t.doc,xo(n,wo(l)))}}),a.readAsText(e)}},u=0;u<o;++u)l(r[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(n)>-1)return t.state.draggingText(e),void setTimeout(function(){return t.display.input.focus()},20);try{var c=e.dataTransfer.getData("Text");if(c){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Yo(t.doc,xo(n,n)),f)for(var d=0;d<f.length;++d)ui(t.doc,"",f[d].anchor,f[d].head,"drag");t.replaceSelection(c,"around","paste"),t.display.input.focus()}}catch(e){}}}}function _i(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function ji(e){if(document.getElementsByClassName)for(var t=document.getElementsByClassName("CodeMirror"),n=0;n<t.length;n++){var r=t[n].CodeMirror;r&&e(r)}}var Li=!1;function Ei(){var e;Li||(Qe(window,"resize",function(){null==e&&(e=setTimeout(function(){e=null,ji(Ni)},100))}),Qe(window,"blur",function(){return ji(vr)}),Li=!0)}function Ni(e){var t=e.display;t.lastWrapHeight==t.wrapper.clientHeight&&t.lastWrapWidth==t.wrapper.clientWidth||(t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize())}for(var Di={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",127:"Delete",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Mi=0;Mi<10;Mi++)Di[Mi+48]=Di[Mi+96]=String(Mi);for(var Oi=65;Oi<=90;Oi++)Di[Oi]=String.fromCharCode(Oi);for(var Ii=1;Ii<=12;Ii++)Di[Ii+111]=Di[Ii+63235]="F"+Ii;var Bi={};function zi(e){var t,n,r,o,i=e.split(/-(?!$)/);e=i[i.length-1];for(var a=0;a<i.length-1;a++){var s=i[a];if(/^(cmd|meta|m)$/i.test(s))o=!0;else if(/^a(lt)?$/i.test(s))t=!0;else if(/^(c|ctrl|control)$/i.test(s))n=!0;else{if(!/^s(hift)?$/i.test(s))throw new Error("Unrecognized modifier name: "+s);r=!0}}return t&&(e="Alt-"+e),n&&(e="Ctrl-"+e),o&&(e="Cmd-"+e),r&&(e="Shift-"+e),e}function Pi(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(/^(name|fallthrough|(de|at)tach)$/.test(n))continue;if("..."==r){delete e[n];continue}for(var o=K(n.split(" "),zi),i=0;i<o.length;i++){var a=void 0,s=void 0;i==o.length-1?(s=o.join(" "),a=r):(s=o.slice(0,i+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[n]}for(var u in t)e[u]=t[u];return e}function $i(e,t,n,r){var o=(t=qi(t)).call?t.call(e,r):t[e];if(!1===o)return"nothing";if("..."===o)return"multi";if(null!=o&&n(o))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return $i(e,t.fallthrough,n,r);for(var i=0;i<t.fallthrough.length;i++){var a=$i(e,t.fallthrough[i],n,r);if(a)return a}}}function Ri(e){var t="string"==typeof e?e:Di[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Wi(e,t,n){var r=e;return t.altKey&&"Alt"!=r&&(e="Alt-"+e),(k?t.metaKey:t.ctrlKey)&&"Ctrl"!=r&&(e="Ctrl-"+e),(k?t.ctrlKey:t.metaKey)&&"Cmd"!=r&&(e="Cmd-"+e),!n&&t.shiftKey&&"Shift"!=r&&(e="Shift-"+e),e}function Hi(e,t){if(f&&34==e.keyCode&&e.char)return!1;var n=Di[e.keyCode];return null!=n&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(n=e.code),Wi(n,e,t))}function qi(e){return"string"==typeof e?Bi[e]:e}function Ui(e,t){for(var n=e.doc.sel.ranges,r=[],o=0;o<n.length;o++){for(var i=t(n[o]);r.length&&me(i.from,Y(r).to)<=0;){var a=r.pop();if(me(a.from,i.from)<0){i.from=a.from;break}}r.push(i)}Vr(e,function(){for(var t=r.length-1;t>=0;t--)ui(e.doc,"",r[t].from,r[t].to,"+delete");Fr(e)})}function Vi(e,t,n){var r=ie(e.text,t+n,n);return r<0||r>e.text.length?null:r}function Gi(e,t,n){var r=Vi(e,t.ch,n);return null==r?null:new ge(t.line,r,n<0?"after":"before")}function Xi(e,t,n,r,o){if(e){var i=Ze(n,t.doc.direction);if(i){var a,s=o<0?Y(i):i[0],l=o<0==(1==s.level),u=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var c=En(t,n);a=o<0?n.text.length-1:0;var f=Nn(t,c,a).top;a=ae(function(e){return Nn(t,c,e).top==f},o<0==(1==s.level)?s.from:s.to-1,a),"before"==u&&(a=Vi(n,a,1))}else a=o<0?s.to:s.from;return new ge(r,a,u)}}return new ge(r,o<0?n.text.length:0,o<0?"before":"after")}Bi.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Bi.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Bi.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Bi.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Bi.default=b?Bi.macDefault:Bi.pcDefault;var Yi={selectAll:ni,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),H)},killLine:function(e){return Ui(e,function(t){if(t.empty()){var n=se(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line<e.lastLine()?{from:t.head,to:ge(t.head.line+1,0)}:{from:t.head,to:ge(t.head.line,n)}}return{from:t.from(),to:t.to()}})},deleteLine:function(e){return Ui(e,function(t){return{from:ge(t.from().line,0),to:ke(e.doc,ge(t.to().line+1,0))}})},delLineLeft:function(e){return Ui(e,function(e){return{from:ge(e.from().line,0),to:e.from()}})},delWrappedLineLeft:function(e){return Ui(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return{from:r,to:t.from()}})},delWrappedLineRight:function(e){return Ui(e,function(t){var n=e.charCoords(t.head,"div").top+5,r=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div");return{from:t.from(),to:r}})},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(ge(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(ge(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy(function(t){return Ki(e,t.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy(function(t){return Zi(e,t.head)},{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy(function(t){return function(e,t){var n=se(e.doc,t),r=function(e){for(var t;t=ze(e);)e=t.find(1,!0).line;return e}(n);return r!=n&&(t=fe(r)),Xi(!0,e,n,t,-1)}(e,t.head.line)},{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:n},"div")},U)},goLineLeft:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:n},"div")},U)},goLineLeftSmart:function(e){return e.extendSelectionsBy(function(t){var n=e.cursorCoords(t.head,"div").top+5,r=e.coordsChar({left:0,top:n},"div");return r.ch<e.getLine(r.line).search(/\S/)?Zi(e,t.head):r},U)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],n=e.listSelections(),r=e.options.tabSize,o=0;o<n.length;o++){var i=n[o].from(),a=z(e.getLine(i.line),i.ch,r);t.push(X(r-a%r))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Vr(e,function(){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)if(t[r].empty()){var o=t[r].head,i=se(e.doc,o.line).text;if(i)if(o.ch==i.length&&(o=new ge(o.line,o.ch-1)),o.ch>0)o=new ge(o.line,o.ch+1),e.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),ge(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var a=se(e.doc,o.line-1).text;a&&(o=new ge(o.line,1),e.replaceRange(i.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ge(o.line-1,a.length-1),o,"+transpose"))}n.push(new bo(o,o))}e.setSelections(n)})},newlineAndIndent:function(e){return Vr(e,function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r<t.length;r++)e.indentLine(t[r].from().line,null,!0);Fr(e)})},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Ki(e,t){var n=se(e.doc,t),r=$e(n);return r!=n&&(t=fe(r)),Xi(!0,e,r,t,1)}function Zi(e,t){var n=Ki(e,t.line),r=se(e.doc,n.line),o=Ze(r,e.doc.direction);if(!o||0==o[0].level){var i=Math.max(0,r.text.search(/\S/)),a=t.line==n.line&&t.ch<=i&&t.ch;return ge(n.line,a?0:i,n.sticky)}return n}function Ji(e,t,n){if("string"==typeof t&&!(t=Yi[t]))return!1;e.display.input.ensurePolled();var r=e.display.shift,o=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n&&(e.display.shift=!1),o=t(e)!=W}finally{e.display.shift=r,e.state.suppressEdits=!1}return o}var Qi=new P;function ea(e,t,n,r){var o=e.state.keySeq;if(o){if(Ri(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:Qi.set(50,function(){e.state.keySeq==o&&(e.state.keySeq=null,e.display.input.reset())}),ta(e,o+" "+t,n,r))return!0}return ta(e,t,n,r)}function ta(e,t,n,r){var o=function(e,t,n){for(var r=0;r<e.state.keyMaps.length;r++){var o=$i(t,e.state.keyMaps[r],n,e);if(o)return o}return e.options.extraKeys&&$i(t,e.options.extraKeys,n,e)||$i(t,e.options.keyMap,n,e)}(e,t,r);return"multi"==o&&(e.state.keySeq=t),"handled"==o&&sn(e,"keyHandled",e,t,n),"handled"!=o&&"multi"!=o||(st(n),hr(e)),!!o}function na(e,t){var n=Hi(t,!0);return!!n&&(t.shiftKey&&!e.state.keySeq?ea(e,"Shift-"+n,t,function(t){return Ji(e,t,!0)})||ea(e,n,t,function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return Ji(e,t)}):ea(e,n,t,function(t){return Ji(e,t)}))}var ra=null;function oa(e){var t=this;if(t.curOp.focus=N(),!rt(t,e)){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var r=na(t,e);f&&(ra=r?n:null,!r&&88==n&&!wt&&(b?e.metaKey:e.ctrlKey)&&t.replaceSelection("",null,"cut")),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||function(e){var t=e.display.lineDiv;function n(e){18!=e.keyCode&&e.altKey||(T(t,"CodeMirror-crosshair"),tt(document,"keyup",n),tt(document,"mouseover",n))}D(t,"CodeMirror-crosshair"),Qe(document,"keyup",n),Qe(document,"mouseover",n)}(t)}}function ia(e){16==e.keyCode&&(this.doc.sel.shift=!1),rt(this,e)}function aa(e){var t=this;if(!(wn(t.display,e)||rt(t,e)||e.ctrlKey&&!e.altKey||b&&e.metaKey)){var n=e.keyCode,r=e.charCode;if(f&&n==ra)return ra=null,void st(e);if(!f||e.which&&!(e.which<10)||!na(t,e)){var o=String.fromCharCode(null==r?n:r);"\b"!=o&&(function(e,t,n){return ea(e,"'"+n+"'",t,function(t){return Ji(e,t,!0)})}(t,e,o)||t.display.input.onKeyPress(e))}}}var sa,la,ua=function(e,t,n){this.time=e,this.pos=t,this.button=n};function ca(e){var t=this,n=t.display;if(!(rt(t,e)||n.activeTouch&&n.input.supportsTouch()))if(n.input.ensurePolled(),n.shift=e.shiftKey,wn(n,e))l||(n.scroller.draggable=!1,setTimeout(function(){return n.scroller.draggable=!0},100));else if(!ha(t,e)){var r=ar(t,e),o=dt(e),i=r?function(e,t){var n=+new Date;return la&&la.compare(n,e,t)?(sa=la=null,"triple"):sa&&sa.compare(n,e,t)?(la=new ua(n,e,t),sa=null,"double"):(sa=new ua(n,e,t),la=null,"single")}(r,o):"single";window.focus(),1==o&&t.state.selectingText&&t.state.selectingText(e),r&&function(e,t,n,r,o){var i="Click";return"double"==r?i="Double"+i:"triple"==r&&(i="Triple"+i),ea(e,Wi(i=(1==t?"Left":2==t?"Middle":"Right")+i,o),o,function(t){if("string"==typeof t&&(t=Yi[t]),!t)return!1;var r=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r=t(e,n)!=W}finally{e.state.suppressEdits=!1}return r})}(t,o,r,i,e)||(1==o?r?function(e,t,n,r){a?setTimeout(I(pr,e),0):e.curOp.focus=N();var o,i=function(e,t,n){var r=e.getOption("configureMouse"),o=r?r(e,t,n):{};if(null==o.unit){var i=y?n.shiftKey&&n.metaKey:n.altKey;o.unit=i?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==o.extend||e.doc.extend)&&(o.extend=e.doc.extend||n.shiftKey),null==o.addNew&&(o.addNew=b?n.metaKey:n.ctrlKey),null==o.moveOnDrag&&(o.moveOnDrag=!(b?n.altKey:n.ctrlKey)),o}(e,n,r),u=e.doc.sel;e.options.dragDrop&&gt&&!e.isReadOnly()&&"single"==n&&(o=u.contains(t))>-1&&(me((o=u.ranges[o]).from(),t)<0||t.xRel>0)&&(me(o.to(),t)>0||t.xRel<0)?function(e,t,n,r){var o=e.display,i=!1,u=Gr(e,function(t){l&&(o.scroller.draggable=!1),e.state.draggingText=!1,tt(o.wrapper.ownerDocument,"mouseup",u),tt(o.wrapper.ownerDocument,"mousemove",c),tt(o.scroller,"dragstart",f),tt(o.scroller,"drop",u),i||(st(t),r.addNew||Ho(e.doc,n,null,null,r.extend),l||a&&9==s?setTimeout(function(){o.wrapper.ownerDocument.body.focus(),o.input.focus()},20):o.input.focus())}),c=function(e){i=i||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return i=!0};l&&(o.scroller.draggable=!0),e.state.draggingText=u,u.copy=!r.moveOnDrag,o.scroller.dragDrop&&o.scroller.dragDrop(),Qe(o.wrapper.ownerDocument,"mouseup",u),Qe(o.wrapper.ownerDocument,"mousemove",c),Qe(o.scroller,"dragstart",f),Qe(o.scroller,"drop",u),gr(e),setTimeout(function(){return o.input.focus()},20)}(e,r,t,i):function(e,t,n,r){var o=e.display,i=e.doc;st(t);var a,s,l=i.sel,u=l.ranges;if(r.addNew&&!r.extend?(s=i.sel.contains(n),a=s>-1?u[s]:new bo(n,n)):(a=i.sel.primary(),s=i.sel.primIndex),"rectangle"==r.unit)r.addNew||(a=new bo(n,n)),n=ar(e,t,!0,!0),s=-1;else{var c=fa(e,n,r.unit);a=r.extend?Wo(a,c.anchor,c.head,r.extend):c}r.addNew?-1==s?(s=u.length,Xo(i,yo(u.concat([a]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==r.unit&&!r.extend?(Xo(i,yo(u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=i.sel):Uo(i,s,a,q):(s=0,Xo(i,new vo([a],0),q),l=i.sel);var f=n;function d(t){if(0!=me(f,t))if(f=t,"rectangle"==r.unit){for(var o=[],u=e.options.tabSize,c=z(se(i,n.line).text,n.ch,u),d=z(se(i,t.line).text,t.ch,u),h=Math.min(c,d),p=Math.max(c,d),g=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));g<=m;g++){var v=se(i,g).text,b=V(v,h,u);h==p?o.push(new bo(ge(g,b),ge(g,b))):v.length>b&&o.push(new bo(ge(g,b),ge(g,V(v,p,u))))}o.length||o.push(new bo(n,n)),Xo(i,yo(l.ranges.slice(0,s).concat(o),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,x=a,w=fa(e,t,r.unit),k=x.anchor;me(w.anchor,k)>0?(y=w.head,k=xe(x.from(),w.anchor)):(y=w.anchor,k=ye(x.to(),w.head));var C=l.ranges.slice(0);C[s]=function(e,t){var n=t.anchor,r=t.head,o=se(e.doc,n.line);if(0==me(n,r)&&n.sticky==r.sticky)return t;var i=Ze(o);if(!i)return t;var a=Ye(i,n.ch,n.sticky),s=i[a];if(s.from!=n.ch&&s.to!=n.ch)return t;var l,u=a+(s.from==n.ch==(1!=s.level)?0:1);if(0==u||u==i.length)return t;if(r.line!=n.line)l=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var c=Ye(i,r.ch,r.sticky),f=c-a||(r.ch-n.ch)*(1==s.level?-1:1);l=c==u-1||c==u?f<0:f>0}var d=i[u+(l?-1:0)],h=l==(1==d.level),p=h?d.from:d.to,g=h?"after":"before";return n.ch==p&&n.sticky==g?t:new bo(new ge(n.line,p,g),r)}(e,new bo(ke(i,k),y)),Xo(i,yo(C,s),q)}}var h=o.wrapper.getBoundingClientRect(),p=0;function g(t){e.state.selectingText=!1,p=1/0,st(t),o.input.focus(),tt(o.wrapper.ownerDocument,"mousemove",m),tt(o.wrapper.ownerDocument,"mouseup",v),i.history.lastSelOrigin=null}var m=Gr(e,function(t){dt(t)?function t(n){var a=++p,s=ar(e,n,!0,"rectangle"==r.unit);if(s)if(0!=me(s,f)){e.curOp.focus=N(),d(s);var l=xr(o,i);(s.line>=l.to||s.line<l.from)&&setTimeout(Gr(e,function(){p==a&&t(n)}),150)}else{var u=n.clientY<h.top?-20:n.clientY>h.bottom?20:0;u&&setTimeout(Gr(e,function(){p==a&&(o.scroller.scrollTop+=u,t(n))}),50)}}(t):g(t)}),v=Gr(e,g);e.state.selectingText=v,Qe(o.wrapper.ownerDocument,"mousemove",m),Qe(o.wrapper.ownerDocument,"mouseup",v)}(e,r,t,i)}(t,r,i,e):ft(e)==n.scroller&&st(e):2==o?(r&&Ho(t.doc,r),setTimeout(function(){return n.input.focus()},20)):3==o&&(C?pa(t,e):gr(t)))}}function fa(e,t,n){if("char"==n)return new bo(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new bo(ge(t.line,0),ke(e.doc,ge(t.line+1,0)));var r=n(e,t);return new bo(r.from,r.to)}function da(e,t,n,r){var o,i;if(t.touches)o=t.touches[0].clientX,i=t.touches[0].clientY;else try{o=t.clientX,i=t.clientY}catch(t){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&st(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(i>s.bottom||!it(e,n))return ut(t);i-=s.top-a.viewOffset;for(var l=0;l<e.options.gutters.length;++l){var u=a.gutters.childNodes[l];if(u&&u.getBoundingClientRect().right>=o){var c=de(e.doc,i),f=e.options.gutters[l];return nt(e,n,e,c,f,t),ut(t)}}}function ha(e,t){return da(e,t,"gutterClick",!0)}function pa(e,t){wn(e.display,t)||function(e,t){return!!it(e,"gutterContextMenu")&&da(e,t,"gutterContextMenu",!1)}(e,t)||rt(e,t,"contextmenu")||e.display.input.onContextMenu(t)}function ga(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),Pn(e)}ua.prototype.compare=function(e,t,n){return this.time+400>e&&0==me(t,this.pos)&&n==this.button};var ma={toString:function(){return"CodeMirror.Init"}},va={},ba={};function ya(e){uo(e),Kr(e),wr(e)}function xa(e,t,n){var r=n&&n!=ma;if(!t!=!r){var o=e.display.dragFunctions,i=t?Qe:tt;i(e.display.scroller,"dragstart",o.start),i(e.display.scroller,"dragenter",o.enter),i(e.display.scroller,"dragover",o.over),i(e.display.scroller,"dragleave",o.leave),i(e.display.scroller,"drop",o.drop)}}function wa(e){e.options.lineWrapping?(D(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(T(e.display.wrapper,"CodeMirror-wrap"),Ge(e)),ir(e),Kr(e),Pn(e),setTimeout(function(){return Or(e)},100)}function ka(e,t){var r=this;if(!(this instanceof ka))return new ka(e,t);this.options=t=t?B(t):{},B(va,t,!1),co(t);var o=t.value;"string"==typeof o&&(o=new Fi(o,t.mode,null,t.lineSeparator,t.direction)),this.doc=o;var i=new ka.inputStyles[t.inputStyle](this),u=this.display=new function(e,t,r){var o=this;this.input=r,o.scrollbarFiller=j("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=j("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=L("div",null,"CodeMirror-code"),o.selectionDiv=j("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=j("div",null,"CodeMirror-cursors"),o.measure=j("div",null,"CodeMirror-measure"),o.lineMeasure=j("div",null,"CodeMirror-measure"),o.lineSpace=L("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var i=L("div",[o.lineSpace],"CodeMirror-lines");o.mover=j("div",[i],null,"position: relative"),o.sizer=j("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=j("div",null,null,"position: absolute; height: "+R+"px; width: 1px;"),o.gutters=j("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=j("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=j("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||n&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,r.init(o)}(e,o,i);for(var c in u.wrapper.CodeMirror=this,uo(this),ga(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),zr(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:!1,cutIncoming:!1,selectingText:!1,draggingText:!1,highlight:new P,keySeq:null,specialChars:null},t.autofocus&&!v&&u.input.focus(),a&&s<11&&setTimeout(function(){return r.display.input.reset(!0)},20),function(e){var t=e.display;Qe(t.scroller,"mousedown",Gr(e,ca)),Qe(t.scroller,"dblclick",a&&s<11?Gr(e,function(t){if(!rt(e,t)){var n=ar(e,t);if(n&&!ha(e,t)&&!wn(e.display,t)){st(t);var r=e.findWordAt(n);Ho(e.doc,r.anchor,r.head)}}}):function(t){return rt(e,t)||st(t)}),C||Qe(t.scroller,"contextmenu",function(t){return pa(e,t)});var n,r={end:0};function o(){t.activeTouch&&(n=setTimeout(function(){return t.activeTouch=null},1e3),(r=t.activeTouch).end=+new Date)}function i(e,t){if(null==t.left)return!0;var n=t.left-e.left,r=t.top-e.top;return n*n+r*r>400}Qe(t.scroller,"touchstart",function(o){if(!rt(e,o)&&!function(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}(o)&&!ha(e,o)){t.input.ensurePolled(),clearTimeout(n);var i=+new Date;t.activeTouch={start:i,moved:!1,prev:i-r.end<=300?r:null},1==o.touches.length&&(t.activeTouch.left=o.touches[0].pageX,t.activeTouch.top=o.touches[0].pageY)}}),Qe(t.scroller,"touchmove",function(){t.activeTouch&&(t.activeTouch.moved=!0)}),Qe(t.scroller,"touchend",function(n){var r=t.activeTouch;if(r&&!wn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var a,s=e.coordsChar(t.activeTouch,"page");a=!r.prev||i(r,r.prev)?new bo(s,s):!r.prev.prev||i(r,r.prev.prev)?e.findWordAt(s):new bo(ge(s.line,0),ke(e.doc,ge(s.line+1,0))),e.setSelection(a.anchor,a.head),e.focus(),st(n)}o()}),Qe(t.scroller,"touchcancel",o),Qe(t.scroller,"scroll",function(){t.scroller.clientHeight&&(jr(e,t.scroller.scrollTop),Er(e,t.scroller.scrollLeft,!0),nt(e,"scroll",e))}),Qe(t.scroller,"mousewheel",function(t){return mo(e,t)}),Qe(t.scroller,"DOMMouseScroll",function(t){return mo(e,t)}),Qe(t.wrapper,"scroll",function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0}),t.dragFunctions={enter:function(t){rt(e,t)||ct(t)},over:function(t){rt(e,t)||(function(e,t){var n=ar(e,t);if(n){var r=document.createDocumentFragment();cr(e,n,r),e.display.dragCursor||(e.display.dragCursor=j("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),_(e.display.dragCursor,r)}}(e,t),ct(t))},start:function(t){return function(e,t){if(a&&(!e.state.draggingText||+new Date-Ti<100))ct(t);else if(!rt(e,t)&&!wn(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!d)){var n=j("img",null,null,"position: fixed; left: 0; top: 0;");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",f&&(n.width=n.height=1,e.display.wrapper.appendChild(n),n._top=n.offsetTop),t.dataTransfer.setDragImage(n,0,0),f&&n.parentNode.removeChild(n)}}(e,t)},drop:Gr(e,Ai),leave:function(t){rt(e,t)||_i(e)}};var l=t.input.getField();Qe(l,"keyup",function(t){return ia.call(e,t)}),Qe(l,"keydown",Gr(e,oa)),Qe(l,"keypress",Gr(e,aa)),Qe(l,"focus",function(t){return mr(e,t)}),Qe(l,"blur",function(t){return vr(e,t)})}(this),Ei(),$r(this),this.curOp.forceUpdate=!0,Lo(this,o),t.autofocus&&!v||this.hasFocus()?setTimeout(I(mr,this),20):vr(this),ba)ba.hasOwnProperty(c)&&ba[c](r,t[c],ma);kr(this),t.finishInit&&t.finishInit(this);for(var h=0;h<Ca.length;++h)Ca[h](r);Rr(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(u.lineDiv).textRendering&&(u.lineDiv.style.textRendering="auto")}ka.defaults=va,ka.optionHandlers=ba;var Ca=[];function Sa(e,t,n,r){var o,i=e.doc;null==n&&(n="add"),"smart"==n&&(i.mode.indent?o=Bt(e,t).state:n="prev");var a=e.options.tabSize,s=se(i,t),l=z(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var u,c=s.text.match(/^\s*/)[0];if(r||/\S/.test(s.text)){if("smart"==n&&((u=i.mode.indent(o,s.text.slice(c.length),s.text))==W||u>150)){if(!r)return;n="prev"}}else u=0,n="not";"prev"==n?u=t>i.first?z(se(i,t-1).text,null,a):0:"add"==n?u=l+e.options.indentUnit:"subtract"==n?u=l-e.options.indentUnit:"number"==typeof n&&(u=l+n),u=Math.max(0,u);var f="",d=0;if(e.options.indentWithTabs)for(var h=Math.floor(u/a);h;--h)d+=a,f+="\t";if(d<u&&(f+=X(u-d)),f!=c)return ui(i,f,ge(t,0),ge(t,c.length),"+input"),s.stateAfter=null,!0;for(var p=0;p<i.sel.ranges.length;p++){var g=i.sel.ranges[p];if(g.head.line==t&&g.head.ch<c.length){var m=ge(t,c.length);Uo(i,p,new bo(m,m));break}}}ka.defineInitHook=function(e){return Ca.push(e)};var Fa=null;function Ta(e){Fa=e}function Aa(e,t,n,r,o){var i=e.doc;e.display.shift=!1,r||(r=i.sel);var a,s=e.state.pasteIncoming||"paste"==o,l=yt(t),u=null;if(s&&r.ranges.length>1)if(Fa&&Fa.text.join("\n")==t){if(r.ranges.length%Fa.text.length==0){u=[];for(var c=0;c<Fa.text.length;c++)u.push(i.splitLines(Fa.text[c]))}}else l.length==r.ranges.length&&e.options.pasteLinesPerSelection&&(u=K(l,function(e){return[e]}));for(var f=r.ranges.length-1;f>=0;f--){var d=r.ranges[f],h=d.from(),p=d.to();d.empty()&&(n&&n>0?h=ge(h.line,h.ch-n):e.state.overwrite&&!s?p=ge(p.line,Math.min(se(i,p.line).text.length,p.ch+Y(l).length)):Fa&&Fa.lineWise&&Fa.text.join("\n")==t&&(h=p=ge(h.line,0))),a=e.curOp.updateInput;var g={from:h,to:p,text:u?u[f%u.length]:l,origin:o||(s?"paste":e.state.cutIncoming?"cut":"+input")};oi(e.doc,g),sn(e,"inputRead",e,g)}t&&!s&&ja(e,t),Fr(e),e.curOp.updateInput=a,e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=!1}function _a(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Vr(t,function(){return Aa(t,n,0,null,"paste")}),!0}function ja(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=e.getModeAt(o.head),a=!1;if(i.electricChars){for(var s=0;s<i.electricChars.length;s++)if(t.indexOf(i.electricChars.charAt(s))>-1){a=Sa(e,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(se(e.doc,o.head.line).text.slice(0,o.head.ch))&&(a=Sa(e,o.head.line,"smart"));a&&sn(e,"electricInput",e,o.head.line)}}}function La(e){for(var t=[],n=[],r=0;r<e.doc.sel.ranges.length;r++){var o=e.doc.sel.ranges[r].head.line,i={anchor:ge(o,0),head:ge(o+1,0)};n.push(i),t.push(e.getRange(i.anchor,i.head))}return{text:t,ranges:n}}function Ea(e,t){e.setAttribute("autocorrect","off"),e.setAttribute("autocapitalize","off"),e.setAttribute("spellcheck",!!t)}function Na(){var e=j("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=j("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),g&&(e.style.border="1px solid black"),Ea(e),t}function Da(e,t,n,r,o){var i=t,a=n,s=se(e,t.line);function l(r){var i,a;if(null==(i=o?function(e,t,n,r){var o=Ze(t,e.doc.direction);if(!o)return Gi(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var i=Ye(o,n.ch,n.sticky),a=o[i];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from<n.ch))return Gi(t,n,r);var s,l=function(e,n){return Vi(t,e instanceof ge?e.ch:e,n)},u=function(n){return e.options.lineWrapping?(s=s||En(e,t),Zn(e,t,s,n)):{begin:0,end:t.text.length}},c=u("before"==n.sticky?l(n,-1):n.ch);if("rtl"==e.doc.direction||1==a.level){var f=1==a.level==r<0,d=l(n,f?1:-1);if(null!=d&&(f?d<=a.to&&d<=c.end:d>=a.from&&d>=c.begin)){var h=f?"before":"after";return new ge(n.line,d,h)}}var p=function(e,t,r){for(var i=function(e,t){return t?new ge(n.line,l(e,1),"before"):new ge(n.line,e,"after")};e>=0&&e<o.length;e+=t){var a=o[e],s=t>0==(1!=a.level),u=s?r.begin:l(r.end,-1);if(a.from<=u&&u<a.to)return i(u,s);if(u=s?a.from:l(a.to,-1),r.begin<=u&&u<r.end)return i(u,s)}},g=p(i+r,r,c);if(g)return g;var m=r>0?c.end:l(c.begin,-1);return null==m||r>0&&m==t.text.length||!(g=p(r>0?0:o.length-1,r,u(m)))?null:g}(e.cm,s,t,n):Gi(s,t,n))){if(r||((a=t.line+n)<e.first||a>=e.first+e.size||(t=new ge(a,t.ch,t.sticky),!(s=se(e,a)))))return!1;t=Xi(o,e.cm,s,t.line,n)}else t=i;return!0}if("char"==r)l();else if("column"==r)l(!0);else if("word"==r||"group"==r)for(var u=null,c="group"==r,f=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;!(n<0)||l(!d);d=!1){var h=s.text.charAt(t.ch)||"\n",p=te(h,f)?"w":c&&"\n"==h?"n":!c||/\s/.test(h)?null:"p";if(!c||d||p||(p="s"),u&&u!=p){n<0&&(n=1,l(),t.sticky="after");break}if(p&&(u=p),n>0&&!l(!d))break}var g=ei(e,t,i,a,!0);return ve(i,g)&&(g.hitSide=!0),g}function Ma(e,t,n,r){var o,i,a=e.doc,s=t.left;if("page"==r){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),u=Math.max(l-.5*er(e.display),3);o=(n>0?t.bottom:t.top)+n*u}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(;(i=Yn(e,s,o)).outside;){if(n<0?o<=0:o>=a.height){i.hitSide=!0;break}o+=5*n}return i}var Oa=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new P,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ia(e,t){var n=Ln(e,t.line);if(!n||n.hidden)return null;var r=se(e.doc,t.line),o=_n(n,r,t.line),i=Ze(r,e.doc.direction),a="left";if(i){var s=Ye(i,t.ch);a=s%2?"right":"left"}var l=On(o.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function Ba(e,t){return t&&(e.bad=!0),e}function za(e,t,n){var r;if(t==e.display.lineDiv){if(!(r=e.display.lineDiv.childNodes[n]))return Ba(e.clipPos(ge(e.display.viewTo-1)),!0);t=null,n=0}else for(r=t;;r=r.parentNode){if(!r||r==e.display.lineDiv)return null;if(r.parentNode&&r.parentNode==e.display.lineDiv)break}for(var o=0;o<e.display.view.length;o++){var i=e.display.view[o];if(i.node==r)return Pa(i,t,n)}}function Pa(e,t,n){var r=e.text.firstChild,o=!1;if(!t||!E(r,t))return Ba(ge(fe(e.line),0),!0);if(t==r&&(o=!0,t=r.childNodes[n],n=0,!t)){var i=e.rest?Y(e.rest):e.line;return Ba(ge(fe(i),i.text.length),o)}var a=3==t.nodeType?t:null,s=t;for(a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,n&&(n=a.nodeValue.length));s.parentNode!=r;)s=s.parentNode;var l=e.measure,u=l.maps;function c(t,n,r){for(var o=-1;o<(u?u.length:0);o++)for(var i=o<0?l.map:u[o],a=0;a<i.length;a+=3){var s=i[a+2];if(s==t||s==n){var c=fe(o<0?e.line:e.rest[o]),f=i[a]+r;return(r<0||s!=t)&&(f=i[a+(r?1:0)]),ge(c,f)}}}var f=c(a,s,n);if(f)return Ba(f,o);for(var d=s.nextSibling,h=a?a.nodeValue.length-n:0;d;d=d.nextSibling){if(f=c(d,d.firstChild,0))return Ba(ge(f.line,f.ch-h),o);h+=d.textContent.length}for(var p=s.previousSibling,g=n;p;p=p.previousSibling){if(f=c(p,p.firstChild,-1))return Ba(ge(f.line,f.ch+g),o);g+=p.textContent.length}}Oa.prototype.init=function(e){var t=this,n=this,r=n.cm,o=n.div=e.lineDiv;function i(e){if(!rt(r,e)){if(r.somethingSelected())Ta({lineWise:!1,text:r.getSelections()}),"cut"==e.type&&r.replaceSelection("",null,"cut");else{if(!r.options.lineWiseCopyCut)return;var t=La(r);Ta({lineWise:!0,text:t.text}),"cut"==e.type&&r.operation(function(){r.setSelections(t.ranges,0,H),r.replaceSelection("",null,"cut")})}if(e.clipboardData){e.clipboardData.clearData();var i=Fa.text.join("\n");if(e.clipboardData.setData("Text",i),e.clipboardData.getData("Text")==i)return void e.preventDefault()}var a=Na(),s=a.firstChild;r.display.lineSpace.insertBefore(a,r.display.lineSpace.firstChild),s.value=Fa.text.join("\n");var l=document.activeElement;O(s),setTimeout(function(){r.display.lineSpace.removeChild(a),l.focus(),l==o&&n.showPrimarySelection()},50)}}Ea(o,r.options.spellcheck),Qe(o,"paste",function(e){rt(r,e)||_a(e,r)||s<=11&&setTimeout(Gr(r,function(){return t.updateFromDOM()}),20)}),Qe(o,"compositionstart",function(e){t.composing={data:e.data,done:!1}}),Qe(o,"compositionupdate",function(e){t.composing||(t.composing={data:e.data,done:!1})}),Qe(o,"compositionend",function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)}),Qe(o,"touchstart",function(){return n.forceCompositionEnd()}),Qe(o,"input",function(){t.composing||t.readFromDOMSoon()}),Qe(o,"copy",i),Qe(o,"cut",i)},Oa.prototype.prepareSelection=function(){var e=ur(this.cm,!1);return e.focus=this.cm.state.focused,e},Oa.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Oa.prototype.showPrimarySelection=function(){var e=window.getSelection(),t=this.cm,r=t.doc.sel.primary(),o=r.from(),i=r.to();if(t.display.viewTo==t.display.viewFrom||o.line>=t.display.viewTo||i.line<t.display.viewFrom)e.removeAllRanges();else{var a=za(t,e.anchorNode,e.anchorOffset),s=za(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=me(xe(a,s),o)||0!=me(ye(a,s),i)){var l=t.display.view,u=o.line>=t.display.viewFrom&&Ia(t,o)||{node:l[0].measure.map[2],offset:0},c=i.line<t.display.viewTo&&Ia(t,i);if(!c){var f=l[l.length-1].measure,d=f.maps?f.maps[f.maps.length-1]:f.map;c={node:d[d.length-1],offset:d[d.length-2]-d[d.length-3]}}if(u&&c){var h,p=e.rangeCount&&e.getRangeAt(0);try{h=F(u.node,u.offset,c.offset,c.node)}catch(e){}h&&(!n&&t.state.focused?(e.collapse(u.node,u.offset),h.collapsed||(e.removeAllRanges(),e.addRange(h))):(e.removeAllRanges(),e.addRange(h)),p&&null==e.anchorNode?e.addRange(p):n&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Oa.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation(function(){return e.cm.curOp.selectionChanged=!0})},20)},Oa.prototype.showMultipleSelections=function(e){_(this.cm.display.cursorDiv,e.cursors),_(this.cm.display.selectionDiv,e.selection)},Oa.prototype.rememberSelection=function(){var e=window.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Oa.prototype.selectionInEditor=function(){var e=window.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return E(this.div,t)},Oa.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Oa.prototype.blur=function(){this.div.blur()},Oa.prototype.getField=function(){return this.div},Oa.prototype.supportsTouch=function(){return!0},Oa.prototype.receivedFocus=function(){var e=this;this.selectionInEditor()?this.pollSelection():Vr(this.cm,function(){return e.cm.curOp.selectionChanged=!0}),this.polling.set(this.cm.options.pollInterval,function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))})},Oa.prototype.selectionChanged=function(){var e=window.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Oa.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=window.getSelection(),t=this.cm;if(m&&c&&this.cm.options.gutters.length&&function(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var n=za(t,e.anchorNode,e.anchorOffset),r=za(t,e.focusNode,e.focusOffset);n&&r&&Vr(t,function(){Xo(t.doc,xo(n,r),H),(n.bad||r.bad)&&(t.curOp.selectionChanged=!0)})}}},Oa.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,n,r=this.cm,o=r.display,i=r.doc.sel.primary(),a=i.from(),s=i.to();if(0==a.ch&&a.line>r.firstLine()&&(a=ge(a.line-1,se(r.doc,a.line-1).length)),s.ch==se(r.doc,s.line).text.length&&s.line<r.lastLine()&&(s=ge(s.line+1,0)),a.line<o.viewFrom||s.line>o.viewTo-1)return!1;a.line==o.viewFrom||0==(e=sr(r,a.line))?(t=fe(o.view[0].line),n=o.view[0].node):(t=fe(o.view[e].line),n=o.view[e-1].node.nextSibling);var l,u,c=sr(r,s.line);if(c==o.view.length-1?(l=o.viewTo-1,u=o.lineDiv.lastChild):(l=fe(o.view[c+1].line)-1,u=o.view[c+1].node.previousSibling),!n)return!1;for(var f=r.doc.splitLines(function(e,t,n,r,o){var i="",a=!1,s=e.doc.lineSeparator();function l(){a&&(i+=s,a=!1)}function u(e){e&&(l(),i+=e)}function c(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(null!=n)return void u(n||t.textContent.replace(/\u200b/g,""));var i,f=t.getAttribute("cm-marker");if(f){var d=e.findMarks(ge(r,0),ge(o+1,0),(g=+f,function(e){return e.id==g}));return void(d.length&&(i=d[0].find(0))&&u(le(e.doc,i.from,i.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var h=/^(pre|div|p)$/i.test(t.nodeName);h&&l();for(var p=0;p<t.childNodes.length;p++)c(t.childNodes[p]);h&&(a=!0)}else 3==t.nodeType&&u(t.nodeValue);var g}for(;c(t),t!=n;)t=t.nextSibling;return i}(r,n,u,t,l)),d=le(r.doc,ge(t,0),ge(l,se(r.doc,l).text.length));f.length>1&&d.length>1;)if(Y(f)==Y(d))f.pop(),d.pop(),l--;else{if(f[0]!=d[0])break;f.shift(),d.shift(),t++}for(var h=0,p=0,g=f[0],m=d[0],v=Math.min(g.length,m.length);h<v&&g.charCodeAt(h)==m.charCodeAt(h);)++h;for(var b=Y(f),y=Y(d),x=Math.min(b.length-(1==f.length?h:0),y.length-(1==d.length?h:0));p<x&&b.charCodeAt(b.length-p-1)==y.charCodeAt(y.length-p-1);)++p;if(1==f.length&&1==d.length&&t==a.line)for(;h&&h>a.ch&&b.charCodeAt(b.length-p-1)==y.charCodeAt(y.length-p-1);)h--,p++;f[f.length-1]=b.slice(0,b.length-p).replace(/^\u200b+/,""),f[0]=f[0].slice(h).replace(/\u200b+$/,"");var w=ge(t,h),k=ge(l,d.length?Y(d).length-p:0);return f.length>1||f[0]||me(w,k)?(ui(r.doc,f,w,k,"+input"),!0):void 0},Oa.prototype.ensurePolled=function(){this.forceCompositionEnd()},Oa.prototype.reset=function(){this.forceCompositionEnd()},Oa.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Oa.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout(function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()},80))},Oa.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Vr(this.cm,function(){return Kr(e.cm)})},Oa.prototype.setUneditable=function(e){e.contentEditable="false"},Oa.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Gr(this.cm,Aa)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Oa.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Oa.prototype.onContextMenu=function(){},Oa.prototype.resetPosition=function(){},Oa.prototype.needsContentAttribute=!0;var $a=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new P,this.hasSelection=!1,this.composing=null};$a.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var o=this.textarea;function i(e){if(!rt(r,e)){if(r.somethingSelected())Ta({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=La(r);Ta({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,H):(n.prevInput="",o.value=t.text.join("\n"),O(o))}"cut"==e.type&&(r.state.cutIncoming=!0)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),g&&(o.style.width="0px"),Qe(o,"input",function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()}),Qe(o,"paste",function(e){rt(r,e)||_a(e,r)||(r.state.pasteIncoming=!0,n.fastPoll())}),Qe(o,"cut",i),Qe(o,"copy",i),Qe(e.scroller,"paste",function(t){wn(e,t)||rt(r,t)||(r.state.pasteIncoming=!0,n.focus())}),Qe(e.lineSpace,"selectstart",function(t){wn(e,t)||st(t)}),Qe(o,"compositionstart",function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}}),Qe(o,"compositionend",function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)})},$a.prototype.createField=function(e){this.wrapper=Na(),this.textarea=this.wrapper.firstChild},$a.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=ur(e);if(e.options.moveInputWithCursor){var o=Vn(e,n.sel.primary().head,"div"),i=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},$a.prototype.showSelection=function(e){var t=this.cm,n=t.display;_(n.cursorDiv,e.cursors),_(n.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},$a.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&O(this.textarea),a&&s>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},$a.prototype.getField=function(){return this.textarea},$a.prototype.supportsTouch=function(){return!1},$a.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||N()!=this.textarea))try{this.textarea.focus()}catch(e){}},$a.prototype.blur=function(){this.textarea.blur()},$a.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},$a.prototype.receivedFocus=function(){this.slowPoll()},$a.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){e.poll(),e.cm.state.focused&&e.slowPoll()})},$a.prototype.fastPoll=function(){var e=!1,t=this;t.pollingFast=!0,t.polling.set(20,function n(){var r=t.poll();r||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))})},$a.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||xt(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=n.value;if(o==r&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===o||b&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="​"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var l=0,u=Math.min(r.length,o.length);l<u&&r.charCodeAt(l)==o.charCodeAt(l);)++l;return Vr(t,function(){Aa(t,o.slice(l),r.length-l,null,e.composing?"*compose":null),o.length>1e3||o.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},$a.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},$a.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},$a.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,o=t.textarea,i=ar(n,e),u=r.scroller.scrollTop;if(i&&!f){var c=n.options.resetSelectionOnContextMenu;c&&-1==n.doc.sel.contains(i)&&Gr(n,Xo)(n.doc,xo(i),H);var d=o.style.cssText,h=t.wrapper.style.cssText;t.wrapper.style.cssText="position: absolute";var p,g=t.wrapper.getBoundingClientRect();if(o.style.cssText="position: absolute; width: 30px; height: 30px;\n      top: "+(e.clientY-g.top-5)+"px; left: "+(e.clientX-g.left-5)+"px;\n      z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(p=window.scrollY),r.input.focus(),l&&window.scrollTo(null,p),r.input.reset(),n.somethingSelected()||(o.value=t.prevInput=" "),t.contextMenuPending=!0,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&s>=9&&v(),C){ct(e);var m=function(){tt(window,"mouseup",m),setTimeout(b,20)};Qe(window,"mouseup",m)}else setTimeout(b,50)}function v(){if(null!=o.selectionStart){var e=n.somethingSelected(),i="​"+(e?o.value:"");o.value="⇚",o.value=i,t.prevInput=e?"":"​",o.selectionStart=1,o.selectionEnd=i.length,r.selForContextMenu=n.doc.sel}}function b(){if(t.contextMenuPending=!1,t.wrapper.style.cssText=h,o.style.cssText=d,a&&s<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=u),null!=o.selectionStart){(!a||a&&s<9)&&v();var e=0,i=function(){r.selForContextMenu==n.doc.sel&&0==o.selectionStart&&o.selectionEnd>0&&"​"==t.prevInput?Gr(n,ni)(n):e++<10?r.detectingSelectAll=setTimeout(i,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(i,200)}}},$a.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},$a.prototype.setUneditable=function(){},$a.prototype.needsContentAttribute=!1,function(e){var t=e.optionHandlers;function n(n,r,o,i){e.defaults[n]=r,o&&(t[n]=i?function(e,t,n){n!=ma&&o(e,t,n)}:o)}e.defineOption=n,e.Init=ma,n("value","",function(e,t){return e.setValue(t)},!0),n("mode",null,function(e,t){e.doc.modeOption=t,Fo(e)},!0),n("indentUnit",2,Fo,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,function(e){To(e),Pn(e),Kr(e)},!0),n("lineSeparator",null,function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter(function(e){for(var o=0;;){var i=e.text.indexOf(t,o);if(-1==i)break;o=i+t.length,n.push(ge(r,i))}r++});for(var o=n.length-1;o>=0;o--)ui(e.doc,t,n[o],ge(n[o].line,n[o].ch+t.length))}}),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200f\u2028\u2029\ufeff]/g,function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=ma&&e.refresh()}),n("specialCharPlaceholder",Zt,function(e){return e.refresh()},!0),n("electricChars",!0),n("inputStyle",v?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),n("spellcheck",!1,function(e,t){return e.getInputField().spellcheck=t},!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",function(e){ga(e),ya(e)},!0),n("keyMap","default",function(e,t,n){var r=qi(t),o=n!=ma&&qi(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)}),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,wa,!0),n("gutters",[],function(e){co(e.options),ya(e)},!0),n("fixedGutter",!0,function(e,t){e.display.gutters.style.left=t?rr(e.display)+"px":"0",e.refresh()},!0),n("coverGutterNextToScrollbar",!1,function(e){return Or(e)},!0),n("scrollbarStyle","native",function(e){zr(e),Or(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)},!0),n("lineNumbers",!1,function(e){co(e.options),ya(e)},!0),n("firstLineNumber",1,ya,!0),n("lineNumberFormatter",function(e){return e},ya,!0),n("showCursorWhenSelecting",!1,lr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("readOnly",!1,function(e,t){"nocursor"==t&&(vr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)}),n("disableInput",!1,function(e,t){t||e.display.input.reset()},!0),n("dragDrop",!0,xa),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,lr,!0),n("singleCursorHeightPerLine",!0,lr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,To,!0),n("addModeClass",!1,To,!0),n("pollInterval",100),n("undoDepth",200,function(e,t){return e.doc.history.undoDepth=t}),n("historyEventDelay",1250),n("viewportMargin",10,function(e){return e.refresh()},!0),n("maxHighlightLength",1e4,To,!0),n("moveInputWithCursor",!0,function(e,t){t||e.display.input.resetPosition()}),n("tabindex",null,function(e,t){return e.display.input.getField().tabIndex=t||""}),n("autofocus",null),n("direction","ltr",function(e,t){return e.doc.setDirection(t)},!0)}(ka),function(e){var t=e.optionHandlers,n=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,n){var r=this.options,o=r[e];r[e]==n&&"mode"!=e||(r[e]=n,t.hasOwnProperty(e)&&Gr(this,t[e])(this,n,o),nt(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](qi(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,n=0;n<t.length;++n)if(t[n]==e||t[n].name==e)return t.splice(n,1),!0},addOverlay:Xr(function(t,n){var r=t.token?t:e.getMode(this.options,t);if(r.startState)throw new Error("Overlays may not be stateful.");!function(e,t,n){for(var r=0,o=n(t);r<e.length&&n(e[r])<=o;)r++;e.splice(r,0,t)}(this.state.overlays,{mode:r,modeSpec:t,opaque:n&&n.opaque,priority:n&&n.priority||0},function(e){return e.priority}),this.state.modeGen++,Kr(this)}),removeOverlay:Xr(function(e){for(var t=this.state.overlays,n=0;n<t.length;++n){var r=t[n].modeSpec;if(r==e||"string"==typeof e&&r.name==e)return t.splice(n,1),this.state.modeGen++,void Kr(this)}}),indentLine:Xr(function(e,t,n){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),he(this.doc,e)&&Sa(this,e,t,n)}),indentSelection:Xr(function(e){for(var t=this.doc.sel.ranges,n=-1,r=0;r<t.length;r++){var o=t[r];if(o.empty())o.head.line>n&&(Sa(this,o.head.line,e,!0),n=o.head.line,r==this.doc.sel.primIndex&&Fr(this));else{var i=o.from(),a=o.to(),s=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<n;++l)Sa(this,l,e);var u=this.doc.sel.ranges;0==i.ch&&t.length==u.length&&u[r].from().ch>0&&Uo(this.doc,r,new bo(i,u[r].to()),H)}}}),getTokenAt:function(e,t){return Wt(this,e,t)},getLineTokens:function(e,t){return Wt(this,ge(e),t,!0)},getTokenTypeAt:function(e){e=ke(this.doc,e);var t,n=It(this,se(this.doc,e.line)),r=0,o=(n.length-1)/2,i=e.ch;if(0==i)t=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]<i)){t=n[2*a+2];break}r=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var n=this.doc.mode;return n.innerMode?e.innerMode(n,this.getTokenAt(t).state).mode:n},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var r=[];if(!n.hasOwnProperty(t))return r;var o=n[t],i=this.getModeAt(e);if("string"==typeof i[t])o[i[t]]&&r.push(o[i[t]]);else if(i[t])for(var a=0;a<i[t].length;a++){var s=o[i[t][a]];s&&r.push(s)}else i.helperType&&o[i.helperType]?r.push(o[i.helperType]):o[i.name]&&r.push(o[i.name]);for(var l=0;l<o._global.length;l++){var u=o._global[l];u.pred(i,this)&&-1==$(r,u.val)&&r.push(u.val)}return r},getStateAfter:function(e,t){var n=this.doc;return Bt(this,(e=we(n,null==e?n.first+n.size-1:e))+1,t).state},cursorCoords:function(e,t){var n=this.doc.sel.primary();return Vn(this,null==e?n.head:"object"==typeof e?ke(this.doc,e):e?n.from():n.to(),t||"page")},charCoords:function(e,t){return Un(this,ke(this.doc,e),t||"page")},coordsChar:function(e,t){return Yn(this,(e=qn(this,e,t||"page")).left,e.top)},lineAtHeight:function(e,t){return e=qn(this,{top:e,left:0},t||"page").top,de(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,n){var r,o=!1;if("number"==typeof e){var i=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>i&&(e=i,o=!0),r=se(this.doc,e)}else r=e;return Hn(this,r,{top:0,left:0},t||"page",n||o).top+(o?this.doc.height-Ue(r):0)},defaultTextHeight:function(){return er(this.display)},defaultCharWidth:function(){return tr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var i,a,s,l=this.display,u=(e=Vn(this,ke(this.doc,e))).bottom,c=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),l.sizer.appendChild(t),"over"==r)u=e.top;else if("above"==r||"near"==r){var f=Math.max(l.wrapper.clientHeight,this.doc.height),d=Math.max(l.sizer.clientWidth,l.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>f)&&e.top>t.offsetHeight?u=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=f&&(u=e.bottom),c+t.offsetWidth>d&&(c=d-t.offsetWidth)}t.style.top=u+"px",t.style.left=t.style.right="","right"==o?(c=l.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?c=0:"middle"==o&&(c=(l.sizer.clientWidth-t.offsetWidth)/2),t.style.left=c+"px"),n&&(i=this,a={left:c,top:u,right:c+t.offsetWidth,bottom:u+t.offsetHeight},null!=(s=Cr(i,a)).scrollTop&&jr(i,s.scrollTop),null!=s.scrollLeft&&Er(i,s.scrollLeft))},triggerOnKeyDown:Xr(oa),triggerOnKeyPress:Xr(aa),triggerOnKeyUp:ia,triggerOnMouseDown:Xr(ca),execCommand:function(e){if(Yi.hasOwnProperty(e))return Yi[e].call(null,this)},triggerElectric:Xr(function(e){ja(this,e)}),findPosH:function(e,t,n,r){var o=1;t<0&&(o=-1,t=-t);for(var i=ke(this.doc,e),a=0;a<t&&!(i=Da(this.doc,i,o,n,r)).hitSide;++a);return i},moveH:Xr(function(e,t){var n=this;this.extendSelectionsBy(function(r){return n.display.shift||n.doc.extend||r.empty()?Da(n.doc,r.head,e,t,n.options.rtlMoveVisually):e<0?r.from():r.to()},U)}),deleteH:Xr(function(e,t){var n=this.doc.sel,r=this.doc;n.somethingSelected()?r.replaceSelection("",null,"+delete"):Ui(this,function(n){var o=Da(r,n.head,e,t,!1);return e<0?{from:o,to:n.head}:{from:n.head,to:o}})}),findPosV:function(e,t,n,r){var o=1,i=r;t<0&&(o=-1,t=-t);for(var a=ke(this.doc,e),s=0;s<t;++s){var l=Vn(this,a,"div");if(null==i?i=l.left:l.left=i,(a=Ma(this,l,o,n)).hitSide)break}return a},moveV:Xr(function(e,t){var n=this,r=this.doc,o=[],i=!this.display.shift&&!r.extend&&r.sel.somethingSelected();if(r.extendSelectionsBy(function(a){if(i)return e<0?a.from():a.to();var s=Vn(n,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),o.push(s.left);var l=Ma(n,s,e,t);return"page"==t&&a==r.sel.primary()&&Sr(n,Un(n,l,"div").top-s.top),l},U),o.length)for(var a=0;a<r.sel.ranges.length;a++)r.sel.ranges[a].goalColumn=o[a]}),findWordAt:function(e){var t=this.doc,n=se(t,e.line).text,r=e.ch,o=e.ch;if(n){var i=this.getHelper(e,"wordChars");"before"!=e.sticky&&o!=n.length||!r?++o:--r;for(var a=n.charAt(r),s=te(a,i)?function(e){return te(e,i)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!te(e)};r>0&&s(n.charAt(r-1));)--r;for(;o<n.length&&s(n.charAt(o));)++o}return new bo(ge(e.line,r),ge(e.line,o))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?D(this.display.cursorDiv,"CodeMirror-overwrite"):T(this.display.cursorDiv,"CodeMirror-overwrite"),nt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==N()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:Xr(function(e,t){Tr(this,e,t)}),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-Fn(this)-this.display.barHeight,width:e.scrollWidth-Fn(this)-this.display.barWidth,clientHeight:An(this),clientWidth:Tn(this)}},scrollIntoView:Xr(function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:ge(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?function(e,t){Ar(e),e.curOp.scrollToPos=t}(this,e):_r(this,e.from,e.to,e.margin)}),setSize:Xr(function(e,t){var n=this,r=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=r(e)),null!=t&&(this.display.wrapper.style.height=r(t)),this.options.lineWrapping&&zn(this);var o=this.display.viewFrom;this.doc.iter(o,this.display.viewTo,function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){Zr(n,o,"widget");break}++o}),this.curOp.forceUpdate=!0,nt(this,"refresh",this)}),operation:function(e){return Vr(this,e)},startOperation:function(){return $r(this)},endOperation:function(){return Rr(this)},refresh:Xr(function(){var e=this.display.cachedTextHeight;Kr(this),this.curOp.forceUpdate=!0,Pn(this),Tr(this,this.doc.scrollLeft,this.doc.scrollTop),so(this),(null==e||Math.abs(e-er(this.display))>.5)&&ir(this),nt(this,"refresh",this)}),swapDoc:Xr(function(e){var t=this.doc;return t.cm=null,Lo(this,e),Pn(this),this.display.input.reset(),Tr(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,sn(this,"swapDoc",this,t),t}),getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},at(e),e.registerHelper=function(t,r,o){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=o},e.registerGlobalHelper=function(t,r,o,i){e.registerHelper(t,r,i),n[t]._global.push({pred:o,val:i})}}(ka);var Ra,Wa="iter insert remove copy getEditor constructor".split(" ");for(var Ha in Fi.prototype)Fi.prototype.hasOwnProperty(Ha)&&$(Wa,Ha)<0&&(ka.prototype[Ha]=function(e){return function(){return e.apply(this.doc,arguments)}}(Fi.prototype[Ha]));return at(Fi),ka.inputStyles={textarea:$a,contenteditable:Oa},ka.defineMode=function(e){ka.defaults.mode||"null"==e||(ka.defaults.mode=e),function(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Ct[e]=t}.apply(this,arguments)},ka.defineMIME=function(e,t){St[e]=t},ka.defineMode("null",function(){return{token:function(e){return e.skipToEnd()}}}),ka.defineMIME("text/plain","null"),ka.defineExtension=function(e,t){ka.prototype[e]=t},ka.defineDocExtension=function(e,t){Fi.prototype[e]=t},ka.fromTextArea=function(e,t){if((t=t?B(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=N();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=s.getValue()}var o;if(e.form&&(Qe(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var i=e.form;o=i.submit;try{var a=i.submit=function(){r(),i.submit=o,i.submit(),i.submit=a}}catch(e){}}t.finishInit=function(t){t.save=r,t.getTextArea=function(){return e},t.toTextArea=function(){t.toTextArea=isNaN,r(),e.parentNode.removeChild(t.getWrapperElement()),e.style.display="",e.form&&(tt(e.form,"submit",r),"function"==typeof e.form.submit&&(e.form.submit=o))}},e.style.display="none";var s=ka(function(t){return e.parentNode.insertBefore(t,e.nextSibling)},t);return s},(Ra=ka).off=tt,Ra.on=Qe,Ra.wheelEventPixels=go,Ra.Doc=Fi,Ra.splitLines=yt,Ra.countColumn=z,Ra.findColumn=V,Ra.isWordChar=ee,Ra.Pass=W,Ra.signal=nt,Ra.Line=Ut,Ra.changeEnd=wo,Ra.scrollbarModel=Br,Ra.Pos=ge,Ra.cmpPos=me,Ra.modes=Ct,Ra.mimeModes=St,Ra.resolveMode=Ft,Ra.getMode=Tt,Ra.modeExtensions=At,Ra.extendMode=_t,Ra.copyState=jt,Ra.startState=Et,Ra.innerMode=Lt,Ra.commands=Yi,Ra.keyMap=Bi,Ra.keyName=Hi,Ra.isModifierKey=Ri,Ra.lookupKey=$i,Ra.normalizeKeyMap=Pi,Ra.StringStream=Nt,Ra.SharedTextMarker=wi,Ra.TextMarker=yi,Ra.LineWidget=mi,Ra.e_preventDefault=st,Ra.e_stopPropagation=lt,Ra.e_stop=ct,Ra.addClass=D,Ra.contains=E,Ra.rmClass=T,Ra.keyNames=Di,ka.version="5.37.0",ka}()},"./node_modules/codemirror/mode/css/css.js":function(e,t,n){!function(e){"use strict";function t(e){for(var t={},n=0;n<e.length;++n)t[e[n].toLowerCase()]=!0;return t}e.defineMode("css",function(t,n){var r=n.inline;n.propertyKeywords||(n=e.resolveMode("text/css"));var o,i,a=t.indentUnit,s=n.tokenHooks,l=n.documentTypes||{},u=n.mediaTypes||{},c=n.mediaFeatures||{},f=n.mediaValueKeywords||{},d=n.propertyKeywords||{},h=n.nonStandardPropertyKeywords||{},p=n.fontProperties||{},g=n.counterDescriptors||{},m=n.colorKeywords||{},v=n.valueKeywords||{},b=n.allowNested,y=n.lineComment,x=!0===n.supportsAtComponent;function w(e,t){return o=t,e}function k(e){return function(t,n){for(var r,o=!1;null!=(r=t.next());){if(r==e&&!o){")"==e&&t.backUp(1);break}o=!o&&"\\"==r}return(r==e||!o&&")"!=e)&&(n.tokenize=null),w("string","string")}}function C(e,t){return e.next(),e.match(/\s*[\"\')]/,!1)?t.tokenize=null:t.tokenize=k(")"),w(null,"(")}function S(e,t,n){this.type=e,this.indent=t,this.prev=n}function F(e,t,n,r){return e.context=new S(n,t.indentation()+(!1===r?0:a),e.context),n}function T(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function A(e,t,n){return L[n.context.type](e,t,n)}function _(e,t,n,r){for(var o=r||1;o>0;o--)n.context=n.context.prev;return A(e,t,n)}function j(e){var t=e.current().toLowerCase();i=v.hasOwnProperty(t)?"atom":m.hasOwnProperty(t)?"keyword":"variable"}var L={top:function(e,t,n){if("{"==e)return F(n,t,"block");if("}"==e&&n.context.prev)return T(n);if(x&&/@component/i.test(e))return F(n,t,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return F(n,t,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return F(n,t,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return n.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&"@"==e.charAt(0))return F(n,t,"at");if("hash"==e)i="builtin";else if("word"==e)i="tag";else{if("variable-definition"==e)return"maybeprop";if("interpolation"==e)return F(n,t,"interpolation");if(":"==e)return"pseudo";if(b&&"("==e)return F(n,t,"parens")}return n.context.type},block:function(e,t,n){if("word"==e){var r=t.current().toLowerCase();return d.hasOwnProperty(r)?(i="property","maybeprop"):h.hasOwnProperty(r)?(i="string-2","maybeprop"):b?(i=t.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(i+=" error","maybeprop")}return"meta"==e?"block":b||"hash"!=e&&"qualifier"!=e?L.top(e,t,n):(i="error","block")},maybeprop:function(e,t,n){return":"==e?F(n,t,"prop"):A(e,t,n)},prop:function(e,t,n){if(";"==e)return T(n);if("{"==e&&b)return F(n,t,"propBlock");if("}"==e||"{"==e)return _(e,t,n);if("("==e)return F(n,t,"parens");if("hash"!=e||/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(t.current())){if("word"==e)j(t);else if("interpolation"==e)return F(n,t,"interpolation")}else i+=" error";return"prop"},propBlock:function(e,t,n){return"}"==e?T(n):"word"==e?(i="property","maybeprop"):n.context.type},parens:function(e,t,n){return"{"==e||"}"==e?_(e,t,n):")"==e?T(n):"("==e?F(n,t,"parens"):"interpolation"==e?F(n,t,"interpolation"):("word"==e&&j(t),"parens")},pseudo:function(e,t,n){return"meta"==e?"pseudo":"word"==e?(i="variable-3",n.context.type):A(e,t,n)},documentTypes:function(e,t,n){return"word"==e&&l.hasOwnProperty(t.current())?(i="tag",n.context.type):L.atBlock(e,t,n)},atBlock:function(e,t,n){if("("==e)return F(n,t,"atBlock_parens");if("}"==e||";"==e)return _(e,t,n);if("{"==e)return T(n)&&F(n,t,b?"block":"top");if("interpolation"==e)return F(n,t,"interpolation");if("word"==e){var r=t.current().toLowerCase();i="only"==r||"not"==r||"and"==r||"or"==r?"keyword":u.hasOwnProperty(r)?"attribute":c.hasOwnProperty(r)?"property":f.hasOwnProperty(r)?"keyword":d.hasOwnProperty(r)?"property":h.hasOwnProperty(r)?"string-2":v.hasOwnProperty(r)?"atom":m.hasOwnProperty(r)?"keyword":"error"}return n.context.type},atComponentBlock:function(e,t,n){return"}"==e?_(e,t,n):"{"==e?T(n)&&F(n,t,b?"block":"top",!1):("word"==e&&(i="error"),n.context.type)},atBlock_parens:function(e,t,n){return")"==e?T(n):"{"==e||"}"==e?_(e,t,n,2):L.atBlock(e,t,n)},restricted_atBlock_before:function(e,t,n){return"{"==e?F(n,t,"restricted_atBlock"):"word"==e&&"@counter-style"==n.stateArg?(i="variable","restricted_atBlock_before"):A(e,t,n)},restricted_atBlock:function(e,t,n){return"}"==e?(n.stateArg=null,T(n)):"word"==e?(i="@font-face"==n.stateArg&&!p.hasOwnProperty(t.current().toLowerCase())||"@counter-style"==n.stateArg&&!g.hasOwnProperty(t.current().toLowerCase())?"error":"property","maybeprop"):"restricted_atBlock"},keyframes:function(e,t,n){return"word"==e?(i="variable","keyframes"):"{"==e?F(n,t,"top"):A(e,t,n)},at:function(e,t,n){return";"==e?T(n):"{"==e||"}"==e?_(e,t,n):("word"==e?i="tag":"hash"==e&&(i="builtin"),"at")},interpolation:function(e,t,n){return"}"==e?T(n):"{"==e||";"==e?_(e,t,n):("word"==e?i="variable":"variable"!=e&&"("!=e&&")"!=e&&(i="error"),"interpolation")}};return{startState:function(e){return{tokenize:null,state:r?"block":"top",stateArg:null,context:new S(r?"block":"top",e||0,null)}},token:function(e,t){if(!t.tokenize&&e.eatSpace())return null;var n=(t.tokenize||function(e,t){var n=e.next();if(s[n]){var r=s[n](e,t);if(!1!==r)return r}return"@"==n?(e.eatWhile(/[\w\\\-]/),w("def",e.current())):"="==n||("~"==n||"|"==n)&&e.eat("=")?w(null,"compare"):'"'==n||"'"==n?(t.tokenize=k(n),t.tokenize(e,t)):"#"==n?(e.eatWhile(/[\w\\\-]/),w("atom","hash")):"!"==n?(e.match(/^\s*\w*/),w("keyword","important")):/\d/.test(n)||"."==n&&e.eat(/\d/)?(e.eatWhile(/[\w.%]/),w("number","unit")):"-"!==n?/[,+>*\/]/.test(n)?w(null,"select-op"):"."==n&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?w("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(n)?w(null,n):("u"==n||"U"==n)&&e.match(/rl(-prefix)?\(/i)||("d"==n||"D"==n)&&e.match("omain(",!0,!0)||("r"==n||"R"==n)&&e.match("egexp(",!0,!0)?(e.backUp(1),t.tokenize=C,w("property","word")):/[\w\\\-]/.test(n)?(e.eatWhile(/[\w\\\-]/),w("property","word")):w(null,null):/[\d.]/.test(e.peek())?(e.eatWhile(/[\w.%]/),w("number","unit")):e.match(/^-[\w\\\-]+/)?(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?w("variable-2","variable-definition"):w("variable-2","variable")):e.match(/^\w+-/)?w("meta","meta"):void 0})(e,t);return n&&"object"==typeof n&&(o=n[1],n=n[0]),i=n,"comment"!=o&&(t.state=L[t.state](o,e,t)),i},indent:function(e,t){var n=e.context,r=t&&t.charAt(0),o=n.indent;return"prop"!=n.type||"}"!=r&&")"!=r||(n=n.prev),n.prev&&("}"!=r||"block"!=n.type&&"top"!=n.type&&"interpolation"!=n.type&&"restricted_atBlock"!=n.type?(")"!=r||"parens"!=n.type&&"atBlock_parens"!=n.type)&&("{"!=r||"at"!=n.type&&"atBlock"!=n.type)||(o=Math.max(0,n.indent-a)):(n=n.prev,o=n.indent)),o},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:y,fold:"brace"}});var n=["domain","regexp","url","url-prefix"],r=t(n),o=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],i=t(o),a=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","orientation","device-pixel-ratio","min-device-pixel-ratio","max-device-pixel-ratio","pointer","any-pointer","hover","any-hover"],s=t(a),l=["landscape","portrait","none","coarse","fine","on-demand","hover","interlace","progressive"],u=t(l),c=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-gap","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-gap","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","justify-items","justify-self","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","place-content","place-items","place-self","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode"],f=t(c),d=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],h=t(d),p=t(["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"]),g=t(["additive-symbols","fallback","negative","pad","prefix","range","speak-as","suffix","symbols","system"]),m=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],v=t(m),b=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","devanagari","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","georgian","graytext","grid","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hard-light","hebrew","help","hidden","hide","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","luminosity","malayalam","match","matrix","matrix3d","media-controls-background","media-current-time-display","media-fullscreen-button","media-mute-button","media-play-button","media-return-to-realtime-button","media-rewind-button","media-seek-back-button","media-seek-forward-button","media-slider","media-sliderthumb","media-time-remaining-display","media-volume-slider","media-volume-slider-container","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menulist-text","menulist-textfield","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","multiply","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","opacity","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","somali","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","square-button","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unset","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"],y=t(b),x=n.concat(o).concat(a).concat(l).concat(c).concat(d).concat(m).concat(b);function w(e,t){for(var n,r=!1;null!=(n=e.next());){if(r&&"/"==n){t.tokenize=null;break}r="*"==n}return["comment","comment"]}e.registerHelper("hintWords","css",x),e.defineMIME("text/css",{documentTypes:r,mediaTypes:i,mediaFeatures:s,mediaValueKeywords:u,propertyKeywords:f,nonStandardPropertyKeywords:h,fontProperties:p,counterDescriptors:g,colorKeywords:v,valueKeywords:y,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css"}),e.defineMIME("text/x-scss",{mediaTypes:i,mediaFeatures:s,mediaValueKeywords:u,propertyKeywords:f,nonStandardPropertyKeywords:h,colorKeywords:v,valueKeywords:y,fontProperties:p,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},":":function(e){return!!e.match(/\s*\{/,!1)&&[null,null]},$:function(e){return e.match(/^[\w-]+/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"]},"#":function(e){return!!e.eat("{")&&[null,"interpolation"]}},name:"css",helperType:"scss"}),e.defineMIME("text/x-less",{mediaTypes:i,mediaFeatures:s,mediaValueKeywords:u,propertyKeywords:f,nonStandardPropertyKeywords:h,colorKeywords:v,valueKeywords:y,fontProperties:p,allowNested:!0,lineComment:"//",tokenHooks:{"/":function(e,t){return e.eat("/")?(e.skipToEnd(),["comment","comment"]):e.eat("*")?(t.tokenize=w,w(e,t)):["operator","operator"]},"@":function(e){return e.eat("{")?[null,"interpolation"]:!e.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,!1)&&(e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?["variable-2","variable-definition"]:["variable-2","variable"])},"&":function(){return["atom","atom"]}},name:"css",helperType:"less"}),e.defineMIME("text/x-gss",{documentTypes:r,mediaTypes:i,mediaFeatures:s,propertyKeywords:f,nonStandardPropertyKeywords:h,fontProperties:p,counterDescriptors:g,colorKeywords:v,valueKeywords:y,supportsAtComponent:!0,tokenHooks:{"/":function(e,t){return!!e.eat("*")&&(t.tokenize=w,w(e,t))}},name:"css",helperType:"gss"})}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/handlebars/handlebars.js":function(e,t,n){!function(e){"use strict";e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}]}),e.defineMode("handlebars",function(t,n){var r=e.getMode(t,"handlebars-tags");return n&&n.base?e.multiplexingMode(e.getMode(t,n.base),{open:"{{",close:"}}",mode:r,parseDelimiters:!0}):r}),e.defineMIME("text/x-handlebars-template","handlebars")}(n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/addon/mode/simple.js"),n("./node_modules/codemirror/addon/mode/multiplex.js"))},"./node_modules/codemirror/mode/htmlmixed/htmlmixed.js":function(e,t,n){!function(e){"use strict";var t={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]},n={};function r(e,t){var r=e.match(function(e){var t=n[e];return t||(n[e]=new RegExp("\\s+"+e+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}(t));return r?/^\s*(.*?)\s*$/.exec(r[2])[1]:""}function o(e,t){return new RegExp((t?"^":"")+"</s*"+e+"s*>","i")}function i(e,t){for(var n in e)for(var r=t[n]||(t[n]=[]),o=e[n],i=o.length-1;i>=0;i--)r.unshift(o[i])}e.defineMode("htmlmixed",function(n,a){var s=e.getMode(n,{name:"xml",htmlMode:!0,multilineTagIndentFactor:a.multilineTagIndentFactor,multilineTagIndentPastTag:a.multilineTagIndentPastTag}),l={},u=a&&a.tags,c=a&&a.scriptTypes;if(i(t,l),u&&i(u,l),c)for(var f=c.length-1;f>=0;f--)l.script.unshift(["type",c[f].matches,c[f].mode]);function d(t,i){var a,u=s.token(t,i.htmlState),c=/\btag\b/.test(u);if(c&&!/[<>\s\/]/.test(t.current())&&(a=i.htmlState.tagName&&i.htmlState.tagName.toLowerCase())&&l.hasOwnProperty(a))i.inTag=a+" ";else if(i.inTag&&c&&/>$/.test(t.current())){var f=/^([\S]+) (.*)/.exec(i.inTag);i.inTag=null;var h=">"==t.current()&&function(e,t){for(var n=0;n<e.length;n++){var o=e[n];if(!o[0]||o[1].test(r(t,o[0])))return o[2]}}(l[f[1]],f[2]),p=e.getMode(n,h),g=o(f[1],!0),m=o(f[1],!1);i.token=function(e,t){return e.match(g,!1)?(t.token=d,t.localState=t.localMode=null,null):function(e,t,n){var r=e.current(),o=r.search(t);return o>-1?e.backUp(r.length-o):r.match(/<\/?$/)&&(e.backUp(r.length),e.match(t,!1)||e.match(r)),n}(e,m,t.localMode.token(e,t.localState))},i.localMode=p,i.localState=e.startState(p,s.indent(i.htmlState,""))}else i.inTag&&(i.inTag+=t.current(),t.eol()&&(i.inTag+=" "));return u}return{startState:function(){var t=e.startState(s);return{token:d,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var n;return t.localState&&(n=e.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:n,htmlState:e.copyState(s,t.htmlState)}},token:function(e,t){return t.token(e,t)},indent:function(t,n,r){return!t.localMode||/^\s*<\//.test(n)?s.indent(t.htmlState,n):t.localMode.indent?t.localMode.indent(t.localState,n,r):e.Pass},innerMode:function(e){return{state:e.localState||e.htmlState,mode:e.localMode||s}}}},"xml","javascript","css"),e.defineMIME("text/html","htmlmixed")}(n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/mode/xml/xml.js"),n("./node_modules/codemirror/mode/javascript/javascript.js"),n("./node_modules/codemirror/mode/css/css.js"))},"./node_modules/codemirror/mode/javascript/javascript.js":function(e,t,n){!function(e){"use strict";e.defineMode("javascript",function(t,n){var r,o,i=t.indentUnit,a=n.statementIndent,s=n.jsonld,l=n.json||s,u=n.typescript,c=n.wordCharacters||/[\w$\xa1-\uffff]/,f=function(){function e(e){return{type:e,style:"keyword"}}var t=e("keyword a"),n=e("keyword b"),r=e("keyword c"),o=e("keyword d"),i=e("operator"),a={type:"atom",style:"atom"};return{if:e("if"),while:t,with:t,else:n,do:n,try:n,finally:n,return:o,break:o,continue:o,new:e("new"),delete:r,void:r,throw:r,debugger:e("debugger"),var:e("var"),const:e("var"),let:e("var"),function:e("function"),catch:e("catch"),for:e("for"),switch:e("switch"),case:e("case"),default:e("default"),in:i,typeof:i,instanceof:i,true:a,false:a,null:a,undefined:a,NaN:a,Infinity:a,this:e("this"),class:e("class"),super:e("atom"),yield:r,export:e("export"),import:e("import"),extends:r,await:r}}(),d=/[+\-*&%=<>!?|~^@]/,h=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function p(e,t,n){return r=e,o=n,t}function g(e,t){var n,r=e.next();if('"'==r||"'"==r)return t.tokenize=(n=r,function(e,t){var r,o=!1;if(s&&"@"==e.peek()&&e.match(h))return t.tokenize=g,p("jsonld-keyword","meta");for(;null!=(r=e.next())&&(r!=n||o);)o=!o&&"\\"==r;return o||(t.tokenize=g),p("string","string")}),t.tokenize(e,t);if("."==r&&e.match(/^\d+(?:[eE][+\-]?\d+)?/))return p("number","number");if("."==r&&e.match(".."))return p("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(r))return p(r);if("="==r&&e.eat(">"))return p("=>","operator");if("0"==r&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if("0"==r&&e.eat(/o/i))return e.eatWhile(/[0-7]/i),p("number","number");if("0"==r&&e.eat(/b/i))return e.eatWhile(/[01]/i),p("number","number");if(/\d/.test(r))return e.match(/^\d*(?:\.\d*)?(?:[eE][+\-]?\d+)?/),p("number","number");if("/"==r)return e.eat("*")?(t.tokenize=m,m(e,t)):e.eat("/")?(e.skipToEnd(),p("comment","comment")):Re(e,t,1)?(function(e){for(var t,n=!1,r=!1;null!=(t=e.next());){if(!n){if("/"==t&&!r)return;"["==t?r=!0:r&&"]"==t&&(r=!1)}n=!n&&"\\"==t}}(e),e.match(/^\b(([gimyu])(?![gimyu]*\2))+\b/),p("regexp","string-2")):(e.eat("="),p("operator","operator",e.current()));if("`"==r)return t.tokenize=v,v(e,t);if("#"==r)return e.skipToEnd(),p("error","error");if(d.test(r))return">"==r&&t.lexical&&">"==t.lexical.type||(e.eat("=")?"!"!=r&&"="!=r||e.eat("="):/[<>*+\-]/.test(r)&&(e.eat(r),">"==r&&e.eat(r))),p("operator","operator",e.current());if(c.test(r)){e.eatWhile(c);var o=e.current();if("."!=t.lastType){if(f.propertyIsEnumerable(o)){var i=f[o];return p(i.type,i.style,o)}if("async"==o&&e.match(/^(\s|\/\*.*?\*\/)*[\[\(\w]/,!1))return p("async","keyword",o)}return p("variable","variable",o)}}function m(e,t){for(var n,r=!1;n=e.next();){if("/"==n&&r){t.tokenize=g;break}r="*"==n}return p("comment","comment")}function v(e,t){for(var n,r=!1;null!=(n=e.next());){if(!r&&("`"==n||"$"==n&&e.eat("{"))){t.tokenize=g;break}r=!r&&"\\"==n}return p("quasi","string-2",e.current())}var b="([{}])";function y(e,t){t.fatArrowAt&&(t.fatArrowAt=null);var n=e.string.indexOf("=>",e.start);if(!(n<0)){if(u){var r=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(e.string.slice(e.start,n));r&&(n=r.index)}for(var o=0,i=!1,a=n-1;a>=0;--a){var s=e.string.charAt(a),l=b.indexOf(s);if(l>=0&&l<3){if(!o){++a;break}if(0==--o){"("==s&&(i=!0);break}}else if(l>=3&&l<6)++o;else if(c.test(s))i=!0;else{if(/["'\/]/.test(s))return;if(i&&!o){++a;break}}}i&&!o&&(t.fatArrowAt=a)}}var x={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,"jsonld-keyword":!0};function w(e,t,n,r,o,i){this.indented=e,this.column=t,this.type=n,this.prev=o,this.info=i,null!=r&&(this.align=r)}function k(e,t){for(var n=e.localVars;n;n=n.next)if(n.name==t)return!0;for(var r=e.context;r;r=r.prev)for(var n=r.vars;n;n=n.next)if(n.name==t)return!0}var C={state:null,column:null,marked:null,cc:null};function S(){for(var e=arguments.length-1;e>=0;e--)C.cc.push(arguments[e])}function F(){return S.apply(null,arguments),!0}function T(e){function t(t){for(var n=t;n;n=n.next)if(n.name==e)return!0;return!1}var r=C.state;if(C.marked="def",r.context){if(t(r.localVars))return;r.localVars={name:e,next:r.localVars}}else{if(t(r.globalVars))return;n.globalVars&&(r.globalVars={name:e,next:r.globalVars})}}function A(e){return"public"==e||"private"==e||"protected"==e||"abstract"==e||"readonly"==e}var _={name:"this",next:{name:"arguments"}};function j(){C.state.context={prev:C.state.context,vars:C.state.localVars},C.state.localVars=_}function L(){C.state.localVars=C.state.context.vars,C.state.context=C.state.context.prev}function E(e,t){var n=function(){var n=C.state,r=n.indented;if("stat"==n.lexical.type)r=n.lexical.indented;else for(var o=n.lexical;o&&")"==o.type&&o.align;o=o.prev)r=o.indented;n.lexical=new w(r,C.stream.column(),e,null,n.lexical,t)};return n.lex=!0,n}function N(){var e=C.state;e.lexical.prev&&(")"==e.lexical.type&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}function D(e){return function t(n){return n==e?F():";"==e?S():F(t)}}function M(e,t){return"var"==e?F(E("vardef",t.length),he,D(";"),N):"keyword a"==e?F(E("form"),B,M,N):"keyword b"==e?F(E("form"),M,N):"keyword d"==e?C.stream.match(/^\s*$/,!1)?F():F(E("stat"),P,D(";"),N):"debugger"==e?F(D(";")):"{"==e?F(E("}"),te,N):";"==e?F():"if"==e?("else"==C.state.lexical.info&&C.state.cc[C.state.cc.length-1]==N&&C.state.cc.pop()(),F(E("form"),B,M,N,be)):"function"==e?F(Se):"for"==e?F(E("form"),ye,M,N):"class"==e||u&&"interface"==t?(C.marked="keyword",F(E("form"),Ae,N)):"variable"==e?u&&"declare"==t?(C.marked="keyword",F(M)):u&&("module"==t||"enum"==t||"type"==t)&&C.stream.match(/^\s*\w/,!1)?(C.marked="keyword","enum"==t?F(Pe):"type"==t?F(ie,D("operator"),ie,D(";")):F(E("form"),pe,D("{"),E("}"),te,N,N)):u&&"namespace"==t?(C.marked="keyword",F(E("form"),O,te,N)):u&&"abstract"==t?(C.marked="keyword",F(M)):F(E("stat"),X):"switch"==e?F(E("form"),B,D("{"),E("}","switch"),te,N,N):"case"==e?F(O,D(":")):"default"==e?F(D(":")):"catch"==e?F(E("form"),j,D("("),Fe,D(")"),M,N,L):"export"==e?F(E("stat"),Ee,N):"import"==e?F(E("stat"),De,N):"async"==e?F(M):"@"==t?F(O,M):S(E("stat"),O,D(";"),N)}function O(e,t){return z(e,t,!1)}function I(e,t){return z(e,t,!0)}function B(e){return"("!=e?S():F(E(")"),O,D(")"),N)}function z(e,t,n){if(C.state.fatArrowAt==C.stream.start){var r=n?U:q;if("("==e)return F(j,E(")"),Q(Fe,")"),N,D("=>"),r,L);if("variable"==e)return S(j,pe,D("=>"),r,L)}var o=n?R:$;return x.hasOwnProperty(e)?F(o):"function"==e?F(Se,o):"class"==e||u&&"interface"==t?(C.marked="keyword",F(E("form"),Te,N)):"keyword c"==e||"async"==e?F(n?I:O):"("==e?F(E(")"),P,D(")"),N,o):"operator"==e||"spread"==e?F(n?I:O):"["==e?F(E("]"),ze,N,o):"{"==e?ee(K,"}",null,o):"quasi"==e?S(W,o):"new"==e?F(function(e){return function(t){return"."==t?F(e?G:V):"variable"==t&&u?F(ce,e?R:$):S(e?I:O)}}(n)):"import"==e?F(O):F()}function P(e){return e.match(/[;\}\)\],]/)?S():S(O)}function $(e,t){return","==e?F(O):R(e,t,!1)}function R(e,t,n){var r=0==n?$:R,o=0==n?O:I;return"=>"==e?F(j,n?U:q,L):"operator"==e?/\+\+|--/.test(t)||u&&"!"==t?F(r):u&&"<"==t&&C.stream.match(/^([^>]|<.*?>)*>\s*\(/,!1)?F(E(">"),Q(ie,">"),N,r):"?"==t?F(O,D(":"),o):F(o):"quasi"==e?S(W,r):";"!=e?"("==e?ee(I,")","call",r):"."==e?F(Y,r):"["==e?F(E("]"),P,D("]"),N,r):u&&"as"==t?(C.marked="keyword",F(ie,r)):"regexp"==e?(C.state.lastType=C.marked="operator",C.stream.backUp(C.stream.pos-C.stream.start-1),F(o)):void 0:void 0}function W(e,t){return"quasi"!=e?S():"${"!=t.slice(t.length-2)?F(W):F(O,H)}function H(e){if("}"==e)return C.marked="string-2",C.state.tokenize=v,F(W)}function q(e){return y(C.stream,C.state),S("{"==e?M:O)}function U(e){return y(C.stream,C.state),S("{"==e?M:I)}function V(e,t){if("target"==t)return C.marked="keyword",F($)}function G(e,t){if("target"==t)return C.marked="keyword",F(R)}function X(e){return":"==e?F(N,M):S($,D(";"),N)}function Y(e){if("variable"==e)return C.marked="property",F()}function K(e,t){if("async"==e)return C.marked="property",F(K);if("variable"==e||"keyword"==C.style){return C.marked="property","get"==t||"set"==t?F(Z):(u&&C.state.fatArrowAt==C.stream.start&&(n=C.stream.match(/^\s*:\s*/,!1))&&(C.state.fatArrowAt=C.stream.pos+n[0].length),F(J));var n}else{if("number"==e||"string"==e)return C.marked=s?"property":C.style+" property",F(J);if("jsonld-keyword"==e)return F(J);if(u&&A(t))return C.marked="keyword",F(K);if("["==e)return F(O,ne,D("]"),J);if("spread"==e)return F(I,J);if("*"==t)return C.marked="keyword",F(K);if(":"==e)return S(J)}}function Z(e){return"variable"!=e?S(J):(C.marked="property",F(Se))}function J(e){return":"==e?F(I):"("==e?S(Se):void 0}function Q(e,t,n){function r(o,i){if(n?n.indexOf(o)>-1:","==o){var a=C.state.lexical;return"call"==a.info&&(a.pos=(a.pos||0)+1),F(function(n,r){return n==t||r==t?S():S(e)},r)}return o==t||i==t?F():F(D(t))}return function(n,o){return n==t||o==t?F():S(e,r)}}function ee(e,t,n){for(var r=3;r<arguments.length;r++)C.cc.push(arguments[r]);return F(E(t,n),Q(e,t),N)}function te(e){return"}"==e?F():S(M,te)}function ne(e,t){if(u){if(":"==e)return F(ie);if("?"==t)return F(ne)}}function re(e){if(u&&":"==e)return C.stream.match(/^\s*\w+\s+is\b/,!1)?F(O,oe,ie):F(ie)}function oe(e,t){if("is"==t)return C.marked="keyword",F()}function ie(e,t){return"keyof"==t||"typeof"==t?(C.marked="keyword",F("keyof"==t?ie:I)):"variable"==e||"void"==t?(C.marked="type",F(ue)):"string"==e||"number"==e||"atom"==e?F(ue):"["==e?F(E("]"),Q(ie,"]",","),N,ue):"{"==e?F(E("}"),Q(se,"}",",;"),N,ue):"("==e?F(Q(le,")"),ae):"<"==e?F(Q(ie,">"),ie):void 0}function ae(e){if("=>"==e)return F(ie)}function se(e,t){return"variable"==e||"keyword"==C.style?(C.marked="property",F(se)):"?"==t?F(se):":"==e?F(ie):"["==e?F(O,ne,D("]"),se):void 0}function le(e,t){return"variable"==e&&C.stream.match(/^\s*[?:]/,!1)||"?"==t?F(le):":"==e?F(ie):S(ie)}function ue(e,t){return"<"==t?F(E(">"),Q(ie,">"),N,ue):"|"==t||"."==e||"&"==t?F(ie):"["==e?F(D("]"),ue):"extends"==t||"implements"==t?(C.marked="keyword",F(ie)):void 0}function ce(e,t){if("<"==t)return F(E(">"),Q(ie,">"),N,ue)}function fe(){return S(ie,de)}function de(e,t){if("="==t)return F(ie)}function he(e,t){return"enum"==t?(C.marked="keyword",F(Pe)):S(pe,ne,me,ve)}function pe(e,t){return u&&A(t)?(C.marked="keyword",F(pe)):"variable"==e?(T(t),F()):"spread"==e?F(pe):"["==e?ee(pe,"]"):"{"==e?ee(ge,"}"):void 0}function ge(e,t){return"variable"!=e||C.stream.match(/^\s*:/,!1)?("variable"==e&&(C.marked="property"),"spread"==e?F(pe):"}"==e?S():F(D(":"),pe,me)):(T(t),F(me))}function me(e,t){if("="==t)return F(I)}function ve(e){if(","==e)return F(he)}function be(e,t){if("keyword b"==e&&"else"==t)return F(E("form","else"),M,N)}function ye(e,t){return"await"==t?F(ye):"("==e?F(E(")"),xe,D(")"),N):void 0}function xe(e){return"var"==e?F(he,D(";"),ke):";"==e?F(ke):"variable"==e?F(we):S(O,D(";"),ke)}function we(e,t){return"in"==t||"of"==t?(C.marked="keyword",F(O)):F($,ke)}function ke(e,t){return";"==e?F(Ce):"in"==t||"of"==t?(C.marked="keyword",F(O)):S(O,D(";"),Ce)}function Ce(e){")"!=e&&F(O)}function Se(e,t){return"*"==t?(C.marked="keyword",F(Se)):"variable"==e?(T(t),F(Se)):"("==e?F(j,E(")"),Q(Fe,")"),N,re,M,L):u&&"<"==t?F(E(">"),Q(fe,">"),N,Se):void 0}function Fe(e,t){return"@"==t&&F(O,Fe),"spread"==e?F(Fe):u&&A(t)?(C.marked="keyword",F(Fe)):S(pe,ne,me)}function Te(e,t){return"variable"==e?Ae(e,t):_e(e,t)}function Ae(e,t){if("variable"==e)return T(t),F(_e)}function _e(e,t){return"<"==t?F(E(">"),Q(fe,">"),N,_e):"extends"==t||"implements"==t||u&&","==e?("implements"==t&&(C.marked="keyword"),F(u?ie:O,_e)):"{"==e?F(E("}"),je,N):void 0}function je(e,t){return"async"==e||"variable"==e&&("static"==t||"get"==t||"set"==t||u&&A(t))&&C.stream.match(/^\s+[\w$\xa1-\uffff]/,!1)?(C.marked="keyword",F(je)):"variable"==e||"keyword"==C.style?(C.marked="property",F(u?Le:Se,je)):"["==e?F(O,ne,D("]"),u?Le:Se,je):"*"==t?(C.marked="keyword",F(je)):";"==e?F(je):"}"==e?F():"@"==t?F(O,je):void 0}function Le(e,t){return"?"==t?F(Le):":"==e?F(ie,me):"="==t?F(I):S(Se)}function Ee(e,t){return"*"==t?(C.marked="keyword",F(Be,D(";"))):"default"==t?(C.marked="keyword",F(O,D(";"))):"{"==e?F(Q(Ne,"}"),Be,D(";")):S(M)}function Ne(e,t){return"as"==t?(C.marked="keyword",F(D("variable"))):"variable"==e?S(I,Ne):void 0}function De(e){return"string"==e?F():"("==e?S(O):S(Me,Oe,Be)}function Me(e,t){return"{"==e?ee(Me,"}"):("variable"==e&&T(t),"*"==t&&(C.marked="keyword"),F(Ie))}function Oe(e){if(","==e)return F(Me,Oe)}function Ie(e,t){if("as"==t)return C.marked="keyword",F(Me)}function Be(e,t){if("from"==t)return C.marked="keyword",F(O)}function ze(e){return"]"==e?F():S(Q(I,"]"))}function Pe(){return S(E("form"),pe,D("{"),E("}"),Q($e,"}"),N,N)}function $e(){return S(pe,me)}function Re(e,t,n){return t.tokenize==g&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(t.lastType)||"quasi"==t.lastType&&/\{\s*$/.test(e.string.slice(0,e.pos-(n||0)))}return N.lex=!0,{startState:function(e){var t={tokenize:g,lastType:"sof",cc:[],lexical:new w((e||0)-i,0,"block",!1),localVars:n.localVars,context:n.localVars&&{vars:n.localVars},indented:e||0};return n.globalVars&&"object"==typeof n.globalVars&&(t.globalVars=n.globalVars),t},token:function(e,t){if(e.sol()&&(t.lexical.hasOwnProperty("align")||(t.lexical.align=!1),t.indented=e.indentation(),y(e,t)),t.tokenize!=m&&e.eatSpace())return null;var n=t.tokenize(e,t);return"comment"==r?n:(t.lastType="operator"!=r||"++"!=o&&"--"!=o?r:"incdec",function(e,t,n,r,o){var i=e.cc;for(C.state=e,C.stream=o,C.marked=null,C.cc=i,C.style=t,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var a=i.length?i.pop():l?O:M;if(a(n,r)){for(;i.length&&i[i.length-1].lex;)i.pop()();return C.marked?C.marked:"variable"==n&&k(e,r)?"variable-2":t}}}(t,n,r,o,e))},indent:function(t,r){if(t.tokenize==m)return e.Pass;if(t.tokenize!=g)return 0;var o,s=r&&r.charAt(0),l=t.lexical;if(!/^\s*else\b/.test(r))for(var u=t.cc.length-1;u>=0;--u){var c=t.cc[u];if(c==N)l=l.prev;else if(c!=be)break}for(;("stat"==l.type||"form"==l.type)&&("}"==s||(o=t.cc[t.cc.length-1])&&(o==$||o==R)&&!/^[,\.=+\-*:?[\(]/.test(r));)l=l.prev;a&&")"==l.type&&"stat"==l.prev.type&&(l=l.prev);var f=l.type,h=s==f;return"vardef"==f?l.indented+("operator"==t.lastType||","==t.lastType?l.info+1:0):"form"==f&&"{"==s?l.indented:"form"==f?l.indented+i:"stat"==f?l.indented+(function(e,t){return"operator"==e.lastType||","==e.lastType||d.test(t.charAt(0))||/[,.]/.test(t.charAt(0))}(t,r)?a||i:0):"switch"!=l.info||h||0==n.doubleIndentSwitch?l.align?l.column+(h?0:1):l.indented+(h?0:i):l.indented+(/^(?:case|default)\b/.test(r)?i:2*i)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:l?null:"/*",blockCommentEnd:l?null:"*/",blockCommentContinue:l?null:" * ",lineComment:l?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:l?"json":"javascript",jsonldMode:s,jsonMode:l,expressionAllowed:Re,skipExpression:function(e){var t=e.cc[e.cc.length-1];t!=O&&t!=I||e.cc.pop()}}}),e.registerHelper("wordChars","javascript",/[\w$]/),e.defineMIME("text/javascript","javascript"),e.defineMIME("text/ecmascript","javascript"),e.defineMIME("application/javascript","javascript"),e.defineMIME("application/x-javascript","javascript"),e.defineMIME("application/ecmascript","javascript"),e.defineMIME("application/json",{name:"javascript",json:!0}),e.defineMIME("application/x-json",{name:"javascript",json:!0}),e.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),e.defineMIME("text/typescript",{name:"javascript",typescript:!0}),e.defineMIME("application/typescript",{name:"javascript",typescript:!0})}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/sass/sass.js":function(e,t,n){!function(e){"use strict";e.defineMode("sass",function(t){var n,r=e.mimeModes["text/css"],o=r.propertyKeywords||{},i=r.colorKeywords||{},a=r.valueKeywords||{},s=r.fontProperties||{},l=new RegExp("^"+["true","false","null","auto"].join("|")),u=new RegExp("^"+["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"].join("|")),c=/^::?[a-zA-Z_][\w\-]*/;function f(e){return!e.peek()||e.match(/\s+$/,!1)}function d(e,t){var n=e.peek();return")"===n?(e.next(),t.tokenizer=b,"operator"):"("===n?(e.next(),e.eatSpace(),"operator"):"'"===n||'"'===n?(t.tokenizer=p(e.next()),"string"):(t.tokenizer=p(")",!1),"string")}function h(e,t){return function(n,r){return n.sol()&&n.indentation()<=e?(r.tokenizer=b,b(n,r)):(t&&n.skipTo("*/")?(n.next(),n.next(),r.tokenizer=b):n.skipToEnd(),"comment")}}function p(e,t){return null==t&&(t=!0),function n(r,o){var i=r.next(),a=r.peek(),s=r.string.charAt(r.pos-2),l="\\"!==i&&a===e||i===e&&"\\"!==s;return l?(i!==e&&t&&r.next(),f(r)&&(o.cursorHalf=0),o.tokenizer=b,"string"):"#"===i&&"{"===a?(o.tokenizer=g(n),r.next(),"operator"):"string"}}function g(e){return function(t,n){return"}"===t.peek()?(t.next(),n.tokenizer=e,"operator"):b(t,n)}}function m(e){if(0==e.indentCount){e.indentCount++;var n=e.scopes[0].offset,r=n+t.indentUnit;e.scopes.unshift({offset:r})}}function v(e){1!=e.scopes.length&&e.scopes.shift()}function b(e,t){var r=e.peek();if(e.match("/*"))return t.tokenizer=h(e.indentation(),!0),t.tokenizer(e,t);if(e.match("//"))return t.tokenizer=h(e.indentation(),!1),t.tokenizer(e,t);if(e.match("#{"))return t.tokenizer=g(b),"operator";if('"'===r||"'"===r)return e.next(),t.tokenizer=p(r),"string";if(t.cursorHalf){if("#"===r&&(e.next(),e.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/)))return f(e)&&(t.cursorHalf=0),"number";if(e.match(/^-?[0-9\.]+/))return f(e)&&(t.cursorHalf=0),"number";if(e.match(/^(px|em|in)\b/))return f(e)&&(t.cursorHalf=0),"unit";if(e.match(l))return f(e)&&(t.cursorHalf=0),"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=d,f(e)&&(t.cursorHalf=0),"atom";if("$"===r)return e.next(),e.eatWhile(/[\w-]/),f(e)&&(t.cursorHalf=0),"variable-2";if("!"===r)return e.next(),t.cursorHalf=0,e.match(/^[\w]+/)?"keyword":"operator";if(e.match(u))return f(e)&&(t.cursorHalf=0),"operator";if(e.eatWhile(/[\w-]/))return f(e)&&(t.cursorHalf=0),n=e.current().toLowerCase(),a.hasOwnProperty(n)?"atom":i.hasOwnProperty(n)?"keyword":o.hasOwnProperty(n)?(t.prevProp=e.current().toLowerCase(),"property"):"tag";if(f(e))return t.cursorHalf=0,null}else{if("-"===r&&e.match(/^-\w+-/))return"meta";if("."===r){if(e.next(),e.match(/^[\w-]+/))return m(t),"qualifier";if("#"===e.peek())return m(t),"tag"}if("#"===r){if(e.next(),e.match(/^[\w-]+/))return m(t),"builtin";if("#"===e.peek())return m(t),"tag"}if("$"===r)return e.next(),e.eatWhile(/[\w-]/),"variable-2";if(e.match(/^-?[0-9\.]+/))return"number";if(e.match(/^(px|em|in)\b/))return"unit";if(e.match(l))return"keyword";if(e.match(/^url/)&&"("===e.peek())return t.tokenizer=d,"atom";if("="===r&&e.match(/^=[\w-]+/))return m(t),"meta";if("+"===r&&e.match(/^\+[\w-]+/))return"variable-3";if("@"===r&&e.match(/@extend/)&&(e.match(/\s*[\w]/)||v(t)),e.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return m(t),"def";if("@"===r)return e.next(),e.eatWhile(/[\w-]/),"def";if(e.eatWhile(/[\w-]/)){if(e.match(/ *: *[\w-\+\$#!\("']/,!1)){n=e.current().toLowerCase();var y=t.prevProp+"-"+n;return o.hasOwnProperty(y)?"property":o.hasOwnProperty(n)?(t.prevProp=n,"property"):s.hasOwnProperty(n)?"property":"tag"}return e.match(/ *:/,!1)?(m(t),t.cursorHalf=1,t.prevProp=e.current().toLowerCase(),"property"):e.match(/ *,/,!1)?"tag":(m(t),"tag")}if(":"===r)return e.match(c)?"variable-3":(e.next(),t.cursorHalf=1,"operator")}return e.match(u)?"operator":(e.next(),null)}return{startState:function(){return{tokenizer:b,scopes:[{offset:0,type:"sass"}],indentCount:0,cursorHalf:0,definedVars:[],definedMixins:[]}},token:function(e,n){var r=function(e,n){e.sol()&&(n.indentCount=0);var r=n.tokenizer(e,n),o=e.current();if("@return"!==o&&"}"!==o||v(n),null!==r){for(var i=e.pos-o.length,a=i+t.indentUnit*n.indentCount,s=[],l=0;l<n.scopes.length;l++){var u=n.scopes[l];u.offset<=a&&s.push(u)}n.scopes=s}return r}(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e){return e.scopes[0].offset}}},"css"),e.defineMIME("text/x-sass","sass")}(n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/mode/css/css.js"))},"./node_modules/codemirror/mode/xml/xml.js":function(e,t,n){!function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},n={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",function(r,o){var i,a,s=r.indentUnit,l={},u=o.htmlMode?t:n;for(var c in u)l[c]=u[c];for(var c in o)l[c]=o[c];function f(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.next();return"<"==r?e.eat("!")?e.eat("[")?e.match("CDATA[")?n(h("atom","]]>")):null:e.match("--")?n(h("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),n(function e(t){return function(n,r){for(var o;null!=(o=n.next());){if("<"==o)return r.tokenize=e(t+1),r.tokenize(n,r);if(">"==o){if(1==t){r.tokenize=f;break}return r.tokenize=e(t-1),r.tokenize(n,r)}}return"meta"}}(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=h("meta","?>"),"meta"):(i=e.eat("/")?"closeTag":"openTag",t.tokenize=d,"tag bracket"):"&"==r?(e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"))?"atom":"error":(e.eatWhile(/[^&<]/),null)}function d(e,t){var n,r,o=e.next();if(">"==o||"/"==o&&e.eat(">"))return t.tokenize=f,i=">"==o?"endTag":"selfcloseTag","tag bracket";if("="==o)return i="equals",null;if("<"==o){t.tokenize=f,t.state=m,t.tagName=t.tagStart=null;var a=t.tokenize(e,t);return a?a+" tag error":"tag error"}return/[\'\"]/.test(o)?(t.tokenize=(n=o,(r=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=d;break}return"string"}).isInAttribute=!0,r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function h(e,t){return function(n,r){for(;!n.eol();){if(n.match(t)){r.tokenize=f;break}n.next()}return e}}function p(e){e.context&&(e.context=e.context.prev)}function g(e,t){for(var n;;){if(!e.context)return;if(n=e.context.tagName,!l.contextGrabbers.hasOwnProperty(n)||!l.contextGrabbers[n].hasOwnProperty(t))return;p(e)}}function m(e,t,n){return"openTag"==e?(n.tagStart=t.column(),v):"closeTag"==e?b:m}function v(e,t,n){return"word"==e?(n.tagName=t.current(),a="tag",w):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",w(e,0,n)):(a="error",v)}function b(e,t,n){if("word"==e){var r=t.current();return n.context&&n.context.tagName!=r&&l.implicitlyClosed.hasOwnProperty(n.context.tagName)&&p(n),n.context&&n.context.tagName==r||!1===l.matchClosing?(a="tag",y):(a="tag error",x)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",y(e,0,n)):(a="error",x)}function y(e,t,n){return"endTag"!=e?(a="error",y):(p(n),m)}function x(e,t,n){return a="error",y(e,0,n)}function w(e,t,n){if("word"==e)return a="attribute",k;if("endTag"==e||"selfcloseTag"==e){var r=n.tagName,o=n.tagStart;return n.tagName=n.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(r)?g(n,r):(g(n,r),n.context=new function(e,t,n){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=n,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}(n,r,o==n.indented)),m}return a="error",w}function k(e,t,n){return"equals"==e?C:(l.allowMissing||(a="error"),w(e,0,n))}function C(e,t,n){return"string"==e?S:"word"==e&&l.allowUnquoted?(a="string",w):(a="error",w(e,0,n))}function S(e,t,n){return"string"==e?S:w(e,0,n)}return f.isInText=!0,{startState:function(e){var t={tokenize:f,state:m,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;i=null;var n=t.tokenize(e,t);return(n||i)&&"comment"!=n&&(a=null,t.state=t.state(i||n,e,t),a&&(n="error"==a?n+" error":a)),n},indent:function(t,n,r){var o=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(o&&o.noIndent)return e.Pass;if(t.tokenize!=d&&t.tokenize!=f)return r?r.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(n))return 0;var i=n&&/^<(\/)?([\w_:\.-]*)/.exec(n);if(i&&i[1])for(;o;){if(o.tagName==i[2]){o=o.prev;break}if(!l.implicitlyClosed.hasOwnProperty(o.tagName))break;o=o.prev}else if(i)for(;o;){var a=l.contextGrabbers[o.tagName];if(!a||!a.hasOwnProperty(i[2]))break;o=o.prev}for(;o&&o.prev&&!o.startOfLine;)o=o.prev;return o?o.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==C&&(e.state=w)}}}),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/mode/yaml/yaml.js":function(e,t,n){!function(e){"use strict";e.defineMode("yaml",function(){var e=new RegExp("\\b(("+["true","false","on","off","yes","no"].join(")|(")+"))$","i");return{token:function(t,n){var r=t.peek(),o=n.escaped;if(n.escaped=!1,"#"==r&&(0==t.pos||/\s/.test(t.string.charAt(t.pos-1))))return t.skipToEnd(),"comment";if(t.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(n.literal&&t.indentation()>n.keyCol)return t.skipToEnd(),"string";if(n.literal&&(n.literal=!1),t.sol()){if(n.keyCol=0,n.pair=!1,n.pairStart=!1,t.match(/---/))return"def";if(t.match(/\.\.\./))return"def";if(t.match(/\s*-\s+/))return"meta"}if(t.match(/^(\{|\}|\[|\])/))return"{"==r?n.inlinePairs++:"}"==r?n.inlinePairs--:"["==r?n.inlineList++:n.inlineList--,"meta";if(n.inlineList>0&&!o&&","==r)return t.next(),"meta";if(n.inlinePairs>0&&!o&&","==r)return n.keyCol=0,n.pair=!1,n.pairStart=!1,t.next(),"meta";if(n.pairStart){if(t.match(/^\s*(\||\>)\s*/))return n.literal=!0,"meta";if(t.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(0==n.inlinePairs&&t.match(/^\s*-?[0-9\.\,]+\s?$/))return"number";if(n.inlinePairs>0&&t.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(t.match(e))return"keyword"}return!n.pair&&t.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(n.pair=!0,n.keyCol=t.indentation(),"atom"):n.pair&&t.match(/^:\s*/)?(n.pairStart=!0,"meta"):(n.pairStart=!1,n.escaped="\\"==r,t.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#"}}),e.defineMIME("text/x-yaml","yaml"),e.defineMIME("text/yaml","yaml")}(n("./node_modules/codemirror/lib/codemirror.js"))},"./node_modules/codemirror/theme/blackboard.css":function(e,t){},"./node_modules/css-loader/index.js!./node_modules/less-loader/dist/cjs.js!./themes/bootstrap/less/fontawesome.less":function(e,t,n){var r=n("./node_modules/css-loader/lib/url/escape.js");(e.exports=n("./node_modules/css-loader/lib/css-base.js")(!1)).push([e.i,"/*!\n *  Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome\n *  License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */\n/* FONT PATH\n * -------------------------- */\n@font-face {\n  font-family: 'FontAwesome';\n  src: url("+r(n("./node_modules/font-awesome/fonts/fontawesome-webfont.eot?v=4.7.0"))+");\n  src: url("+r(n("./node_modules/font-awesome/fonts/fontawesome-webfont.eot"))+"?#iefix&v=4.7.0) format('embedded-opentype'), url("+r(n("./node_modules/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0"))+") format('woff2'), url("+r(n("./node_modules/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0"))+") format('woff'), url("+r(n("./node_modules/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0"))+") format('truetype'), url("+r(n("./node_modules/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0"))+'#fontawesomeregular) format(\'svg\');\n  font-weight: normal;\n  font-style: normal;\n}\n.fa {\n  display: inline-block;\n  font: normal normal normal 14px/1 FontAwesome;\n  font-size: inherit;\n  text-rendering: auto;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n/* makes the font 33% larger relative to the icon container */\n.fa-lg {\n  font-size: 1.33333333em;\n  line-height: 0.75em;\n  vertical-align: -15%;\n}\n.fa-2x {\n  font-size: 2em;\n}\n.fa-3x {\n  font-size: 3em;\n}\n.fa-4x {\n  font-size: 4em;\n}\n.fa-5x {\n  font-size: 5em;\n}\n.fa-fw {\n  width: 1.28571429em;\n  text-align: center;\n}\n.fa-ul {\n  padding-left: 0;\n  margin-left: 2.14285714em;\n  list-style-type: none;\n}\n.fa-ul > li {\n  position: relative;\n}\n.fa-li {\n  position: absolute;\n  left: -2.14285714em;\n  width: 2.14285714em;\n  top: 0.14285714em;\n  text-align: center;\n}\n.fa-li.fa-lg {\n  left: -1.85714286em;\n}\n.fa-border {\n  padding: .2em .25em .15em;\n  border: solid 0.08em #eee;\n  border-radius: .1em;\n}\n.fa-pull-left {\n  float: left;\n}\n.fa-pull-right {\n  float: right;\n}\n.fa.fa-pull-left {\n  margin-right: .3em;\n}\n.fa.fa-pull-right {\n  margin-left: .3em;\n}\n/* Deprecated as of 4.4.0 */\n.pull-right {\n  float: right;\n}\n.pull-left {\n  float: left;\n}\n.fa.pull-left {\n  margin-right: .3em;\n}\n.fa.pull-right {\n  margin-left: .3em;\n}\n.fa-spin {\n  -webkit-animation: fa-spin 2s infinite linear;\n  animation: fa-spin 2s infinite linear;\n}\n.fa-pulse {\n  -webkit-animation: fa-spin 1s infinite steps(8);\n  animation: fa-spin 1s infinite steps(8);\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(359deg);\n    transform: rotate(359deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n    transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(359deg);\n    transform: rotate(359deg);\n  }\n}\n.fa-rotate-90 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n  -webkit-transform: rotate(90deg);\n  -ms-transform: rotate(90deg);\n  transform: rotate(90deg);\n}\n.fa-rotate-180 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n  -webkit-transform: rotate(180deg);\n  -ms-transform: rotate(180deg);\n  transform: rotate(180deg);\n}\n.fa-rotate-270 {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n  -webkit-transform: rotate(270deg);\n  -ms-transform: rotate(270deg);\n  transform: rotate(270deg);\n}\n.fa-flip-horizontal {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n  -webkit-transform: scale(-1, 1);\n  -ms-transform: scale(-1, 1);\n  transform: scale(-1, 1);\n}\n.fa-flip-vertical {\n  -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n  -webkit-transform: scale(1, -1);\n  -ms-transform: scale(1, -1);\n  transform: scale(1, -1);\n}\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical {\n  filter: none;\n}\n.fa-stack {\n  position: relative;\n  display: inline-block;\n  width: 2em;\n  height: 2em;\n  line-height: 2em;\n  vertical-align: middle;\n}\n.fa-stack-1x,\n.fa-stack-2x {\n  position: absolute;\n  left: 0;\n  width: 100%;\n  text-align: center;\n}\n.fa-stack-1x {\n  line-height: inherit;\n}\n.fa-stack-2x {\n  font-size: 2em;\n}\n.fa-inverse {\n  color: #fff;\n}\n/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen\n   readers do not read off random characters that represent icons */\n.fa-glass:before {\n  content: "\\F000";\n}\n.fa-music:before {\n  content: "\\F001";\n}\n.fa-search:before {\n  content: "\\F002";\n}\n.fa-envelope-o:before {\n  content: "\\F003";\n}\n.fa-heart:before {\n  content: "\\F004";\n}\n.fa-star:before {\n  content: "\\F005";\n}\n.fa-star-o:before {\n  content: "\\F006";\n}\n.fa-user:before {\n  content: "\\F007";\n}\n.fa-film:before {\n  content: "\\F008";\n}\n.fa-th-large:before {\n  content: "\\F009";\n}\n.fa-th:before {\n  content: "\\F00A";\n}\n.fa-th-list:before {\n  content: "\\F00B";\n}\n.fa-check:before {\n  content: "\\F00C";\n}\n.fa-remove:before,\n.fa-close:before,\n.fa-times:before {\n  content: "\\F00D";\n}\n.fa-search-plus:before {\n  content: "\\F00E";\n}\n.fa-search-minus:before {\n  content: "\\F010";\n}\n.fa-power-off:before {\n  content: "\\F011";\n}\n.fa-signal:before {\n  content: "\\F012";\n}\n.fa-gear:before,\n.fa-cog:before {\n  content: "\\F013";\n}\n.fa-trash-o:before {\n  content: "\\F014";\n}\n.fa-home:before {\n  content: "\\F015";\n}\n.fa-file-o:before {\n  content: "\\F016";\n}\n.fa-clock-o:before {\n  content: "\\F017";\n}\n.fa-road:before {\n  content: "\\F018";\n}\n.fa-download:before {\n  content: "\\F019";\n}\n.fa-arrow-circle-o-down:before {\n  content: "\\F01A";\n}\n.fa-arrow-circle-o-up:before {\n  content: "\\F01B";\n}\n.fa-inbox:before {\n  content: "\\F01C";\n}\n.fa-play-circle-o:before {\n  content: "\\F01D";\n}\n.fa-rotate-right:before,\n.fa-repeat:before {\n  content: "\\F01E";\n}\n.fa-refresh:before {\n  content: "\\F021";\n}\n.fa-list-alt:before {\n  content: "\\F022";\n}\n.fa-lock:before {\n  content: "\\F023";\n}\n.fa-flag:before {\n  content: "\\F024";\n}\n.fa-headphones:before {\n  content: "\\F025";\n}\n.fa-volume-off:before {\n  content: "\\F026";\n}\n.fa-volume-down:before {\n  content: "\\F027";\n}\n.fa-volume-up:before {\n  content: "\\F028";\n}\n.fa-qrcode:before {\n  content: "\\F029";\n}\n.fa-barcode:before {\n  content: "\\F02A";\n}\n.fa-tag:before {\n  content: "\\F02B";\n}\n.fa-tags:before {\n  content: "\\F02C";\n}\n.fa-book:before {\n  content: "\\F02D";\n}\n.fa-bookmark:before {\n  content: "\\F02E";\n}\n.fa-print:before {\n  content: "\\F02F";\n}\n.fa-camera:before {\n  content: "\\F030";\n}\n.fa-font:before {\n  content: "\\F031";\n}\n.fa-bold:before {\n  content: "\\F032";\n}\n.fa-italic:before {\n  content: "\\F033";\n}\n.fa-text-height:before {\n  content: "\\F034";\n}\n.fa-text-width:before {\n  content: "\\F035";\n}\n.fa-align-left:before {\n  content: "\\F036";\n}\n.fa-align-center:before {\n  content: "\\F037";\n}\n.fa-align-right:before {\n  content: "\\F038";\n}\n.fa-align-justify:before {\n  content: "\\F039";\n}\n.fa-list:before {\n  content: "\\F03A";\n}\n.fa-dedent:before,\n.fa-outdent:before {\n  content: "\\F03B";\n}\n.fa-indent:before {\n  content: "\\F03C";\n}\n.fa-video-camera:before {\n  content: "\\F03D";\n}\n.fa-photo:before,\n.fa-image:before,\n.fa-picture-o:before {\n  content: "\\F03E";\n}\n.fa-pencil:before {\n  content: "\\F040";\n}\n.fa-map-marker:before {\n  content: "\\F041";\n}\n.fa-adjust:before {\n  content: "\\F042";\n}\n.fa-tint:before {\n  content: "\\F043";\n}\n.fa-edit:before,\n.fa-pencil-square-o:before {\n  content: "\\F044";\n}\n.fa-share-square-o:before {\n  content: "\\F045";\n}\n.fa-check-square-o:before {\n  content: "\\F046";\n}\n.fa-arrows:before {\n  content: "\\F047";\n}\n.fa-step-backward:before {\n  content: "\\F048";\n}\n.fa-fast-backward:before {\n  content: "\\F049";\n}\n.fa-backward:before {\n  content: "\\F04A";\n}\n.fa-play:before {\n  content: "\\F04B";\n}\n.fa-pause:before {\n  content: "\\F04C";\n}\n.fa-stop:before {\n  content: "\\F04D";\n}\n.fa-forward:before {\n  content: "\\F04E";\n}\n.fa-fast-forward:before {\n  content: "\\F050";\n}\n.fa-step-forward:before {\n  content: "\\F051";\n}\n.fa-eject:before {\n  content: "\\F052";\n}\n.fa-chevron-left:before {\n  content: "\\F053";\n}\n.fa-chevron-right:before {\n  content: "\\F054";\n}\n.fa-plus-circle:before {\n  content: "\\F055";\n}\n.fa-minus-circle:before {\n  content: "\\F056";\n}\n.fa-times-circle:before {\n  content: "\\F057";\n}\n.fa-check-circle:before {\n  content: "\\F058";\n}\n.fa-question-circle:before {\n  content: "\\F059";\n}\n.fa-info-circle:before {\n  content: "\\F05A";\n}\n.fa-crosshairs:before {\n  content: "\\F05B";\n}\n.fa-times-circle-o:before {\n  content: "\\F05C";\n}\n.fa-check-circle-o:before {\n  content: "\\F05D";\n}\n.fa-ban:before {\n  content: "\\F05E";\n}\n.fa-arrow-left:before {\n  content: "\\F060";\n}\n.fa-arrow-right:before {\n  content: "\\F061";\n}\n.fa-arrow-up:before {\n  content: "\\F062";\n}\n.fa-arrow-down:before {\n  content: "\\F063";\n}\n.fa-mail-forward:before,\n.fa-share:before {\n  content: "\\F064";\n}\n.fa-expand:before {\n  content: "\\F065";\n}\n.fa-compress:before {\n  content: "\\F066";\n}\n.fa-plus:before {\n  content: "\\F067";\n}\n.fa-minus:before {\n  content: "\\F068";\n}\n.fa-asterisk:before {\n  content: "\\F069";\n}\n.fa-exclamation-circle:before {\n  content: "\\F06A";\n}\n.fa-gift:before {\n  content: "\\F06B";\n}\n.fa-leaf:before {\n  content: "\\F06C";\n}\n.fa-fire:before {\n  content: "\\F06D";\n}\n.fa-eye:before {\n  content: "\\F06E";\n}\n.fa-eye-slash:before {\n  content: "\\F070";\n}\n.fa-warning:before,\n.fa-exclamation-triangle:before {\n  content: "\\F071";\n}\n.fa-plane:before {\n  content: "\\F072";\n}\n.fa-calendar:before {\n  content: "\\F073";\n}\n.fa-random:before {\n  content: "\\F074";\n}\n.fa-comment:before {\n  content: "\\F075";\n}\n.fa-magnet:before {\n  content: "\\F076";\n}\n.fa-chevron-up:before {\n  content: "\\F077";\n}\n.fa-chevron-down:before {\n  content: "\\F078";\n}\n.fa-retweet:before {\n  content: "\\F079";\n}\n.fa-shopping-cart:before {\n  content: "\\F07A";\n}\n.fa-folder:before {\n  content: "\\F07B";\n}\n.fa-folder-open:before {\n  content: "\\F07C";\n}\n.fa-arrows-v:before {\n  content: "\\F07D";\n}\n.fa-arrows-h:before {\n  content: "\\F07E";\n}\n.fa-bar-chart-o:before,\n.fa-bar-chart:before {\n  content: "\\F080";\n}\n.fa-twitter-square:before {\n  content: "\\F081";\n}\n.fa-facebook-square:before {\n  content: "\\F082";\n}\n.fa-camera-retro:before {\n  content: "\\F083";\n}\n.fa-key:before {\n  content: "\\F084";\n}\n.fa-gears:before,\n.fa-cogs:before {\n  content: "\\F085";\n}\n.fa-comments:before {\n  content: "\\F086";\n}\n.fa-thumbs-o-up:before {\n  content: "\\F087";\n}\n.fa-thumbs-o-down:before {\n  content: "\\F088";\n}\n.fa-star-half:before {\n  content: "\\F089";\n}\n.fa-heart-o:before {\n  content: "\\F08A";\n}\n.fa-sign-out:before {\n  content: "\\F08B";\n}\n.fa-linkedin-square:before {\n  content: "\\F08C";\n}\n.fa-thumb-tack:before {\n  content: "\\F08D";\n}\n.fa-external-link:before {\n  content: "\\F08E";\n}\n.fa-sign-in:before {\n  content: "\\F090";\n}\n.fa-trophy:before {\n  content: "\\F091";\n}\n.fa-github-square:before {\n  content: "\\F092";\n}\n.fa-upload:before {\n  content: "\\F093";\n}\n.fa-lemon-o:before {\n  content: "\\F094";\n}\n.fa-phone:before {\n  content: "\\F095";\n}\n.fa-square-o:before {\n  content: "\\F096";\n}\n.fa-bookmark-o:before {\n  content: "\\F097";\n}\n.fa-phone-square:before {\n  content: "\\F098";\n}\n.fa-twitter:before {\n  content: "\\F099";\n}\n.fa-facebook-f:before,\n.fa-facebook:before {\n  content: "\\F09A";\n}\n.fa-github:before {\n  content: "\\F09B";\n}\n.fa-unlock:before {\n  content: "\\F09C";\n}\n.fa-credit-card:before {\n  content: "\\F09D";\n}\n.fa-feed:before,\n.fa-rss:before {\n  content: "\\F09E";\n}\n.fa-hdd-o:before {\n  content: "\\F0A0";\n}\n.fa-bullhorn:before {\n  content: "\\F0A1";\n}\n.fa-bell:before {\n  content: "\\F0F3";\n}\n.fa-certificate:before {\n  content: "\\F0A3";\n}\n.fa-hand-o-right:before {\n  content: "\\F0A4";\n}\n.fa-hand-o-left:before {\n  content: "\\F0A5";\n}\n.fa-hand-o-up:before {\n  content: "\\F0A6";\n}\n.fa-hand-o-down:before {\n  content: "\\F0A7";\n}\n.fa-arrow-circle-left:before {\n  content: "\\F0A8";\n}\n.fa-arrow-circle-right:before {\n  content: "\\F0A9";\n}\n.fa-arrow-circle-up:before {\n  content: "\\F0AA";\n}\n.fa-arrow-circle-down:before {\n  content: "\\F0AB";\n}\n.fa-globe:before {\n  content: "\\F0AC";\n}\n.fa-wrench:before {\n  content: "\\F0AD";\n}\n.fa-tasks:before {\n  content: "\\F0AE";\n}\n.fa-filter:before {\n  content: "\\F0B0";\n}\n.fa-briefcase:before {\n  content: "\\F0B1";\n}\n.fa-arrows-alt:before {\n  content: "\\F0B2";\n}\n.fa-group:before,\n.fa-users:before {\n  content: "\\F0C0";\n}\n.fa-chain:before,\n.fa-link:before {\n  content: "\\F0C1";\n}\n.fa-cloud:before {\n  content: "\\F0C2";\n}\n.fa-flask:before {\n  content: "\\F0C3";\n}\n.fa-cut:before,\n.fa-scissors:before {\n  content: "\\F0C4";\n}\n.fa-copy:before,\n.fa-files-o:before {\n  content: "\\F0C5";\n}\n.fa-paperclip:before {\n  content: "\\F0C6";\n}\n.fa-save:before,\n.fa-floppy-o:before {\n  content: "\\F0C7";\n}\n.fa-square:before {\n  content: "\\F0C8";\n}\n.fa-navicon:before,\n.fa-reorder:before,\n.fa-bars:before {\n  content: "\\F0C9";\n}\n.fa-list-ul:before {\n  content: "\\F0CA";\n}\n.fa-list-ol:before {\n  content: "\\F0CB";\n}\n.fa-strikethrough:before {\n  content: "\\F0CC";\n}\n.fa-underline:before {\n  content: "\\F0CD";\n}\n.fa-table:before {\n  content: "\\F0CE";\n}\n.fa-magic:before {\n  content: "\\F0D0";\n}\n.fa-truck:before {\n  content: "\\F0D1";\n}\n.fa-pinterest:before {\n  content: "\\F0D2";\n}\n.fa-pinterest-square:before {\n  content: "\\F0D3";\n}\n.fa-google-plus-square:before {\n  content: "\\F0D4";\n}\n.fa-google-plus:before {\n  content: "\\F0D5";\n}\n.fa-money:before {\n  content: "\\F0D6";\n}\n.fa-caret-down:before {\n  content: "\\F0D7";\n}\n.fa-caret-up:before {\n  content: "\\F0D8";\n}\n.fa-caret-left:before {\n  content: "\\F0D9";\n}\n.fa-caret-right:before {\n  content: "\\F0DA";\n}\n.fa-columns:before {\n  content: "\\F0DB";\n}\n.fa-unsorted:before,\n.fa-sort:before {\n  content: "\\F0DC";\n}\n.fa-sort-down:before,\n.fa-sort-desc:before {\n  content: "\\F0DD";\n}\n.fa-sort-up:before,\n.fa-sort-asc:before {\n  content: "\\F0DE";\n}\n.fa-envelope:before {\n  content: "\\F0E0";\n}\n.fa-linkedin:before {\n  content: "\\F0E1";\n}\n.fa-rotate-left:before,\n.fa-undo:before {\n  content: "\\F0E2";\n}\n.fa-legal:before,\n.fa-gavel:before {\n  content: "\\F0E3";\n}\n.fa-dashboard:before,\n.fa-tachometer:before {\n  content: "\\F0E4";\n}\n.fa-comment-o:before {\n  content: "\\F0E5";\n}\n.fa-comments-o:before {\n  content: "\\F0E6";\n}\n.fa-flash:before,\n.fa-bolt:before {\n  content: "\\F0E7";\n}\n.fa-sitemap:before {\n  content: "\\F0E8";\n}\n.fa-umbrella:before {\n  content: "\\F0E9";\n}\n.fa-paste:before,\n.fa-clipboard:before {\n  content: "\\F0EA";\n}\n.fa-lightbulb-o:before {\n  content: "\\F0EB";\n}\n.fa-exchange:before {\n  content: "\\F0EC";\n}\n.fa-cloud-download:before {\n  content: "\\F0ED";\n}\n.fa-cloud-upload:before {\n  content: "\\F0EE";\n}\n.fa-user-md:before {\n  content: "\\F0F0";\n}\n.fa-stethoscope:before {\n  content: "\\F0F1";\n}\n.fa-suitcase:before {\n  content: "\\F0F2";\n}\n.fa-bell-o:before {\n  content: "\\F0A2";\n}\n.fa-coffee:before {\n  content: "\\F0F4";\n}\n.fa-cutlery:before {\n  content: "\\F0F5";\n}\n.fa-file-text-o:before {\n  content: "\\F0F6";\n}\n.fa-building-o:before {\n  content: "\\F0F7";\n}\n.fa-hospital-o:before {\n  content: "\\F0F8";\n}\n.fa-ambulance:before {\n  content: "\\F0F9";\n}\n.fa-medkit:before {\n  content: "\\F0FA";\n}\n.fa-fighter-jet:before {\n  content: "\\F0FB";\n}\n.fa-beer:before {\n  content: "\\F0FC";\n}\n.fa-h-square:before {\n  content: "\\F0FD";\n}\n.fa-plus-square:before {\n  content: "\\F0FE";\n}\n.fa-angle-double-left:before {\n  content: "\\F100";\n}\n.fa-angle-double-right:before {\n  content: "\\F101";\n}\n.fa-angle-double-up:before {\n  content: "\\F102";\n}\n.fa-angle-double-down:before {\n  content: "\\F103";\n}\n.fa-angle-left:before {\n  content: "\\F104";\n}\n.fa-angle-right:before {\n  content: "\\F105";\n}\n.fa-angle-up:before {\n  content: "\\F106";\n}\n.fa-angle-down:before {\n  content: "\\F107";\n}\n.fa-desktop:before {\n  content: "\\F108";\n}\n.fa-laptop:before {\n  content: "\\F109";\n}\n.fa-tablet:before {\n  content: "\\F10A";\n}\n.fa-mobile-phone:before,\n.fa-mobile:before {\n  content: "\\F10B";\n}\n.fa-circle-o:before {\n  content: "\\F10C";\n}\n.fa-quote-left:before {\n  content: "\\F10D";\n}\n.fa-quote-right:before {\n  content: "\\F10E";\n}\n.fa-spinner:before {\n  content: "\\F110";\n}\n.fa-circle:before {\n  content: "\\F111";\n}\n.fa-mail-reply:before,\n.fa-reply:before {\n  content: "\\F112";\n}\n.fa-github-alt:before {\n  content: "\\F113";\n}\n.fa-folder-o:before {\n  content: "\\F114";\n}\n.fa-folder-open-o:before {\n  content: "\\F115";\n}\n.fa-smile-o:before {\n  content: "\\F118";\n}\n.fa-frown-o:before {\n  content: "\\F119";\n}\n.fa-meh-o:before {\n  content: "\\F11A";\n}\n.fa-gamepad:before {\n  content: "\\F11B";\n}\n.fa-keyboard-o:before {\n  content: "\\F11C";\n}\n.fa-flag-o:before {\n  content: "\\F11D";\n}\n.fa-flag-checkered:before {\n  content: "\\F11E";\n}\n.fa-terminal:before {\n  content: "\\F120";\n}\n.fa-code:before {\n  content: "\\F121";\n}\n.fa-mail-reply-all:before,\n.fa-reply-all:before {\n  content: "\\F122";\n}\n.fa-star-half-empty:before,\n.fa-star-half-full:before,\n.fa-star-half-o:before {\n  content: "\\F123";\n}\n.fa-location-arrow:before {\n  content: "\\F124";\n}\n.fa-crop:before {\n  content: "\\F125";\n}\n.fa-code-fork:before {\n  content: "\\F126";\n}\n.fa-unlink:before,\n.fa-chain-broken:before {\n  content: "\\F127";\n}\n.fa-question:before {\n  content: "\\F128";\n}\n.fa-info:before {\n  content: "\\F129";\n}\n.fa-exclamation:before {\n  content: "\\F12A";\n}\n.fa-superscript:before {\n  content: "\\F12B";\n}\n.fa-subscript:before {\n  content: "\\F12C";\n}\n.fa-eraser:before {\n  content: "\\F12D";\n}\n.fa-puzzle-piece:before {\n  content: "\\F12E";\n}\n.fa-microphone:before {\n  content: "\\F130";\n}\n.fa-microphone-slash:before {\n  content: "\\F131";\n}\n.fa-shield:before {\n  content: "\\F132";\n}\n.fa-calendar-o:before {\n  content: "\\F133";\n}\n.fa-fire-extinguisher:before {\n  content: "\\F134";\n}\n.fa-rocket:before {\n  content: "\\F135";\n}\n.fa-maxcdn:before {\n  content: "\\F136";\n}\n.fa-chevron-circle-left:before {\n  content: "\\F137";\n}\n.fa-chevron-circle-right:before {\n  content: "\\F138";\n}\n.fa-chevron-circle-up:before {\n  content: "\\F139";\n}\n.fa-chevron-circle-down:before {\n  content: "\\F13A";\n}\n.fa-html5:before {\n  content: "\\F13B";\n}\n.fa-css3:before {\n  content: "\\F13C";\n}\n.fa-anchor:before {\n  content: "\\F13D";\n}\n.fa-unlock-alt:before {\n  content: "\\F13E";\n}\n.fa-bullseye:before {\n  content: "\\F140";\n}\n.fa-ellipsis-h:before {\n  content: "\\F141";\n}\n.fa-ellipsis-v:before {\n  content: "\\F142";\n}\n.fa-rss-square:before {\n  content: "\\F143";\n}\n.fa-play-circle:before {\n  content: "\\F144";\n}\n.fa-ticket:before {\n  content: "\\F145";\n}\n.fa-minus-square:before {\n  content: "\\F146";\n}\n.fa-minus-square-o:before {\n  content: "\\F147";\n}\n.fa-level-up:before {\n  content: "\\F148";\n}\n.fa-level-down:before {\n  content: "\\F149";\n}\n.fa-check-square:before {\n  content: "\\F14A";\n}\n.fa-pencil-square:before {\n  content: "\\F14B";\n}\n.fa-external-link-square:before {\n  content: "\\F14C";\n}\n.fa-share-square:before {\n  content: "\\F14D";\n}\n.fa-compass:before {\n  content: "\\F14E";\n}\n.fa-toggle-down:before,\n.fa-caret-square-o-down:before {\n  content: "\\F150";\n}\n.fa-toggle-up:before,\n.fa-caret-square-o-up:before {\n  content: "\\F151";\n}\n.fa-toggle-right:before,\n.fa-caret-square-o-right:before {\n  content: "\\F152";\n}\n.fa-euro:before,\n.fa-eur:before {\n  content: "\\F153";\n}\n.fa-gbp:before {\n  content: "\\F154";\n}\n.fa-dollar:before,\n.fa-usd:before {\n  content: "\\F155";\n}\n.fa-rupee:before,\n.fa-inr:before {\n  content: "\\F156";\n}\n.fa-cny:before,\n.fa-rmb:before,\n.fa-yen:before,\n.fa-jpy:before {\n  content: "\\F157";\n}\n.fa-ruble:before,\n.fa-rouble:before,\n.fa-rub:before {\n  content: "\\F158";\n}\n.fa-won:before,\n.fa-krw:before {\n  content: "\\F159";\n}\n.fa-bitcoin:before,\n.fa-btc:before {\n  content: "\\F15A";\n}\n.fa-file:before {\n  content: "\\F15B";\n}\n.fa-file-text:before {\n  content: "\\F15C";\n}\n.fa-sort-alpha-asc:before {\n  content: "\\F15D";\n}\n.fa-sort-alpha-desc:before {\n  content: "\\F15E";\n}\n.fa-sort-amount-asc:before {\n  content: "\\F160";\n}\n.fa-sort-amount-desc:before {\n  content: "\\F161";\n}\n.fa-sort-numeric-asc:before {\n  content: "\\F162";\n}\n.fa-sort-numeric-desc:before {\n  content: "\\F163";\n}\n.fa-thumbs-up:before {\n  content: "\\F164";\n}\n.fa-thumbs-down:before {\n  content: "\\F165";\n}\n.fa-youtube-square:before {\n  content: "\\F166";\n}\n.fa-youtube:before {\n  content: "\\F167";\n}\n.fa-xing:before {\n  content: "\\F168";\n}\n.fa-xing-square:before {\n  content: "\\F169";\n}\n.fa-youtube-play:before {\n  content: "\\F16A";\n}\n.fa-dropbox:before {\n  content: "\\F16B";\n}\n.fa-stack-overflow:before {\n  content: "\\F16C";\n}\n.fa-instagram:before {\n  content: "\\F16D";\n}\n.fa-flickr:before {\n  content: "\\F16E";\n}\n.fa-adn:before {\n  content: "\\F170";\n}\n.fa-bitbucket:before {\n  content: "\\F171";\n}\n.fa-bitbucket-square:before {\n  content: "\\F172";\n}\n.fa-tumblr:before {\n  content: "\\F173";\n}\n.fa-tumblr-square:before {\n  content: "\\F174";\n}\n.fa-long-arrow-down:before {\n  content: "\\F175";\n}\n.fa-long-arrow-up:before {\n  content: "\\F176";\n}\n.fa-long-arrow-left:before {\n  content: "\\F177";\n}\n.fa-long-arrow-right:before {\n  content: "\\F178";\n}\n.fa-apple:before {\n  content: "\\F179";\n}\n.fa-windows:before {\n  content: "\\F17A";\n}\n.fa-android:before {\n  content: "\\F17B";\n}\n.fa-linux:before {\n  content: "\\F17C";\n}\n.fa-dribbble:before {\n  content: "\\F17D";\n}\n.fa-skype:before {\n  content: "\\F17E";\n}\n.fa-foursquare:before {\n  content: "\\F180";\n}\n.fa-trello:before {\n  content: "\\F181";\n}\n.fa-female:before {\n  content: "\\F182";\n}\n.fa-male:before {\n  content: "\\F183";\n}\n.fa-gittip:before,\n.fa-gratipay:before {\n  content: "\\F184";\n}\n.fa-sun-o:before {\n  content: "\\F185";\n}\n.fa-moon-o:before {\n  content: "\\F186";\n}\n.fa-archive:before {\n  content: "\\F187";\n}\n.fa-bug:before {\n  content: "\\F188";\n}\n.fa-vk:before {\n  content: "\\F189";\n}\n.fa-weibo:before {\n  content: "\\F18A";\n}\n.fa-renren:before {\n  content: "\\F18B";\n}\n.fa-pagelines:before {\n  content: "\\F18C";\n}\n.fa-stack-exchange:before {\n  content: "\\F18D";\n}\n.fa-arrow-circle-o-right:before {\n  content: "\\F18E";\n}\n.fa-arrow-circle-o-left:before {\n  content: "\\F190";\n}\n.fa-toggle-left:before,\n.fa-caret-square-o-left:before {\n  content: "\\F191";\n}\n.fa-dot-circle-o:before {\n  content: "\\F192";\n}\n.fa-wheelchair:before {\n  content: "\\F193";\n}\n.fa-vimeo-square:before {\n  content: "\\F194";\n}\n.fa-turkish-lira:before,\n.fa-try:before {\n  content: "\\F195";\n}\n.fa-plus-square-o:before {\n  content: "\\F196";\n}\n.fa-space-shuttle:before {\n  content: "\\F197";\n}\n.fa-slack:before {\n  content: "\\F198";\n}\n.fa-envelope-square:before {\n  content: "\\F199";\n}\n.fa-wordpress:before {\n  content: "\\F19A";\n}\n.fa-openid:before {\n  content: "\\F19B";\n}\n.fa-institution:before,\n.fa-bank:before,\n.fa-university:before {\n  content: "\\F19C";\n}\n.fa-mortar-board:before,\n.fa-graduation-cap:before {\n  content: "\\F19D";\n}\n.fa-yahoo:before {\n  content: "\\F19E";\n}\n.fa-google:before {\n  content: "\\F1A0";\n}\n.fa-reddit:before {\n  content: "\\F1A1";\n}\n.fa-reddit-square:before {\n  content: "\\F1A2";\n}\n.fa-stumbleupon-circle:before {\n  content: "\\F1A3";\n}\n.fa-stumbleupon:before {\n  content: "\\F1A4";\n}\n.fa-delicious:before {\n  content: "\\F1A5";\n}\n.fa-digg:before {\n  content: "\\F1A6";\n}\n.fa-pied-piper-pp:before {\n  content: "\\F1A7";\n}\n.fa-pied-piper-alt:before {\n  content: "\\F1A8";\n}\n.fa-drupal:before {\n  content: "\\F1A9";\n}\n.fa-joomla:before {\n  content: "\\F1AA";\n}\n.fa-language:before {\n  content: "\\F1AB";\n}\n.fa-fax:before {\n  content: "\\F1AC";\n}\n.fa-building:before {\n  content: "\\F1AD";\n}\n.fa-child:before {\n  content: "\\F1AE";\n}\n.fa-paw:before {\n  content: "\\F1B0";\n}\n.fa-spoon:before {\n  content: "\\F1B1";\n}\n.fa-cube:before {\n  content: "\\F1B2";\n}\n.fa-cubes:before {\n  content: "\\F1B3";\n}\n.fa-behance:before {\n  content: "\\F1B4";\n}\n.fa-behance-square:before {\n  content: "\\F1B5";\n}\n.fa-steam:before {\n  content: "\\F1B6";\n}\n.fa-steam-square:before {\n  content: "\\F1B7";\n}\n.fa-recycle:before {\n  content: "\\F1B8";\n}\n.fa-automobile:before,\n.fa-car:before {\n  content: "\\F1B9";\n}\n.fa-cab:before,\n.fa-taxi:before {\n  content: "\\F1BA";\n}\n.fa-tree:before {\n  content: "\\F1BB";\n}\n.fa-spotify:before {\n  content: "\\F1BC";\n}\n.fa-deviantart:before {\n  content: "\\F1BD";\n}\n.fa-soundcloud:before {\n  content: "\\F1BE";\n}\n.fa-database:before {\n  content: "\\F1C0";\n}\n.fa-file-pdf-o:before {\n  content: "\\F1C1";\n}\n.fa-file-word-o:before {\n  content: "\\F1C2";\n}\n.fa-file-excel-o:before {\n  content: "\\F1C3";\n}\n.fa-file-powerpoint-o:before {\n  content: "\\F1C4";\n}\n.fa-file-photo-o:before,\n.fa-file-picture-o:before,\n.fa-file-image-o:before {\n  content: "\\F1C5";\n}\n.fa-file-zip-o:before,\n.fa-file-archive-o:before {\n  content: "\\F1C6";\n}\n.fa-file-sound-o:before,\n.fa-file-audio-o:before {\n  content: "\\F1C7";\n}\n.fa-file-movie-o:before,\n.fa-file-video-o:before {\n  content: "\\F1C8";\n}\n.fa-file-code-o:before {\n  content: "\\F1C9";\n}\n.fa-vine:before {\n  content: "\\F1CA";\n}\n.fa-codepen:before {\n  content: "\\F1CB";\n}\n.fa-jsfiddle:before {\n  content: "\\F1CC";\n}\n.fa-life-bouy:before,\n.fa-life-buoy:before,\n.fa-life-saver:before,\n.fa-support:before,\n.fa-life-ring:before {\n  content: "\\F1CD";\n}\n.fa-circle-o-notch:before {\n  content: "\\F1CE";\n}\n.fa-ra:before,\n.fa-resistance:before,\n.fa-rebel:before {\n  content: "\\F1D0";\n}\n.fa-ge:before,\n.fa-empire:before {\n  content: "\\F1D1";\n}\n.fa-git-square:before {\n  content: "\\F1D2";\n}\n.fa-git:before {\n  content: "\\F1D3";\n}\n.fa-y-combinator-square:before,\n.fa-yc-square:before,\n.fa-hacker-news:before {\n  content: "\\F1D4";\n}\n.fa-tencent-weibo:before {\n  content: "\\F1D5";\n}\n.fa-qq:before {\n  content: "\\F1D6";\n}\n.fa-wechat:before,\n.fa-weixin:before {\n  content: "\\F1D7";\n}\n.fa-send:before,\n.fa-paper-plane:before {\n  content: "\\F1D8";\n}\n.fa-send-o:before,\n.fa-paper-plane-o:before {\n  content: "\\F1D9";\n}\n.fa-history:before {\n  content: "\\F1DA";\n}\n.fa-circle-thin:before {\n  content: "\\F1DB";\n}\n.fa-header:before {\n  content: "\\F1DC";\n}\n.fa-paragraph:before {\n  content: "\\F1DD";\n}\n.fa-sliders:before {\n  content: "\\F1DE";\n}\n.fa-share-alt:before {\n  content: "\\F1E0";\n}\n.fa-share-alt-square:before {\n  content: "\\F1E1";\n}\n.fa-bomb:before {\n  content: "\\F1E2";\n}\n.fa-soccer-ball-o:before,\n.fa-futbol-o:before {\n  content: "\\F1E3";\n}\n.fa-tty:before {\n  content: "\\F1E4";\n}\n.fa-binoculars:before {\n  content: "\\F1E5";\n}\n.fa-plug:before {\n  content: "\\F1E6";\n}\n.fa-slideshare:before {\n  content: "\\F1E7";\n}\n.fa-twitch:before {\n  content: "\\F1E8";\n}\n.fa-yelp:before {\n  content: "\\F1E9";\n}\n.fa-newspaper-o:before {\n  content: "\\F1EA";\n}\n.fa-wifi:before {\n  content: "\\F1EB";\n}\n.fa-calculator:before {\n  content: "\\F1EC";\n}\n.fa-paypal:before {\n  content: "\\F1ED";\n}\n.fa-google-wallet:before {\n  content: "\\F1EE";\n}\n.fa-cc-visa:before {\n  content: "\\F1F0";\n}\n.fa-cc-mastercard:before {\n  content: "\\F1F1";\n}\n.fa-cc-discover:before {\n  content: "\\F1F2";\n}\n.fa-cc-amex:before {\n  content: "\\F1F3";\n}\n.fa-cc-paypal:before {\n  content: "\\F1F4";\n}\n.fa-cc-stripe:before {\n  content: "\\F1F5";\n}\n.fa-bell-slash:before {\n  content: "\\F1F6";\n}\n.fa-bell-slash-o:before {\n  content: "\\F1F7";\n}\n.fa-trash:before {\n  content: "\\F1F8";\n}\n.fa-copyright:before {\n  content: "\\F1F9";\n}\n.fa-at:before {\n  content: "\\F1FA";\n}\n.fa-eyedropper:before {\n  content: "\\F1FB";\n}\n.fa-paint-brush:before {\n  content: "\\F1FC";\n}\n.fa-birthday-cake:before {\n  content: "\\F1FD";\n}\n.fa-area-chart:before {\n  content: "\\F1FE";\n}\n.fa-pie-chart:before {\n  content: "\\F200";\n}\n.fa-line-chart:before {\n  content: "\\F201";\n}\n.fa-lastfm:before {\n  content: "\\F202";\n}\n.fa-lastfm-square:before {\n  content: "\\F203";\n}\n.fa-toggle-off:before {\n  content: "\\F204";\n}\n.fa-toggle-on:before {\n  content: "\\F205";\n}\n.fa-bicycle:before {\n  content: "\\F206";\n}\n.fa-bus:before {\n  content: "\\F207";\n}\n.fa-ioxhost:before {\n  content: "\\F208";\n}\n.fa-angellist:before {\n  content: "\\F209";\n}\n.fa-cc:before {\n  content: "\\F20A";\n}\n.fa-shekel:before,\n.fa-sheqel:before,\n.fa-ils:before {\n  content: "\\F20B";\n}\n.fa-meanpath:before {\n  content: "\\F20C";\n}\n.fa-buysellads:before {\n  content: "\\F20D";\n}\n.fa-connectdevelop:before {\n  content: "\\F20E";\n}\n.fa-dashcube:before {\n  content: "\\F210";\n}\n.fa-forumbee:before {\n  content: "\\F211";\n}\n.fa-leanpub:before {\n  content: "\\F212";\n}\n.fa-sellsy:before {\n  content: "\\F213";\n}\n.fa-shirtsinbulk:before {\n  content: "\\F214";\n}\n.fa-simplybuilt:before {\n  content: "\\F215";\n}\n.fa-skyatlas:before {\n  content: "\\F216";\n}\n.fa-cart-plus:before {\n  content: "\\F217";\n}\n.fa-cart-arrow-down:before {\n  content: "\\F218";\n}\n.fa-diamond:before {\n  content: "\\F219";\n}\n.fa-ship:before {\n  content: "\\F21A";\n}\n.fa-user-secret:before {\n  content: "\\F21B";\n}\n.fa-motorcycle:before {\n  content: "\\F21C";\n}\n.fa-street-view:before {\n  content: "\\F21D";\n}\n.fa-heartbeat:before {\n  content: "\\F21E";\n}\n.fa-venus:before {\n  content: "\\F221";\n}\n.fa-mars:before {\n  content: "\\F222";\n}\n.fa-mercury:before {\n  content: "\\F223";\n}\n.fa-intersex:before,\n.fa-transgender:before {\n  content: "\\F224";\n}\n.fa-transgender-alt:before {\n  content: "\\F225";\n}\n.fa-venus-double:before {\n  content: "\\F226";\n}\n.fa-mars-double:before {\n  content: "\\F227";\n}\n.fa-venus-mars:before {\n  content: "\\F228";\n}\n.fa-mars-stroke:before {\n  content: "\\F229";\n}\n.fa-mars-stroke-v:before {\n  content: "\\F22A";\n}\n.fa-mars-stroke-h:before {\n  content: "\\F22B";\n}\n.fa-neuter:before {\n  content: "\\F22C";\n}\n.fa-genderless:before {\n  content: "\\F22D";\n}\n.fa-facebook-official:before {\n  content: "\\F230";\n}\n.fa-pinterest-p:before {\n  content: "\\F231";\n}\n.fa-whatsapp:before {\n  content: "\\F232";\n}\n.fa-server:before {\n  content: "\\F233";\n}\n.fa-user-plus:before {\n  content: "\\F234";\n}\n.fa-user-times:before {\n  content: "\\F235";\n}\n.fa-hotel:before,\n.fa-bed:before {\n  content: "\\F236";\n}\n.fa-viacoin:before {\n  content: "\\F237";\n}\n.fa-train:before {\n  content: "\\F238";\n}\n.fa-subway:before {\n  content: "\\F239";\n}\n.fa-medium:before {\n  content: "\\F23A";\n}\n.fa-yc:before,\n.fa-y-combinator:before {\n  content: "\\F23B";\n}\n.fa-optin-monster:before {\n  content: "\\F23C";\n}\n.fa-opencart:before {\n  content: "\\F23D";\n}\n.fa-expeditedssl:before {\n  content: "\\F23E";\n}\n.fa-battery-4:before,\n.fa-battery:before,\n.fa-battery-full:before {\n  content: "\\F240";\n}\n.fa-battery-3:before,\n.fa-battery-three-quarters:before {\n  content: "\\F241";\n}\n.fa-battery-2:before,\n.fa-battery-half:before {\n  content: "\\F242";\n}\n.fa-battery-1:before,\n.fa-battery-quarter:before {\n  content: "\\F243";\n}\n.fa-battery-0:before,\n.fa-battery-empty:before {\n  content: "\\F244";\n}\n.fa-mouse-pointer:before {\n  content: "\\F245";\n}\n.fa-i-cursor:before {\n  content: "\\F246";\n}\n.fa-object-group:before {\n  content: "\\F247";\n}\n.fa-object-ungroup:before {\n  content: "\\F248";\n}\n.fa-sticky-note:before {\n  content: "\\F249";\n}\n.fa-sticky-note-o:before {\n  content: "\\F24A";\n}\n.fa-cc-jcb:before {\n  content: "\\F24B";\n}\n.fa-cc-diners-club:before {\n  content: "\\F24C";\n}\n.fa-clone:before {\n  content: "\\F24D";\n}\n.fa-balance-scale:before {\n  content: "\\F24E";\n}\n.fa-hourglass-o:before {\n  content: "\\F250";\n}\n.fa-hourglass-1:before,\n.fa-hourglass-start:before {\n  content: "\\F251";\n}\n.fa-hourglass-2:before,\n.fa-hourglass-half:before {\n  content: "\\F252";\n}\n.fa-hourglass-3:before,\n.fa-hourglass-end:before {\n  content: "\\F253";\n}\n.fa-hourglass:before {\n  content: "\\F254";\n}\n.fa-hand-grab-o:before,\n.fa-hand-rock-o:before {\n  content: "\\F255";\n}\n.fa-hand-stop-o:before,\n.fa-hand-paper-o:before {\n  content: "\\F256";\n}\n.fa-hand-scissors-o:before {\n  content: "\\F257";\n}\n.fa-hand-lizard-o:before {\n  content: "\\F258";\n}\n.fa-hand-spock-o:before {\n  content: "\\F259";\n}\n.fa-hand-pointer-o:before {\n  content: "\\F25A";\n}\n.fa-hand-peace-o:before {\n  content: "\\F25B";\n}\n.fa-trademark:before {\n  content: "\\F25C";\n}\n.fa-registered:before {\n  content: "\\F25D";\n}\n.fa-creative-commons:before {\n  content: "\\F25E";\n}\n.fa-gg:before {\n  content: "\\F260";\n}\n.fa-gg-circle:before {\n  content: "\\F261";\n}\n.fa-tripadvisor:before {\n  content: "\\F262";\n}\n.fa-odnoklassniki:before {\n  content: "\\F263";\n}\n.fa-odnoklassniki-square:before {\n  content: "\\F264";\n}\n.fa-get-pocket:before {\n  content: "\\F265";\n}\n.fa-wikipedia-w:before {\n  content: "\\F266";\n}\n.fa-safari:before {\n  content: "\\F267";\n}\n.fa-chrome:before {\n  content: "\\F268";\n}\n.fa-firefox:before {\n  content: "\\F269";\n}\n.fa-opera:before {\n  content: "\\F26A";\n}\n.fa-internet-explorer:before {\n  content: "\\F26B";\n}\n.fa-tv:before,\n.fa-television:before {\n  content: "\\F26C";\n}\n.fa-contao:before {\n  content: "\\F26D";\n}\n.fa-500px:before {\n  content: "\\F26E";\n}\n.fa-amazon:before {\n  content: "\\F270";\n}\n.fa-calendar-plus-o:before {\n  content: "\\F271";\n}\n.fa-calendar-minus-o:before {\n  content: "\\F272";\n}\n.fa-calendar-times-o:before {\n  content: "\\F273";\n}\n.fa-calendar-check-o:before {\n  content: "\\F274";\n}\n.fa-industry:before {\n  content: "\\F275";\n}\n.fa-map-pin:before {\n  content: "\\F276";\n}\n.fa-map-signs:before {\n  content: "\\F277";\n}\n.fa-map-o:before {\n  content: "\\F278";\n}\n.fa-map:before {\n  content: "\\F279";\n}\n.fa-commenting:before {\n  content: "\\F27A";\n}\n.fa-commenting-o:before {\n  content: "\\F27B";\n}\n.fa-houzz:before {\n  content: "\\F27C";\n}\n.fa-vimeo:before {\n  content: "\\F27D";\n}\n.fa-black-tie:before {\n  content: "\\F27E";\n}\n.fa-fonticons:before {\n  content: "\\F280";\n}\n.fa-reddit-alien:before {\n  content: "\\F281";\n}\n.fa-edge:before {\n  content: "\\F282";\n}\n.fa-credit-card-alt:before {\n  content: "\\F283";\n}\n.fa-codiepie:before {\n  content: "\\F284";\n}\n.fa-modx:before {\n  content: "\\F285";\n}\n.fa-fort-awesome:before {\n  content: "\\F286";\n}\n.fa-usb:before {\n  content: "\\F287";\n}\n.fa-product-hunt:before {\n  content: "\\F288";\n}\n.fa-mixcloud:before {\n  content: "\\F289";\n}\n.fa-scribd:before {\n  content: "\\F28A";\n}\n.fa-pause-circle:before {\n  content: "\\F28B";\n}\n.fa-pause-circle-o:before {\n  content: "\\F28C";\n}\n.fa-stop-circle:before {\n  content: "\\F28D";\n}\n.fa-stop-circle-o:before {\n  content: "\\F28E";\n}\n.fa-shopping-bag:before {\n  content: "\\F290";\n}\n.fa-shopping-basket:before {\n  content: "\\F291";\n}\n.fa-hashtag:before {\n  content: "\\F292";\n}\n.fa-bluetooth:before {\n  content: "\\F293";\n}\n.fa-bluetooth-b:before {\n  content: "\\F294";\n}\n.fa-percent:before {\n  content: "\\F295";\n}\n.fa-gitlab:before {\n  content: "\\F296";\n}\n.fa-wpbeginner:before {\n  content: "\\F297";\n}\n.fa-wpforms:before {\n  content: "\\F298";\n}\n.fa-envira:before {\n  content: "\\F299";\n}\n.fa-universal-access:before {\n  content: "\\F29A";\n}\n.fa-wheelchair-alt:before {\n  content: "\\F29B";\n}\n.fa-question-circle-o:before {\n  content: "\\F29C";\n}\n.fa-blind:before {\n  content: "\\F29D";\n}\n.fa-audio-description:before {\n  content: "\\F29E";\n}\n.fa-volume-control-phone:before {\n  content: "\\F2A0";\n}\n.fa-braille:before {\n  content: "\\F2A1";\n}\n.fa-assistive-listening-systems:before {\n  content: "\\F2A2";\n}\n.fa-asl-interpreting:before,\n.fa-american-sign-language-interpreting:before {\n  content: "\\F2A3";\n}\n.fa-deafness:before,\n.fa-hard-of-hearing:before,\n.fa-deaf:before {\n  content: "\\F2A4";\n}\n.fa-glide:before {\n  content: "\\F2A5";\n}\n.fa-glide-g:before {\n  content: "\\F2A6";\n}\n.fa-signing:before,\n.fa-sign-language:before {\n  content: "\\F2A7";\n}\n.fa-low-vision:before {\n  content: "\\F2A8";\n}\n.fa-viadeo:before {\n  content: "\\F2A9";\n}\n.fa-viadeo-square:before {\n  content: "\\F2AA";\n}\n.fa-snapchat:before {\n  content: "\\F2AB";\n}\n.fa-snapchat-ghost:before {\n  content: "\\F2AC";\n}\n.fa-snapchat-square:before {\n  content: "\\F2AD";\n}\n.fa-pied-piper:before {\n  content: "\\F2AE";\n}\n.fa-first-order:before {\n  content: "\\F2B0";\n}\n.fa-yoast:before {\n  content: "\\F2B1";\n}\n.fa-themeisle:before {\n  content: "\\F2B2";\n}\n.fa-google-plus-circle:before,\n.fa-google-plus-official:before {\n  content: "\\F2B3";\n}\n.fa-fa:before,\n.fa-font-awesome:before {\n  content: "\\F2B4";\n}\n.fa-handshake-o:before {\n  content: "\\F2B5";\n}\n.fa-envelope-open:before {\n  content: "\\F2B6";\n}\n.fa-envelope-open-o:before {\n  content: "\\F2B7";\n}\n.fa-linode:before {\n  content: "\\F2B8";\n}\n.fa-address-book:before {\n  content: "\\F2B9";\n}\n.fa-address-book-o:before {\n  content: "\\F2BA";\n}\n.fa-vcard:before,\n.fa-address-card:before {\n  content: "\\F2BB";\n}\n.fa-vcard-o:before,\n.fa-address-card-o:before {\n  content: "\\F2BC";\n}\n.fa-user-circle:before {\n  content: "\\F2BD";\n}\n.fa-user-circle-o:before {\n  content: "\\F2BE";\n}\n.fa-user-o:before {\n  content: "\\F2C0";\n}\n.fa-id-badge:before {\n  content: "\\F2C1";\n}\n.fa-drivers-license:before,\n.fa-id-card:before {\n  content: "\\F2C2";\n}\n.fa-drivers-license-o:before,\n.fa-id-card-o:before {\n  content: "\\F2C3";\n}\n.fa-quora:before {\n  content: "\\F2C4";\n}\n.fa-free-code-camp:before {\n  content: "\\F2C5";\n}\n.fa-telegram:before {\n  content: "\\F2C6";\n}\n.fa-thermometer-4:before,\n.fa-thermometer:before,\n.fa-thermometer-full:before {\n  content: "\\F2C7";\n}\n.fa-thermometer-3:before,\n.fa-thermometer-three-quarters:before {\n  content: "\\F2C8";\n}\n.fa-thermometer-2:before,\n.fa-thermometer-half:before {\n  content: "\\F2C9";\n}\n.fa-thermometer-1:before,\n.fa-thermometer-quarter:before {\n  content: "\\F2CA";\n}\n.fa-thermometer-0:before,\n.fa-thermometer-empty:before {\n  content: "\\F2CB";\n}\n.fa-shower:before {\n  content: "\\F2CC";\n}\n.fa-bathtub:before,\n.fa-s15:before,\n.fa-bath:before {\n  content: "\\F2CD";\n}\n.fa-podcast:before {\n  content: "\\F2CE";\n}\n.fa-window-maximize:before {\n  content: "\\F2D0";\n}\n.fa-window-minimize:before {\n  content: "\\F2D1";\n}\n.fa-window-restore:before {\n  content: "\\F2D2";\n}\n.fa-times-rectangle:before,\n.fa-window-close:before {\n  content: "\\F2D3";\n}\n.fa-times-rectangle-o:before,\n.fa-window-close-o:before {\n  content: "\\F2D4";\n}\n.fa-bandcamp:before {\n  content: "\\F2D5";\n}\n.fa-grav:before {\n  content: "\\F2D6";\n}\n.fa-etsy:before {\n  content: "\\F2D7";\n}\n.fa-imdb:before {\n  content: "\\F2D8";\n}\n.fa-ravelry:before {\n  content: "\\F2D9";\n}\n.fa-eercast:before {\n  content: "\\F2DA";\n}\n.fa-microchip:before {\n  content: "\\F2DB";\n}\n.fa-snowflake-o:before {\n  content: "\\F2DC";\n}\n.fa-superpowers:before {\n  content: "\\F2DD";\n}\n.fa-wpexplorer:before {\n  content: "\\F2DE";\n}\n.fa-meetup:before {\n  content: "\\F2E0";\n}\n.sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  border: 0;\n}\n.sr-only-focusable:active,\n.sr-only-focusable:focus {\n  position: static;\n  width: auto;\n  height: auto;\n  margin: 0;\n  overflow: visible;\n  clip: auto;\n}\n',""])},"./node_modules/css-loader/index.js!./node_modules/less-loader/dist/cjs.js!./themes/bootstrap/less/style.less":function(e,t,n){(e.exports=n("./node_modules/css-loader/lib/css-base.js")(!1)).push([e.i,'.repository {\n  margin-bottom: 20px;\n  border: 1px solid #e7e7e7;\n}\n.repository .repository-header {\n  border-bottom: 1px solid #e7e7e7;\n  padding: 10px;\n  font-size: 14px;\n  font-weight: 700;\n}\n.repository .repository-header span.rss-icon {\n  font-size: 24px;\n}\n.repository .repository-header > .fa {\n  margin-right: 8px;\n}\n.repository .repository-body {\n  padding: 6px 12px;\n  background-color: #f8f8f8;\n  color: #777;\n}\n.repository .repository-body p {\n  margin: 0;\n}\n.tree {\n  border: 1px solid #e7e7e7;\n  border-radius: 4px;\n}\n.tree > thead > tr > th {\n  background-color: #f8f8f8;\n  color: #777;\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: bottom;\n  border-bottom: 1px solid #e7e7e7;\n}\n.tree tbody td {\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: top;\n  border-bottom: 1px solid #eeeeee;\n}\n.tree tbody td > .fa {\n  margin-right: 8px;\n}\n.tree caption + thead tr:first-child th,\n.tree caption + thead tr:first-child td,\n.tree colgroup + thead tr:first-child th,\n.tree colgroup + thead tr:first-child td,\n.tree thead:first-child tr:first-child th,\n.tree thead:first-child tr:first-child td {\n  border-top: 0;\n}\n.tree tbody tr:last-child td {\n  border-bottom: 0;\n}\n.source-view {\n  width: 100%;\n  border: 1px solid #e7e7e7;\n  display: block;\n}\n.source-view .source-header .meta {\n  font-weight: bold;\n  font-size: 125%;\n  padding-top: 5px;\n  padding-bottom: 5px;\n  padding-right: 5px;\n  width: 100%;\n  text-align: right;\n}\n.source-view a,\n.source-view a:hover {\n  text-decoration: none !important;\n}\n.source-view .source-diff {\n  max-width: 100%;\n  min-width: 100%;\n  overflow-x: auto;\n}\n.source-view .source-diff pre {\n  margin: 0;\n  padding: 0 0 0 6px;\n  border: none;\n  border-radius: 0;\n  overflow: hidden;\n}\n.source-view .source-diff pre:hover {\n  background-color: #d9edf7;\n  color: #31708f;\n}\n.source-view .source-diff table td {\n  padding: 0;\n}\n.source-view .source-diff .new {\n  background-color: #dff0d8;\n  color: #3c763d;\n}\n.source-view .source-diff .old {\n  background-color: #f2dede;\n  color: #a94442;\n}\n.source-view .source-diff .chunk {\n  background-color: #d9edf7;\n  color: #31708f;\n}\n.source-view .source-diff .lineNo {\n  background-color: #f8f8f8 !important;\n  color: #777 !important;\n  padding: 0 6px;\n  text-align: right;\n  border-right: 1px solid #e7e7e7 !important;\n  font-family: monospace;\n}\n.source-view .source-diff .lineNo a {\n  color: #777 !important;\n}\n.source-view #sourcecode {\n  width: 100%;\n}\n.source-view .image-blob {\n  padding: 10px;\n  max-width: 100%;\n}\n.blame-view td.blame-line pre {\n  overflow-x: auto;\n  white-space: pre-wrap;\n}\n.commits {\n  border: 1px solid #e7e7e7;\n}\n.commits > thead > tr > th {\n  background-color: #f8f8f8;\n  color: #777;\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: bottom;\n  border-bottom: 1px solid #e7e7e7;\n}\n.commits tbody td {\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: top;\n  border-bottom: 1px solid #eeeeee;\n  border-right: 1px solid #eeeeee;\n}\n.commits h4,\n.commits h5,\n.commits h6 {\n  margin-top: 0;\n  margin-bottom: 5px;\n}\n.commit-list {\n  list-style-type: none;\n}\n.commit-list li {\n  padding: 8px 5px 8px 5px;\n  font-size: 14px;\n  font-weight: 700;\n  border-bottom: 1px solid #f4f4f4;\n}\n.commit-list li .meta {\n  font-weight: normal;\n  font-size: 14px;\n  color: #777777;\n}\n.commit-list li:last-child {\n  border-bottom: 0;\n  margin-bottom: 25px;\n}\n.stats {\n  border: 1px solid #e7e7e7;\n  border-radius: 4px;\n}\n.stats > thead > tr > th {\n  background-color: #f8f8f8;\n  color: #777;\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: bottom;\n  border-bottom: 1px solid #e7e7e7;\n}\n.stats tbody td {\n  padding: 8px;\n  line-height: 20px;\n  text-align: left;\n  vertical-align: top;\n  border-bottom: 1px solid #eeeeee;\n}\n.stats tbody td > .fa {\n  margin-right: 8px;\n}\n.stats caption + thead tr:first-child th,\n.stats caption + thead tr:first-child td,\n.stats colgroup + thead tr:first-child th,\n.stats colgroup + thead tr:first-child td,\n.stats thead:first-child tr:first-child th,\n.stats thead:first-child tr:first-child td {\n  border-top: 0;\n}\n.stats tbody tr:last-child td {\n  border-bottom: 0;\n}\n.readme-view {\n  border: 1px solid #e7e7e7;\n}\n.md-view {\n  width: 100%;\n  margin-bottom: 1.42857143;\n}\n.md-header {\n  padding: 16px;\n  background-color: #f8f8f8;\n  color: #777;\n  line-height: 1.42857143;\n  border-bottom: 1px solid #f4f4f4;\n  font-weight: bold;\n}\n#md-content {\n  padding: 10px 16px;\n}\n.treegraph-button {\n  display: inline-block;\n  min-width: 80px;\n  text-align: right;\n  background-color: #d9edf7;\n  color: #31708f !important;\n  padding-right: 2px;\n}\n.network-view {\n  width: 100%;\n  margin-bottom: 1.42857143;\n  position: relative;\n}\n.network-view.loading-commits:before {\n  content: "";\n  display: block;\n  height: 100px;\n  width: 200px;\n  box-sizing: border-box;\n  padding: 10px;\n  font-weight: bold;\n  position: absolute;\n  left: 50%;\n  top: 50%;\n  margin-left: -100px;\n  margin-top: -50px;\n  z-index: 2000;\n}\n.network-view.loading-commits .network-header .meta:after {\n  content: " - Loading";\n}\n.network-view pre {\n  margin: 0;\n  padding: 12px;\n  border: none;\n}\n.network-view .network-graph {\n  height: 400px;\n  overflow: hidden;\n  cursor: move;\n  position: relative;\n  border: 1px solid #ddd;\n}\n.network-view .network-graph .network-commit-overlay {\n  position: absolute;\n  width: 400px;\n  top: 0;\n  left: 0;\n  padding: 8px;\n  margin: 0 0 1.42857143;\n  list-style: none;\n  background-color: #f8f8f8;\n  color: #777;\n}\n.network-view .network-graph .network-commit-overlay a,\n.network-view .network-graph .network-commit-overlay a:active {\n  background-color: #f8f8f8;\n  color: #9d9d9d;\n}\n.network-view .network-graph .network-commit-overlay img {\n  float: left;\n  margin-right: 10px;\n}\n#clone-popup {\n  display: none;\n  position: fixed;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 100%;\n  background: rgba(0, 0, 0, 0.6);\n  z-index: 9999;\n}\n#clone-popup > #clone-popup-inner-wrapper {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  margin: -60px 0 0 -300px;\n  padding: 20px;\n  border: 1px solid #ddd;\n  border-radius: 5px;\n  box-sizing: content-box;\n  width: 560px;\n  height: 80px;\n  text-align: center;\n  background-color: #f8f8f8;\n  color: #777;\n}\n#clone-popup > #clone-popup-inner-wrapper > .btn-group {\n  display: inline-block;\n  margin-bottom: 10px;\n}\n#clone-popup > #clone-popup-inner-wrapper > .form-control {\n  width: 95%;\n}\n#clone-popup > #clone-popup-inner-wrapper > .form-control {\n  display: inline-block;\n}\n#clone-popup > #clone-popup-inner-wrapper > .form-control:not(.visible) {\n  display: none;\n}\n.header {\n  margin-bottom: 20px;\n}\n.breadcrumb {\n  padding: 10px 16px;\n  border: 1px solid #e7e7e7;\n  border-radius: 4px;\n}\n.download-buttons {\n  display: inline;\n}\n.download-buttons .rss-icon {\n  padding-left: 16px;\n  font-size: 24px;\n}\n.space-right {\n  padding: 0 8px 0 0;\n}\nspan.rss-icon {\n  color: #d9534f;\n  font-size: 18px;\n}\nspan.rss-icon:hover {\n  color: #b52b27;\n}\n.p3x-gitlist-markdown-heading-container {\n  position: relative;\n}\na.p3x-gitlist-markdown-heading-link {\n  display: none;\n  font-size: inherit;\n  text-decoration: none !important;\n}\n.p3x-gitlist-markdown-image {\n  max-width: 100%;\n}\nimg.emoji {\n  height: 1em;\n  width: 1em;\n  margin: 0 .05em 0 .1em;\n  vertical-align: -0.1em;\n}\n.p3x-gitlist-header-height {\n  height: 75px;\n}\nbody {\n  font-size: 10pt !important;\n}\n',""])},"./node_modules/css-loader/lib/css-base.js":function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),i=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[n].concat(i).concat([o]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},"./node_modules/css-loader/lib/url/escape.js":function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},"./node_modules/eve-raphael/eve.js":function(e,t,n){var r,o,i,a,s,l,u,c,f,d,h,p,g,m;a="hasOwnProperty",s=/[\.\/]/,l=/\s*,\s*/,u=function(e,t){return e-t},c={n:{}},f=function(){for(var e=0,t=this.length;e<t;e++)if(void 0!==this[e])return this[e]},d=function(){for(var e=this.length;--e;)if(void 0!==this[e])return this[e]},h=Object.prototype.toString,p=String,g=Array.isArray||function(e){return e instanceof Array||"[object Array]"==h.call(e)},(m=function(e,t){var n,r=i,a=Array.prototype.slice.call(arguments,2),s=m.listeners(e),l=0,c=[],h={},p=[],g=o;p.firstDefined=f,p.lastDefined=d,o=e,i=0;for(var v=0,b=s.length;v<b;v++)"zIndex"in s[v]&&(c.push(s[v].zIndex),s[v].zIndex<0&&(h[s[v].zIndex]=s[v]));for(c.sort(u);c[l]<0;)if(n=h[c[l++]],p.push(n.apply(t,a)),i)return i=r,p;for(v=0;v<b;v++)if("zIndex"in(n=s[v]))if(n.zIndex==c[l]){if(p.push(n.apply(t,a)),i)break;do{if((n=h[c[++l]])&&p.push(n.apply(t,a)),i)break}while(n)}else h[n.zIndex]=n;else if(p.push(n.apply(t,a)),i)break;return i=r,o=g,p})._events=c,m.listeners=function(e){var t,n,r,o,i,a,l,u,f=g(e)?e:e.split(s),d=c,h=[d],p=[];for(o=0,i=f.length;o<i;o++){for(u=[],a=0,l=h.length;a<l;a++)for(n=[(d=h[a].n)[f[o]],d["*"]],r=2;r--;)(t=n[r])&&(u.push(t),p=p.concat(t.f||[]));h=u}return p},m.separator=function(e){e?(e="["+(e=p(e).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",s=new RegExp(e)):s=/[\.\/]/},m.on=function(e,t){if("function"!=typeof t)return function(){};for(var n=g(e)?g(e[0])?e:[e]:p(e).split(l),r=0,o=n.length;r<o;r++)!function(e){for(var n,r=g(e)?e:p(e).split(s),o=c,i=0,a=r.length;i<a;i++)o=(o=o.n).hasOwnProperty(r[i])&&o[r[i]]||(o[r[i]]={n:{}});for(o.f=o.f||[],i=0,a=o.f.length;i<a;i++)if(o.f[i]==t){n=!0;break}!n&&o.f.push(t)}(n[r]);return function(e){+e==+e&&(t.zIndex=+e)}},m.f=function(e){var t=[].slice.call(arguments,1);return function(){m.apply(null,[e,null].concat(t).concat([].slice.call(arguments,0)))}},m.stop=function(){i=1},m.nt=function(e){var t=g(o)?o.join("."):o;return e?new RegExp("(?:\\.|\\/|^)"+e+"(?:\\.|\\/|$)").test(t):t},m.nts=function(){return g(o)?o:o.split(s)},m.off=m.unbind=function(e,t){if(e){var n=g(e)?g(e[0])?e:[e]:p(e).split(l);if(n.length>1)for(var r=0,o=n.length;r<o;r++)m.off(n[r],t);else{n=g(e)?e:p(e).split(s);var i,u,f,d,h,v=[c];for(r=0,o=n.length;r<o;r++)for(d=0;d<v.length;d+=f.length-2){if(f=[d,1],i=v[d].n,"*"!=n[r])i[n[r]]&&f.push(i[n[r]]);else for(u in i)i[a](u)&&f.push(i[u]);v.splice.apply(v,f)}for(r=0,o=v.length;r<o;r++)for(i=v[r];i.n;){if(t){if(i.f){for(d=0,h=i.f.length;d<h;d++)if(i.f[d]==t){i.f.splice(d,1);break}!i.f.length&&delete i.f}for(u in i.n)if(i.n[a](u)&&i.n[u].f){var b=i.n[u].f;for(d=0,h=b.length;d<h;d++)if(b[d]==t){b.splice(d,1);break}!b.length&&delete i.n[u].f}}else for(u in delete i.f,i.n)i.n[a](u)&&i.n[u].f&&delete i.n[u].f;i=i.n}}}else m._events=c={n:{}}},m.once=function(e,t){var n=function(){return m.off(e,n),t.apply(this,arguments)};return m.on(e,n)},m.version="0.5.0",m.toString=function(){return"You are running Eve 0.5.0"},void 0!==e&&e.exports?e.exports=m:void 0===(r=function(){return m}.apply(t,[]))||(e.exports=r)},"./node_modules/font-awesome/fonts/fontawesome-webfont.eot":function(e,t){e.exports="webpack/assets/fontawesome-webfont.eot"},"./node_modules/font-awesome/fonts/fontawesome-webfont.eot?v=4.7.0":function(e,t){e.exports="webpack/assets/fontawesome-webfont.eot"},"./node_modules/font-awesome/fonts/fontawesome-webfont.svg?v=4.7.0":function(e,t){e.exports="webpack/assets/fontawesome-webfont.svg"},"./node_modules/font-awesome/fonts/fontawesome-webfont.ttf?v=4.7.0":function(e,t){e.exports="webpack/assets/fontawesome-webfont.ttf"},"./node_modules/font-awesome/fonts/fontawesome-webfont.woff2?v=4.7.0":function(e,t){e.exports="webpack/assets/fontawesome-webfont.woff2"},"./node_modules/font-awesome/fonts/fontawesome-webfont.woff?v=4.7.0":function(e,t){e.exports="webpack/assets/fontawesome-webfont.woff"},"./node_modules/jquery/dist/jquery.js":function(e,t,n){var r;!function(t,n){"use strict";"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){"use strict";var i=[],a=n.document,s=Object.getPrototypeOf,l=i.slice,u=i.concat,c=i.push,f=i.indexOf,d={},h=d.toString,p=d.hasOwnProperty,g=p.toString,m=g.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},y=function(e){return null!=e&&e===e.window},x={type:!0,src:!0,noModule:!0};function w(e,t,n){var r,o=(t=t||a).createElement("script");if(o.text=e,n)for(r in x)n[r]&&(o[r]=n[r]);t.head.appendChild(o).parentNode.removeChild(o)}function k(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[h.call(e)]||"object":typeof e}var C=function(e,t){return new C.fn.init(e,t)},S=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function F(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!b(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}C.fn=C.prototype={jquery:"3.3.1",constructor:C,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},C.extend=C.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||b(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(u&&r&&(C.isPlainObject(r)||(o=Array.isArray(r)))?(o?(o=!1,i=n&&Array.isArray(n)?n:[]):i=n&&C.isPlainObject(n)?n:{},a[t]=C.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},C.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==h.call(e))&&(!(t=s(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&g.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){w(e)},each:function(e,t){var n,r=0;if(F(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(S,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(F(Object(e))?C.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:f.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(F(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return u.apply([],a)},guid:1,support:v}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=i[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()});var T=function(e){var t,n,r,o,i,a,s,l,u,c,f,d,h,p,g,m,v,b,y,x="sizzle"+1*new Date,w=e.document,k=0,C=0,S=ae(),F=ae(),T=ae(),A=function(e,t){return e===t&&(f=!0),0},_={}.hasOwnProperty,j=[],L=j.pop,E=j.push,N=j.push,D=j.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},O="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",B="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+I+"*("+B+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+B+"))|)"+I+"*\\]",P=":("+B+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",$=new RegExp(I+"+","g"),R=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),W=new RegExp("^"+I+"*,"+I+"*"),H=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),q=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),U=new RegExp(P),V=new RegExp("^"+B+"$"),G={ID:new RegExp("^#("+B+")"),CLASS:new RegExp("^\\.("+B+")"),TAG:new RegExp("^("+B+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,Q=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){d()},oe=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{N.apply(j=D.call(w.childNodes),w.childNodes),j[w.childNodes.length].nodeType}catch(e){N={apply:j.length?function(e,t){E.apply(e,D.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,o){var i,s,u,c,f,p,v,b=t&&t.ownerDocument,k=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return r;if(!o&&((t?t.ownerDocument||t:w)!==h&&d(t),t=t||h,g)){if(11!==k&&(f=Z.exec(e)))if(i=f[1]){if(9===k){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(b&&(u=b.getElementById(i))&&y(t,u)&&u.id===i)return r.push(u),r}else{if(f[2])return N.apply(r,t.getElementsByTagName(e)),r;if((i=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!T[e+" "]&&(!m||!m.test(e))){if(1!==k)b=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=x),s=(p=a(e)).length;s--;)p[s]="#"+c+" "+ve(p[s]);v=p.join(","),b=J.test(e)&&ge(t.parentNode)||t}if(v)try{return N.apply(r,b.querySelectorAll(v)),r}catch(e){}finally{c===x&&t.removeAttribute("id")}}}return l(e.replace(R,"$1"),t,r,o)}function ae(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function se(e){return e[x]=!0,e}function le(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function he(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function pe(e){return se(function(t){return t=+t,se(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ie.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!==h&&9===a.nodeType&&a.documentElement?(p=(h=a).documentElement,g=!i(h),w!==h&&(o=h.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=le(function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=le(function(e){return p.appendChild(e).id=x,!h.getElementsByName||!h.getElementsByName(x).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Q,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=K.test(h.querySelectorAll))&&(le(function(e){p.appendChild(e).innerHTML="<a id='"+x+"'></a><select id='"+x+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+I+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+I+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+x+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||m.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+I+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=K.test(b=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&le(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",P)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=K.test(p.compareDocumentPosition),y=t||K.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===h||e.ownerDocument===w&&y(w,e)?-1:t===h||t.ownerDocument===w&&y(w,t)?1:c?M(c,e)-M(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e===h?-1:t===h?1:o?-1:i?1:c?M(c,e)-M(c,t):0;if(o===i)return ce(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},h):h},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==h&&d(e),t=t.replace(q,"='$1']"),n.matchesSelector&&g&&!T[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ie(t,h,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==h&&d(e),y(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==h&&d(e);var o=r.attrHandle[t.toLowerCase()],i=o&&_.call(r.attrHandle,t.toLowerCase())?o(e,t,!g):void 0;return void 0!==i?i:n.attributes||!g?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.escape=function(e){return(e+"").replace(te,ne)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],o=0,i=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(A),f){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=ie.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Q,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Q,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|"+I+")"+e+"("+I+"|$)"))&&S(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=ie.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,h,p,g=i!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(m){if(i){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[a?m.firstChild:m.lastChild],a&&b){for(y=(h=(u=(c=(f=(d=m)[x]||(d[x]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===k&&u[1])&&u[2],d=h&&m.childNodes[h];d=++h&&d&&d[g]||(y=h=0)||p.pop();)if(1===d.nodeType&&++y&&d===t){c[e]=[k,h,y];break}}else if(b&&(y=h=(u=(c=(f=(d=t)[x]||(d[x]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===k&&u[1]),!1===y)for(;(d=++h&&d&&d[g]||(y=h=0)||p.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++y||(b&&((c=(f=d[x]||(d[x]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[k,y]),d!==t)););return(y-=o)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=M(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(R,"$1"));return r[x]?se(function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return ie(e,t).length>0}}),contains:se(function(e){return e=e.replace(Q,ee),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:se(function(e){return V.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(Q,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===h.activeElement&&(!h.hasFocus||h.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:he(!1),disabled:he(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:pe(function(){return[0]}),last:pe(function(e,t){return[t-1]}),eq:pe(function(e,t,n){return[n<0?n+t:n]}),even:pe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:pe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:pe(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:pe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=de(t);function me(){}function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var u,c,f,d=[k,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(f=t[x]||(t[x]={}))[t.uniqueID]||(f[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===k&&u[1]===s)return d[2]=u[2];if(c[i]=d,d[2]=e(t,n,l))return!0}return!1}}function ye(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function we(e,t,n,r,o,i){return r&&!r[x]&&(r=we(r)),o&&!o[x]&&(o=we(o,i)),se(function(i,a,s,l){var u,c,f,d=[],h=[],p=a.length,g=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)ie(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),m=!e||!i&&t?g:xe(g,d,e,s,l),v=n?o||(i?e:p||r)?[]:a:m;if(n&&n(m,v,s,l),r)for(u=xe(v,h),r(u,[],s,l),c=u.length;c--;)(f=u[c])&&(v[h[c]]=!(m[h[c]]=f));if(i){if(o||e){if(o){for(u=[],c=v.length;c--;)(f=v[c])&&u.push(m[c]=f);o(null,v=[],u,l)}for(c=v.length;c--;)(f=v[c])&&(u=o?M(i,f):d[c])>-1&&(i[u]=!(a[u]=f))}}else v=xe(v===a?v.splice(p,v.length):v),o?o(null,a,v,l):N.apply(a,v)})}function ke(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,c=be(function(e){return e===t},s,!0),f=be(function(e){return M(t,e)>-1},s,!0),d=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])d=[be(ye(d),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[x]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return we(l>1&&ye(d),l>1&&ve(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(R,"$1"),n,l<o&&ke(e.slice(l,o)),o<i&&ke(e=e.slice(o)),o<i&&ve(e))}d.push(n)}return ye(d)}return me.prototype=r.filters=r.pseudos,r.setFilters=new me,a=ie.tokenize=function(e,t){var n,o,i,a,s,l,u,c=F[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in n&&!(o=W.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=H.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(R," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):F(e,l).slice(0)},s=ie.compile=function(e,t){var n,o=[],i=[],s=T[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=ke(t[n]))[x]?o.push(s):i.push(s);(s=T(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,c){var f,p,m,v=0,b="0",y=i&&[],x=[],w=u,C=i||o&&r.find.TAG("*",c),S=k+=null==w?1:Math.random()||.1,F=C.length;for(c&&(u=a===h||a||c);b!==F&&null!=(f=C[b]);b++){if(o&&f){for(p=0,a||f.ownerDocument===h||(d(f),s=!g);m=e[p++];)if(m(f,a||h,s)){l.push(f);break}c&&(k=S)}n&&((f=!m&&f)&&v--,i&&y.push(f))}if(v+=b,n&&b!==v){for(p=0;m=t[p++];)m(y,x,a,s);if(i){if(v>0)for(;b--;)y[b]||x[b]||(x[b]=L.call(l));x=xe(x)}N.apply(l,x),c&&!i&&x.length>0&&v+t.length>1&&ie.uniqueSort(l)}return c&&(k=S,u=w),y};return n?se(i):i}(i,o))).selector=e}return s},l=ie.select=function(e,t,n,o){var i,l,u,c,f,d="function"==typeof e&&e,h=!o&&a(e=d.selector||e);if(n=n||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(Q,ee),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(u=l[i],!r.relative[c=u.type]);)if((f=r.find[c])&&(o=f(u.matches[0].replace(Q,ee),J.test(l[0].type)&&ge(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&ve(l)))return N.apply(n,o),n;break}}return(d||s(e,h))(o,t,!g,n,!t||J.test(e)&&ge(t.parentNode)||t),n},n.sortStable=x.split("").sort(A).join("")===x,n.detectDuplicates=!!f,d(),n.sortDetached=le(function(e){return 1&e.compareDocumentPosition(h.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ue(O,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(n);C.find=T,C.expr=T.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=T.uniqueSort,C.text=T.getText,C.isXMLDoc=T.isXML,C.contains=T.contains,C.escapeSelector=T.escape;var A=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&C(e).is(n))break;r.push(e)}return r},_=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},j=C.expr.match.needsContext;function L(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function N(e,t,n){return b(t)?C.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return f.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t<r;t++)if(C.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)C.find(e,o[t],n);return r>1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(N(this,e||[],!1))},not:function(e){return this.pushStack(N(this,e||[],!0))},is:function(e){return!!N(this,"string"==typeof e&&j.test(e)?C(e):e||[],!1).length}});var D,M=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),E.test(r[1])&&C.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=a.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,D=C(a);var O=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};function B(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(C.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&C(e);if(!j.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?C.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?f.call(C(e),this[0]):f.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return A(e,"parentNode")},parentsUntil:function(e,t,n){return A(e,"parentNode",n)},next:function(e){return B(e,"nextSibling")},prev:function(e){return B(e,"previousSibling")},nextAll:function(e){return A(e,"nextSibling")},prevAll:function(e){return A(e,"previousSibling")},nextUntil:function(e,t,n){return A(e,"nextSibling",n)},prevUntil:function(e,t,n){return A(e,"previousSibling",n)},siblings:function(e){return _((e.parentNode||{}).firstChild,e)},children:function(e){return _(e.firstChild)},contents:function(e){return L(e,"iframe")?e.contentDocument:(L(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,r){var o=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=C.filter(r,o)),this.length>1&&(I[e]||C.uniqueSort(o),O.test(e)&&o.reverse()),this.pushStack(o)}});var z=/[^\x20\t\r\n\f]+/g;function P(e){return e}function $(e){throw e}function R(e,t,n,r){var o;try{e&&b(o=e.promise)?o.call(e).done(t).fail(n):e&&b(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(z)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){C.each(n,function(n,r){b(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==k(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return C.each(arguments,function(e,t){for(var n;(n=C.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?C.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(n){C.each(t,function(t,r){var o=b(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var s=this,l=arguments,u=function(){var n,u;if(!(e<i)){if((n=r.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"==typeof n||"function"==typeof n)&&n.then,b(u)?o?u.call(n,a(i,t,P,o),a(i,t,$,o)):(i++,u.call(n,a(i,t,P,o),a(i,t,$,o),a(i,t,P,t.notifyWith))):(r!==P&&(s=void 0,l=[n]),(o||t.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(n){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(n,c.stackTrace),e+1>=i&&(r!==$&&(s=void 0,l=[n]),t.rejectWith(s,l))}};e?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred(function(n){t[0][3].add(a(0,n,b(o)?o:P,n.notifyWith)),t[1][3].add(a(0,n,b(e)?e:P)),t[2][3].add(a(0,n,b(r)?r:$))}).promise()},promise:function(e){return null!=e?C.extend(e,o):o}},i={};return C.each(t,function(e,n){var a=n[2],s=n[5];o[n[1]]=a.add,s&&a.add(function(){r=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=l.call(arguments),i=C.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?l.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(R(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||b(o[n]&&o[n].then)))return i.then();for(;n--;)R(o[n],a(n),i.reject);return i.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&W.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout(function(){throw e})};var H=C.Deferred();function q(){a.removeEventListener("DOMContentLoaded",q),n.removeEventListener("load",q),C.ready()}C.fn.ready=function(e){return H.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||H.resolveWith(a,[C]))}}),C.ready.then=H.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(C.ready):(a.addEventListener("DOMContentLoaded",q),n.addEventListener("load",q));var U=function(e,t,n,r,o,i,a){var s=0,l=e.length,u=null==n;if("object"===k(n))for(s in o=!0,n)U(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,b(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(C(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):i},V=/^-ms-/,G=/-([a-z])/g;function X(e,t){return t.toUpperCase()}function Y(e){return e.replace(V,"ms-").replace(G,X)}var K=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Z(){this.expando=C.expando+Z.uid++}Z.uid=1,Z.prototype={cache:function(e){var t=e[this.expando];return t||(t={},K(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[Y(t)]=n;else for(r in t)o[Y(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Y(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(Y):(t=Y(t))in r?[t]:t.match(z)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||C.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!C.isEmptyObject(t)}};var J=new Z,Q=new Z,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}C.extend({hasData:function(e){return Q.hasData(e)||J.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),C.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=Q.get(i),1===i.nodeType&&!J.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=Y(r.slice(5)),ne(i,r,o[r]));J.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Q.set(this,e)}):U(this,function(t){var n;if(i&&void 0===t)return void 0!==(n=Q.get(i,e))?n:void 0!==(n=ne(i,e))?n:void 0;this.each(function(){Q.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,o=n.shift(),i=C._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){C.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:C.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?C.queue(this[0],e):void 0===t?this:this.each(function(){var n=C.queue(this,e,t);C._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&C.dequeue(this,e)})},dequeue:function(e){return this.each(function(){C.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=C.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=J.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&C.contains(e.ownerDocument,e)&&"none"===C.css(e,"display")},se=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=n.apply(e,r||[]),t)e.style[i]=a[i];return o};function le(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return C.css(e,t,"")},l=s(),u=n&&n[3]||(C.cssNumber[t]?"":"px"),c=(C.cssNumber[t]||"px"!==u&&+l)&&oe.exec(C.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)C.style(e,t,c+u),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),c/=i;c*=2,C.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}var ue={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,o=ue[r];return o||(t=n.body.appendChild(n.createElement(r)),o=C.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ue[r]=o,o)}function fe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=J.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ae(r)&&(o[i]=ce(r))):"none"!==n&&(o[i]="none",J.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}C.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?C(this).show():C(this).hide()})}});var de=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&L(e,t)?C.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;var be,ye,xe=/<|&#?\w+;/;function we(e,t,n,r,o){for(var i,a,s,l,u,c,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((i=e[h])||0===i)if("object"===k(i))C.merge(d,i.nodeType?[i]:i);else if(xe.test(i)){for(a=a||f.appendChild(t.createElement("div")),s=(he.exec(i)||["",""])[1].toLowerCase(),l=ge[s]||ge._default,a.innerHTML=l[1]+C.htmlPrefilter(i)+l[2],c=l[0];c--;)a=a.lastChild;C.merge(d,a.childNodes),(a=f.firstChild).textContent=""}else d.push(t.createTextNode(i));for(f.textContent="",h=0;i=d[h++];)if(r&&C.inArray(i,r)>-1)o&&o.push(i);else if(u=C.contains(i.ownerDocument,i),a=me(f.appendChild(i),"script"),u&&ve(a),n)for(c=0;i=a[c++];)pe.test(i.type||"")&&n.push(i);return f}be=a.createDocumentFragment().appendChild(a.createElement("div")),(ye=a.createElement("input")).setAttribute("type","radio"),ye.setAttribute("checked","checked"),ye.setAttribute("name","t"),be.appendChild(ye),v.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue;var ke=a.documentElement,Ce=/^key/,Se=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Fe=/^([^.]*)(?:\.(.+)|)/;function Te(){return!0}function Ae(){return!1}function _e(){try{return a.activeElement}catch(e){}}function je(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)je(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Ae;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each(function(){C.event.add(this,t,o,r,n)})}C.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,h,p,g,m=J.get(e);if(m)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&C.find.matchesSelector(ke,o),n.guid||(n.guid=C.guid++),(l=m.events)||(l=m.events={}),(a=m.handle)||(a=m.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(z)||[""]).length;u--;)h=g=(s=Fe.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=C.event.special[h]||{},h=(o?f.delegateType:f.bindType)||h,f=C.event.special[h]||{},c=C.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:p.join(".")},i),(d=l[h])||((d=l[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,p,a)||e.addEventListener&&e.addEventListener(h,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,c):d.push(c),C.event.global[h]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,h,p,g,m=J.hasData(e)&&J.get(e);if(m&&(l=m.events)){for(u=(t=(t||"").match(z)||[""]).length;u--;)if(h=g=(s=Fe.exec(t[u])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=C.event.special[h]||{},d=l[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=d.length;i--;)c=d[i],!o&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(i,1),c.selector&&d.delegateCount--,f.remove&&f.remove.call(e,c));a&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,m.handle)||C.removeEvent(e,h,m.handle),delete l[h])}else for(h in l)C.event.remove(e,h+t[u],n,r,!0);C.isEmptyObject(l)&&J.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=C.event.fix(e),l=new Array(arguments.length),u=(J.get(this,"events")||{})[s.type]||[],c=C.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=C.event.handlers.call(this,s,u),t=0;(o=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(r=((C.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,l))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?C(o,this).index(u)>-1:C.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(C.Event.prototype,e,{enumerable:!0,configurable:!0,get:b(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[C.expando]?e:new C.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==_e()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===_e()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&L(this,"input"))return this.click(),!1},_default:function(e){return L(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},C.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},C.Event=function(e,t){if(!(this instanceof C.Event))return new C.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Te:Ae,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&C.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:Ae,isPropagationStopped:Ae,isImmediatePropagationStopped:Ae,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Te,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Te,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Te,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},C.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Ce.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Se.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},C.event.addProp),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){C.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=e.relatedTarget,o=e.handleObj;return r&&(r===this||C.contains(this,r))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),C.fn.extend({on:function(e,t,n,r){return je(this,e,t,n,r)},one:function(e,t,n,r){return je(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,C(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ae),this.each(function(){C.event.remove(this,e,n,t)})}});var Le=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ee=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,De=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Me(e,t){return L(e,"table")&&L(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Oe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,r,o,i,a,s,l,u;if(1===t.nodeType){if(J.hasData(e)&&(i=J.access(e),a=J.set(t,i),u=i.events))for(o in delete a.handle,a.events={},u)for(n=0,r=u[o].length;n<r;n++)C.event.add(t,o,u[o][n]);Q.hasData(e)&&(s=Q.access(e),l=C.extend({},s),Q.set(t,l))}}function ze(e,t,n,r){t=u.apply([],t);var o,i,a,s,l,c,f=0,d=e.length,h=d-1,p=t[0],g=b(p);if(g||d>1&&"string"==typeof p&&!v.checkClone&&Ne.test(p))return e.each(function(o){var i=e.eq(o);g&&(t[0]=p.call(this,o,i.html())),ze(i,t,n,r)});if(d&&(i=(o=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=C.map(me(o,"script"),Oe)).length;f<d;f++)l=o,f!==h&&(l=C.clone(l,!0,!0),s&&C.merge(a,me(l,"script"))),n.call(e[f],l,f);if(s)for(c=a[a.length-1].ownerDocument,C.map(a,Ie),f=0;f<s;f++)l=a[f],pe.test(l.type||"")&&!J.access(l,"globalEval")&&C.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&C._evalUrl(l.src):w(l.textContent.replace(De,""),c,l))}return e}function Pe(e,t,n){for(var r,o=t?C.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||C.cleanData(me(r)),r.parentNode&&(n&&C.contains(r.ownerDocument,r)&&ve(me(r,"script")),r.parentNode.removeChild(r));return e}C.extend({htmlPrefilter:function(e){return e.replace(Le,"<$1></$2>")},clone:function(e,t,n){var r,o,i,a,s,l,u,c=e.cloneNode(!0),f=C.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=me(c),r=0,o=(i=me(e)).length;r<o;r++)s=i[r],l=a[r],void 0,"input"===(u=l.nodeName.toLowerCase())&&de.test(s.type)?l.checked=s.checked:"input"!==u&&"textarea"!==u||(l.defaultValue=s.defaultValue);if(t)if(n)for(i=i||me(e),a=a||me(c),r=0,o=i.length;r<o;r++)Be(i[r],a[r]);else Be(e,c);return(a=me(c,"script")).length>0&&ve(a,!f&&me(e,"script")),c},cleanData:function(e){for(var t,n,r,o=C.event.special,i=0;void 0!==(n=e[i]);i++)if(K(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)o[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),C.fn.extend({detach:function(e){return Pe(this,e,!0)},remove:function(e){return Pe(this,e)},text:function(e){return U(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ze(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)})},prepend:function(){return ze(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ze(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(me(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return U(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ee.test(e)&&!ge[(he.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(C.cleanData(me(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return ze(this,arguments,function(t){var n=this.parentNode;C.inArray(this,e)<0&&(C.cleanData(me(this)),n&&n.replaceChild(t,this))},e)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){C.fn[e]=function(e){for(var n,r=[],o=C(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),C(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}});var $e=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Re=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},We=new RegExp(ie.join("|"),"i");function He(e,t,n){var r,o,i,a,s=e.style;return(n=n||Re(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||C.contains(e.ownerDocument,e)||(a=C.style(e,t)),!v.pixelBoxStyles()&&$e.test(a)&&We.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i)),void 0!==a?a+"":a}function qe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ke.appendChild(u).appendChild(c);var e=n.getComputedStyle(c);r="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",s=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=36===c.offsetWidth||"absolute",ke.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var r,o,i,s,l,u=a.createElement("div"),c=a.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===c.style.backgroundClip,C.extend(v,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),r},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i}}))}();var Ue=/^(none|table(?!-c[ea]).+)/,Ve=/^--/,Ge={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"},Ye=["Webkit","Moz","ms"],Ke=a.createElement("div").style;function Ze(e){var t=C.cssProps[e];return t||(t=C.cssProps[e]=function(e){if(e in Ke)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Ye.length;n--;)if((e=Ye[n]+t)in Ke)return e}(e)||e),t}function Je(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Qe(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=C.css(e,n+ie[a],!0,o)),r?("content"===n&&(l-=C.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(l-=C.css(e,"border"+ie[a]+"Width",!0,o))):(l+=C.css(e,"padding"+ie[a],!0,o),"padding"!==n?l+=C.css(e,"border"+ie[a]+"Width",!0,o):s+=C.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))),l}function et(e,t,n){var r=Re(e),o=He(e,t,r),i="border-box"===C.css(e,"boxSizing",!1,r),a=i;if($e.test(o)){if(!n)return o;o="auto"}return a=a&&(v.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===C.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(o=parseFloat(o)||0)+Qe(e,t,n||(i?"border":"content"),a,r,o)+"px"}function tt(e,t,n,r,o){return new tt.prototype.init(e,t,n,r,o)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=He(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=Y(t),l=Ve.test(t),u=e.style;if(l||(t=Ze(s)),a=C.cssHooks[t]||C.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=le(e,t,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(C.cssNumber[s]?"":"px")),v.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=Y(t);return Ve.test(t)||(t=Ze(s)),(a=C.cssHooks[t]||C.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=He(e,t,r)),"normal"===o&&t in Xe&&(o=Xe[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Ue.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ge,function(){return et(e,t,r)})},set:function(e,n,r){var o,i=Re(e),a="border-box"===C.css(e,"boxSizing",!1,i),s=r&&Qe(e,t,r,a,i);return a&&v.scrollboxSize()===i.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-Qe(e,t,"border",!1,i)-.5)),s&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),Je(0,n,s)}}}),C.cssHooks.marginLeft=qe(v.reliableMarginLeft,function(e,t){if(t)return(parseFloat(He(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(C.cssHooks[e+t].set=Je)}),C.fn.extend({css:function(e,t){return U(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Re(e),o=t.length;a<o;a++)i[t[a]]=C.css(e,t[a],!1,r);return i}return void 0!==n?C.style(e,t,n):C.css(e,t)},e,t,arguments.length>1)}}),C.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(C.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=tt.prototype.init,C.fx.step={};var nt,rt,ot=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function at(){rt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,C.fx.interval),C.fx.tick())}function st(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function lt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ut(e,t,n){for(var r,o=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function ct(e,t,n){var r,o,i=0,a=ct.prefilters.length,s=C.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=nt||st(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:C.extend({},t),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=C.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=Y(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=C.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,u.opts.specialEasing);i<a;i++)if(r=ct.prefilters[i].call(u,e,c,u.opts))return b(r.stop)&&(C._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return C.map(c,ut,u),b(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),C.fx.timer(C.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}C.Animation=C.extend(ct,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return le(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){b(e)?(t=e,e=["*"]):e=e.match(z);for(var n,r=0,o=e.length;r<o;r++)n=e[r],ct.tweeners[n]=ct.tweeners[n]||[],ct.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,u,c,f="width"in t||"height"in t,d=this,h={},p=e.style,g=e.nodeType&&ae(e),m=J.get(e,"fxshow");for(r in n.queue||(null==(a=C._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,C.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[r],ot.test(o)){if(delete t[r],i=i||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!m||void 0===m[r])continue;g=!0}h[r]=m&&m[r]||C.style(e,r)}if((l=!C.isEmptyObject(t))||!C.isEmptyObject(h))for(r in f&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(u=m&&m.display)&&(u=J.get(e,"display")),"none"===(c=C.css(e,"display"))&&(u?c=u:(fe([e],!0),u=e.style.display||u,c=C.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===C.css(e,"float")&&(l||(d.done(function(){p.display=u}),null==u&&(c=p.display,u="none"===c?"":c)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",d.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),l=!1,h)l||(m?"hidden"in m&&(g=m.hidden):m=J.access(e,"fxshow",{display:u}),i&&(m.hidden=!g),g&&fe([e],!0),d.done(function(){for(r in g||fe([e]),J.remove(e,"fxshow"),h)C.style(e,r,h[r])})),l=ut(g?m[r]:0,r,d),r in m||(m[r]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?ct.prefilters.unshift(e):ct.prefilters.push(e)}}),C.speed=function(e,t,n){var r=e&&"object"==typeof e?C.extend({},e):{complete:n||!n&&t||b(e)&&e,duration:e,easing:n&&t||t&&!b(t)&&t};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){b(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=C.isEmptyObject(e),i=C.speed(t,n,r),a=function(){var t=ct(this,C.extend({},e),i);(o||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=C.timers,a=J.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&it.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||C.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=C.timers,a=r?r.length:0;for(n.finish=!0,C.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),C.each(["toggle","show","hide"],function(e,t){var n=C.fn[t];C.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(lt(t,!0),e,r,o)}}),C.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){C.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),C.timers=[],C.fx.tick=function(){var e,t=0,n=C.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||C.fx.stop(),nt=void 0},C.fx.timer=function(e){C.timers.push(e),C.fx.start()},C.fx.interval=13,C.fx.start=function(){rt||(rt=!0,at())},C.fx.stop=function(){rt=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(e,t){return e=C.fx&&C.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e=a.createElement("input"),t=a.createElement("select").appendChild(a.createElement("option"));e.type="checkbox",v.checkOn=""!==e.value,v.optSelected=t.selected,(e=a.createElement("input")).value="t",e.type="radio",v.radioValue="t"===e.value}();var ft,dt=C.expr.attrHandle;C.fn.extend({attr:function(e,t){return U(this,C.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?C.prop(e,t,n):(1===i&&C.isXMLDoc(e)||(o=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?ft:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!v.radioValue&&"radio"===t&&L(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(z);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ft={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=dt[t]||C.find.attr;dt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=dt[a],dt[a]=o,o=null!=n(e,t,r)?a:null,dt[a]=i),o}});var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function gt(e){return(e.match(z)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function vt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(z)||[]}C.fn.extend({prop:function(e,t){return U(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&C.isXMLDoc(e)||(t=C.propFix[t]||t,o=C.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),v.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(b(e))return this.each(function(t){C(this).addClass(e.call(this,t,mt(this)))});if((t=vt(e)).length)for(;n=this[l++];)if(o=mt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(b(e))return this.each(function(t){C(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=vt(e)).length)for(;n=this[l++];)if(o=mt(n),r=1===n.nodeType&&" "+gt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(s=gt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,o,i,a;if(r)for(o=0,i=C(this),a=vt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+gt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;C.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=b(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,C(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=C.map(o,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=C.valHooks[o.type]||C.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(bt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:gt(C.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!L(n.parentNode,"optgroup"))){if(t=C(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=C.makeArray(t),a=o.length;a--;)((r=o[a]).selected=C.inArray(C.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},v.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),v.focusin="onfocusin"in n;var yt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,r,o){var i,s,l,u,c,f,d,h,g=[r||a],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(s=h=l=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!yt.test(m+C.event.triggered)&&(m.indexOf(".")>-1&&(m=(v=m.split(".")).shift(),v.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[C.expando]?e:new C.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:C.makeArray(t,[e]),d=C.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(r,t))){if(!o&&!d.noBubble&&!y(r)){for(u=d.delegateType||m,yt.test(u+m)||(s=s.parentNode);s;s=s.parentNode)g.push(s),l=s;l===(r.ownerDocument||a)&&g.push(l.defaultView||l.parentWindow||n)}for(i=0;(s=g[i++])&&!e.isPropagationStopped();)h=s,e.type=i>1?u:d.bindType||m,(f=(J.get(s,"events")||{})[e.type]&&J.get(s,"handle"))&&f.apply(s,t),(f=c&&s[c])&&f.apply&&K(s)&&(e.result=f.apply(s,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(g.pop(),t)||!K(r)||c&&b(r[m])&&!y(r)&&((l=r[c])&&(r[c]=null),C.event.triggered=m,e.isPropagationStopped()&&h.addEventListener(m,xt),r[m](),e.isPropagationStopped()&&h.removeEventListener(m,xt),C.event.triggered=void 0,l&&(r[c]=l)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),v.focusin||C.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=J.access(r,t);o||r.addEventListener(e,n,!0),J.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=J.access(r,t)-1;o?J.access(r,t,o):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var wt=n.location,kt=Date.now(),Ct=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var St=/\[\]$/,Ft=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function _t(e,t,n,r){var o;if(Array.isArray(t))C.each(t,function(t,o){n||St.test(e)?r(e,o):_t(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==k(t))r(e,t);else for(o in t)_t(e+"["+o+"]",t[o],n,r)}C.param=function(e,t){var n,r=[],o=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){o(this.name,this.value)});else for(n in e)_t(n,e[n],t,o);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&At.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!de.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(Ft,"\r\n")}}):{name:t.name,value:n.replace(Ft,"\r\n")}}).get()}});var jt=/%20/g,Lt=/#.*$/,Et=/([?&])_=[^&]*/,Nt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Dt=/^(?:GET|HEAD)$/,Mt=/^\/\//,Ot={},It={},Bt="*/".concat("*"),zt=a.createElement("a");function Pt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(z)||[];if(b(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function $t(e,t,n,r){var o={},i=e===It;function a(s){var l;return o[s]=!0,C.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)}),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Rt(e,t){var n,r,o=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}zt.href=wt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Rt(Rt(e,C.ajaxSettings),t):Rt(C.ajaxSettings,e)},ajaxPrefilter:Pt(Ot),ajaxTransport:Pt(It),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,s,l,u,c,f,d,h,p=C.ajaxSetup({},t),g=p.context||p,m=p.context&&(g.nodeType||g.jquery)?C(g):C.event,v=C.Deferred(),b=C.Callbacks("once memory"),y=p.statusCode||{},x={},w={},k="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Nt.exec(i);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),F(0,t),this}};if(v.promise(S),p.url=((e||p.url||wt.href)+"").replace(Mt,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(z)||[""],null==p.crossDomain){u=a.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=zt.protocol+"//"+zt.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=C.param(p.data,p.traditional)),$t(Ot,p,t,S),c)return S;for(d in(f=C.event&&p.global)&&0==C.active++&&C.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Dt.test(p.type),o=p.url.replace(Lt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(jt,"+")):(h=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Ct.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Et,"$1"),h=(Ct.test(o)?"&":"?")+"_="+kt+++h),p.url=o+h),p.ifModified&&(C.lastModified[o]&&S.setRequestHeader("If-Modified-Since",C.lastModified[o]),C.etag[o]&&S.setRequestHeader("If-None-Match",C.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&S.setRequestHeader("Content-Type",p.contentType),S.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)S.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(g,S,p)||c))return S.abort();if(k="abort",b.add(p.complete),S.done(p.success),S.fail(p.error),r=$t(It,p,t,S)){if(S.readyState=1,f&&m.trigger("ajaxSend",[S,p]),c)return S;p.async&&p.timeout>0&&(l=n.setTimeout(function(){S.abort("timeout")},p.timeout));try{c=!1,r.send(x,F)}catch(e){if(c)throw e;F(-1,e)}}else F(-1,"No Transport");function F(e,t,a,s){var u,d,h,x,w,k=t;c||(c=!0,l&&n.clearTimeout(l),r=void 0,i=s||"",S.readyState=e>0?4:0,u=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,S,a)),x=function(e,t,n,r){var o,i,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=u[l+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,x,S,u),u?(p.ifModified&&((w=S.getResponseHeader("Last-Modified"))&&(C.lastModified[o]=w),(w=S.getResponseHeader("etag"))&&(C.etag[o]=w)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=x.state,d=x.data,u=!(h=x.error))):(h=k,!e&&k||(k="error",e<0&&(e=0))),S.status=e,S.statusText=(t||k)+"",u?v.resolveWith(g,[d,k,S]):v.rejectWith(g,[S,k,h]),S.statusCode(y),y=void 0,f&&m.trigger(u?"ajaxSuccess":"ajaxError",[S,p,u?d:h]),b.fireWith(g,[S,k]),f&&(m.trigger("ajaxComplete",[S,p]),--C.active||C.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,r,o){return b(n)&&(o=o||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:o,data:n,success:r},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return b(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Ht=C.ajaxSettings.xhr();v.cors=!!Ht&&"withCredentials"in Ht,v.ajax=Ht=!!Ht,C.ajaxTransport(function(e){var t,r;if(v.cors||Ht&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),r=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,o){t=C("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),a.head.appendChild(t[0])},abort:function(){n&&n()}}});var qt,Ut=[],Vt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||C.expando+"_"+kt++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Vt,"$1"+o):!1!==e.jsonp&&(e.url+=(Ct.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||C.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?C(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Ut.push(o)),a&&b(i)&&i(a[0]),a=i=void 0}),"script"}),v.createHTMLDocument=((qt=a.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===qt.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(v.createHTMLDocument?((r=(t=a.implementation.createHTMLDocument("")).createElement("base")).href=a.location.href,t.head.appendChild(r)):t=a),o=E.exec(e),i=!n&&[],o?[t.createElement(o[1])]:(o=we([e],t,i),i&&i.length&&C(i).remove(),C.merge([],o.childNodes)));var r,o,i},C.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=gt(e.slice(s)),e=e.slice(0,s)),b(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&C.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?C("<div>").append(C.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){C.fn[t]=function(e){return this.on(t,e)}}),C.expr.pseudos.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,u=C.css(e,"position"),c=C(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),i=C.css(e,"top"),l=C.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+l).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),b(t)&&(t=t.call(e,n,C.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):c.css(f)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===C.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),o.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-C.css(r,"marginTop",!0),left:t.left-o.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ke})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;C.fn[e]=function(r){return U(this,function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o},e,r,arguments.length)}}),C.each(["top","left"],function(e,t){C.cssHooks[t]=qe(v.pixelPosition,function(e,n){if(n)return n=He(e,t),$e.test(n)?C(e).position()[t]+"px":n})}),C.each({Height:"height",Width:"width"},function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){C.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return U(this,function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?C.css(t,n,s):C.style(t,n,o,s)},t,a?o:void 0,a)}})}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){C.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),C.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),C.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),b(e))return r=l.call(arguments,2),(o=function(){return e.apply(t||this,r.concat(l.call(arguments)))}).guid=e.guid=e.guid||C.guid++,o},C.holdReady=function(e){e?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=L,C.isFunction=b,C.isWindow=y,C.camelCase=Y,C.type=k,C.now=Date.now,C.isNumeric=function(e){var t=C.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},void 0===(r=function(){return C}.apply(t,[]))||(e.exports=r);var Gt=n.jQuery,Xt=n.$;return C.noConflict=function(e){return n.$===C&&(n.$=Xt),e&&n.jQuery===C&&(n.jQuery=Gt),C},o||(n.jQuery=n.$=C),C})},"./node_modules/js-htmlencode/src/htmlencode.js":function(e,t,n){(function(t,r){var o;!function(){"use strict";var i="object"==typeof window?window:{};!i.JS_HTMLENCODE_NO_NODE_JS&&"object"==typeof t&&t.versions&&t.versions.node&&(i=r);var a=!i.JS_HTMLENCODE_NO_COMMON_JS&&"object"==typeof e&&e.exports,s=n("./node_modules/webpack/buildin/amd-options.js"),l={"&nbsp;":" ","&iexcl;":"¡","&cent;":"¢","&pound;":"£","&curren;":"¤","&yen;":"¥","&brvbar;":"¦","&sect;":"§","&uml;":"¨","&copy;":"©","&ordf;":"ª","&laquo;":"«","&not;":"¬","&shy;":"­","&reg;":"®","&macr;":"¯","&deg;":"°","&plusmn;":"±","&sup2;":"²","&sup3;":"³","&acute;":"´","&micro;":"µ","&para;":"¶","&middot;":"·","&cedil;":"¸","&sup1;":"¹","&ordm;":"º","&raquo;":"»","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&iquest;":"¿","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&times;":"×","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&divide;":"÷","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&quot;":'"',"&amp;":"&","&lt;":"<","&gt;":">","&apos;":"'","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&circ;":"ˆ","&tilde;":"˜","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&zwnj;":"‌","&zwj;":"‍","&lrm;":"‎","&rlm;":"‏","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&permil;":"‰","&lsaquo;":"‹","&rsaquo;":"›","&euro;":"€","&fnof;":"ƒ","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigmaf;":"ς","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&thetasym;":"ϑ","&upsih;":"ϒ","&piv;":"ϖ","&bull;":"•","&hellip;":"…","&prime;":"′","&Prime;":"″","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&trade;":"™","&alefsym;":"ℵ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&forall;":"∀","&part;":"∂","&exist;":"∃","&empty;":"∅","&nabla;":"∇","&isin;":"∈","&notin;":"∉","&ni;":"∋","&prod;":"∏","&sum;":"∑","&minus;":"−","&lowast;":"∗","&radic;":"√","&prop;":"∝","&infin;":"∞","&ang;":"∠","&and;":"∧","&or;":"∨","&cap;":"∩","&cup;":"∪","&int;":"∫","&there4;":"∴","&sim;":"∼","&cong;":"≅","&asymp;":"≈","&ne;":"≠","&equiv;":"≡","&le;":"≤","&ge;":"≥","&sub;":"⊂","&sup;":"⊃","&nsub;":"⊄","&sube;":"⊆","&supe;":"⊇","&oplus;":"⊕","&otimes;":"⊗","&perp;":"⊥","&sdot;":"⋅","&lceil;":"⌈","&rceil;":"⌉","&lfloor;":"⌊","&rfloor;":"⌋","&lang;":"⟨","&rang;":"⟩","&loz;":"◊","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦"},u=function(e){if("#"!==e.charAt(1))return l[e]||e;var t,n=e.charAt(2);return"x"===n||"X"===n?(n=e.substring(3,e.length-1),t=parseInt(n,16)):(n=e.substring(2,e.length-1),t=parseInt(n)),isNaN(t)?e:String.fromCharCode(t)},c=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},f=function(e){return e.replace(/&#?\w+;/g,u)},d=c;c.htmlEncode=c,c.htmlDecode=f,a?e.exports=d:(i.htmlEncode=c,i.htmlDecode=f,s&&(void 0===(o=function(){return d}.call(d,n,d,e))||(e.exports=o)))}()}).call(this,n("./node_modules/process/browser.js"),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/lodash/_Symbol.js":function(e,t,n){var r=n("./node_modules/lodash/_root.js").Symbol;e.exports=r},"./node_modules/lodash/_arrayMap.js":function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},"./node_modules/lodash/_arrayReduce.js":function(e,t){e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}},"./node_modules/lodash/_asciiWords.js":function(e,t){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(n)||[]}},"./node_modules/lodash/_baseGetTag.js":function(e,t,n){var r=n("./node_modules/lodash/_Symbol.js"),o=n("./node_modules/lodash/_getRawTag.js"),i=n("./node_modules/lodash/_objectToString.js"),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}},"./node_modules/lodash/_basePropertyOf.js":function(e,t){e.exports=function(e){return function(t){return null==e?void 0:e[t]}}},"./node_modules/lodash/_baseToString.js":function(e,t,n){var r=n("./node_modules/lodash/_Symbol.js"),o=n("./node_modules/lodash/_arrayMap.js"),i=n("./node_modules/lodash/isArray.js"),a=n("./node_modules/lodash/isSymbol.js"),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},"./node_modules/lodash/_createCompounder.js":function(e,t,n){var r=n("./node_modules/lodash/_arrayReduce.js"),o=n("./node_modules/lodash/deburr.js"),i=n("./node_modules/lodash/words.js"),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},"./node_modules/lodash/_deburrLetter.js":function(e,t,n){var r=n("./node_modules/lodash/_basePropertyOf.js")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=r},"./node_modules/lodash/_freeGlobal.js":function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/lodash/_getRawTag.js":function(e,t,n){var r=n("./node_modules/lodash/_Symbol.js"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},"./node_modules/lodash/_hasUnicodeWord.js":function(e,t){var n=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return n.test(e)}},"./node_modules/lodash/_objectToString.js":function(e,t){var n=Object.prototype.toString;e.exports=function(e){return n.call(e)}},"./node_modules/lodash/_root.js":function(e,t,n){var r=n("./node_modules/lodash/_freeGlobal.js"),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},"./node_modules/lodash/_unicodeWords.js":function(e,t){var n="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="["+n+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+n+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",l="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",c="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+s+")",d="(?:"+c+"|"+s+")",h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",p="[\\ufe0e\\ufe0f]?"+h+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",l,u].join("|")+")[\\ufe0e\\ufe0f]?"+h+")*"),g="(?:"+[i,l,u].join("|")+")"+p,m=RegExp([c+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[r,c,"$"].join("|")+")",d+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[r,c+f,"$"].join("|")+")",c+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",c+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,g].join("|"),"g");e.exports=function(e){return e.match(m)||[]}},"./node_modules/lodash/deburr.js":function(e,t,n){var r=n("./node_modules/lodash/_deburrLetter.js"),o=n("./node_modules/lodash/toString.js"),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},"./node_modules/lodash/isArray.js":function(e,t){var n=Array.isArray;e.exports=n},"./node_modules/lodash/isObjectLike.js":function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},"./node_modules/lodash/isSymbol.js":function(e,t,n){var r=n("./node_modules/lodash/_baseGetTag.js"),o=n("./node_modules/lodash/isObjectLike.js"),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||o(e)&&r(e)==i}},"./node_modules/lodash/kebabCase.js":function(e,t,n){var r=n("./node_modules/lodash/_createCompounder.js")(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});e.exports=r},"./node_modules/lodash/toString.js":function(e,t,n){var r=n("./node_modules/lodash/_baseToString.js");e.exports=function(e){return null==e?"":r(e)}},"./node_modules/lodash/words.js":function(e,t,n){var r=n("./node_modules/lodash/_asciiWords.js"),o=n("./node_modules/lodash/_hasUnicodeWord.js"),i=n("./node_modules/lodash/toString.js"),a=n("./node_modules/lodash/_unicodeWords.js");e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},"./node_modules/marked/lib/marked.js":function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:g,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:g,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:g,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links={},this.options=e||v.defaults,this.rules=n.normal,this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,n.def=f(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=f(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=f(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",n.html=f(n.html).replace("comment",/<!--[\s\S]*?-->/).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/<tag(?:"[^"]*"|'[^']*'|\s[^'"\/>\s]*)*?\/?>/).replace(/tag/g,n._tag).getRegex(),n.paragraph=f(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag","<"+n._tag).getRegex(),n.blockquote=f(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=f(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g,"    ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,o,i,a,s,l,u,c,f,d,h;for(e=e.replace(/^ +$/gm,"");e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),l={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c<l.align.length;c++)/^ *-+: *$/.test(l.align[c])?l.align[c]="right":/^ *:-+: *$/.test(l.align[c])?l.align[c]="center":/^ *:-+ *$/.test(l.align[c])?l.align[c]="left":l.align[c]=null;for(c=0;c<l.cells.length;c++)l.cells[c]=l.cells[c].split(/ *\| */);this.tokens.push(l)}else if(i=this.rules.hr.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"hr"});else if(i=this.rules.blockquote.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"blockquote_start"}),i=i[0].replace(/^ *> ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),h=(a=i[2]).length>1,this.tokens.push({type:"list_start",ordered:h,start:h?+a:""}),r=!1,d=(i=i[0].match(this.rules.item)).length,c=0;c<d;c++)u=(l=i[c]).length,~(l=l.replace(/^ *([*+-]|\d+\.) +/,"")).indexOf("\n ")&&(u-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+u+"}","gm"),"")),this.options.smartLists&&c!==d-1&&(a===(s=n.bullet.exec(i[c+1])[0])||a.length>1&&s.length>1||(e=i.slice(c+1).join("\n")+e,c=d-1)),o=r||/\n\n(?!\s*$)/.test(l),c!==d-1&&(r="\n"===l.charAt(l.length-1),o||(o=r)),this.tokens.push({type:o?"loose_item_start":"list_item_start"}),this.token(l,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),f=i[1].toLowerCase(),this.tokens.links[f]||(this.tokens.links[f]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),l={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c<l.align.length;c++)/^ *-+: *$/.test(l.align[c])?l.align[c]="right":/^ *:-+: *$/.test(l.align[c])?l.align[c]="center":/^ *:-+ *$/.test(l.align[c])?l.align[c]="left":l.align[c]=null;for(c=0;c<l.cells.length;c++)l.cells[c]=l.cells[c].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l)}else if(i=this.rules.lheading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:"="===i[2]?1:2,text:i[1]});else if(t&&(i=this.rules.paragraph.exec(e)))e=e.substring(i[0].length),this.tokens.push({type:"paragraph",text:"\n"===i[1].charAt(i[1].length-1)?i[1].slice(0,-1):i[1]});else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"text",text:i[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var o={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:g,tag:/^<!--[\s\S]*?-->|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:g,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/};function i(e,t){if(this.options=t||v.defaults,this.links=e,this.rules=o.normal,this.renderer=this.options.renderer||new a,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=o.breaks:this.rules=o.gfm:this.options.pedantic&&(this.rules=o.pedantic)}function a(e){this.options=e||{}}function s(){}function l(e){this.tokens=[],this.token=null,this.options=e||v.defaults,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options}function u(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function c(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function f(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t){return h[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?h[" "+e]=e+"/":h[" "+e]=e.replace(/[^/]*$/,"")),e=h[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,o.autolink=f(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,o._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,o.link=f(o.link).replace("inside",o._inside).replace("href",o._href).getRegex(),o.reflink=f(o.reflink).replace("inside",o._inside).getRegex(),o.normal=m({},o),o.pedantic=m({},o.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),o.gfm=m({},o.normal,{escape:f(o.escape).replace("])","~|])").getRegex(),url:f(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",o._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:f(o.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),o.breaks=m({},o.gfm,{br:f(o.br).replace("{2,}","*").getRegex(),text:f(o.gfm.text).replace("{2,}","*").getRegex()}),i.rules=o,i.output=function(e,t,n){return new i(t,n).output(e)},i.prototype.output=function(e){for(var t,n,r,o,i="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),i+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),r="@"===o[2]?"mailto:"+(n=u(this.mangle(o[1]))):n=u(o[1]),i+=this.renderer.link(r,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(o[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(o[0])&&(this.inLink=!1),e=e.substring(o[0].length),i+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):u(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,i+=this.outputLink(o,{href:o[2],title:o[3]}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){i+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,i+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),i+=this.renderer.strong(this.output(o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),i+=this.renderer.em(this.output(o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),i+=this.renderer.codespan(u(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),i+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),i+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),i+=this.renderer.text(u(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else o[0]=this.rules._backpedal.exec(o[0])[0],e=e.substring(o[0].length),"@"===o[2]?r="mailto:"+(n=u(o[0])):(n=u(o[0]),r="www."===o[1]?"http://"+n:n),i+=this.renderer.link(r,null,n);return i},i.prototype.outputLink=function(e,t){var n=u(t.href),r=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,u(e[1]))},i.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},i.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,o=0;o<r;o++)t=e.charCodeAt(o),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},a.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+u(t,!0)+'">'+(n?e:u(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:u(e,!0))+"\n</code></pre>"},a.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},a.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},a.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},a.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},a.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},a.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},a.prototype.strong=function(e){return"<strong>"+e+"</strong>"},a.prototype.em=function(e){return"<em>"+e+"</em>"},a.prototype.codespan=function(e){return"<code>"+e+"</code>"},a.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},a.prototype.del=function(e){return"<del>"+e+"</del>"},a.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(c(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!p.test(e)&&(e=d(this.options.baseUrl,e));var o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>"},a.prototype.image=function(e,t,n){this.options.baseUrl&&!p.test(e)&&(e=d(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},l.parse=function(e,t){return new l(t).parse(e)},l.prototype.parse=function(e){this.inline=new i(e.links,this.options),this.inlineText=new i(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},l.prototype.next=function(){return this.token=this.tokens.pop()},l.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},l.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},l.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,c(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,o="",i="";for(n="",e=0;e<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(o+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});i+=this.renderer.tablerow(n)}return this.renderer.table(o,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,a,s);case"list_item_start":for(i="";"list_item_end"!==this.next().type;)i+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(i);case"loose_item_start":for(i="";"list_item_end"!==this.next().type;)i+=this.tok();return this.renderer.listitem(i);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var h={},p=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function g(){}function m(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function v(e,t,n){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(n||"function"==typeof t){n||(n=t,t=null);var o,i,a=(t=m({},v.defaults,t||{})).highlight,s=0;try{o=r.lex(e,t)}catch(e){return n(e)}i=o.length;var c=function(e){if(e)return t.highlight=a,n(e);var r;try{r=l.parse(o,t)}catch(t){e=t}return t.highlight=a,e?n(e):n(null,r)};if(!a||a.length<3)return c();if(delete t.highlight,!i)return c();for(;s<o.length;s++)!function(e){"code"!==e.type?--i||c():a(e.text,e.lang,function(t,n){return t?c(t):null==n||n===e.text?--i||c():(e.text=n,e.escaped=!0,void(--i||c()))})}(o[s])}else try{return t&&(t=m({},v.defaults,t)),l.parse(r.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||v.defaults).silent)return"<p>An error occurred:</p><pre>"+u(e.message+"",!0)+"</pre>";throw e}}g.exec=g,v.options=v.setOptions=function(e){return m(v.defaults,e),v},v.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},v.Parser=l,v.parser=l.parse,v.Renderer=a,v.TextRenderer=s,v.Lexer=r,v.lexer=r.lex,v.InlineLexer=i,v.inlineLexer=i.output,v.parse=v,e.exports=v}(this||"undefined"!=typeof window&&window)}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/php-date/dist/index.js":function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o={en:{days:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},de:{days:["Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag","Sonntag"],daysShort:["Mo","Di","Mi","Do","Fr","Sa","So"],months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}},i=function(e){var t=e.formatterString,n=e.utc,i=void 0!==n&&n,a=e.date,s=void 0===a?new Date:a,l=e.locale,u=void 0===l?"en":l;if("object"!==r(o[u]))throw'No language data for "'+u+'"';var c=o[u],f=function(e,t){return e["get"+(i?"UTC":"")+t]()},d=function(e,t){return(+e%(t=+t)+t)%t},h=f(s,"Date"),p=f(s,"Day"),g=d(p-1,7),m=f(s,"Month")+1,v=f(s,"FullYear"),b=f(s,"Hours"),y=f(s,"Minutes"),x=f(s,"Seconds"),w=s.getTime(),k=s.getTimezoneOffset(),C=function(e){return 1===String(e).length?"0"+e:e},S=function(){var e=new Date(+s);e.setHours(0,0,0),e.setDate(f(e,"Date")+4-(f(e,"Day")||7));var t=new Date(f(e,"FullYear"),0,1),n=Math.ceil(((e-t)/864e5+1)/7);return{year:f(t,"FullYear"),week:n}},F={d:function(){return C(h)},D:function(){return c.daysShort[g]},j:function(){return h},l:function(){return c.days[g]},N:function(){return g+1},S:function(){var e=h%10,t=h%100;return 1==e&&11!=t?"st":2==e&&12!=t?"nd":3==e&&13!=t?"rd":"th"},w:function(){return p},z:function(){return Math.floor((w-new Date(v,0,1).getTime())/864e5)},W:function(){return S().week},F:function(){return c.months[m-1]},m:function(){return C(m)},M:function(){return c.monthsShort[m-1]},n:function(){return m},t:function(){return new Date(v,m,0).getDate()},L:function(){return(new Date(v+1,0,1).getTime()-new Date(v,0,1).getTime())/864e5==366},o:function(){return S().year},Y:function(){return v},y:function(){return String(v).substr(2)},a:function(){return b<=12?"am":"pm"},A:function(){return b<=12?"AM":"PM"},g:function(){return d(b-1,12)+1},G:function(){return b},h:function(){return C(d(b-1,12)+1)},H:function(){return C(b)},i:function(){return C(y)},s:function(){return C(x)},u:function(){return s.getTime()},I:function(){return k<Math.max(new Date(v,0,1).getTimezoneOffset(),new Date(v,6,1).getTimezoneOffset())?"1":"0"},O:function(){var e=k/-60;return(e<0?"-":"+")+C(e)+"00"},P:function(){var e=k/-60;return(e<0?"-":"+")+C(e)+":00"},Z:function(){return 60*k},c:function(){return this.Y()+"-"+this.m()+"-"+this.d()+"T"+this.H()+":"+this.i()+":"+this.s()+this.P()},r:function(){return o.en.daysShort[g]+", "+this.j()+" "+this.M()+" "+this.Y()+" "+this.H()+":"+this.i()+":"+this.s()+" "+this.P()},U:function(){return Math.round(w/1e3)}};return t.replace(new RegExp("("+Object.keys(F).join("|")+")","g"),function(e){return F[e]()})},a=function(e){var t=void 0,n=void 0;switch(e.length){case 0:t=new Date,n="en";break;case 1:"string"==typeof e[0]?(n=e[0],t=new Date):(n="en",t=e[0]);break;case 2:t=e[0],n=e[1]}return{date:t,locale:n}},s=function(e){var t=a(Array.prototype.slice.call(arguments,1)),n=t.date,r=t.locale;return i({formatterString:e,locale:r,date:n,utc:!1})};s.UTC=function(e){var t=a(Array.prototype.slice.call(arguments,1)),n=t.date,r=t.locale;return i({formatterString:e,locale:r,date:n,utc:!0})},s.localizationData=o,e.exports=s},"./node_modules/process/browser.js":function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,f=-1;function d(){c&&l&&(c=!1,l.length?u=l.concat(u):f=-1,u.length&&h())}function h(){if(!c){var e=s(d);c=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function g(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new p(e,t)),1!==u.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},"./node_modules/raphael/raphael.min.js":function(e,t,n){var r;r=function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){var r,o;r=[n(1),n(3),n(4)],void 0===(o=function(e){return e}.apply(t,r))||(e.exports=o)},function(e,t,n){var r,o;r=[n(2)],void 0===(o=function(e){function t(n){if(t.is(n,"function"))return v?n():e.on("raphael.DOMload",n);if(t.is(n,q))return t._engine.create[T](t,n.splice(0,3+t.is(n[0],W))).add(n);var r=Array.prototype.slice.call(arguments,0);if(t.is(r[r.length-1],"function")){var o=r.pop();return v?o.call(t._engine.create[T](t,r)):e.on("raphael.DOMload",function(){o.call(t._engine.create[T](t,r))})}return t._engine.create[T](t,arguments)}function n(e){if("function"==typeof e||Object(e)!==e)return e;var t=new e.constructor;for(var r in e)e[k](r)&&(t[r]=n(e[r]));return t}function r(e,t,n){return function r(){var o=Array.prototype.slice.call(arguments,0),i=o.join("␀"),a=r.cache=r.cache||{},s=r.count=r.count||[];return a[k](i)?(function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return e.push(e.splice(n,1)[0])}(s,i),n?n(a[i]):a[i]):(s.length>=1e3&&delete a[s.shift()],s.push(i),a[i]=e[T](t,o),n?n(a[i]):a[i])}}function o(){return this.hex}function i(e,t){for(var n=[],r=0,o=e.length;o-2*!t>r;r+=2){var i=[{x:+e[r-2],y:+e[r-1]},{x:+e[r],y:+e[r+1]},{x:+e[r+2],y:+e[r+3]},{x:+e[r+4],y:+e[r+5]}];t?r?o-4==r?i[3]={x:+e[0],y:+e[1]}:o-2==r&&(i[2]={x:+e[0],y:+e[1]},i[3]={x:+e[2],y:+e[3]}):i[0]={x:+e[o-2],y:+e[o-1]}:o-4==r?i[3]=i[2]:r||(i[0]={x:+e[r],y:+e[r+1]}),n.push(["C",(-i[0].x+6*i[1].x+i[2].x)/6,(-i[0].y+6*i[1].y+i[2].y)/6,(i[1].x+6*i[2].x-i[3].x)/6,(i[1].y+6*i[2].y-i[3].y)/6,i[2].x,i[2].y])}return n}function a(e,t,n,r,o){return e*(e*(-3*t+9*n-9*r+3*o)+6*t-12*n+6*r)-3*t+3*n}function s(e,t,n,r,o,i,s,l,u){null==u&&(u=1);for(var c=(u=u>1?1:u<0?0:u)/2,f=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],d=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472],h=0,p=0;p<12;p++){var g=c*f[p]+c,m=a(g,e,n,o,s),v=a(g,t,r,i,l),b=m*m+v*v;h+=d[p]*I.sqrt(b)}return c*h}function l(e,t,n,r,o,i,a,s){if(!(B(e,n)<z(o,a)||z(e,n)>B(o,a)||B(t,r)<z(i,s)||z(t,r)>B(i,s))){var l=(e-n)*(i-s)-(t-r)*(o-a);if(l){var u=((e*r-t*n)*(o-a)-(e-n)*(o*s-i*a))/l,c=((e*r-t*n)*(i-s)-(t-r)*(o*s-i*a))/l,f=+u.toFixed(2),d=+c.toFixed(2);if(!(f<+z(e,n).toFixed(2)||f>+B(e,n).toFixed(2)||f<+z(o,a).toFixed(2)||f>+B(o,a).toFixed(2)||d<+z(t,r).toFixed(2)||d>+B(t,r).toFixed(2)||d<+z(i,s).toFixed(2)||d>+B(i,s).toFixed(2)))return{x:u,y:c}}}}function u(e,n,r){var o=t.bezierBBox(e),i=t.bezierBBox(n);if(!t.isBBoxIntersect(o,i))return r?0:[];for(var a=s.apply(0,e),u=s.apply(0,n),c=B(~~(a/5),1),f=B(~~(u/5),1),d=[],h=[],p={},g=r?0:[],m=0;m<c+1;m++){var v=t.findDotsAtSegment.apply(t,e.concat(m/c));d.push({x:v.x,y:v.y,t:m/c})}for(m=0;m<f+1;m++)v=t.findDotsAtSegment.apply(t,n.concat(m/f)),h.push({x:v.x,y:v.y,t:m/f});for(m=0;m<c;m++)for(var b=0;b<f;b++){var y=d[m],x=d[m+1],w=h[b],k=h[b+1],C=P(x.x-y.x)<.001?"y":"x",S=P(k.x-w.x)<.001?"y":"x",F=l(y.x,y.y,x.x,x.y,w.x,w.y,k.x,k.y);if(F){if(p[F.x.toFixed(4)]==F.y.toFixed(4))continue;p[F.x.toFixed(4)]=F.y.toFixed(4);var T=y.t+P((F[C]-y[C])/(x[C]-y[C]))*(x.t-y.t),A=w.t+P((F[S]-w[S])/(k[S]-w[S]))*(k.t-w.t);T>=0&&T<=1.001&&A>=0&&A<=1.001&&(r?g++:g.push({x:F.x,y:F.y,t1:z(T,1),t2:z(A,1)}))}}return g}function c(e,n,r){e=t._path2curve(e),n=t._path2curve(n);for(var o,i,a,s,l,c,f,d,h,p,g=r?0:[],m=0,v=e.length;m<v;m++){var b=e[m];if("M"==b[0])o=l=b[1],i=c=b[2];else{"C"==b[0]?(o=(h=[o,i].concat(b.slice(1)))[6],i=h[7]):(h=[o,i,o,i,l,c,l,c],o=l,i=c);for(var y=0,x=n.length;y<x;y++){var w=n[y];if("M"==w[0])a=f=w[1],s=d=w[2];else{"C"==w[0]?(a=(p=[a,s].concat(w.slice(1)))[6],s=p[7]):(p=[a,s,a,s,f,d,f,d],a=f,s=d);var k=u(h,p,r);if(r)g+=k;else{for(var C=0,S=k.length;C<S;C++)k[C].segment1=m,k[C].segment2=y,k[C].bez1=h,k[C].bez2=p;g=g.concat(k)}}}}}return g}function f(e,t,n,r,o,i){null!=e?(this.a=+e,this.b=+t,this.c=+n,this.d=+r,this.e=+o,this.f=+i):(this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0)}function d(){return this.x+L+this.y+L+this.width+" × "+this.height}function h(e,t,n,r,o,i){function a(e){return((u*e+l)*e+s)*e}var s=3*t,l=3*(r-t)-s,u=1-s-l,c=3*n,f=3*(o-n)-c,d=1-c-f;return function(e,t){var n=function(e,t){var n,r,o,i,c,f;for(o=e,f=0;f<8;f++){if(i=a(o)-e,P(i)<t)return o;if(P(c=(3*u*o+2*l)*o+s)<1e-6)break;o-=i/c}if(r=1,(o=e)<(n=0))return n;if(o>r)return r;for(;n<r;){if(i=a(o),P(i-e)<t)return o;e>i?n=o:r=o,o=(r-n)/2+n}return o}(e,t);return((d*n+f)*n+c)*n}(e,1/(200*i))}function p(e,t){var n=[],r={};if(this.ms=t,this.times=1,e){for(var o in e)e[k](o)&&(r[K(o)]=e[o],n.push(K(o)));n.sort(le)}this.anim=r,this.top=n[n.length-1],this.percents=n}function g(n,r,o,i,a,s){o=K(o);var l,u,c,d,p,g,m=n.ms,v={},b={},x={};if(i)for(C=0,S=nt.length;C<S;C++){var w=nt[C];if(w.el.id==r.id&&w.anim==n){w.percent!=o?(nt.splice(C,1),c=1):u=w,r.attr(w.totalOrigin);break}}else i=+b;for(var C=0,S=n.percents.length;C<S;C++){if(n.percents[C]==o||n.percents[C]>i*n.top){o=n.percents[C],p=n.percents[C-1]||0,m=m/n.top*(o-p),d=n.percents[C+1],l=n.anim[o];break}i&&r.attr(n.anim[n.percents[C]])}if(l){if(u)u.initstatus=i,u.start=new Date-u.ms*i;else{for(var F in l)if(l[k](F)&&(ee[k](F)||r.paper.customAttributes[k](F)))switch(v[F]=r.attr(F),null==v[F]&&(v[F]=Q[F]),b[F]=l[F],ee[F]){case W:x[F]=(b[F]-v[F])/m;break;case"colour":v[F]=t.getRGB(v[F]);var T=t.getRGB(b[F]);x[F]={r:(T.r-v[F].r)/m,g:(T.g-v[F].g)/m,b:(T.b-v[F].b)/m};break;case"path":var _=Ne(v[F],b[F]),j=_[1];for(v[F]=_[0],x[F]=[],C=0,S=v[F].length;C<S;C++){x[F][C]=[0];for(var L=1,D=v[F][C].length;L<D;L++)x[F][C][L]=(j[C][L]-v[F][C][L])/m}break;case"transform":var M=r._,O=Be(M[F],b[F]);if(O)for(v[F]=O.from,b[F]=O.to,x[F]=[],x[F].real=!0,C=0,S=v[F].length;C<S;C++)for(x[F][C]=[v[F][C][0]],L=1,D=v[F][C].length;L<D;L++)x[F][C][L]=(b[F][C][L]-v[F][C][L])/m;else{var I=r.matrix||new f,B={_:{transform:M.transform},getBBox:function(){return r.getBBox(1)}};v[F]=[I.a,I.b,I.c,I.d,I.e,I.f],Oe(B,b[F]),b[F]=B._.transform,x[F]=[(B.matrix.a-I.a)/m,(B.matrix.b-I.b)/m,(B.matrix.c-I.c)/m,(B.matrix.d-I.d)/m,(B.matrix.e-I.e)/m,(B.matrix.f-I.f)/m]}break;case"csv":var z=E(l[F])[N](y),P=E(v[F])[N](y);if("clip-rect"==F)for(v[F]=P,x[F]=[],C=P.length;C--;)x[F][C]=(z[C]-v[F][C])/m;b[F]=z;break;default:for(z=[][A](l[F]),P=[][A](v[F]),x[F]=[],C=r.paper.customAttributes[F].length;C--;)x[F][C]=((z[C]||0)-(P[C]||0))/m}var $=l.easing,R=t.easing_formulas[$];if(!R)if((R=E($).match(X))&&5==R.length){var H=R;R=function(e){return h(e,+H[1],+H[2],+H[3],+H[4],m)}}else R=ue;if(w={anim:n,percent:o,timestamp:g=l.start||n.start||+new Date,start:g+(n.del||0),status:0,initstatus:i||0,stop:!1,ms:m,easing:R,from:v,diff:x,to:b,el:r,callback:l.callback,prev:p,next:d,repeat:s||n.times,origin:r.attr(),totalOrigin:a},nt.push(w),i&&!u&&!c&&(w.stop=!0,w.start=new Date-m*i,1==nt.length))return ot();c&&(w.start=new Date-w.ms*i),1==nt.length&&rt(ot)}e("raphael.anim.start."+r.id,r,n)}}function m(e){for(var t=0;t<nt.length;t++)nt[t].el.paper==e&&nt.splice(t--,1)}t.version="2.2.0",t.eve=e;var v,b,y=/[, ]+/,x={circle:1,rect:1,path:1,ellipse:1,text:1,image:1},w=/\{(\d+)\}/g,k="hasOwnProperty",C={doc:document,win:window},S={was:Object.prototype[k].call(C.win,"Raphael"),is:C.win.Raphael},F=function(){this.ca=this.customAttributes={}},T="apply",A="concat",_="ontouchstart"in C.win||C.win.DocumentTouch&&C.doc instanceof DocumentTouch,j="",L=" ",E=String,N="split",D="click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel"[N](L),M={mousedown:"touchstart",mousemove:"touchmove",mouseup:"touchend"},O=E.prototype.toLowerCase,I=Math,B=I.max,z=I.min,P=I.abs,$=I.pow,R=I.PI,W="number",H="string",q="array",U=Object.prototype.toString,V=(t._ISURL=/^url\(['"]?(.+?)['"]?\)$/i,/^\s*((#[a-f\d]{6})|(#[a-f\d]{3})|rgba?\(\s*([\d\.]+%?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+%?(?:\s*,\s*[\d\.]+%?)?)\s*\)|hsba?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\)|hsla?\(\s*([\d\.]+(?:deg|\xb0|%)?\s*,\s*[\d\.]+%?\s*,\s*[\d\.]+(?:%?\s*,\s*[\d\.]+)?)%?\s*\))\s*$/i),G={NaN:1,Infinity:1,"-Infinity":1},X=/^(?:cubic-)?bezier\(([^,]+),([^,]+),([^,]+),([^\)]+)\)/,Y=I.round,K=parseFloat,Z=parseInt,J=E.prototype.toUpperCase,Q=t._availableAttrs={"arrow-end":"none","arrow-start":"none",blur:0,"clip-rect":"0 0 1e9 1e9",cursor:"default",cx:0,cy:0,fill:"#fff","fill-opacity":1,font:'10px "Arial"',"font-family":'"Arial"',"font-size":"10","font-style":"normal","font-weight":400,gradient:0,height:0,href:"http://raphaeljs.com/","letter-spacing":0,opacity:1,path:"M0,0",r:0,rx:0,ry:0,src:"",stroke:"#000","stroke-dasharray":"","stroke-linecap":"butt","stroke-linejoin":"butt","stroke-miterlimit":0,"stroke-opacity":1,"stroke-width":1,target:"_blank","text-anchor":"middle",title:"Raphael",transform:"",width:0,x:0,y:0,class:""},ee=t._availableAnimAttrs={blur:W,"clip-rect":"csv",cx:W,cy:W,fill:"colour","fill-opacity":W,"font-size":W,height:W,opacity:W,path:"path",r:W,rx:W,ry:W,stroke:"colour","stroke-opacity":W,"stroke-width":W,transform:"transform",width:W,x:W,y:W},te=/[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/,ne={hs:1,rg:1},re=/,?([achlmqrstvxz]),?/gi,oe=/([achlmrqstvz])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,ie=/([rstm])[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029,]*((-?\d*\.?\d*(?:e[\-+]?\d+)?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*)+)/gi,ae=/(-?\d*\.?\d*(?:e[\-+]?\d+)?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,?[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*/gi,se=(t._radial_gradient=/^r(?:\(([^,]+?)[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*,[\x09\x0a\x0b\x0c\x0d\x20\xa0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029]*([^\)]+?)\))?/,{}),le=function(e,t){return K(e)-K(t)},ue=function(e){return e},ce=t._rectPath=function(e,t,n,r,o){return o?[["M",e+o,t],["l",n-2*o,0],["a",o,o,0,0,1,o,o],["l",0,r-2*o],["a",o,o,0,0,1,-o,o],["l",2*o-n,0],["a",o,o,0,0,1,-o,-o],["l",0,2*o-r],["a",o,o,0,0,1,o,-o],["z"]]:[["M",e,t],["l",n,0],["l",0,r],["l",-n,0],["z"]]},fe=function(e,t,n,r){return null==r&&(r=n),[["M",e,t],["m",0,-r],["a",n,r,0,1,1,0,2*r],["a",n,r,0,1,1,0,-2*r],["z"]]},de=t._getPath={path:function(e){return e.attr("path")},circle:function(e){var t=e.attrs;return fe(t.cx,t.cy,t.r)},ellipse:function(e){var t=e.attrs;return fe(t.cx,t.cy,t.rx,t.ry)},rect:function(e){var t=e.attrs;return ce(t.x,t.y,t.width,t.height,t.r)},image:function(e){var t=e.attrs;return ce(t.x,t.y,t.width,t.height)},text:function(e){var t=e._getBBox();return ce(t.x,t.y,t.width,t.height)},set:function(e){var t=e._getBBox();return ce(t.x,t.y,t.width,t.height)}},he=t.mapPath=function(e,t){if(!t)return e;var n,r,o,i,a,s,l;for(o=0,a=(e=Ne(e)).length;o<a;o++)for(i=1,s=(l=e[o]).length;i<s;i+=2)n=t.x(l[i],l[i+1]),r=t.y(l[i],l[i+1]),l[i]=n,l[i+1]=r;return e};if(t._g=C,t.type=C.win.SVGAngle||C.doc.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")?"SVG":"VML","VML"==t.type){var pe,ge=C.doc.createElement("div");if(ge.innerHTML='<v:shape adj="1"/>',(pe=ge.firstChild).style.behavior="url(#default#VML)",!pe||"object"!=typeof pe.adj)return t.type=j;ge=null}t.svg=!(t.vml="VML"==t.type),t._Paper=F,t.fn=b=F.prototype=t.prototype,t._id=0,t.is=function(e,t){return"finite"==(t=O.call(t))?!G[k](+e):"array"==t?e instanceof Array:"null"==t&&null===e||t==typeof e&&null!==e||"object"==t&&e===Object(e)||"array"==t&&Array.isArray&&Array.isArray(e)||U.call(e).slice(8,-1).toLowerCase()==t},t.angle=function(e,n,r,o,i,a){if(null==i){var s=e-r,l=n-o;return s||l?(180+180*I.atan2(-l,-s)/R+360)%360:0}return t.angle(e,n,i,a)-t.angle(r,o,i,a)},t.rad=function(e){return e%360*R/180},t.deg=function(e){return Math.round(180*e/R%360*1e3)/1e3},t.snapTo=function(e,n,r){if(r=t.is(r,"finite")?r:10,t.is(e,q)){for(var o=e.length;o--;)if(P(e[o]-n)<=r)return e[o]}else{var i=n%(e=+e);if(i<r)return n-i;if(i>e-r)return n-i+e}return n};t.createUUID=function(e,t){return function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(e,t).toUpperCase()}}(/[xy]/g,function(e){var t=16*I.random()|0;return("x"==e?t:3&t|8).toString(16)});t.setWindow=function(n){e("raphael.setWindow",t,C.win,n),C.win=n,C.doc=C.win.document,t._engine.initWin&&t._engine.initWin(C.win)};var me=function(e){if(t.vml){var n,o=/^\s+|\s+$/g;try{var i=new ActiveXObject("htmlfile");i.write("<body>"),i.close(),n=i.body}catch(e){n=createPopup().document.body}var a=n.createTextRange();me=r(function(e){try{n.style.color=E(e).replace(o,j);var t=a.queryCommandValue("ForeColor");return"#"+("000000"+(t=(255&t)<<16|65280&t|(16711680&t)>>>16).toString(16)).slice(-6)}catch(e){return"none"}})}else{var s=C.doc.createElement("i");s.title="Raphaël Colour Picker",s.style.display="none",C.doc.body.appendChild(s),me=r(function(e){return s.style.color=e,C.doc.defaultView.getComputedStyle(s,j).getPropertyValue("color")})}return me(e)},ve=function(){return"hsb("+[this.h,this.s,this.b]+")"},be=function(){return"hsl("+[this.h,this.s,this.l]+")"},ye=function(){return this.hex},xe=function(e,n,r){if(null==n&&t.is(e,"object")&&"r"in e&&"g"in e&&"b"in e&&(r=e.b,n=e.g,e=e.r),null==n&&t.is(e,H)){var o=t.getRGB(e);e=o.r,n=o.g,r=o.b}return(e>1||n>1||r>1)&&(e/=255,n/=255,r/=255),[e,n,r]},we=function(e,n,r,o){var i={r:e*=255,g:n*=255,b:r*=255,hex:t.rgb(e,n,r),toString:ye};return t.is(o,"finite")&&(i.opacity=o),i};t.color=function(e){var n;return t.is(e,"object")&&"h"in e&&"s"in e&&"b"in e?(n=t.hsb2rgb(e),e.r=n.r,e.g=n.g,e.b=n.b,e.hex=n.hex):t.is(e,"object")&&"h"in e&&"s"in e&&"l"in e?(n=t.hsl2rgb(e),e.r=n.r,e.g=n.g,e.b=n.b,e.hex=n.hex):(t.is(e,"string")&&(e=t.getRGB(e)),t.is(e,"object")&&"r"in e&&"g"in e&&"b"in e?(n=t.rgb2hsl(e),e.h=n.h,e.s=n.s,e.l=n.l,n=t.rgb2hsb(e),e.v=n.b):(e={hex:"none"}).r=e.g=e.b=e.h=e.s=e.v=e.l=-1),e.toString=ye,e},t.hsb2rgb=function(e,t,n,r){var o,i,a,s,l;return this.is(e,"object")&&"h"in e&&"s"in e&&"b"in e&&(n=e.b,t=e.s,r=e.o,e=e.h),s=(l=n*t)*(1-P((e=(e*=360)%360/60)%2-1)),o=i=a=n-l,we(o+=[l,s,0,0,s,l][e=~~e],i+=[s,l,l,s,0,0][e],a+=[0,0,s,l,l,s][e],r)},t.hsl2rgb=function(e,t,n,r){var o,i,a,s,l;return this.is(e,"object")&&"h"in e&&"s"in e&&"l"in e&&(n=e.l,t=e.s,e=e.h),(e>1||t>1||n>1)&&(e/=360,t/=100,n/=100),e=(e*=360)%360/60,s=(l=2*t*(n<.5?n:1-n))*(1-P(e%2-1)),o=i=a=n-l/2,we(o+=[l,s,0,0,s,l][e=~~e],i+=[s,l,l,s,0,0][e],a+=[0,0,s,l,l,s][e],r)},t.rgb2hsb=function(e,t,n){var r,o;return e=(n=xe(e,t,n))[0],t=n[1],n=n[2],{h:((0==(o=(r=B(e,t,n))-z(e,t,n))?null:r==e?(t-n)/o:r==t?(n-e)/o+2:(e-t)/o+4)+360)%6*60/360,s:0==o?0:o/r,b:r,toString:ve}},t.rgb2hsl=function(e,t,n){var r,o,i,a;return e=(n=xe(e,t,n))[0],t=n[1],n=n[2],r=((o=B(e,t,n))+(i=z(e,t,n)))/2,{h:((0==(a=o-i)?null:o==e?(t-n)/a:o==t?(n-e)/a+2:(e-t)/a+4)+360)%6*60/360,s:0==a?0:r<.5?a/(2*r):a/(2-2*r),l:r,toString:be}},t._path2string=function(){return this.join(",").replace(re,"$1")};t._preload=function(e,t){var n=C.doc.createElement("img");n.style.cssText="position:absolute;left:-9999em;top:-9999em",n.onload=function(){t.call(this),this.onload=null,C.doc.body.removeChild(this)},n.onerror=function(){C.doc.body.removeChild(this)},C.doc.body.appendChild(n),n.src=e};t.getRGB=r(function(e){if(!e||(e=E(e)).indexOf("-")+1)return{r:-1,g:-1,b:-1,hex:"none",error:1,toString:o};if("none"==e)return{r:-1,g:-1,b:-1,hex:"none",toString:o};!ne[k](e.toLowerCase().substring(0,2))&&"#"!=e.charAt()&&(e=me(e));var n,r,i,a,s,l,u=e.match(V);return u?(u[2]&&(i=Z(u[2].substring(5),16),r=Z(u[2].substring(3,5),16),n=Z(u[2].substring(1,3),16)),u[3]&&(i=Z((s=u[3].charAt(3))+s,16),r=Z((s=u[3].charAt(2))+s,16),n=Z((s=u[3].charAt(1))+s,16)),u[4]&&(l=u[4][N](te),n=K(l[0]),"%"==l[0].slice(-1)&&(n*=2.55),r=K(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),i=K(l[2]),"%"==l[2].slice(-1)&&(i*=2.55),"rgba"==u[1].toLowerCase().slice(0,4)&&(a=K(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100)),u[5]?(l=u[5][N](te),n=K(l[0]),"%"==l[0].slice(-1)&&(n*=2.55),r=K(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),i=K(l[2]),"%"==l[2].slice(-1)&&(i*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(n/=360),"hsba"==u[1].toLowerCase().slice(0,4)&&(a=K(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),t.hsb2rgb(n,r,i,a)):u[6]?(l=u[6][N](te),n=K(l[0]),"%"==l[0].slice(-1)&&(n*=2.55),r=K(l[1]),"%"==l[1].slice(-1)&&(r*=2.55),i=K(l[2]),"%"==l[2].slice(-1)&&(i*=2.55),("deg"==l[0].slice(-3)||"°"==l[0].slice(-1))&&(n/=360),"hsla"==u[1].toLowerCase().slice(0,4)&&(a=K(l[3])),l[3]&&"%"==l[3].slice(-1)&&(a/=100),t.hsl2rgb(n,r,i,a)):((u={r:n,g:r,b:i,toString:o}).hex="#"+(16777216|i|r<<8|n<<16).toString(16).slice(1),t.is(a,"finite")&&(u.opacity=a),u)):{r:-1,g:-1,b:-1,hex:"none",error:1,toString:o}},t),t.hsb=r(function(e,n,r){return t.hsb2rgb(e,n,r).hex}),t.hsl=r(function(e,n,r){return t.hsl2rgb(e,n,r).hex}),t.rgb=r(function(e,t,n){function r(e){return e+.5|0}return"#"+(16777216|r(n)|r(t)<<8|r(e)<<16).toString(16).slice(1)}),t.getColor=function(e){var t=this.getColor.start=this.getColor.start||{h:0,s:1,b:e||.75},n=this.hsb2rgb(t.h,t.s,t.b);return t.h+=.075,t.h>1&&(t.h=0,t.s-=.2,t.s<=0&&(this.getColor.start={h:0,s:1,b:t.b})),n.hex},t.getColor.reset=function(){delete this.start},t.parsePathString=function(e){if(!e)return null;var n=ke(e);if(n.arr)return Se(n.arr);var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0},o=[];return t.is(e,q)&&t.is(e[0],q)&&(o=Se(e)),o.length||E(e).replace(oe,function(e,t,n){var i=[],a=t.toLowerCase();if(n.replace(ae,function(e,t){t&&i.push(+t)}),"m"==a&&i.length>2&&(o.push([t][A](i.splice(0,2))),a="l",t="m"==t?"l":"L"),"r"==a)o.push([t][A](i));else for(;i.length>=r[a]&&(o.push([t][A](i.splice(0,r[a]))),r[a]););}),o.toString=t._path2string,n.arr=Se(o),o},t.parseTransformString=r(function(e){if(!e)return null;var n=[];return t.is(e,q)&&t.is(e[0],q)&&(n=Se(e)),n.length||E(e).replace(ie,function(e,t,r){var o=[];O.call(t);r.replace(ae,function(e,t){t&&o.push(+t)}),n.push([t][A](o))}),n.toString=t._path2string,n});var ke=function(e){var t=ke.ps=ke.ps||{};return t[e]?t[e].sleep=100:t[e]={sleep:100},setTimeout(function(){for(var n in t)t[k](n)&&n!=e&&(t[n].sleep--,!t[n].sleep&&delete t[n])}),t[e]};t.findDotsAtSegment=function(e,t,n,r,o,i,a,s,l){var u=1-l,c=$(u,3),f=$(u,2),d=l*l,h=d*l,p=c*e+3*f*l*n+3*u*l*l*o+h*a,g=c*t+3*f*l*r+3*u*l*l*i+h*s,m=e+2*l*(n-e)+d*(o-2*n+e),v=t+2*l*(r-t)+d*(i-2*r+t),b=n+2*l*(o-n)+d*(a-2*o+n),y=r+2*l*(i-r)+d*(s-2*i+r),x=u*e+l*n,w=u*t+l*r,k=u*o+l*a,C=u*i+l*s,S=90-180*I.atan2(m-b,v-y)/R;return(m>b||v<y)&&(S+=180),{x:p,y:g,m:{x:m,y:v},n:{x:b,y:y},start:{x:x,y:w},end:{x:k,y:C},alpha:S}},t.bezierBBox=function(e,n,r,o,i,a,s,l){t.is(e,"array")||(e=[e,n,r,o,i,a,s,l]);var u=Ee.apply(null,e);return{x:u.min.x,y:u.min.y,x2:u.max.x,y2:u.max.y,width:u.max.x-u.min.x,height:u.max.y-u.min.y}},t.isPointInsideBBox=function(e,t,n){return t>=e.x&&t<=e.x2&&n>=e.y&&n<=e.y2},t.isBBoxIntersect=function(e,n){var r=t.isPointInsideBBox;return r(n,e.x,e.y)||r(n,e.x2,e.y)||r(n,e.x,e.y2)||r(n,e.x2,e.y2)||r(e,n.x,n.y)||r(e,n.x2,n.y)||r(e,n.x,n.y2)||r(e,n.x2,n.y2)||(e.x<n.x2&&e.x>n.x||n.x<e.x2&&n.x>e.x)&&(e.y<n.y2&&e.y>n.y||n.y<e.y2&&n.y>e.y)},t.pathIntersection=function(e,t){return c(e,t)},t.pathIntersectionNumber=function(e,t){return c(e,t,1)},t.isPointInsidePath=function(e,n,r){var o=t.pathBBox(e);return t.isPointInsideBBox(o,n,r)&&c(e,[["M",n,r],["H",o.x2+10]],1)%2==1},t._removedFactory=function(t){return function(){e("raphael.log",null,"Raphaël: you are calling to method “"+t+"” of removed object",t)}};var Ce=t.pathBBox=function(e){var t=ke(e);if(t.bbox)return n(t.bbox);if(!e)return{x:0,y:0,width:0,height:0,x2:0,y2:0};for(var r,o=0,i=0,a=[],s=[],l=0,u=(e=Ne(e)).length;l<u;l++)if("M"==(r=e[l])[0])o=r[1],i=r[2],a.push(o),s.push(i);else{var c=Ee(o,i,r[1],r[2],r[3],r[4],r[5],r[6]);a=a[A](c.min.x,c.max.x),s=s[A](c.min.y,c.max.y),o=r[5],i=r[6]}var f=z[T](0,a),d=z[T](0,s),h=B[T](0,a),p=B[T](0,s),g=h-f,m=p-d,v={x:f,y:d,x2:h,y2:p,width:g,height:m,cx:f+g/2,cy:d+m/2};return t.bbox=n(v),v},Se=function(e){var r=n(e);return r.toString=t._path2string,r},Fe=t._pathToRelative=function(e){var n=ke(e);if(n.rel)return Se(n.rel);t.is(e,q)&&t.is(e&&e[0],q)||(e=t.parsePathString(e));var r=[],o=0,i=0,a=0,s=0,l=0;"M"==e[0][0]&&(a=o=e[0][1],s=i=e[0][2],l++,r.push(["M",o,i]));for(var u=l,c=e.length;u<c;u++){var f=r[u]=[],d=e[u];if(d[0]!=O.call(d[0]))switch(f[0]=O.call(d[0]),f[0]){case"a":f[1]=d[1],f[2]=d[2],f[3]=d[3],f[4]=d[4],f[5]=d[5],f[6]=+(d[6]-o).toFixed(3),f[7]=+(d[7]-i).toFixed(3);break;case"v":f[1]=+(d[1]-i).toFixed(3);break;case"m":a=d[1],s=d[2];default:for(var h=1,p=d.length;h<p;h++)f[h]=+(d[h]-(h%2?o:i)).toFixed(3)}else{f=r[u]=[],"m"==d[0]&&(a=d[1]+o,s=d[2]+i);for(var g=0,m=d.length;g<m;g++)r[u][g]=d[g]}var v=r[u].length;switch(r[u][0]){case"z":o=a,i=s;break;case"h":o+=+r[u][v-1];break;case"v":i+=+r[u][v-1];break;default:o+=+r[u][v-2],i+=+r[u][v-1]}}return r.toString=t._path2string,n.rel=Se(r),r},Te=t._pathToAbsolute=function(e){var n=ke(e);if(n.abs)return Se(n.abs);if(t.is(e,q)&&t.is(e&&e[0],q)||(e=t.parsePathString(e)),!e||!e.length)return[["M",0,0]];var r=[],o=0,a=0,s=0,l=0,u=0;"M"==e[0][0]&&(s=o=+e[0][1],l=a=+e[0][2],u++,r[0]=["M",o,a]);for(var c,f,d=3==e.length&&"M"==e[0][0]&&"R"==e[1][0].toUpperCase()&&"Z"==e[2][0].toUpperCase(),h=u,p=e.length;h<p;h++){if(r.push(c=[]),(f=e[h])[0]!=J.call(f[0]))switch(c[0]=J.call(f[0]),c[0]){case"A":c[1]=f[1],c[2]=f[2],c[3]=f[3],c[4]=f[4],c[5]=f[5],c[6]=+(f[6]+o),c[7]=+(f[7]+a);break;case"V":c[1]=+f[1]+a;break;case"H":c[1]=+f[1]+o;break;case"R":for(var g=[o,a][A](f.slice(1)),m=2,v=g.length;m<v;m++)g[m]=+g[m]+o,g[++m]=+g[m]+a;r.pop(),r=r[A](i(g,d));break;case"M":s=+f[1]+o,l=+f[2]+a;default:for(m=1,v=f.length;m<v;m++)c[m]=+f[m]+(m%2?o:a)}else if("R"==f[0])g=[o,a][A](f.slice(1)),r.pop(),r=r[A](i(g,d)),c=["R"][A](f.slice(-2));else for(var b=0,y=f.length;b<y;b++)c[b]=f[b];switch(c[0]){case"Z":o=s,a=l;break;case"H":o=c[1];break;case"V":a=c[1];break;case"M":s=c[c.length-2],l=c[c.length-1];default:o=c[c.length-2],a=c[c.length-1]}}return r.toString=t._path2string,n.abs=Se(r),r},Ae=function(e,t,n,r){return[e,t,n,r,n,r]},_e=function(e,t,n,r,o,i){var a=1/3,s=2/3;return[a*e+s*n,a*t+s*r,a*o+s*n,a*i+s*r,o,i]},je=function(e,t,n,o,i,a,s,l,u,c){var f,d=120*R/180,h=R/180*(+i||0),p=[],g=r(function(e,t,n){return{x:e*I.cos(n)-t*I.sin(n),y:e*I.sin(n)+t*I.cos(n)}});if(c)S=c[0],F=c[1],k=c[2],C=c[3];else{e=(f=g(e,t,-h)).x,t=f.y,l=(f=g(l,u,-h)).x,u=f.y;I.cos(R/180*i),I.sin(R/180*i);var m=(e-l)/2,v=(t-u)/2,b=m*m/(n*n)+v*v/(o*o);b>1&&(n*=b=I.sqrt(b),o*=b);var y=n*n,x=o*o,w=(a==s?-1:1)*I.sqrt(P((y*x-y*v*v-x*m*m)/(y*v*v+x*m*m))),k=w*n*v/o+(e+l)/2,C=w*-o*m/n+(t+u)/2,S=I.asin(((t-C)/o).toFixed(9)),F=I.asin(((u-C)/o).toFixed(9));S=e<k?R-S:S,F=l<k?R-F:F,S<0&&(S=2*R+S),F<0&&(F=2*R+F),s&&S>F&&(S-=2*R),!s&&F>S&&(F-=2*R)}var T=F-S;if(P(T)>d){var _=F,j=l,L=u;F=S+d*(s&&F>S?1:-1),l=k+n*I.cos(F),u=C+o*I.sin(F),p=je(l,u,n,o,i,0,s,j,L,[F,_,k,C])}T=F-S;var E=I.cos(S),D=I.sin(S),M=I.cos(F),O=I.sin(F),B=I.tan(T/4),z=4/3*n*B,$=4/3*o*B,W=[e,t],H=[e+z*D,t-$*E],q=[l+z*O,u-$*M],U=[l,u];if(H[0]=2*W[0]-H[0],H[1]=2*W[1]-H[1],c)return[H,q,U][A](p);for(var V=[],G=0,X=(p=[H,q,U][A](p).join()[N](",")).length;G<X;G++)V[G]=G%2?g(p[G-1],p[G],h).y:g(p[G],p[G+1],h).x;return V},Le=function(e,t,n,r,o,i,a,s,l){var u=1-l;return{x:$(u,3)*e+3*$(u,2)*l*n+3*u*l*l*o+$(l,3)*a,y:$(u,3)*t+3*$(u,2)*l*r+3*u*l*l*i+$(l,3)*s}},Ee=r(function(e,t,n,r,o,i,a,s){var l,u=o-2*n+e-(a-2*o+n),c=2*(n-e)-2*(o-n),f=e-n,d=(-c+I.sqrt(c*c-4*u*f))/2/u,h=(-c-I.sqrt(c*c-4*u*f))/2/u,p=[t,s],g=[e,a];return P(d)>"1e12"&&(d=.5),P(h)>"1e12"&&(h=.5),d>0&&d<1&&(l=Le(e,t,n,r,o,i,a,s,d),g.push(l.x),p.push(l.y)),h>0&&h<1&&(l=Le(e,t,n,r,o,i,a,s,h),g.push(l.x),p.push(l.y)),u=i-2*r+t-(s-2*i+r),f=t-r,d=(-(c=2*(r-t)-2*(i-r))+I.sqrt(c*c-4*u*f))/2/u,h=(-c-I.sqrt(c*c-4*u*f))/2/u,P(d)>"1e12"&&(d=.5),P(h)>"1e12"&&(h=.5),d>0&&d<1&&(l=Le(e,t,n,r,o,i,a,s,d),g.push(l.x),p.push(l.y)),h>0&&h<1&&(l=Le(e,t,n,r,o,i,a,s,h),g.push(l.x),p.push(l.y)),{min:{x:z[T](0,g),y:z[T](0,p)},max:{x:B[T](0,g),y:B[T](0,p)}}}),Ne=t._path2curve=r(function(e,t){var n=!t&&ke(e);if(!t&&n.curve)return Se(n.curve);for(var r=Te(e),o=t&&Te(t),i={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},a={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},s=function(e,t,n){var r,o;if(!e)return["C",t.x,t.y,t.x,t.y,t.x,t.y];switch(!(e[0]in{T:1,Q:1})&&(t.qx=t.qy=null),e[0]){case"M":t.X=e[1],t.Y=e[2];break;case"A":e=["C"][A](je[T](0,[t.x,t.y][A](e.slice(1))));break;case"S":"C"==n||"S"==n?(r=2*t.x-t.bx,o=2*t.y-t.by):(r=t.x,o=t.y),e=["C",r,o][A](e.slice(1));break;case"T":"Q"==n||"T"==n?(t.qx=2*t.x-t.qx,t.qy=2*t.y-t.qy):(t.qx=t.x,t.qy=t.y),e=["C"][A](_e(t.x,t.y,t.qx,t.qy,e[1],e[2]));break;case"Q":t.qx=e[1],t.qy=e[2],e=["C"][A](_e(t.x,t.y,e[1],e[2],e[3],e[4]));break;case"L":e=["C"][A](Ae(t.x,t.y,e[1],e[2]));break;case"H":e=["C"][A](Ae(t.x,t.y,e[1],t.y));break;case"V":e=["C"][A](Ae(t.x,t.y,t.x,e[1]));break;case"Z":e=["C"][A](Ae(t.x,t.y,t.X,t.Y))}return e},l=function(e,t){if(e[t].length>7){e[t].shift();for(var n=e[t];n.length;)c[t]="A",o&&(f[t]="A"),e.splice(t++,0,["C"][A](n.splice(0,6)));e.splice(t,1),g=B(r.length,o&&o.length||0)}},u=function(e,t,n,i,a){e&&t&&"M"==e[a][0]&&"M"!=t[a][0]&&(t.splice(a,0,["M",i.x,i.y]),n.bx=0,n.by=0,n.x=e[a][1],n.y=e[a][2],g=B(r.length,o&&o.length||0))},c=[],f=[],d="",h="",p=0,g=B(r.length,o&&o.length||0);p<g;p++){r[p]&&(d=r[p][0]),"C"!=d&&(c[p]=d,p&&(h=c[p-1])),r[p]=s(r[p],i,h),"A"!=c[p]&&"C"==d&&(c[p]="C"),l(r,p),o&&(o[p]&&(d=o[p][0]),"C"!=d&&(f[p]=d,p&&(h=f[p-1])),o[p]=s(o[p],a,h),"A"!=f[p]&&"C"==d&&(f[p]="C"),l(o,p)),u(r,o,i,a,p),u(o,r,a,i,p);var m=r[p],v=o&&o[p],b=m.length,y=o&&v.length;i.x=m[b-2],i.y=m[b-1],i.bx=K(m[b-4])||i.x,i.by=K(m[b-3])||i.y,a.bx=o&&(K(v[y-4])||a.x),a.by=o&&(K(v[y-3])||a.y),a.x=o&&v[y-2],a.y=o&&v[y-1]}return o||(n.curve=Se(r)),o?[r,o]:r},null,Se),De=(t._parseDots=r(function(e){for(var n=[],r=0,o=e.length;r<o;r++){var i={},a=e[r].match(/^([^:]*):?([\d\.]*)/);if(i.color=t.getRGB(a[1]),i.color.error)return null;i.opacity=i.color.opacity,i.color=i.color.hex,a[2]&&(i.offset=a[2]+"%"),n.push(i)}for(r=1,o=n.length-1;r<o;r++)if(!n[r].offset){for(var s=K(n[r-1].offset||0),l=0,u=r+1;u<o;u++)if(n[u].offset){l=n[u].offset;break}l||(l=100,u=o);for(var c=((l=K(l))-s)/(u-r+1);r<u;r++)s+=c,n[r].offset=s+"%"}return n}),t._tear=function(e,t){e==t.top&&(t.top=e.prev),e==t.bottom&&(t.bottom=e.next),e.next&&(e.next.prev=e.prev),e.prev&&(e.prev.next=e.next)}),Me=(t._tofront=function(e,t){t.top!==e&&(De(e,t),e.next=null,e.prev=t.top,t.top.next=e,t.top=e)},t._toback=function(e,t){t.bottom!==e&&(De(e,t),e.next=t.bottom,e.prev=null,t.bottom.prev=e,t.bottom=e)},t._insertafter=function(e,t,n){De(e,n),t==n.top&&(n.top=e),t.next&&(t.next.prev=e),e.next=t.next,e.prev=t,t.next=e},t._insertbefore=function(e,t,n){De(e,n),t==n.bottom&&(n.bottom=e),t.prev&&(t.prev.next=e),e.prev=t.prev,t.prev=e,e.next=t},t.toMatrix=function(e,t){var n=Ce(e),r={_:{transform:j},getBBox:function(){return n}};return Oe(r,t),r.matrix}),Oe=(t.transformPath=function(e,t){return he(e,Me(e,t))},t._extractTransform=function(e,n){if(null==n)return e._.transform;n=E(n).replace(/\.{3}|\u2026/g,e._.transform||j);var r,o,i=t.parseTransformString(n),a=0,s=1,l=1,u=e._,c=new f;if(u.transform=i||[],i)for(var d=0,h=i.length;d<h;d++){var p,g,m,v,b,y=i[d],x=y.length,w=E(y[0]).toLowerCase(),k=y[0]!=w,C=k?c.invert():0;"t"==w&&3==x?k?(p=C.x(0,0),g=C.y(0,0),m=C.x(y[1],y[2]),v=C.y(y[1],y[2]),c.translate(m-p,v-g)):c.translate(y[1],y[2]):"r"==w?2==x?(b=b||e.getBBox(1),c.rotate(y[1],b.x+b.width/2,b.y+b.height/2),a+=y[1]):4==x&&(k?(m=C.x(y[2],y[3]),v=C.y(y[2],y[3]),c.rotate(y[1],m,v)):c.rotate(y[1],y[2],y[3]),a+=y[1]):"s"==w?2==x||3==x?(b=b||e.getBBox(1),c.scale(y[1],y[x-1],b.x+b.width/2,b.y+b.height/2),s*=y[1],l*=y[x-1]):5==x&&(k?(m=C.x(y[3],y[4]),v=C.y(y[3],y[4]),c.scale(y[1],y[2],m,v)):c.scale(y[1],y[2],y[3],y[4]),s*=y[1],l*=y[2]):"m"==w&&7==x&&c.add(y[1],y[2],y[3],y[4],y[5],y[6]),u.dirtyT=1,e.matrix=c}e.matrix=c,u.sx=s,u.sy=l,u.deg=a,u.dx=r=c.e,u.dy=o=c.f,1==s&&1==l&&!a&&u.bbox?(u.bbox.x+=+r,u.bbox.y+=+o):u.dirtyT=1}),Ie=function(e){var t=e[0];switch(t.toLowerCase()){case"t":return[t,0,0];case"m":return[t,1,0,0,1,0,0];case"r":return 4==e.length?[t,0,e[2],e[3]]:[t,0];case"s":return 5==e.length?[t,1,1,e[3],e[4]]:3==e.length?[t,1,1]:[t,1]}},Be=t._equaliseTransform=function(e,n){n=E(n).replace(/\.{3}|\u2026/g,e),e=t.parseTransformString(e)||[],n=t.parseTransformString(n)||[];for(var r,o,i,a,s=B(e.length,n.length),l=[],u=[],c=0;c<s;c++){if(i=e[c]||Ie(n[c]),a=n[c]||Ie(i),i[0]!=a[0]||"r"==i[0].toLowerCase()&&(i[2]!=a[2]||i[3]!=a[3])||"s"==i[0].toLowerCase()&&(i[3]!=a[3]||i[4]!=a[4]))return;for(l[c]=[],u[c]=[],r=0,o=B(i.length,a.length);r<o;r++)r in i&&(l[c][r]=i[r]),r in a&&(u[c][r]=a[r])}return{from:l,to:u}};t._getContainer=function(e,n,r,o){var i;if(null!=(i=null!=o||t.is(e,"object")?e:C.doc.getElementById(e)))return i.tagName?null==n?{container:i,width:i.style.pixelWidth||i.offsetWidth,height:i.style.pixelHeight||i.offsetHeight}:{container:i,width:n,height:r}:{container:1,x:e,y:n,width:r,height:o}},t.pathToRelative=Fe,t._engine={},t.path2curve=Ne,t.matrix=function(e,t,n,r,o,i){return new f(e,t,n,r,o,i)},function(e){function n(e){return e[0]*e[0]+e[1]*e[1]}function r(e){var t=I.sqrt(n(e));e[0]&&(e[0]/=t),e[1]&&(e[1]/=t)}e.add=function(e,t,n,r,o,i){var a,s,l,u,c=[[],[],[]],d=[[this.a,this.c,this.e],[this.b,this.d,this.f],[0,0,1]],h=[[e,n,o],[t,r,i],[0,0,1]];for(e&&e instanceof f&&(h=[[e.a,e.c,e.e],[e.b,e.d,e.f],[0,0,1]]),a=0;a<3;a++)for(s=0;s<3;s++){for(u=0,l=0;l<3;l++)u+=d[a][l]*h[l][s];c[a][s]=u}this.a=c[0][0],this.b=c[1][0],this.c=c[0][1],this.d=c[1][1],this.e=c[0][2],this.f=c[1][2]},e.invert=function(){var e=this,t=e.a*e.d-e.b*e.c;return new f(e.d/t,-e.b/t,-e.c/t,e.a/t,(e.c*e.f-e.d*e.e)/t,(e.b*e.e-e.a*e.f)/t)},e.clone=function(){return new f(this.a,this.b,this.c,this.d,this.e,this.f)},e.translate=function(e,t){this.add(1,0,0,1,e,t)},e.scale=function(e,t,n,r){null==t&&(t=e),(n||r)&&this.add(1,0,0,1,n,r),this.add(e,0,0,t,0,0),(n||r)&&this.add(1,0,0,1,-n,-r)},e.rotate=function(e,n,r){e=t.rad(e),n=n||0,r=r||0;var o=+I.cos(e).toFixed(9),i=+I.sin(e).toFixed(9);this.add(o,i,-i,o,n,r),this.add(1,0,0,1,-n,-r)},e.x=function(e,t){return e*this.a+t*this.c+this.e},e.y=function(e,t){return e*this.b+t*this.d+this.f},e.get=function(e){return+this[E.fromCharCode(97+e)].toFixed(4)},e.toString=function(){return t.svg?"matrix("+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)].join()+")":[this.get(0),this.get(2),this.get(1),this.get(3),0,0].join()},e.toFilter=function(){return"progid:DXImageTransform.Microsoft.Matrix(M11="+this.get(0)+", M12="+this.get(2)+", M21="+this.get(1)+", M22="+this.get(3)+", Dx="+this.get(4)+", Dy="+this.get(5)+", sizingmethod='auto expand')"},e.offset=function(){return[this.e.toFixed(4),this.f.toFixed(4)]},e.split=function(){var e={};e.dx=this.e,e.dy=this.f;var o=[[this.a,this.c],[this.b,this.d]];e.scalex=I.sqrt(n(o[0])),r(o[0]),e.shear=o[0][0]*o[1][0]+o[0][1]*o[1][1],o[1]=[o[1][0]-o[0][0]*e.shear,o[1][1]-o[0][1]*e.shear],e.scaley=I.sqrt(n(o[1])),r(o[1]),e.shear/=e.scaley;var i=-o[0][1],a=o[1][1];return a<0?(e.rotate=t.deg(I.acos(a)),i<0&&(e.rotate=360-e.rotate)):e.rotate=t.deg(I.asin(i)),e.isSimple=!(+e.shear.toFixed(9)||e.scalex.toFixed(9)!=e.scaley.toFixed(9)&&e.rotate),e.isSuperSimple=!+e.shear.toFixed(9)&&e.scalex.toFixed(9)==e.scaley.toFixed(9)&&!e.rotate,e.noRotation=!+e.shear.toFixed(9)&&!e.rotate,e},e.toTransformString=function(e){var t=e||this[N]();return t.isSimple?(t.scalex=+t.scalex.toFixed(4),t.scaley=+t.scaley.toFixed(4),t.rotate=+t.rotate.toFixed(4),(t.dx||t.dy?"t"+[t.dx,t.dy]:j)+(1!=t.scalex||1!=t.scaley?"s"+[t.scalex,t.scaley,0,0]:j)+(t.rotate?"r"+[t.rotate,0,0]:j)):"m"+[this.get(0),this.get(1),this.get(2),this.get(3),this.get(4),this.get(5)]}}(f.prototype);for(var ze=function(){this.returnValue=!1},Pe=function(){return this.originalEvent.preventDefault()},$e=function(){this.cancelBubble=!0},Re=function(){return this.originalEvent.stopPropagation()},We=function(e){var t=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,n=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft;return{x:e.clientX+n,y:e.clientY+t}},He=C.doc.addEventListener?function(e,t,n,r){var o=function(e){var t=We(e);return n.call(r,e,t.x,t.y)};if(e.addEventListener(t,o,!1),_&&M[t]){var i=function(t){for(var o=We(t),i=t,a=0,s=t.targetTouches&&t.targetTouches.length;a<s;a++)if(t.targetTouches[a].target==e){(t=t.targetTouches[a]).originalEvent=i,t.preventDefault=Pe,t.stopPropagation=Re;break}return n.call(r,t,o.x,o.y)};e.addEventListener(M[t],i,!1)}return function(){return e.removeEventListener(t,o,!1),_&&M[t]&&e.removeEventListener(M[t],i,!1),!0}}:C.doc.attachEvent?function(e,t,n,r){var o=function(e){e=e||C.win.event;var t=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,o=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft,i=e.clientX+o,a=e.clientY+t;return e.preventDefault=e.preventDefault||ze,e.stopPropagation=e.stopPropagation||$e,n.call(r,e,i,a)};return e.attachEvent("on"+t,o),function(){return e.detachEvent("on"+t,o),!0}}:void 0,qe=[],Ue=function(t){for(var n,r=t.clientX,o=t.clientY,i=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,a=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft,s=qe.length;s--;){if(n=qe[s],_&&t.touches){for(var l,u=t.touches.length;u--;)if((l=t.touches[u]).identifier==n.el._drag.id){r=l.clientX,o=l.clientY,(t.originalEvent?t.originalEvent:t).preventDefault();break}}else t.preventDefault();var c,f=n.el.node,d=f.nextSibling,h=f.parentNode,p=f.style.display;C.win.opera&&h.removeChild(f),f.style.display="none",c=n.el.paper.getElementByPoint(r,o),f.style.display=p,C.win.opera&&(d?h.insertBefore(f,d):h.appendChild(f)),c&&e("raphael.drag.over."+n.el.id,n.el,c),r+=a,o+=i,e("raphael.drag.move."+n.el.id,n.move_scope||n.el,r-n.el._drag.x,o-n.el._drag.y,r,o,t)}},Ve=function(n){t.unmousemove(Ue).unmouseup(Ve);for(var r,o=qe.length;o--;)(r=qe[o]).el._drag={},e("raphael.drag.end."+r.el.id,r.end_scope||r.start_scope||r.move_scope||r.el,n);qe=[]},Ge=t.el={},Xe=D.length;Xe--;)!function(e){t[e]=Ge[e]=function(n,r){return t.is(n,"function")&&(this.events=this.events||[],this.events.push({name:e,f:n,unbind:He(this.shape||this.node||C.doc,e,n,r||this)})),this},t["un"+e]=Ge["un"+e]=function(n){for(var r=this.events||[],o=r.length;o--;)r[o].name!=e||!t.is(n,"undefined")&&r[o].f!=n||(r[o].unbind(),r.splice(o,1),!r.length&&delete this.events);return this}}(D[Xe]);Ge.data=function(n,r){var o=se[this.id]=se[this.id]||{};if(0==arguments.length)return o;if(1==arguments.length){if(t.is(n,"object")){for(var i in n)n[k](i)&&this.data(i,n[i]);return this}return e("raphael.data.get."+this.id,this,o[n],n),o[n]}return o[n]=r,e("raphael.data.set."+this.id,this,r,n),this},Ge.removeData=function(e){return null==e?se[this.id]={}:se[this.id]&&delete se[this.id][e],this},Ge.getData=function(){return n(se[this.id]||{})},Ge.hover=function(e,t,n,r){return this.mouseover(e,n).mouseout(t,r||n)},Ge.unhover=function(e,t){return this.unmouseover(e).unmouseout(t)};var Ye=[];Ge.drag=function(n,r,o,i,a,s){function l(l){(l.originalEvent||l).preventDefault();var u=l.clientX,c=l.clientY,f=C.doc.documentElement.scrollTop||C.doc.body.scrollTop,d=C.doc.documentElement.scrollLeft||C.doc.body.scrollLeft;if(this._drag.id=l.identifier,_&&l.touches)for(var h,p=l.touches.length;p--;)if(h=l.touches[p],this._drag.id=h.identifier,h.identifier==this._drag.id){u=h.clientX,c=h.clientY;break}this._drag.x=u+d,this._drag.y=c+f,!qe.length&&t.mousemove(Ue).mouseup(Ve),qe.push({el:this,move_scope:i,start_scope:a,end_scope:s}),r&&e.on("raphael.drag.start."+this.id,r),n&&e.on("raphael.drag.move."+this.id,n),o&&e.on("raphael.drag.end."+this.id,o),e("raphael.drag.start."+this.id,a||i||this,l.clientX+d,l.clientY+f,l)}return this._drag={},Ye.push({el:this,start:l}),this.mousedown(l),this},Ge.onDragOver=function(t){t?e.on("raphael.drag.over."+this.id,t):e.unbind("raphael.drag.over."+this.id)},Ge.undrag=function(){for(var n=Ye.length;n--;)Ye[n].el==this&&(this.unmousedown(Ye[n].start),Ye.splice(n,1),e.unbind("raphael.drag.*."+this.id));!Ye.length&&t.unmousemove(Ue).unmouseup(Ve),qe=[]},b.circle=function(e,n,r){var o=t._engine.circle(this,e||0,n||0,r||0);return this.__set__&&this.__set__.push(o),o},b.rect=function(e,n,r,o,i){var a=t._engine.rect(this,e||0,n||0,r||0,o||0,i||0);return this.__set__&&this.__set__.push(a),a},b.ellipse=function(e,n,r,o){var i=t._engine.ellipse(this,e||0,n||0,r||0,o||0);return this.__set__&&this.__set__.push(i),i},b.path=function(e){e&&!t.is(e,H)&&!t.is(e[0],q)&&(e+=j);var n=t._engine.path(t.format[T](t,arguments),this);return this.__set__&&this.__set__.push(n),n},b.image=function(e,n,r,o,i){var a=t._engine.image(this,e||"about:blank",n||0,r||0,o||0,i||0);return this.__set__&&this.__set__.push(a),a},b.text=function(e,n,r){var o=t._engine.text(this,e||0,n||0,E(r));return this.__set__&&this.__set__.push(o),o},b.set=function(e){!t.is(e,"array")&&(e=Array.prototype.splice.call(arguments,0,arguments.length));var n=new at(e);return this.__set__&&this.__set__.push(n),n.paper=this,n.type="set",n},b.setStart=function(e){this.__set__=e||this.set()},b.setFinish=function(e){var t=this.__set__;return delete this.__set__,t},b.getSize=function(){var e=this.canvas.parentNode;return{width:e.offsetWidth,height:e.offsetHeight}},b.setSize=function(e,n){return t._engine.setSize.call(this,e,n)},b.setViewBox=function(e,n,r,o,i){return t._engine.setViewBox.call(this,e,n,r,o,i)},b.top=b.bottom=null,b.raphael=t;b.getElementByPoint=function(e,t){var n=this,r=n.canvas,o=C.doc.elementFromPoint(e,t);if(C.win.opera&&"svg"==o.tagName){var i=function(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,r=n.body,o=n.documentElement,i=o.clientTop||r.clientTop||0,a=o.clientLeft||r.clientLeft||0;return{y:t.top+(C.win.pageYOffset||o.scrollTop||r.scrollTop)-i,x:t.left+(C.win.pageXOffset||o.scrollLeft||r.scrollLeft)-a}}(r),a=r.createSVGRect();a.x=e-i.x,a.y=t-i.y,a.width=a.height=1;var s=r.getIntersectionList(a,null);s.length&&(o=s[s.length-1])}if(!o)return null;for(;o.parentNode&&o!=r.parentNode&&!o.raphael;)o=o.parentNode;return o==n.canvas.parentNode&&(o=r),o&&o.raphael?n.getById(o.raphaelid):null},b.getElementsByBBox=function(e){var n=this.set();return this.forEach(function(r){t.isBBoxIntersect(r.getBBox(),e)&&n.push(r)}),n},b.getById=function(e){for(var t=this.bottom;t;){if(t.id==e)return t;t=t.next}return null},b.forEach=function(e,t){for(var n=this.bottom;n;){if(!1===e.call(t,n))return this;n=n.next}return this},b.getElementsByPoint=function(e,t){var n=this.set();return this.forEach(function(r){r.isPointInside(e,t)&&n.push(r)}),n},Ge.isPointInside=function(e,n){var r=this.realPath=de[this.type](this);return this.attr("transform")&&this.attr("transform").length&&(r=t.transformPath(r,this.attr("transform"))),t.isPointInsidePath(r,e,n)},Ge.getBBox=function(e){if(this.removed)return{};var t=this._;return e?(!t.dirty&&t.bboxwt||(this.realPath=de[this.type](this),t.bboxwt=Ce(this.realPath),t.bboxwt.toString=d,t.dirty=0),t.bboxwt):((t.dirty||t.dirtyT||!t.bbox)&&(!t.dirty&&this.realPath||(t.bboxwt=0,this.realPath=de[this.type](this)),t.bbox=Ce(he(this.realPath,this.matrix)),t.bbox.toString=d,t.dirty=t.dirtyT=0),t.bbox)},Ge.clone=function(){if(this.removed)return null;var e=this.paper[this.type]().attr(this.attr());return this.__set__&&this.__set__.push(e),e},Ge.glow=function(e){if("text"==this.type)return null;var t={width:((e=e||{}).width||10)+(+this.attr("stroke-width")||1),fill:e.fill||!1,opacity:null==e.opacity?.5:e.opacity,offsetx:e.offsetx||0,offsety:e.offsety||0,color:e.color||"#000"},n=t.width/2,r=this.paper,o=r.set(),i=this.realPath||de[this.type](this);i=this.matrix?he(i,this.matrix):i;for(var a=1;a<n+1;a++)o.push(r.path(i).attr({stroke:t.color,fill:t.fill?t.color:"none","stroke-linejoin":"round","stroke-linecap":"round","stroke-width":+(t.width/n*a).toFixed(3),opacity:+(t.opacity/n).toFixed(3)}));return o.insertBefore(this).translate(t.offsetx,t.offsety)};var Ke=function(e,n,r,o,i,a,l,u,c){return null==c?s(e,n,r,o,i,a,l,u):t.findDotsAtSegment(e,n,r,o,i,a,l,u,function(e,t,n,r,o,i,a,l,u){if(!(u<0||s(e,t,n,r,o,i,a,l)<u)){var c,f=.5,d=1-f;for(c=s(e,t,n,r,o,i,a,l,d);P(c-u)>.01;)f/=2,c=s(e,t,n,r,o,i,a,l,d+=(c<u?1:-1)*f);return d}}(e,n,r,o,i,a,l,u,c))},Ze=function(e,n){return function(r,o,i){for(var a,s,l,u,c,f="",d={},h=0,p=0,g=(r=Ne(r)).length;p<g;p++){if("M"==(l=r[p])[0])a=+l[1],s=+l[2];else{if(h+(u=Ke(a,s,l[1],l[2],l[3],l[4],l[5],l[6]))>o){if(n&&!d.start){if(f+=["C"+(c=Ke(a,s,l[1],l[2],l[3],l[4],l[5],l[6],o-h)).start.x,c.start.y,c.m.x,c.m.y,c.x,c.y],i)return f;d.start=f,f=["M"+c.x,c.y+"C"+c.n.x,c.n.y,c.end.x,c.end.y,l[5],l[6]].join(),h+=u,a=+l[5],s=+l[6];continue}if(!e&&!n)return{x:(c=Ke(a,s,l[1],l[2],l[3],l[4],l[5],l[6],o-h)).x,y:c.y,alpha:c.alpha}}h+=u,a=+l[5],s=+l[6]}f+=l.shift()+l}return d.end=f,(c=e?h:n?d:t.findDotsAtSegment(a,s,l[0],l[1],l[2],l[3],l[4],l[5],1)).alpha&&(c={x:c.x,y:c.y,alpha:c.alpha}),c}},Je=Ze(1),Qe=Ze(),et=Ze(0,1);t.getTotalLength=Je,t.getPointAtLength=Qe,t.getSubpath=function(e,t,n){if(this.getTotalLength(e)-n<1e-6)return et(e,t).end;var r=et(e,n,1);return t?et(r,t).end:r},Ge.getTotalLength=function(){var e=this.getPath();if(e)return this.node.getTotalLength?this.node.getTotalLength():Je(e)},Ge.getPointAtLength=function(e){var t=this.getPath();if(t)return Qe(t,e)},Ge.getPath=function(){var e,n=t._getPath[this.type];if("text"!=this.type&&"set"!=this.type)return n&&(e=n(this)),e},Ge.getSubpath=function(e,n){var r=this.getPath();if(r)return t.getSubpath(r,e,n)};var tt=t.easing_formulas={linear:function(e){return e},"<":function(e){return $(e,1.7)},">":function(e){return $(e,.48)},"<>":function(e){var t=.48-e/1.04,n=I.sqrt(.1734+t*t),r=n-t,o=-n-t,i=$(P(r),1/3)*(r<0?-1:1)+$(P(o),1/3)*(o<0?-1:1)+.5;return 3*(1-i)*i*i+i*i*i},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},elastic:function(e){return e==!!e?e:$(2,-10*e)*I.sin(2*R*(e-.075)/.3)+1},bounce:function(e){var t,n=7.5625,r=2.75;return e<1/r?t=n*e*e:e<2/r?t=n*(e-=1.5/r)*e+.75:e<2.5/r?t=n*(e-=2.25/r)*e+.9375:t=n*(e-=2.625/r)*e+.984375,t}};tt.easeIn=tt["ease-in"]=tt["<"],tt.easeOut=tt["ease-out"]=tt[">"],tt.easeInOut=tt["ease-in-out"]=tt["<>"],tt["back-in"]=tt.backIn,tt["back-out"]=tt.backOut;var nt=[],rt=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){setTimeout(e,16)},ot=function(){for(var n=+new Date,r=0;r<nt.length;r++){var o=nt[r];if(!o.el.removed&&!o.paused){var i,a,s=n-o.start,l=o.ms,u=o.easing,c=o.from,f=o.diff,d=o.to,h=(o.t,o.el),p={},m={};if(o.initstatus?(s=(o.initstatus*o.anim.top-o.prev)/(o.percent-o.prev)*l,o.status=o.initstatus,delete o.initstatus,o.stop&&nt.splice(r--,1)):o.status=(o.prev+(o.percent-o.prev)*(s/l))/o.anim.top,!(s<0))if(s<l){var v=u(s/l);for(var b in c)if(c[k](b)){switch(ee[b]){case W:i=+c[b]+v*l*f[b];break;case"colour":i="rgb("+[it(Y(c[b].r+v*l*f[b].r)),it(Y(c[b].g+v*l*f[b].g)),it(Y(c[b].b+v*l*f[b].b))].join(",")+")";break;case"path":i=[];for(var y=0,x=c[b].length;y<x;y++){i[y]=[c[b][y][0]];for(var w=1,C=c[b][y].length;w<C;w++)i[y][w]=+c[b][y][w]+v*l*f[b][y][w];i[y]=i[y].join(L)}i=i.join(L);break;case"transform":if(f[b].real)for(i=[],y=0,x=c[b].length;y<x;y++)for(i[y]=[c[b][y][0]],w=1,C=c[b][y].length;w<C;w++)i[y][w]=c[b][y][w]+v*l*f[b][y][w];else{var S=function(e){return+c[b][e]+v*l*f[b][e]};i=[["m",S(0),S(1),S(2),S(3),S(4),S(5)]]}break;case"csv":if("clip-rect"==b)for(i=[],y=4;y--;)i[y]=+c[b][y]+v*l*f[b][y];break;default:var F=[][A](c[b]);for(i=[],y=h.paper.customAttributes[b].length;y--;)i[y]=+F[y]+v*l*f[b][y]}p[b]=i}h.attr(p),function(t,n,r){setTimeout(function(){e("raphael.anim.frame."+t,n,r)})}(h.id,h,o.anim)}else{if(function(n,r,o){setTimeout(function(){e("raphael.anim.frame."+r.id,r,o),e("raphael.anim.finish."+r.id,r,o),t.is(n,"function")&&n.call(r)})}(o.callback,h,o.anim),h.attr(d),nt.splice(r--,1),o.repeat>1&&!o.next){for(a in d)d[k](a)&&(m[a]=o.totalOrigin[a]);o.el.attr(m),g(o.anim,o.el,o.anim.percents[0],null,o.totalOrigin,o.repeat-1)}o.next&&!o.stop&&g(o.anim,o.el,o.next,null,o.totalOrigin,o.repeat)}}}nt.length&&rt(ot)},it=function(e){return e>255?255:e<0?0:e};Ge.animateWith=function(e,n,r,o,i,a){var s=this;if(s.removed)return a&&a.call(s),s;var l=r instanceof p?r:t.animation(r,o,i,a);g(l,s,l.percents[0],null,s.attr());for(var u=0,c=nt.length;u<c;u++)if(nt[u].anim==n&&nt[u].el==e){nt[c-1].start=nt[u].start;break}return s},Ge.onAnimation=function(t){return t?e.on("raphael.anim.frame."+this.id,t):e.unbind("raphael.anim.frame."+this.id),this},p.prototype.delay=function(e){var t=new p(this.anim,this.ms);return t.times=this.times,t.del=+e||0,t},p.prototype.repeat=function(e){var t=new p(this.anim,this.ms);return t.del=this.del,t.times=I.floor(B(e,0))||1,t},t.animation=function(e,n,r,o){if(e instanceof p)return e;!t.is(r,"function")&&r||(o=o||r||null,r=null),e=Object(e),n=+n||0;var i,a,s={};for(a in e)e[k](a)&&K(a)!=a&&K(a)+"%"!=a&&(i=!0,s[a]=e[a]);if(i)return r&&(s.easing=r),o&&(s.callback=o),new p({100:s},n);if(o){var l=0;for(var u in e){var c=Z(u);e[k](u)&&c>l&&(l=c)}!e[l+="%"].callback&&(e[l].callback=o)}return new p(e,n)},Ge.animate=function(e,n,r,o){var i=this;if(i.removed)return o&&o.call(i),i;var a=e instanceof p?e:t.animation(e,n,r,o);return g(a,i,a.percents[0],null,i.attr()),i},Ge.setTime=function(e,t){return e&&null!=t&&this.status(e,z(t,e.ms)/e.ms),this},Ge.status=function(e,t){var n,r,o=[],i=0;if(null!=t)return g(e,this,-1,z(t,1)),this;for(n=nt.length;i<n;i++)if((r=nt[i]).el.id==this.id&&(!e||r.anim==e)){if(e)return r.status;o.push({anim:r.anim,status:r.status})}return e?0:o},Ge.pause=function(t){for(var n=0;n<nt.length;n++)nt[n].el.id!=this.id||t&&nt[n].anim!=t||!1!==e("raphael.anim.pause."+this.id,this,nt[n].anim)&&(nt[n].paused=!0);return this},Ge.resume=function(t){for(var n=0;n<nt.length;n++)if(nt[n].el.id==this.id&&(!t||nt[n].anim==t)){var r=nt[n];!1!==e("raphael.anim.resume."+this.id,this,r.anim)&&(delete r.paused,this.status(r.anim,r.status))}return this},Ge.stop=function(t){for(var n=0;n<nt.length;n++)nt[n].el.id!=this.id||t&&nt[n].anim!=t||!1!==e("raphael.anim.stop."+this.id,this,nt[n].anim)&&nt.splice(n--,1);return this},e.on("raphael.remove",m),e.on("raphael.clear",m),Ge.toString=function(){return"Raphaël’s object"};var at=function(e){if(this.items=[],this.length=0,this.type="set",e)for(var t=0,n=e.length;t<n;t++)!e[t]||e[t].constructor!=Ge.constructor&&e[t].constructor!=at||(this[this.items.length]=this.items[this.items.length]=e[t],this.length++)},st=at.prototype;for(var lt in st.push=function(){for(var e,t,n=0,r=arguments.length;n<r;n++)!(e=arguments[n])||e.constructor!=Ge.constructor&&e.constructor!=at||(this[t=this.items.length]=this.items[t]=e,this.length++);return this},st.pop=function(){return this.length&&delete this[this.length--],this.items.pop()},st.forEach=function(e,t){for(var n=0,r=this.items.length;n<r;n++)if(!1===e.call(t,this.items[n],n))return this;return this},Ge)Ge[k](lt)&&(st[lt]=function(e){return function(){var t=arguments;return this.forEach(function(n){n[e][T](n,t)})}}(lt));return st.attr=function(e,n){if(e&&t.is(e,q)&&t.is(e[0],"object"))for(var r=0,o=e.length;r<o;r++)this.items[r].attr(e[r]);else for(var i=0,a=this.items.length;i<a;i++)this.items[i].attr(e,n);return this},st.clear=function(){for(;this.length;)this.pop()},st.splice=function(e,t,n){e=e<0?B(this.length+e,0):e,t=B(0,z(this.length-e,t));var r,o=[],i=[],a=[];for(r=2;r<arguments.length;r++)a.push(arguments[r]);for(r=0;r<t;r++)i.push(this[e+r]);for(;r<this.length-e;r++)o.push(this[e+r]);var s=a.length;for(r=0;r<s+o.length;r++)this.items[e+r]=this[e+r]=r<s?a[r]:o[r-s];for(r=this.items.length=this.length-=t-s;this[r];)delete this[r++];return new at(i)},st.exclude=function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]==e)return this.splice(t,1),!0},st.animate=function(e,n,r,o){(t.is(r,"function")||!r)&&(o=r||null);var i,a,s=this.items.length,l=s,u=this;if(!s)return this;o&&(a=function(){!--s&&o.call(u)}),r=t.is(r,H)?r:a;var c=t.animation(e,n,r,a);for(i=this.items[--l].animate(c);l--;)this.items[l]&&!this.items[l].removed&&this.items[l].animateWith(i,c,c),this.items[l]&&!this.items[l].removed||s--;return this},st.insertAfter=function(e){for(var t=this.items.length;t--;)this.items[t].insertAfter(e);return this},st.getBBox=function(){for(var e=[],t=[],n=[],r=[],o=this.items.length;o--;)if(!this.items[o].removed){var i=this.items[o].getBBox();e.push(i.x),t.push(i.y),n.push(i.x+i.width),r.push(i.y+i.height)}return{x:e=z[T](0,e),y:t=z[T](0,t),x2:n=B[T](0,n),y2:r=B[T](0,r),width:n-e,height:r-t}},st.clone=function(e){e=this.paper.set();for(var t=0,n=this.items.length;t<n;t++)e.push(this.items[t].clone());return e},st.toString=function(){return"Raphaël‘s set"},st.glow=function(e){var t=this.paper.set();return this.forEach(function(n,r){var o=n.glow(e);null!=o&&o.forEach(function(e,n){t.push(e)})}),t},st.isPointInside=function(e,t){var n=!1;return this.forEach(function(r){if(r.isPointInside(e,t))return n=!0,!1}),n},t.registerFont=function(e){if(!e.face)return e;this.fonts=this.fonts||{};var t={w:e.w,face:{},glyphs:{}},n=e.face["font-family"];for(var r in e.face)e.face[k](r)&&(t.face[r]=e.face[r]);if(this.fonts[n]?this.fonts[n].push(t):this.fonts[n]=[t],!e.svg)for(var o in t.face["units-per-em"]=Z(e.face["units-per-em"],10),e.glyphs)if(e.glyphs[k](o)){var i=e.glyphs[o];if(t.glyphs[o]={w:i.w,k:{},d:i.d&&"M"+i.d.replace(/[mlcxtrv]/g,function(e){return{l:"L",c:"C",x:"z",t:"m",r:"l",v:"c"}[e]||"M"})+"z"},i.k)for(var a in i.k)i[k](a)&&(t.glyphs[o].k[a]=i.k[a])}return e},b.getFont=function(e,n,r,o){if(o=o||"normal",r=r||"normal",n=+n||{normal:400,bold:700,lighter:300,bolder:800}[n]||400,t.fonts){var i,a=t.fonts[e];if(!a){var s=new RegExp("(^|\\s)"+e.replace(/[^\w\d\s+!~.:_-]/g,j)+"(\\s|$)","i");for(var l in t.fonts)if(t.fonts[k](l)&&s.test(l)){a=t.fonts[l];break}}if(a)for(var u=0,c=a.length;u<c&&((i=a[u]).face["font-weight"]!=n||i.face["font-style"]!=r&&i.face["font-style"]||i.face["font-stretch"]!=o);u++);return i}},b.print=function(e,n,r,o,i,a,s,l){a=a||"middle",s=B(z(s||0,1),-1),l=B(z(l||1,3),1);var u,c=E(r)[N](j),f=0,d=0,h=j;if(t.is(o,"string")&&(o=this.getFont(o)),o){u=(i||16)/o.face["units-per-em"];for(var p=o.face.bbox[N](y),g=+p[0],m=p[3]-p[1],v=0,b=+p[1]+("baseline"==a?m+ +o.face.descent:m/2),x=0,w=c.length;x<w;x++){if("\n"==c[x])f=0,C=0,d=0,v+=m*l;else{var k=d&&o.glyphs[c[x-1]]||{},C=o.glyphs[c[x]];f+=d?(k.w||o.w)+(k.k&&k.k[c[x]]||0)+o.w*s:0,d=1}C&&C.d&&(h+=t.transformPath(C.d,["t",f*u,v*u,"s",u,u,g,b,"t",(e-g)/u,(n-b)/u]))}}return this.path(h).attr({fill:"#000",stroke:"none"})},b.add=function(e){if(t.is(e,"array"))for(var n,r=this.set(),o=0,i=e.length;o<i;o++)n=e[o]||{},x[k](n.type)&&r.push(this[n.type]().attr(n));return r},t.format=function(e,n){var r=t.is(n,q)?[0][A](n):arguments;return e&&t.is(e,H)&&r.length-1&&(e=e.replace(w,function(e,t){return null==r[++t]?j:r[t]})),e||j},t.fullfill=function(){var e=/\{([^\}]+)\}/g,t=/(?:(?:^|\.)(.+?)(?=\[|\.|$|\()|\[('|")(.+?)\2\])(\(\))?/g,n=function(e,n,r){var o=r;return n.replace(t,function(e,t,n,r,i){t=t||r,o&&(t in o&&(o=o[t]),"function"==typeof o&&i&&(o=o()))}),o=(null==o||o==r?e:o)+""};return function(t,r){return String(t).replace(e,function(e,t){return n(e,t,r)})}}(),t.ninja=function(){if(S.was)C.win.Raphael=S.is;else{window.Raphael=void 0;try{delete window.Raphael}catch(e){}}return t},t.st=st,e.on("raphael.DOMload",function(){v=!0}),function(e,n,r){null==e.readyState&&e.addEventListener&&(e.addEventListener(n,r=function(){e.removeEventListener(n,r,!1),e.readyState="complete"},!1),e.readyState="loading"),function n(){/in/.test(e.readyState)?setTimeout(n,9):t.eve("raphael.DOMload")}()}(document,"DOMContentLoaded"),t}.apply(t,r))||(e.exports=o)},function(e,t,n){var r,o,i,a,s,l,u,c,f,d,h,p,g,m;a="0.5.0",s="hasOwnProperty",l=/[\.\/]/,u=/\s*,\s*/,c=function(e,t){return e-t},f={n:{}},d=function(){for(var e=0,t=this.length;e<t;e++)if(void 0!==this[e])return this[e]},h=function(){for(var e=this.length;--e;)if(void 0!==this[e])return this[e]},p=Object.prototype.toString,g=String,m=Array.isArray||function(e){return e instanceof Array||"[object Array]"==p.call(e)},eve=function(e,t){var n,r=i,a=Array.prototype.slice.call(arguments,2),s=eve.listeners(e),l=0,u=[],f={},p=[],g=o;p.firstDefined=d,p.lastDefined=h,o=e,i=0;for(var m=0,v=s.length;m<v;m++)"zIndex"in s[m]&&(u.push(s[m].zIndex),s[m].zIndex<0&&(f[s[m].zIndex]=s[m]));for(u.sort(c);u[l]<0;)if(n=f[u[l++]],p.push(n.apply(t,a)),i)return i=r,p;for(m=0;m<v;m++)if("zIndex"in(n=s[m]))if(n.zIndex==u[l]){if(p.push(n.apply(t,a)),i)break;do{if((n=f[u[++l]])&&p.push(n.apply(t,a)),i)break}while(n)}else f[n.zIndex]=n;else if(p.push(n.apply(t,a)),i)break;return i=r,o=g,p},eve._events=f,eve.listeners=function(e){var t,n,r,o,i,a,s,u,c=m(e)?e:e.split(l),d=f,h=[d],p=[];for(o=0,i=c.length;o<i;o++){for(u=[],a=0,s=h.length;a<s;a++)for(n=[(d=h[a].n)[c[o]],d["*"]],r=2;r--;)(t=n[r])&&(u.push(t),p=p.concat(t.f||[]));h=u}return p},eve.separator=function(e){e?(e="["+(e=g(e).replace(/(?=[\.\^\]\[\-])/g,"\\"))+"]",l=new RegExp(e)):l=/[\.\/]/},eve.on=function(e,t){if("function"!=typeof t)return function(){};for(var n=m(e)?m(e[0])?e:[e]:g(e).split(u),r=0,o=n.length;r<o;r++)!function(e){for(var n,r=m(e)?e:g(e).split(l),o=f,i=0,a=r.length;i<a;i++)o=(o=o.n).hasOwnProperty(r[i])&&o[r[i]]||(o[r[i]]={n:{}});for(o.f=o.f||[],i=0,a=o.f.length;i<a;i++)if(o.f[i]==t){n=!0;break}!n&&o.f.push(t)}(n[r]);return function(e){+e==+e&&(t.zIndex=+e)}},eve.f=function(e){var t=[].slice.call(arguments,1);return function(){eve.apply(null,[e,null].concat(t).concat([].slice.call(arguments,0)))}},eve.stop=function(){i=1},eve.nt=function(e){var t=m(o)?o.join("."):o;return e?new RegExp("(?:\\.|\\/|^)"+e+"(?:\\.|\\/|$)").test(t):t},eve.nts=function(){return m(o)?o:o.split(l)},eve.off=eve.unbind=function(e,t){if(e){var n=m(e)?m(e[0])?e:[e]:g(e).split(u);if(n.length>1)for(var r=0,o=n.length;r<o;r++)eve.off(n[r],t);else{n=m(e)?e:g(e).split(l);var i,a,c,d,h,p=[f];for(r=0,o=n.length;r<o;r++)for(d=0;d<p.length;d+=c.length-2){if(c=[d,1],i=p[d].n,"*"!=n[r])i[n[r]]&&c.push(i[n[r]]);else for(a in i)i[s](a)&&c.push(i[a]);p.splice.apply(p,c)}for(r=0,o=p.length;r<o;r++)for(i=p[r];i.n;){if(t){if(i.f){for(d=0,h=i.f.length;d<h;d++)if(i.f[d]==t){i.f.splice(d,1);break}!i.f.length&&delete i.f}for(a in i.n)if(i.n[s](a)&&i.n[a].f){var v=i.n[a].f;for(d=0,h=v.length;d<h;d++)if(v[d]==t){v.splice(d,1);break}!v.length&&delete i.n[a].f}}else for(a in delete i.f,i.n)i.n[s](a)&&i.n[a].f&&delete i.n[a].f;i=i.n}}}else eve._events=f={n:{}}},eve.once=function(e,t){var n=function(){return eve.off(e,n),t.apply(this,arguments)};return eve.on(e,n)},eve.version=a,eve.toString=function(){return"You are running Eve "+a},void 0!==e&&e.exports?e.exports=eve:void 0===(r=function(){return eve}.apply(t,[]))||(e.exports=r)},function(e,t,n){var r,o;r=[n(1)],void 0===(o=function(e){if(!e||e.svg){var t="hasOwnProperty",n=String,r=parseFloat,o=parseInt,i=Math,a=i.max,s=i.abs,l=i.pow,u=/[, ]+/,c=e.eve,f="",d=" ",h="http://www.w3.org/1999/xlink",p={block:"M5,0 0,2.5 5,5z",classic:"M5,0 0,2.5 5,5 3.5,3 3.5,2z",diamond:"M2.5,0 5,2.5 2.5,5 0,2.5z",open:"M6,1 1,3.5 6,6",oval:"M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z"},g={};e.toString=function(){return"Your browser supports SVG.\nYou are running Raphaël "+this.version};var m=function(r,o){if(o)for(var i in"string"==typeof r&&(r=m(r)),o)o[t](i)&&("xlink:"==i.substring(0,6)?r.setAttributeNS(h,i.substring(6),n(o[i])):r.setAttribute(i,n(o[i])));else(r=e._g.doc.createElementNS("http://www.w3.org/2000/svg",r)).style&&(r.style.webkitTapHighlightColor="rgba(0,0,0,0)");return r},v=function(t,o){var u="linear",c=t.id+o,d=.5,h=.5,p=t.node,g=t.paper,v=p.style,y=e._g.doc.getElementById(c);if(!y){if(o=(o=n(o).replace(e._radial_gradient,function(e,t,n){if(u="radial",t&&n){d=r(t);var o=2*((h=r(n))>.5)-1;l(d-.5,2)+l(h-.5,2)>.25&&(h=i.sqrt(.25-l(d-.5,2))*o+.5)&&.5!=h&&(h=h.toFixed(5)-1e-5*o)}return f})).split(/\s*\-\s*/),"linear"==u){var x=o.shift();if(x=-r(x),isNaN(x))return null;var w=[0,0,i.cos(e.rad(x)),i.sin(e.rad(x))],k=1/(a(s(w[2]),s(w[3]))||1);w[2]*=k,w[3]*=k,w[2]<0&&(w[0]=-w[2],w[2]=0),w[3]<0&&(w[1]=-w[3],w[3]=0)}var C=e._parseDots(o);if(!C)return null;if(c=c.replace(/[\(\)\s,\xb0#]/g,"_"),t.gradient&&c!=t.gradient.id&&(g.defs.removeChild(t.gradient),delete t.gradient),!t.gradient){y=m(u+"Gradient",{id:c}),t.gradient=y,m(y,"radial"==u?{fx:d,fy:h}:{x1:w[0],y1:w[1],x2:w[2],y2:w[3],gradientTransform:t.matrix.invert()}),g.defs.appendChild(y);for(var S=0,F=C.length;S<F;S++)y.appendChild(m("stop",{offset:C[S].offset?C[S].offset:S?"100%":"0%","stop-color":C[S].color||"#fff","stop-opacity":isFinite(C[S].opacity)?C[S].opacity:1}))}}return m(p,{fill:b(c),opacity:1,"fill-opacity":1}),v.fill=f,v.opacity=1,v.fillOpacity=1,1},b=function(e){if(function(){var e=document.documentMode;return e&&(9===e||10===e)}())return"url('#"+e+"')";var t=document.location;return"url('"+(t.protocol+"//"+t.host+t.pathname+t.search)+"#"+e+"')"},y=function(e){var t=e.getBBox(1);m(e.pattern,{patternTransform:e.matrix.invert()+" translate("+t.x+","+t.y+")"})},x=function(r,o,i){if("path"==r.type){for(var a,s,l,u,c,d=n(o).toLowerCase().split("-"),h=r.paper,v=i?"end":"start",b=r.node,y=r.attrs,x=y["stroke-width"],w=d.length,k="classic",C=3,S=3,F=5;w--;)switch(d[w]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":k=d[w];break;case"wide":S=5;break;case"narrow":S=2;break;case"long":C=5;break;case"short":C=2}if("open"==k?(C+=2,S+=2,F+=2,l=1,u=i?4:1,c={fill:"none",stroke:y.stroke}):(u=l=C/2,c={fill:y.stroke,stroke:"none"}),r._.arrows?i?(r._.arrows.endPath&&g[r._.arrows.endPath]--,r._.arrows.endMarker&&g[r._.arrows.endMarker]--):(r._.arrows.startPath&&g[r._.arrows.startPath]--,r._.arrows.startMarker&&g[r._.arrows.startMarker]--):r._.arrows={},"none"!=k){var T="raphael-marker-"+k,A="raphael-marker-"+v+k+C+S+"-obj"+r.id;e._g.doc.getElementById(T)?g[T]++:(h.defs.appendChild(m(m("path"),{"stroke-linecap":"round",d:p[k],id:T})),g[T]=1);var _,j=e._g.doc.getElementById(A);j?(g[A]++,_=j.getElementsByTagName("use")[0]):(j=m(m("marker"),{id:A,markerHeight:S,markerWidth:C,orient:"auto",refX:u,refY:S/2}),_=m(m("use"),{"xlink:href":"#"+T,transform:(i?"rotate(180 "+C/2+" "+S/2+") ":f)+"scale("+C/F+","+S/F+")","stroke-width":(1/((C/F+S/F)/2)).toFixed(4)}),j.appendChild(_),h.defs.appendChild(j),g[A]=1),m(_,c);var L=l*("diamond"!=k&&"oval"!=k);i?(a=r._.arrows.startdx*x||0,s=e.getTotalLength(y.path)-L*x):(a=L*x,s=e.getTotalLength(y.path)-(r._.arrows.enddx*x||0)),(c={})["marker-"+v]="url(#"+A+")",(s||a)&&(c.d=e.getSubpath(y.path,a,s)),m(b,c),r._.arrows[v+"Path"]=T,r._.arrows[v+"Marker"]=A,r._.arrows[v+"dx"]=L,r._.arrows[v+"Type"]=k,r._.arrows[v+"String"]=o}else i?(a=r._.arrows.startdx*x||0,s=e.getTotalLength(y.path)-a):(a=0,s=e.getTotalLength(y.path)-(r._.arrows.enddx*x||0)),r._.arrows[v+"Path"]&&m(b,{d:e.getSubpath(y.path,a,s)}),delete r._.arrows[v+"Path"],delete r._.arrows[v+"Marker"],delete r._.arrows[v+"dx"],delete r._.arrows[v+"Type"],delete r._.arrows[v+"String"];for(c in g)if(g[t](c)&&!g[c]){var E=e._g.doc.getElementById(c);E&&E.parentNode.removeChild(E)}}},w={"-":[3,1],".":[1,1],"-.":[3,1,1,1],"-..":[3,1,1,1,1,1],". ":[1,3],"- ":[4,3],"--":[8,3],"- .":[4,3,1,3],"--.":[8,3,1,3],"--..":[8,3,1,3,1,3]},k=function(e,t,r){if(t=w[n(t).toLowerCase()]){for(var o=e.attrs["stroke-width"]||"1",i={round:o,square:o,butt:0}[e.attrs["stroke-linecap"]||r["stroke-linecap"]]||0,a=[],s=t.length;s--;)a[s]=t[s]*o+(s%2?1:-1)*i;m(e.node,{"stroke-dasharray":a.join(",")})}else m(e.node,{"stroke-dasharray":"none"})},C=function(r,i){var l=r.node,c=r.attrs,d=l.style.visibility;for(var p in l.style.visibility="hidden",i)if(i[t](p)){if(!e._availableAttrs[t](p))continue;var g=i[p];switch(c[p]=g,p){case"blur":r.blur(g);break;case"title":var b=l.getElementsByTagName("title");if(b.length&&(b=b[0]))b.firstChild.nodeValue=g;else{b=m("title");var w=e._g.doc.createTextNode(g);b.appendChild(w),l.appendChild(b)}break;case"href":case"target":var C=l.parentNode;if("a"!=C.tagName.toLowerCase()){var F=m("a");C.insertBefore(F,l),F.appendChild(l),C=F}"target"==p?C.setAttributeNS(h,"show","blank"==g?"new":g):C.setAttributeNS(h,p,g);break;case"cursor":l.style.cursor=g;break;case"transform":r.transform(g);break;case"arrow-start":x(r,g);break;case"arrow-end":x(r,g,1);break;case"clip-rect":var T=n(g).split(u);if(4==T.length){r.clip&&r.clip.parentNode.parentNode.removeChild(r.clip.parentNode);var A=m("clipPath"),_=m("rect");A.id=e.createUUID(),m(_,{x:T[0],y:T[1],width:T[2],height:T[3]}),A.appendChild(_),r.paper.defs.appendChild(A),m(l,{"clip-path":"url(#"+A.id+")"}),r.clip=_}if(!g){var j=l.getAttribute("clip-path");if(j){var L=e._g.doc.getElementById(j.replace(/(^url\(#|\)$)/g,f));L&&L.parentNode.removeChild(L),m(l,{"clip-path":f}),delete r.clip}}break;case"path":"path"==r.type&&(m(l,{d:g?c.path=e._pathToAbsolute(g):"M0,0"}),r._.dirty=1,r._.arrows&&("startString"in r._.arrows&&x(r,r._.arrows.startString),"endString"in r._.arrows&&x(r,r._.arrows.endString,1)));break;case"width":if(l.setAttribute(p,g),r._.dirty=1,!c.fx)break;p="x",g=c.x;case"x":c.fx&&(g=-c.x-(c.width||0));case"rx":if("rx"==p&&"rect"==r.type)break;case"cx":l.setAttribute(p,g),r.pattern&&y(r),r._.dirty=1;break;case"height":if(l.setAttribute(p,g),r._.dirty=1,!c.fy)break;p="y",g=c.y;case"y":c.fy&&(g=-c.y-(c.height||0));case"ry":if("ry"==p&&"rect"==r.type)break;case"cy":l.setAttribute(p,g),r.pattern&&y(r),r._.dirty=1;break;case"r":"rect"==r.type?m(l,{rx:g,ry:g}):l.setAttribute(p,g),r._.dirty=1;break;case"src":"image"==r.type&&l.setAttributeNS(h,"href",g);break;case"stroke-width":1==r._.sx&&1==r._.sy||(g/=a(s(r._.sx),s(r._.sy))||1),l.setAttribute(p,g),c["stroke-dasharray"]&&k(r,c["stroke-dasharray"],i),r._.arrows&&("startString"in r._.arrows&&x(r,r._.arrows.startString),"endString"in r._.arrows&&x(r,r._.arrows.endString,1));break;case"stroke-dasharray":k(r,g,i);break;case"fill":var E=n(g).match(e._ISURL);if(E){A=m("pattern");var N=m("image");A.id=e.createUUID(),m(A,{x:0,y:0,patternUnits:"userSpaceOnUse",height:1,width:1}),m(N,{x:0,y:0,"xlink:href":E[1]}),A.appendChild(N),function(t){e._preload(E[1],function(){var e=this.offsetWidth,n=this.offsetHeight;m(t,{width:e,height:n}),m(N,{width:e,height:n})})}(A),r.paper.defs.appendChild(A),m(l,{fill:"url(#"+A.id+")"}),r.pattern=A,r.pattern&&y(r);break}var D=e.getRGB(g);if(D.error){if(("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&v(r,g)){if("opacity"in c||"fill-opacity"in c){var M=e._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,f));if(M){var O=M.getElementsByTagName("stop");m(O[O.length-1],{"stop-opacity":("opacity"in c?c.opacity:1)*("fill-opacity"in c?c["fill-opacity"]:1)})}}c.gradient=g,c.fill="none";break}}else delete i.gradient,delete c.gradient,!e.is(c.opacity,"undefined")&&e.is(i.opacity,"undefined")&&m(l,{opacity:c.opacity}),!e.is(c["fill-opacity"],"undefined")&&e.is(i["fill-opacity"],"undefined")&&m(l,{"fill-opacity":c["fill-opacity"]});D[t]("opacity")&&m(l,{"fill-opacity":D.opacity>1?D.opacity/100:D.opacity});case"stroke":D=e.getRGB(g),l.setAttribute(p,D.hex),"stroke"==p&&D[t]("opacity")&&m(l,{"stroke-opacity":D.opacity>1?D.opacity/100:D.opacity}),"stroke"==p&&r._.arrows&&("startString"in r._.arrows&&x(r,r._.arrows.startString),"endString"in r._.arrows&&x(r,r._.arrows.endString,1));break;case"gradient":("circle"==r.type||"ellipse"==r.type||"r"!=n(g).charAt())&&v(r,g);break;case"opacity":c.gradient&&!c[t]("stroke-opacity")&&m(l,{"stroke-opacity":g>1?g/100:g});case"fill-opacity":if(c.gradient){(M=e._g.doc.getElementById(l.getAttribute("fill").replace(/^url\(#|\)$/g,f)))&&(O=M.getElementsByTagName("stop"),m(O[O.length-1],{"stop-opacity":g}));break}default:"font-size"==p&&(g=o(g,10)+"px");var I=p.replace(/(\-.)/g,function(e){return e.substring(1).toUpperCase()});l.style[I]=g,r._.dirty=1,l.setAttribute(p,g)}}S(r,i),l.style.visibility=d},S=function(r,i){if("text"==r.type&&(i[t]("text")||i[t]("font")||i[t]("font-size")||i[t]("x")||i[t]("y"))){var a=r.attrs,s=r.node,l=s.firstChild?o(e._g.doc.defaultView.getComputedStyle(s.firstChild,f).getPropertyValue("font-size"),10):10;if(i[t]("text")){for(a.text=i.text;s.firstChild;)s.removeChild(s.firstChild);for(var u,c=n(i.text).split("\n"),d=[],h=0,p=c.length;h<p;h++)u=m("tspan"),h&&m(u,{dy:1.2*l,x:a.x}),u.appendChild(e._g.doc.createTextNode(c[h])),s.appendChild(u),d[h]=u}else for(h=0,p=(d=s.getElementsByTagName("tspan")).length;h<p;h++)h?m(d[h],{dy:1.2*l,x:a.x}):m(d[0],{dy:0});m(s,{x:a.x,y:a.y}),r._.dirty=1;var g=r._getBBox(),v=a.y-(g.y+g.height/2);v&&e.is(v,"finite")&&m(d[0],{dy:v})}},F=function(e){return e.parentNode&&"a"===e.parentNode.tagName.toLowerCase()?e.parentNode:e},T=function(t,n){this[0]=this.node=t,t.raphael=!0,this.id=("0000"+(Math.random()*Math.pow(36,5)<<0).toString(36)).slice(-5),t.raphaelid=this.id,this.matrix=e.matrix(),this.realPath=null,this.paper=n,this.attrs=this.attrs||{},this._={transform:[],sx:1,sy:1,deg:0,dx:0,dy:0,dirty:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},A=e.el;T.prototype=A,A.constructor=T,e._engine.path=function(e,t){var n=m("path");t.canvas&&t.canvas.appendChild(n);var r=new T(n,t);return r.type="path",C(r,{fill:"none",stroke:"#000",path:e}),r},A.rotate=function(e,t,o){if(this.removed)return this;if((e=n(e).split(u)).length-1&&(t=r(e[1]),o=r(e[2])),e=r(e[0]),null==o&&(t=o),null==t||null==o){var i=this.getBBox(1);t=i.x+i.width/2,o=i.y+i.height/2}return this.transform(this._.transform.concat([["r",e,t,o]])),this},A.scale=function(e,t,o,i){if(this.removed)return this;if((e=n(e).split(u)).length-1&&(t=r(e[1]),o=r(e[2]),i=r(e[3])),e=r(e[0]),null==t&&(t=e),null==i&&(o=i),null==o||null==i)var a=this.getBBox(1);return o=null==o?a.x+a.width/2:o,i=null==i?a.y+a.height/2:i,this.transform(this._.transform.concat([["s",e,t,o,i]])),this},A.translate=function(e,t){return this.removed?this:((e=n(e).split(u)).length-1&&(t=r(e[1])),e=r(e[0])||0,t=+t||0,this.transform(this._.transform.concat([["t",e,t]])),this)},A.transform=function(n){var r=this._;if(null==n)return r.transform;if(e._extractTransform(this,n),this.clip&&m(this.clip,{transform:this.matrix.invert()}),this.pattern&&y(this),this.node&&m(this.node,{transform:this.matrix}),1!=r.sx||1!=r.sy){var o=this.attrs[t]("stroke-width")?this.attrs["stroke-width"]:1;this.attr({"stroke-width":o})}return this},A.hide=function(){return this.removed||(this.node.style.display="none"),this},A.show=function(){return this.removed||(this.node.style.display=""),this},A.remove=function(){var t=F(this.node);if(!this.removed&&t.parentNode){var n=this.paper;for(var r in n.__set__&&n.__set__.exclude(this),c.unbind("raphael.*.*."+this.id),this.gradient&&n.defs.removeChild(this.gradient),e._tear(this,n),t.parentNode.removeChild(t),this.removeData(),this)this[r]="function"==typeof this[r]?e._removedFactory(r):null;this.removed=!0}},A._getBBox=function(){if("none"==this.node.style.display){this.show();var e=!0}var t,n=!1;this.paper.canvas.parentElement?t=this.paper.canvas.parentElement.style:this.paper.canvas.parentNode&&(t=this.paper.canvas.parentNode.style),t&&"none"==t.display&&(n=!0,t.display="");var r={};try{r=this.node.getBBox()}catch(e){r={x:this.node.clientLeft,y:this.node.clientTop,width:this.node.clientWidth,height:this.node.clientHeight}}finally{r=r||{},n&&(t.display="none")}return e&&this.hide(),r},A.attr=function(n,r){if(this.removed)return this;if(null==n){var o={};for(var i in this.attrs)this.attrs[t](i)&&(o[i]=this.attrs[i]);return o.gradient&&"none"==o.fill&&(o.fill=o.gradient)&&delete o.gradient,o.transform=this._.transform,o}if(null==r&&e.is(n,"string")){if("fill"==n&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;if("transform"==n)return this._.transform;for(var a=n.split(u),s={},l=0,f=a.length;l<f;l++)(n=a[l])in this.attrs?s[n]=this.attrs[n]:e.is(this.paper.customAttributes[n],"function")?s[n]=this.paper.customAttributes[n].def:s[n]=e._availableAttrs[n];return f-1?s:s[a[0]]}if(null==r&&e.is(n,"array")){for(s={},l=0,f=n.length;l<f;l++)s[n[l]]=this.attr(n[l]);return s}if(null!=r){var d={};d[n]=r}else null!=n&&e.is(n,"object")&&(d=n);for(var h in d)c("raphael.attr."+h+"."+this.id,this,d[h]);for(h in this.paper.customAttributes)if(this.paper.customAttributes[t](h)&&d[t](h)&&e.is(this.paper.customAttributes[h],"function")){var p=this.paper.customAttributes[h].apply(this,[].concat(d[h]));for(var g in this.attrs[h]=d[h],p)p[t](g)&&(d[g]=p[g])}return C(this,d),this},A.toFront=function(){if(this.removed)return this;var t=F(this.node);t.parentNode.appendChild(t);var n=this.paper;return n.top!=this&&e._tofront(this,n),this},A.toBack=function(){if(this.removed)return this;var t=F(this.node),n=t.parentNode;n.insertBefore(t,n.firstChild),e._toback(this,this.paper);this.paper;return this},A.insertAfter=function(t){if(this.removed||!t)return this;var n=F(this.node),r=F(t.node||t[t.length-1].node);return r.nextSibling?r.parentNode.insertBefore(n,r.nextSibling):r.parentNode.appendChild(n),e._insertafter(this,t,this.paper),this},A.insertBefore=function(t){if(this.removed||!t)return this;var n=F(this.node),r=F(t.node||t[0].node);return r.parentNode.insertBefore(n,r),e._insertbefore(this,t,this.paper),this},A.blur=function(t){var n=this;if(0!=+t){var r=m("filter"),o=m("feGaussianBlur");n.attrs.blur=t,r.id=e.createUUID(),m(o,{stdDeviation:+t||1.5}),r.appendChild(o),n.paper.defs.appendChild(r),n._blur=r,m(n.node,{filter:"url(#"+r.id+")"})}else n._blur&&(n._blur.parentNode.removeChild(n._blur),delete n._blur,delete n.attrs.blur),n.node.removeAttribute("filter");return n},e._engine.circle=function(e,t,n,r){var o=m("circle");e.canvas&&e.canvas.appendChild(o);var i=new T(o,e);return i.attrs={cx:t,cy:n,r:r,fill:"none",stroke:"#000"},i.type="circle",m(o,i.attrs),i},e._engine.rect=function(e,t,n,r,o,i){var a=m("rect");e.canvas&&e.canvas.appendChild(a);var s=new T(a,e);return s.attrs={x:t,y:n,width:r,height:o,rx:i||0,ry:i||0,fill:"none",stroke:"#000"},s.type="rect",m(a,s.attrs),s},e._engine.ellipse=function(e,t,n,r,o){var i=m("ellipse");e.canvas&&e.canvas.appendChild(i);var a=new T(i,e);return a.attrs={cx:t,cy:n,rx:r,ry:o,fill:"none",stroke:"#000"},a.type="ellipse",m(i,a.attrs),a},e._engine.image=function(e,t,n,r,o,i){var a=m("image");m(a,{x:n,y:r,width:o,height:i,preserveAspectRatio:"none"}),a.setAttributeNS(h,"href",t),e.canvas&&e.canvas.appendChild(a);var s=new T(a,e);return s.attrs={x:n,y:r,width:o,height:i,src:t},s.type="image",s},e._engine.text=function(t,n,r,o){var i=m("text");t.canvas&&t.canvas.appendChild(i);var a=new T(i,t);return a.attrs={x:n,y:r,"text-anchor":"middle",text:o,"font-family":e._availableAttrs["font-family"],"font-size":e._availableAttrs["font-size"],stroke:"none",fill:"#000"},a.type="text",C(a,a.attrs),a},e._engine.setSize=function(e,t){return this.width=e||this.width,this.height=t||this.height,this.canvas.setAttribute("width",this.width),this.canvas.setAttribute("height",this.height),this._viewBox&&this.setViewBox.apply(this,this._viewBox),this},e._engine.create=function(){var t=e._getContainer.apply(0,arguments),n=t&&t.container,r=t.x,o=t.y,i=t.width,a=t.height;if(!n)throw new Error("SVG container not found.");var s,l=m("svg"),u="overflow:hidden;";return r=r||0,o=o||0,i=i||512,m(l,{height:a=a||342,version:1.1,width:i,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}),1==n?(l.style.cssText=u+"position:absolute;left:"+r+"px;top:"+o+"px",e._g.doc.body.appendChild(l),s=1):(l.style.cssText=u+"position:relative",n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l)),(n=new e._Paper).width=i,n.height=a,n.canvas=l,n.clear(),n._left=n._top=0,s&&(n.renderfix=function(){}),n.renderfix(),n},e._engine.setViewBox=function(e,t,n,r,o){c("raphael.setViewBox",this,this._viewBox,[e,t,n,r,o]);var i,s,l=this.getSize(),u=a(n/l.width,r/l.height),f=this.top,h=o?"xMidYMid meet":"xMinYMin";for(null==e?(this._vbSize&&(u=1),delete this._vbSize,i="0 0 "+this.width+d+this.height):(this._vbSize=u,i=e+d+t+d+n+d+r),m(this.canvas,{viewBox:i,preserveAspectRatio:h});u&&f;)s="stroke-width"in f.attrs?f.attrs["stroke-width"]:1,f.attr({"stroke-width":s}),f._.dirty=1,f._.dirtyT=1,f=f.prev;return this._viewBox=[e,t,n,r,!!o],this},e.prototype.renderfix=function(){var e,t=this.canvas,n=t.style;try{e=t.getScreenCTM()||t.createSVGMatrix()}catch(n){e=t.createSVGMatrix()}var r=-e.e%1,o=-e.f%1;(r||o)&&(r&&(this._left=(this._left+r)%1,n.left=this._left+"px"),o&&(this._top=(this._top+o)%1,n.top=this._top+"px"))},e.prototype.clear=function(){e.eve("raphael.clear",this);for(var t=this.canvas;t.firstChild;)t.removeChild(t.firstChild);this.bottom=this.top=null,(this.desc=m("desc")).appendChild(e._g.doc.createTextNode("Created with Raphaël "+e.version)),t.appendChild(this.desc),t.appendChild(this.defs=m("defs"))},e.prototype.remove=function(){for(var t in c("raphael.remove",this),this.canvas.parentNode&&this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null};var _=e.st;for(var j in A)A[t](j)&&!_[t](j)&&(_[j]=function(e){return function(){var t=arguments;return this.forEach(function(n){n[e].apply(n,t)})}}(j))}}.apply(t,r))||(e.exports=o)},function(e,t,n){var r,o;r=[n(1)],void 0===(o=function(e){if(!e||e.vml){var t="hasOwnProperty",n=String,r=parseFloat,o=Math,i=o.round,a=o.max,s=o.min,l=o.abs,u="fill",c=/[, ]+/,f=e.eve,d=" ",h="",p={M:"m",L:"l",C:"c",Z:"x",m:"t",l:"r",c:"v",z:"x"},g=/([clmz]),?([^clmz]*)/gi,m=/ progid:\S+Blur\([^\)]+\)/g,v=/-?[^,\s-]+/g,b="position:absolute;left:0;top:0;width:1px;height:1px;behavior:url(#default#VML)",y=21600,x={path:1,rect:1,image:1},w={circle:1,ellipse:1},k=function(t){var r=/[ahqstv]/gi,o=e._pathToAbsolute;if(n(t).match(r)&&(o=e._path2curve),r=/[clmz]/g,o==e._pathToAbsolute&&!n(t).match(r)){var a=n(t).replace(g,function(e,t,n){var r=[],o="m"==t.toLowerCase(),a=p[t];return n.replace(v,function(e){o&&2==r.length&&(a+=r+p["m"==t?"l":"L"],r=[]),r.push(i(e*y))}),a+r});return a}var s,l,u=o(t);a=[];for(var c=0,f=u.length;c<f;c++){s=u[c],"z"==(l=u[c][0].toLowerCase())&&(l="x");for(var m=1,b=s.length;m<b;m++)l+=i(s[m]*y)+(m!=b-1?",":h);a.push(l)}return a.join(d)},C=function(t,n,r){var o=e.matrix();return o.rotate(-t,.5,.5),{dx:o.x(n,r),dy:o.y(n,r)}},S=function(e,t,n,r,o,i){var a=e._,s=e.matrix,c=a.fillpos,f=e.node,h=f.style,p=1,g="",m=y/t,v=y/n;if(h.visibility="hidden",t&&n){if(f.coordsize=l(m)+d+l(v),h.rotation=i*(t*n<0?-1:1),i){var b=C(i,r,o);r=b.dx,o=b.dy}if(t<0&&(g+="x"),n<0&&(g+=" y")&&(p=-1),h.flip=g,f.coordorigin=r*-m+d+o*-v,c||a.fillsize){var x=f.getElementsByTagName(u);x=x&&x[0],f.removeChild(x),c&&(b=C(i,s.x(c[0],c[1]),s.y(c[0],c[1])),x.position=b.dx*p+d+b.dy*p),a.fillsize&&(x.size=a.fillsize[0]*l(t)+d+a.fillsize[1]*l(n)),f.appendChild(x)}h.visibility="visible"}};e.toString=function(){return"Your browser doesn’t support SVG. Falling down to VML.\nYou are running Raphaël "+this.version};var F,T=function(e,t,r){for(var o=n(t).toLowerCase().split("-"),i=r?"end":"start",a=o.length,s="classic",l="medium",u="medium";a--;)switch(o[a]){case"block":case"classic":case"oval":case"diamond":case"open":case"none":s=o[a];break;case"wide":case"narrow":u=o[a];break;case"long":case"short":l=o[a]}var c=e.node.getElementsByTagName("stroke")[0];c[i+"arrow"]=s,c[i+"arrowlength"]=l,c[i+"arrowwidth"]=u},A=function(o,l){o.attrs=o.attrs||{};var f=o.node,p=o.attrs,g=f.style,m=x[o.type]&&(l.x!=p.x||l.y!=p.y||l.width!=p.width||l.height!=p.height||l.cx!=p.cx||l.cy!=p.cy||l.rx!=p.rx||l.ry!=p.ry||l.r!=p.r),v=w[o.type]&&(p.cx!=l.cx||p.cy!=l.cy||p.r!=l.r||p.rx!=l.rx||p.ry!=l.ry),b=o;for(var C in l)l[t](C)&&(p[C]=l[C]);if(m&&(p.path=e._getPath[o.type](o),o._.dirty=1),l.href&&(f.href=l.href),l.title&&(f.title=l.title),l.target&&(f.target=l.target),l.cursor&&(g.cursor=l.cursor),"blur"in l&&o.blur(l.blur),(l.path&&"path"==o.type||m)&&(f.path=k(~n(p.path).toLowerCase().indexOf("r")?e._pathToAbsolute(p.path):p.path),o._.dirty=1,"image"==o.type&&(o._.fillpos=[p.x,p.y],o._.fillsize=[p.width,p.height],S(o,1,1,0,0,0))),"transform"in l&&o.transform(l.transform),v){var A=+p.cx,j=+p.cy,L=+p.rx||+p.r||0,E=+p.ry||+p.r||0;f.path=e.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x",i((A-L)*y),i((j-E)*y),i((A+L)*y),i((j+E)*y),i(A*y)),o._.dirty=1}if("clip-rect"in l){var N=n(l["clip-rect"]).split(c);if(4==N.length){N[2]=+N[2]+ +N[0],N[3]=+N[3]+ +N[1];var D=f.clipRect||e._g.doc.createElement("div"),M=D.style;M.clip=e.format("rect({1}px {2}px {3}px {0}px)",N),f.clipRect||(M.position="absolute",M.top=0,M.left=0,M.width=o.paper.width+"px",M.height=o.paper.height+"px",f.parentNode.insertBefore(D,f),D.appendChild(f),f.clipRect=D)}l["clip-rect"]||f.clipRect&&(f.clipRect.style.clip="auto")}if(o.textpath){var O=o.textpath.style;l.font&&(O.font=l.font),l["font-family"]&&(O.fontFamily='"'+l["font-family"].split(",")[0].replace(/^['"]+|['"]+$/g,h)+'"'),l["font-size"]&&(O.fontSize=l["font-size"]),l["font-weight"]&&(O.fontWeight=l["font-weight"]),l["font-style"]&&(O.fontStyle=l["font-style"])}if("arrow-start"in l&&T(b,l["arrow-start"]),"arrow-end"in l&&T(b,l["arrow-end"],1),null!=l.opacity||null!=l.fill||null!=l.src||null!=l.stroke||null!=l["stroke-width"]||null!=l["stroke-opacity"]||null!=l["fill-opacity"]||null!=l["stroke-dasharray"]||null!=l["stroke-miterlimit"]||null!=l["stroke-linejoin"]||null!=l["stroke-linecap"]){var I=f.getElementsByTagName(u);if(!(I=I&&I[0])&&(I=F(u)),"image"==o.type&&l.src&&(I.src=l.src),l.fill&&(I.on=!0),null!=I.on&&"none"!=l.fill&&null!==l.fill||(I.on=!1),I.on&&l.fill){var B=n(l.fill).match(e._ISURL);if(B){I.parentNode==f&&f.removeChild(I),I.rotate=!0,I.src=B[1],I.type="tile";var z=o.getBBox(1);I.position=z.x+d+z.y,o._.fillpos=[z.x,z.y],e._preload(B[1],function(){o._.fillsize=[this.offsetWidth,this.offsetHeight]})}else I.color=e.getRGB(l.fill).hex,I.src=h,I.type="solid",e.getRGB(l.fill).error&&(b.type in{circle:1,ellipse:1}||"r"!=n(l.fill).charAt())&&_(b,l.fill,I)&&(p.fill="none",p.gradient=l.fill,I.rotate=!1)}if("fill-opacity"in l||"opacity"in l){var P=((+p["fill-opacity"]+1||2)-1)*((+p.opacity+1||2)-1)*((+e.getRGB(l.fill).o+1||2)-1);P=s(a(P,0),1),I.opacity=P,I.src&&(I.color="none")}f.appendChild(I);var $=f.getElementsByTagName("stroke")&&f.getElementsByTagName("stroke")[0],R=!1;!$&&(R=$=F("stroke")),(l.stroke&&"none"!=l.stroke||l["stroke-width"]||null!=l["stroke-opacity"]||l["stroke-dasharray"]||l["stroke-miterlimit"]||l["stroke-linejoin"]||l["stroke-linecap"])&&($.on=!0),("none"==l.stroke||null===l.stroke||null==$.on||0==l.stroke||0==l["stroke-width"])&&($.on=!1);var W=e.getRGB(l.stroke);$.on&&l.stroke&&($.color=W.hex),P=((+p["stroke-opacity"]+1||2)-1)*((+p.opacity+1||2)-1)*((+W.o+1||2)-1);var H=.75*(r(l["stroke-width"])||1);if(P=s(a(P,0),1),null==l["stroke-width"]&&(H=p["stroke-width"]),l["stroke-width"]&&($.weight=H),H&&H<1&&(P*=H)&&($.weight=1),$.opacity=P,l["stroke-linejoin"]&&($.joinstyle=l["stroke-linejoin"]||"miter"),$.miterlimit=l["stroke-miterlimit"]||8,l["stroke-linecap"]&&($.endcap="butt"==l["stroke-linecap"]?"flat":"square"==l["stroke-linecap"]?"square":"round"),"stroke-dasharray"in l){var q={"-":"shortdash",".":"shortdot","-.":"shortdashdot","-..":"shortdashdotdot",". ":"dot","- ":"dash","--":"longdash","- .":"dashdot","--.":"longdashdot","--..":"longdashdotdot"};$.dashstyle=q[t](l["stroke-dasharray"])?q[l["stroke-dasharray"]]:h}R&&f.appendChild($)}if("text"==b.type){b.paper.canvas.style.display=h;var U=b.paper.span,V=p.font&&p.font.match(/\d+(?:\.\d*)?(?=px)/);g=U.style,p.font&&(g.font=p.font),p["font-family"]&&(g.fontFamily=p["font-family"]),p["font-weight"]&&(g.fontWeight=p["font-weight"]),p["font-style"]&&(g.fontStyle=p["font-style"]),V=r(p["font-size"]||V&&V[0])||10,g.fontSize=100*V+"px",b.textpath.string&&(U.innerHTML=n(b.textpath.string).replace(/</g,"&#60;").replace(/&/g,"&#38;").replace(/\n/g,"<br>"));var G=U.getBoundingClientRect();b.W=p.w=(G.right-G.left)/100,b.H=p.h=(G.bottom-G.top)/100,b.X=p.x,b.Y=p.y+b.H/2,("x"in l||"y"in l)&&(b.path.v=e.format("m{0},{1}l{2},{1}",i(p.x*y),i(p.y*y),i(p.x*y)+1));for(var X=["x","y","text","font","font-family","font-weight","font-style","font-size"],Y=0,K=X.length;Y<K;Y++)if(X[Y]in l){b._.dirty=1;break}switch(p["text-anchor"]){case"start":b.textpath.style["v-text-align"]="left",b.bbx=b.W/2;break;case"end":b.textpath.style["v-text-align"]="right",b.bbx=-b.W/2;break;default:b.textpath.style["v-text-align"]="center",b.bbx=0}b.textpath.style["v-text-kern"]=!0}},_=function(t,i,a){t.attrs=t.attrs||{};t.attrs;var s=Math.pow,l="linear",u=".5 .5";if(t.attrs.gradient=i,i=(i=n(i).replace(e._radial_gradient,function(e,t,n){return l="radial",t&&n&&(t=r(t),n=r(n),s(t-.5,2)+s(n-.5,2)>.25&&(n=o.sqrt(.25-s(t-.5,2))*(2*(n>.5)-1)+.5),u=t+d+n),h})).split(/\s*\-\s*/),"linear"==l){var c=i.shift();if(c=-r(c),isNaN(c))return null}var f=e._parseDots(i);if(!f)return null;if(t=t.shape||t.node,f.length){t.removeChild(a),a.on=!0,a.method="none",a.color=f[0].color,a.color2=f[f.length-1].color;for(var p=[],g=0,m=f.length;g<m;g++)f[g].offset&&p.push(f[g].offset+d+f[g].color);a.colors=p.length?p.join():"0% "+a.color,"radial"==l?(a.type="gradientTitle",a.focus="100%",a.focussize="0 0",a.focusposition=u,a.angle=0):(a.type="gradient",a.angle=(270-c)%360),t.appendChild(a)}return 1},j=function(t,n){this[0]=this.node=t,t.raphael=!0,this.id=e._oid++,t.raphaelid=this.id,this.X=0,this.Y=0,this.attrs={},this.paper=n,this.matrix=e.matrix(),this._={transform:[],sx:1,sy:1,dx:0,dy:0,deg:0,dirty:1,dirtyT:1},!n.bottom&&(n.bottom=this),this.prev=n.top,n.top&&(n.top.next=this),n.top=this,this.next=null},L=e.el;j.prototype=L,L.constructor=j,L.transform=function(t){if(null==t)return this._.transform;var r,o=this.paper._viewBoxShift,i=o?"s"+[o.scale,o.scale]+"-1-1t"+[o.dx,o.dy]:h;o&&(r=t=n(t).replace(/\.{3}|\u2026/g,this._.transform||h)),e._extractTransform(this,i+t);var a,s=this.matrix.clone(),l=this.skew,u=this.node,c=~n(this.attrs.fill).indexOf("-"),f=!n(this.attrs.fill).indexOf("url(");if(s.translate(1,1),f||c||"image"==this.type)if(l.matrix="1 0 0 1",l.offset="0 0",a=s.split(),c&&a.noRotation||!a.isSimple){u.style.filter=s.toFilter();var p=this.getBBox(),g=this.getBBox(1),m=p.x-g.x,v=p.y-g.y;u.coordorigin=m*-y+d+v*-y,S(this,1,1,m,v,0)}else u.style.filter=h,S(this,a.scalex,a.scaley,a.dx,a.dy,a.rotate);else u.style.filter=h,l.matrix=n(s),l.offset=s.offset();return null!==r&&(this._.transform=r,e._extractTransform(this,r)),this},L.rotate=function(e,t,o){if(this.removed)return this;if(null!=e){if((e=n(e).split(c)).length-1&&(t=r(e[1]),o=r(e[2])),e=r(e[0]),null==o&&(t=o),null==t||null==o){var i=this.getBBox(1);t=i.x+i.width/2,o=i.y+i.height/2}return this._.dirtyT=1,this.transform(this._.transform.concat([["r",e,t,o]])),this}},L.translate=function(e,t){return this.removed?this:((e=n(e).split(c)).length-1&&(t=r(e[1])),e=r(e[0])||0,t=+t||0,this._.bbox&&(this._.bbox.x+=e,this._.bbox.y+=t),this.transform(this._.transform.concat([["t",e,t]])),this)},L.scale=function(e,t,o,i){if(this.removed)return this;if((e=n(e).split(c)).length-1&&(t=r(e[1]),o=r(e[2]),i=r(e[3]),isNaN(o)&&(o=null),isNaN(i)&&(i=null)),e=r(e[0]),null==t&&(t=e),null==i&&(o=i),null==o||null==i)var a=this.getBBox(1);return o=null==o?a.x+a.width/2:o,i=null==i?a.y+a.height/2:i,this.transform(this._.transform.concat([["s",e,t,o,i]])),this._.dirtyT=1,this},L.hide=function(){return!this.removed&&(this.node.style.display="none"),this},L.show=function(){return!this.removed&&(this.node.style.display=h),this},L.auxGetBBox=e.el.getBBox,L.getBBox=function(){var e=this.auxGetBBox();if(this.paper&&this.paper._viewBoxShift){var t={},n=1/this.paper._viewBoxShift.scale;return t.x=e.x-this.paper._viewBoxShift.dx,t.x*=n,t.y=e.y-this.paper._viewBoxShift.dy,t.y*=n,t.width=e.width*n,t.height=e.height*n,t.x2=t.x+t.width,t.y2=t.y+t.height,t}return e},L._getBBox=function(){return this.removed?{}:{x:this.X+(this.bbx||0)-this.W/2,y:this.Y-this.H,width:this.W,height:this.H}},L.remove=function(){if(!this.removed&&this.node.parentNode){for(var t in this.paper.__set__&&this.paper.__set__.exclude(this),e.eve.unbind("raphael.*.*."+this.id),e._tear(this,this.paper),this.node.parentNode.removeChild(this.node),this.shape&&this.shape.parentNode.removeChild(this.shape),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null;this.removed=!0}},L.attr=function(n,r){if(this.removed)return this;if(null==n){var o={};for(var i in this.attrs)this.attrs[t](i)&&(o[i]=this.attrs[i]);return o.gradient&&"none"==o.fill&&(o.fill=o.gradient)&&delete o.gradient,o.transform=this._.transform,o}if(null==r&&e.is(n,"string")){if(n==u&&"none"==this.attrs.fill&&this.attrs.gradient)return this.attrs.gradient;for(var a=n.split(c),s={},l=0,d=a.length;l<d;l++)(n=a[l])in this.attrs?s[n]=this.attrs[n]:e.is(this.paper.customAttributes[n],"function")?s[n]=this.paper.customAttributes[n].def:s[n]=e._availableAttrs[n];return d-1?s:s[a[0]]}if(this.attrs&&null==r&&e.is(n,"array")){for(s={},l=0,d=n.length;l<d;l++)s[n[l]]=this.attr(n[l]);return s}var h;for(var p in null!=r&&((h={})[n]=r),null==r&&e.is(n,"object")&&(h=n),h)f("raphael.attr."+p+"."+this.id,this,h[p]);if(h){for(p in this.paper.customAttributes)if(this.paper.customAttributes[t](p)&&h[t](p)&&e.is(this.paper.customAttributes[p],"function")){var g=this.paper.customAttributes[p].apply(this,[].concat(h[p]));for(var m in this.attrs[p]=h[p],g)g[t](m)&&(h[m]=g[m])}h.text&&"text"==this.type&&(this.textpath.string=h.text),A(this,h)}return this},L.toFront=function(){return!this.removed&&this.node.parentNode.appendChild(this.node),this.paper&&this.paper.top!=this&&e._tofront(this,this.paper),this},L.toBack=function(){return this.removed?this:(this.node.parentNode.firstChild!=this.node&&(this.node.parentNode.insertBefore(this.node,this.node.parentNode.firstChild),e._toback(this,this.paper)),this)},L.insertAfter=function(t){return this.removed?this:(t.constructor==e.st.constructor&&(t=t[t.length-1]),t.node.nextSibling?t.node.parentNode.insertBefore(this.node,t.node.nextSibling):t.node.parentNode.appendChild(this.node),e._insertafter(this,t,this.paper),this)},L.insertBefore=function(t){return this.removed?this:(t.constructor==e.st.constructor&&(t=t[0]),t.node.parentNode.insertBefore(this.node,t.node),e._insertbefore(this,t,this.paper),this)},L.blur=function(t){var n=this.node.runtimeStyle,r=n.filter;return r=r.replace(m,h),0!=+t?(this.attrs.blur=t,n.filter=r+d+" progid:DXImageTransform.Microsoft.Blur(pixelradius="+(+t||1.5)+")",n.margin=e.format("-{0}px 0 0 -{0}px",i(+t||1.5))):(n.filter=r,n.margin=0,delete this.attrs.blur),this},e._engine.path=function(e,t){var n=F("shape");n.style.cssText=b,n.coordsize=y+d+y,n.coordorigin=t.coordorigin;var r=new j(n,t),o={fill:"none",stroke:"#000"};e&&(o.path=e),r.type="path",r.path=[],r.Path=h,A(r,o),t.canvas&&t.canvas.appendChild(n);var i=F("skew");return i.on=!0,n.appendChild(i),r.skew=i,r.transform(h),r},e._engine.rect=function(t,n,r,o,i,a){var s=e._rectPath(n,r,o,i,a),l=t.path(s),u=l.attrs;return l.X=u.x=n,l.Y=u.y=r,l.W=u.width=o,l.H=u.height=i,u.r=a,u.path=s,l.type="rect",l},e._engine.ellipse=function(e,t,n,r,o){var i=e.path();i.attrs;return i.X=t-r,i.Y=n-o,i.W=2*r,i.H=2*o,i.type="ellipse",A(i,{cx:t,cy:n,rx:r,ry:o}),i},e._engine.circle=function(e,t,n,r){var o=e.path();o.attrs;return o.X=t-r,o.Y=n-r,o.W=o.H=2*r,o.type="circle",A(o,{cx:t,cy:n,r:r}),o},e._engine.image=function(t,n,r,o,i,a){var s=e._rectPath(r,o,i,a),l=t.path(s).attr({stroke:"none"}),c=l.attrs,f=l.node,d=f.getElementsByTagName(u)[0];return c.src=n,l.X=c.x=r,l.Y=c.y=o,l.W=c.width=i,l.H=c.height=a,c.path=s,l.type="image",d.parentNode==f&&f.removeChild(d),d.rotate=!0,d.src=n,d.type="tile",l._.fillpos=[r,o],l._.fillsize=[i,a],f.appendChild(d),S(l,1,1,0,0,0),l},e._engine.text=function(t,r,o,a){var s=F("shape"),l=F("path"),u=F("textpath");r=r||0,o=o||0,a=a||"",l.v=e.format("m{0},{1}l{2},{1}",i(r*y),i(o*y),i(r*y)+1),l.textpathok=!0,u.string=n(a),u.on=!0,s.style.cssText=b,s.coordsize=y+d+y,s.coordorigin="0 0";var c=new j(s,t),f={fill:"#000",stroke:"none",font:e._availableAttrs.font,text:a};c.shape=s,c.path=l,c.textpath=u,c.type="text",c.attrs.text=n(a),c.attrs.x=r,c.attrs.y=o,c.attrs.w=1,c.attrs.h=1,A(c,f),s.appendChild(u),s.appendChild(l),t.canvas.appendChild(s);var p=F("skew");return p.on=!0,s.appendChild(p),c.skew=p,c.transform(h),c},e._engine.setSize=function(t,n){var r=this.canvas.style;return this.width=t,this.height=n,t==+t&&(t+="px"),n==+n&&(n+="px"),r.width=t,r.height=n,r.clip="rect(0 "+t+" "+n+" 0)",this._viewBox&&e._engine.setViewBox.apply(this,this._viewBox),this},e._engine.setViewBox=function(t,n,r,o,i){e.eve("raphael.setViewBox",this,this._viewBox,[t,n,r,o,i]);var a,s,l=this.getSize(),u=l.width,c=l.height;return i&&(s=u/r,r*(a=c/o)<u&&(t-=(u-r*a)/2/a),o*s<c&&(n-=(c-o*s)/2/s)),this._viewBox=[t,n,r,o,!!i],this._viewBoxShift={dx:-t,dy:-n,scale:l},this.forEach(function(e){e.transform("...")}),this},e._engine.initWin=function(e){var t=e.document;t.styleSheets.length<31?t.createStyleSheet().addRule(".rvml","behavior:url(#default#VML)"):t.styleSheets[0].addRule(".rvml","behavior:url(#default#VML)");try{!t.namespaces.rvml&&t.namespaces.add("rvml","urn:schemas-microsoft-com:vml"),F=function(e){return t.createElement("<rvml:"+e+' class="rvml">')}}catch(e){F=function(e){return t.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="rvml">')}}},e._engine.initWin(e._g.win),e._engine.create=function(){var t=e._getContainer.apply(0,arguments),n=t.container,r=t.height,o=t.width,i=t.x,a=t.y;if(!n)throw new Error("VML container not found.");var s=new e._Paper,l=s.canvas=e._g.doc.createElement("div"),u=l.style;return i=i||0,a=a||0,o=o||512,r=r||342,s.width=o,s.height=r,o==+o&&(o+="px"),r==+r&&(r+="px"),s.coordsize=216e5+d+216e5,s.coordorigin="0 0",s.span=e._g.doc.createElement("span"),s.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;",l.appendChild(s.span),u.cssText=e.format("top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden",o,r),1==n?(e._g.doc.body.appendChild(l),u.left=i+"px",u.top=a+"px",u.position="absolute"):n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),s.renderfix=function(){},s},e.prototype.clear=function(){e.eve("raphael.clear",this),this.canvas.innerHTML=h,this.span=e._g.doc.createElement("span"),this.span.style.cssText="position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;",this.canvas.appendChild(this.span),this.bottom=this.top=null},e.prototype.remove=function(){for(var t in e.eve("raphael.remove",this),this.canvas.parentNode.removeChild(this.canvas),this)this[t]="function"==typeof this[t]?e._removedFactory(t):null;return!0};var E=e.st;for(var N in L)L[t](N)&&!E[t](N)&&(E[N]=function(e){return function(){var t=arguments;return this.forEach(function(n){n[e].apply(n,t)})}}(N))}}.apply(t,r))||(e.exports=o)}])},e.exports=r()},"./node_modules/style-loader/lib/addStyles.js":function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),s=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=function(e){return document.querySelector(e)}.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),l=null,u=0,c=[],f=n("./node_modules/style-loader/lib/urls.js");function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(b(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(b(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function p(e,t){var n=s(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=c[c.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),c.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=s(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=c.indexOf(e);t>=0&&c.splice(t,1)}function m(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),v(t,e.attrs),p(e,t),t}function v(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function b(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=l||(l=m(t)),r=w.bind(null,n,a,!1),o=w.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",v(t,e.attrs),p(e,t),t}(t),r=function(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=f(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,n,t),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(t),r=function(e,t){var n=t.css,r=t.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return d(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(s=i[a.id]).refs--,r.push(s)}e&&d(h(e,t),t);for(o=0;o<r.length;o++){var s;if(0===(s=r[o]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var y,x=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function w(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}},"./node_modules/style-loader/lib/urls.js":function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},"./node_modules/twemoji/2/twemoji.npm.js":function(e,t,n){(function(t){var n=t.location||{},r=function(){"use strict";var e={base:"https://twemoji.maxcdn.com/2/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:function(e){var t="string"==typeof e?parseInt(e,16):e;if(t<65536)return s(t);return s(55296+((t-=65536)>>10),56320+(1023&t))},toCodePoint:p},onerror:function(){this.parentNode&&this.parentNode.replaceChild(l(this.alt,!1),this)},parse:function(t,r){r&&"function"!=typeof r||(r={callback:r});return("string"==typeof t?function(e,t){return h(e,function(e){var n,r,o=e,a=c(e),s=t.callback(a,t);if(s){for(r in o="<img ".concat('class="',t.className,'" ','draggable="false" ','alt="',e,'"',' src="',s,'"'),n=t.attributes(e,a))n.hasOwnProperty(r)&&0!==r.indexOf("on")&&-1===o.indexOf(" "+r+"=")&&(o=o.concat(" ",r,'="',n[r].replace(i,f),'"'));o=o.concat("/>")}return o})}:function(e,t){var r,o,i,s,u,f,d,h,p,g,m,v,b,y=function e(t,n){var r,o,i=t.childNodes,s=i.length;for(;s--;)r=i[s],3===(o=r.nodeType)?n.push(r):1!==o||"ownerSVGElement"in r||a.test(r.nodeName.toLowerCase())||e(r,n);return n}(e,[]),x=y.length;for(;x--;){for(i=!1,s=document.createDocumentFragment(),u=y[x],f=u.nodeValue,h=0;d=n.exec(f);){if((p=d.index)!==h&&s.appendChild(l(f.slice(h,p),!0)),m=d[0],v=c(m),h=p+m.length,b=t.callback(v,t)){for(o in(g=new Image).onerror=t.onerror,g.setAttribute("draggable","false"),r=t.attributes(m,v))r.hasOwnProperty(o)&&0!==o.indexOf("on")&&!g.hasAttribute(o)&&g.setAttribute(o,r[o]);g.className=t.className,g.alt=m,g.src=b,i=!0,s.appendChild(g)}g||s.appendChild(l(m,!1)),g=null}i&&(h<f.length&&s.appendChild(l(f.slice(h),!0)),u.parentNode.replaceChild(s,u))}return e})(t,{callback:r.callback||u,attributes:"function"==typeof r.attributes?r.attributes:d,base:"string"==typeof r.base?r.base:e.base,ext:r.ext||e.ext,size:r.folder||(o=r.size||e.size,"number"==typeof o?o+"x"+o:o),className:r.className||e.className,onerror:r.onerror||e.onerror});var o},replace:h,test:function(e){n.lastIndex=0;var t=n.test(e);return n.lastIndex=0,t}},t={"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},n=/\ud83d[\udc68-\udc69](?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)(?:\ufe0f|\ud83c[\udffb-\udfff])\u200d[\u2640\u2642]\ufe0f|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc41\u200d\ud83d\udde8|\ud83d\udc68\u200d\ud83d[\udc66\udc67]|\ud83d\udc69\u200d\ud83d[\udc66\udc67]|\ud83d\udc6f\u200d\u2640\ufe0f|\ud83d\udc6f\u200d\u2642\ufe0f|\ud83e\udd3c\u200d\u2640\ufe0f|\ud83e\udd3c\u200d\u2642\ufe0f|\ud83e\uddde\u200d\u2640\ufe0f|\ud83e\uddde\u200d\u2642\ufe0f|\ud83e\udddf\u200d\u2640\ufe0f|\ud83e\udddf\u200d\u2642\ufe0f|(?:\u002a)\ufe0f?\u20e3|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca-\udfcc]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd74\udd75\udd7a\udd90\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\uddd1-\udddd]|[\u261d\u26f7\u26f9\u270a-\u270d])(?:\ud83c[\udffb-\udfff]|)|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f|\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f|\ud83c\udde6\ud83c[\udde8-\uddec\uddee\uddf1\uddf2\uddf4\uddf6-\uddfa\uddfc\uddfd\uddff]|\ud83c\udde7\ud83c[\udde6\udde7\udde9-\uddef\uddf1-\uddf4\uddf6-\uddf9\uddfb\uddfc\uddfe\uddff]|\ud83c\udde8\ud83c[\udde6\udde8\udde9\uddeb-\uddee\uddf0-\uddf5\uddf7\uddfa-\uddff]|\ud83c\udde9\ud83c[\uddea\uddec\uddef\uddf0\uddf2\uddf4\uddff]|\ud83c\uddea\ud83c[\udde6\udde8\uddea\uddec\udded\uddf7-\uddfa]|\ud83c\uddeb\ud83c[\uddee-\uddf0\uddf2\uddf4\uddf7]|\ud83c\uddec\ud83c[\udde6\udde7\udde9-\uddee\uddf1-\uddf3\uddf5-\uddfa\uddfc\uddfe]|\ud83c\udded\ud83c[\uddf0\uddf2\uddf3\uddf7\uddf9\uddfa]|\ud83c\uddee\ud83c[\udde8-\uddea\uddf1-\uddf4\uddf6-\uddf9]|\ud83c\uddef\ud83c[\uddea\uddf2\uddf4\uddf5]|\ud83c\uddf0\ud83c[\uddea\uddec-\uddee\uddf2\uddf3\uddf5\uddf7\uddfc\uddfe\uddff]|\ud83c\uddf1\ud83c[\udde6-\udde8\uddee\uddf0\uddf7-\uddfb\uddfe]|\ud83c\uddf2\ud83c[\udde6\udde8-\udded\uddf0-\uddff]|\ud83c\uddf3\ud83c[\udde6\udde8\uddea-\uddec\uddee\uddf1\uddf4\uddf5\uddf7\uddfa\uddff]|\ud83c\uddf4\ud83c\uddf2|\ud83c\uddf5\ud83c[\udde6\uddea-\udded\uddf0-\uddf3\uddf7-\uddf9\uddfc\uddfe]|\ud83c\uddf6\ud83c\udde6|\ud83c\uddf7\ud83c[\uddea\uddf4\uddf8\uddfa\uddfc]|\ud83c\uddf8\ud83c[\udde6-\uddea\uddec-\uddf4\uddf7-\uddf9\uddfb\uddfd-\uddff]|\ud83c\uddf9\ud83c[\udde6\udde8\udde9\uddeb-\udded\uddef-\uddf4\uddf7\uddf9\uddfb\uddfc\uddff]|\ud83c\uddfa\ud83c[\udde6\uddec\uddf2\uddf3\uddf8\uddfe\uddff]|\ud83c\uddfb\ud83c[\udde6\udde8\uddea\uddec\uddee\uddf3\uddfa]|\ud83c\uddfc\ud83c[\uddeb\uddf8]|\ud83c\uddfd\ud83c\uddf0|\ud83c\uddfe\ud83c[\uddea\uddf9]|\ud83c\uddff\ud83c[\udde6\uddf2\uddfc]|\u0023\u20e3|\u0030\u20e3|\u0031\u20e3|\u0032\u20e3|\u0033\u20e3|\u0034\u20e3|\u0035\u20e3|\u0036\u20e3|\u0037\u20e3|\u0038\u20e3|\u0039\u20e3|\ud800\udc00|\ud83c[\udc04\udccf\udd70\udd71\udd7e\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude02\ude1a\ude2f\ude32-\ude3a\ude50\ude51\udf00-\udf21\udf24-\udf84\udf86-\udf93\udf96\udf97\udf99-\udf9b\udf9e-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcd-\udff0\udff3-\udff5\udff7-\udfff]|\ud83d[\udc00-\udc41\udc44\udc45\udc51-\udc65\udc6a-\udc6d\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udca9\udcab-\udcfd\udcff-\udd3d\udd49-\udd4e\udd50-\udd67\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda4\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\udecb\udecd-\uded2\udee0-\udee5\udee9\udeeb\udeec\udef0\udef3-\udef8]|\ud83e[\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd40-\udd45\udd47-\udd4c\udd50-\udd6b\udd80-\udd97\uddc0\uddd0\uddde-\udde6]|[\u00a9\u00ae\u203c\u2049\u2122\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\u24c2\u25aa\u25ab\u25b6\u25c0\u25fb-\u25fe\u2600-\u2604\u260e\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262a\u262e\u262f\u2638\u263a\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267b\u267f\u2692-\u2697\u2699\u269b\u269c\u26a0\u26a1\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26ce\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2705\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2728\u2733\u2734\u2744\u2747\u274c\u274e\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27a1\u27b0\u27bf\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299\ue50a]|(?:\u2639)(?:\ufe0f|(?!\ufe0e))/g,r=/\uFE0F/g,o=String.fromCharCode(8205),i=/[&<>'"]/g,a=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,s=String.fromCharCode;return e;function l(e,t){return document.createTextNode(t?e.replace(r,""):e)}function u(e,t){return"".concat(t.base,t.size,"/",e,t.ext)}function c(e){return p(e.indexOf(o)<0?e.replace(r,""):e)}function f(e){return t[e]}function d(){return null}function h(e,t){return String(e).replace(n,t)}function p(e,t){for(var n=[],r=0,o=0,i=0;i<e.length;)r=e.charCodeAt(i++),o?(n.push((65536+(o-55296<<10)+(r-56320)).toString(16)),o=0):55296<=r&&r<=56319?o=r:n.push(r.toString(16));return n.join(t||"-")}}();n.protocol||(r.base=r.base.replace(/^http:/,"")),e.exports=r}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/webpack/buildin/amd-options.js":function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/global.js":function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},"./themes/bootstrap/js/bundle.js":function(e,t,n){"use strict";(function(e){n("./node_modules/codemirror/lib/codemirror.css"),n("./node_modules/codemirror/theme/blackboard.css"),n("./themes/bootstrap/less/style.less"),n("./themes/bootstrap/less/fontawesome.less"),e.jQuery=n("./node_modules/jquery/dist/jquery.js"),e.$=e.jQuery,n("./node_modules/bootstrap/dist/js/npm.js"),e.marked=n("./node_modules/marked/lib/marked.js"),e.htmlEncode=n("./node_modules/js-htmlencode/src/htmlencode.js"),e.CodeMirror=n("./node_modules/codemirror/lib/codemirror.js"),n("./node_modules/codemirror/addon/mode/simple.js"),n("./node_modules/codemirror/addon/mode/multiplex.js"),n("./node_modules/codemirror/mode/xml/xml.js"),n("./node_modules/codemirror/mode/javascript/javascript.js"),n("./node_modules/codemirror/mode/css/css.js"),n("./node_modules/codemirror/mode/htmlmixed/htmlmixed.js"),n("./node_modules/codemirror/mode/handlebars/handlebars.js"),n("./node_modules/codemirror/mode/yaml/yaml.js"),n("./node_modules/codemirror/mode/sass/sass.js"),n("./node_modules/eve-raphael/eve.js"),e.Raphael=n("./node_modules/raphael/raphael.min.js"),e.phpDate=n("./node_modules/php-date/dist/index.js"),e.twemoji=n("./node_modules/twemoji/2/twemoji.npm.js"),e.twemoji.base="webpack/assets/twemoji/",e.List=n("./themes/bootstrap/js/list.min.js"),n("./themes/bootstrap/js/network-graph.js"),n("./themes/bootstrap/js/gitgraph.js/gitgraph.css"),n("./themes/bootstrap/js/gitgraph.js/gitgraph.js"),n("./themes/bootstrap/js/gitgraph-draw.js"),n("./themes/bootstrap/js/main.js"),n("./themes/bootstrap/js/themes.js"),n("./themes/bootstrap/js/theme-switcher.js")}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./themes/bootstrap/js/gitgraph-draw.js":function(e,t,n){"use strict";(function(e){$(document).ready(function(){var t=[];document.getElementById("graph-canvas")&&($("#graph-raw-list li span.node-relation").each(function(){t.push($(this).text())}),e.gitGraph(document.getElementById("graph-canvas"),t),$("#rev-container")&&$("#rev-container").css("width",$("#git-graph-container").width()-$("#graph-canvas").width()))})}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./themes/bootstrap/js/gitgraph.js/gitgraph.css":function(e,t){},"./themes/bootstrap/js/gitgraph.js/gitgraph.js":function(e,t,n){"use strict";(function(e){e.gitGraph=function(e,t,n){if(e.getContext){void 0===n&&(n={unitSize:20,lineWidth:3,nodeRadius:4});var r=[],o=[],i=e.getContext("2d"),a=(window.devicePixelRatio||1)/(i.webkitBackingStorePixelRatio||i.mozBackingStorePixelRatio||i.msBackingStorePixelRatio||i.oBackingStorePixelRatio||i.backingStorePixelRatio||1),s=function(){var e,t,n="0123456789ABCDEF",r="";for(t=0;t<6;t++)e=Math.floor(Math.random()*n.length),r+=n.substring(e,e+1);return r},l=function(e){for(var t=r.length;t--&&r[t].id!==e;);return t},u=function(e,t){for(var n=t.length;n--&&t[n]!==e;);return n},c=function(e){if(!e)return-1;for(var t=e.length;t--&&(!e[t-1]||"/"!==e[t]||"|"!==e[t-1])&&(!e[t-2]||"_"!==e[t]||"|"!==e[t-2]););return t},f=function(){var e;do{e=s()}while(-1!==l(e));return{id:e,color:"#"+e}},d=function(e,t,r){i.strokeStyle=r,i.beginPath(),i.moveTo(e,t+n.unitSize/2),i.lineTo(e+n.unitSize,t+n.unitSize/2),i.stroke()},h=function(e,t,r){i.strokeStyle=r,i.beginPath(),i.moveTo(e,t+n.unitSize/2),i.lineTo(e,t-n.unitSize/2),i.stroke()},p=function(e,t,r){i.strokeStyle=r,h(e,t,r),i.beginPath(),i.arc(e,t,n.nodeRadius,0,2*Math.PI,!0),i.fill()},g=function(e,t,r){i.strokeStyle=r,i.beginPath(),i.moveTo(e+n.unitSize,t+n.unitSize/2),i.lineTo(e,t-n.unitSize/2),i.stroke()},m=function(e,t,r){i.strokeStyle=r,i.beginPath(),i.moveTo(e,t+n.unitSize/2),i.lineTo(e+n.unitSize,t-n.unitSize/2),i.stroke()};!function(){var r,s,l,u=0,c=t.length;for(r=0;r<c;r++)l=t[r].replace(/\s+/g," ").replace(/^\s+|\s+$/g,""),u=Math.max(l.replace(/(\_|\s)/g,"").length,u),s=l.split(""),o.unshift(s);var f=u*n.unitSize,d=o.length*n.unitSize;e.width=f*a,e.height=d*a,e.style.width=f+"px",e.style.height=d+"px",i.lineWidth=n.lineWidth,i.lineJoin="round",i.lineCap="round",i.scale(a,a)}(),function(t){var o,i,s,l,v,b,y,x,w,k,C,S,F,T=0,A=-1,_=0,j=!1;for(C=0,S=t[0].length;C<S;C++)"_"!==t[0][C]&&" "!==t[0][C]&&r.push(f());for(b=e.height/a-.5*n.unitSize,C=0,S=t.length;C<S;C++){v=.5*n.unitSize;var L=t[C],E=t[C+1],N=t[C-1];if(A=-1,F=L.filter(function(e){return" "!==e&&"_"!==e}).length,E&&E.filter(function(e){return" "!==e&&"_"!==e}).length,N){if(!j)for(i=0;i<T;i++)(N[i+1]&&"/"===N[i]&&"|"===N[i+1]||"_"===N[i]&&"|"===N[i+1]&&"/"===N[i+2])&&(w={id:r[A=i].id,color:r[A].color},r[A].id=r[A+1].id,r[A].color=r[A+1].color,r[A+1].id=w.id,r[A+1].color=w.color);_<F&&-1!==(x=u("*",L))&&-1===u("_",L)&&r.splice(x-1,0,f()),T>L.length&&-1!==(x=u("*",N))&&-1===u("_",L)&&-1===u("/",L)&&-1===u("\\",L)&&r.splice(x+1,1)}for(T=L.length,i=0,l=0,_=0;i<L.length;){if(" "!==(o=L[i])&&"_"!==o&&++_," "===o&&L[i+1]&&"_"===L[i+1]&&L[i-1]&&"|"===L[i-1]&&(L.splice(i,1),L[i]="/",o="/"),-1===A&&"/"===o&&L[i-1]&&"|"===L[i-1]&&r.splice(l,0,f()),("/"===o||"\\"===o)&&("/"!==o||-1!==c(E))&&-1!==(k=Math.max(u("|",L),u("*",L)))&&k<i-1){for(;" "===L[++k];);k===i&&(L[i]="|")}"*"===o&&N&&"\\"===N[l+1]&&r.splice(l+1,1)," "!==o&&++l,++i}for(F=L.filter(function(e){return" "!==e&&"_"!==e}).length,r.length>F&&r.splice(F,r.length-F),i=0;i<L.length;)if(o=L[i],s=L[i-1]," "!==L[i]){switch("_"!==o&&"/"!==o||"|"!==L[i-1]||"_"!==L[i-2]?j=!1:(j=!0,w=r.splice(i-2,1)[0],r.splice(i-1,0,w),L.splice(i-2,1),i-=1),y=r[i].color,o){case"_":d(v,b,y),v+=n.unitSize;break;case"*":p(v,b,y);break;case"|":h(v,b,y);break;case"/":!s||"/"!==s&&" "!==s||(v-=n.unitSize),m(v,b,y),v+=n.unitSize;break;case"\\":g(v,b,y)}++i}else L.splice(i,1),v+=n.unitSize;b-=n.unitSize}}(o)}}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./themes/bootstrap/js/list.min.js":function(e,t,n){"use strict";var r;function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){function i(e,t,n){var r=i.resolve(e);if(null==r){n=n||e,t=t||"root";var o=new Error('Failed to require "'+n+'" from "'+t+'"');throw o.path=n,o.parent=t,o.require=!0,o}var a=i.modules[r];if(!a._resolving&&!a.exports){var s={exports:{}};s.client=s.component=!0,a._resolving=!0,a.call(this,s.exports,i.relative(r),s),delete a._resolving,a.exports=s.exports}return a.exports}i.modules={},i.aliases={},i.resolve=function(e){"/"===e.charAt(0)&&(e=e.slice(1));for(var t=[e,e+".js",e+".json",e+"/index.js",e+"/index.json"],n=0;n<t.length;n++){e=t[n];if(i.modules.hasOwnProperty(e))return e;if(i.aliases.hasOwnProperty(e))return i.aliases[e]}},i.normalize=function(e,t){var n=[];if("."!=t.charAt(0))return t;e=e.split("/"),t=t.split("/");for(var r=0;r<t.length;++r)".."==t[r]?e.pop():"."!=t[r]&&""!=t[r]&&n.push(t[r]);return e.concat(n).join("/")},i.register=function(e,t){i.modules[e]=t},i.alias=function(e,t){if(!i.modules.hasOwnProperty(e))throw new Error('Failed to alias "'+e+'", it does not exist');i.aliases[t]=e},i.relative=function(e){function t(n){return i(t.resolve(n),e,n)}var n=i.normalize(e,"..");return t.resolve=function(t){var r=t.charAt(0);if("/"==r)return t.slice(1);if("."==r)return i.normalize(n,t);var o=e.split("/"),a=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1}(o,"deps")+1;return a||(a=0),o.slice(0,a+1).join("/")+"/deps/"+t},t.exists=function(e){return i.modules.hasOwnProperty(t.resolve(e))},t},i.register("component-classes/index.js",function(e,t,n){function r(e){if(!e)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}var o=t("indexof"),i=/\s+/,a=Object.prototype.toString;n.exports=function(e){return new r(e)},r.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~o(t,e)||t.push(e),this.el.className=t.join(" "),this},r.prototype.remove=function(e){if("[object RegExp]"==a.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=o(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},r.prototype.removeMatching=function(e){for(var t=this.array(),n=0;n<t.length;n++)e.test(t[n])&&this.remove(t[n]);return this},r.prototype.toggle=function(e,t){return this.list?(void 0!==t?t!==this.list.toggle(e,t)&&this.list.toggle(e):this.list.toggle(e),this):(void 0!==t?t?this.add(e):this.remove(e):this.has(e)?this.remove(e):this.add(e),this)},r.prototype.array=function(){var e=this.el.className.replace(/^\s+|\s+$/g,"").split(i);return""===e[0]&&e.shift(),e},r.prototype.has=r.prototype.contains=function(e){return this.list?this.list.contains(e):!!~o(this.array(),e)}}),i.register("segmentio-extend/index.js",function(e,t,n){n.exports=function(e){for(var t,n=Array.prototype.slice.call(arguments,1),r=0;t=n[r];r++)if(t)for(var o in t)e[o]=t[o];return e}}),i.register("component-indexof/index.js",function(e,t,n){n.exports=function(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}}),i.register("component-event/index.js",function(e){var t=window.addEventListener?"addEventListener":"attachEvent",n=window.removeEventListener?"removeEventListener":"detachEvent",r="addEventListener"!==t?"on":"";e.bind=function(e,n,o,i){return e[t](r+n,o,i||!1),o},e.unbind=function(e,t,o,i){return e[n](r+t,o,i||!1),o}}),i.register("javve-to-array/index.js",function(e,t,n){n.exports=function(e){if(void 0===e)return[];if(null===e)return[null];if(e===window)return[window];if("string"==typeof e)return[e];if(e instanceof Array)return e;if("number"!=typeof e.length)return[e];if("function"==typeof e)return[e];for(var t=[],n=0;n<e.length;n++)(Object.prototype.hasOwnProperty.call(e,n)||n in e)&&t.push(e[n]);return t.length?t:[]}}),i.register("javve-events/index.js",function(e,t){var n=t("event"),r=t("to-array");e.bind=function(e,t,o,i){e=r(e);for(var a=0;a<e.length;a++)n.bind(e[a],t,o,i)},e.unbind=function(e,t,o,i){e=r(e);for(var a=0;a<e.length;a++)n.unbind(e[a],t,o,i)}}),i.register("javve-get-by-class/index.js",function(e,t,n){n.exports=document.getElementsByClassName?function(e,t,n){return n?e.getElementsByClassName(t)[0]:e.getElementsByClassName(t)}:document.querySelector?function(e,t,n){return t="."+t,n?e.querySelector(t):e.querySelectorAll(t)}:function(e,t,n){var r=[];null==e&&(e=document);for(var o=e.getElementsByTagName("*"),i=o.length,a=new RegExp("(^|\\s)"+t+"(\\s|$)"),s=0,l=0;i>s;s++)if(a.test(o[s].className)){if(n)return o[s];r[l]=o[s],l++}return r}}),i.register("javve-get-attribute/index.js",function(e,t,n){n.exports=function(e,t){var n=e.getAttribute&&e.getAttribute(t)||null;if(!n)for(var r=e.attributes.length,o=0;r>o;o++)void 0!==t[o]&&t[o].nodeName===t&&(n=t[o].nodeValue);return n}}),i.register("javve-natural-sort/index.js",function(e,t,n){n.exports=function(e,t,n){var r,i,a=/(^-?[0-9]+(\.?[0-9]*)[df]?e?[0-9]?$|^0x[0-9a-f]+$|[0-9]+)/gi,s=/(^[ ]*|[ ]*$)/g,l=/(^([\w ]+,?[\w ]+)?[\w ]+,?[\w ]+\d+:\d+(:\d+)?[\w ]?|^\d{1,4}[\/\-]\d{1,4}[\/\-]\d{1,4}|^\w+, \w+ \d+, \d{4})/,u=/^0x[0-9a-f]+$/i,c=/^0/,f=(n=n||{},function(e){return n.insensitive&&(""+e).toLowerCase()||""+e}),d=f(e).replace(s,"")||"",h=f(t).replace(s,"")||"",p=d.replace(a,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),g=h.replace(a,"\0$1\0").replace(/\0$/,"").replace(/^\0/,"").split("\0"),m=parseInt(d.match(u))||1!=p.length&&d.match(l)&&Date.parse(d),v=parseInt(h.match(u))||m&&h.match(l)&&Date.parse(h)||null,b=n.desc?-1:1;if(v){if(v>m)return-1*b;if(m>v)return 1*b}for(var y=0,x=Math.max(p.length,g.length);x>y;y++){if(r=!(p[y]||"").match(c)&&parseFloat(p[y])||p[y]||0,i=!(g[y]||"").match(c)&&parseFloat(g[y])||g[y]||0,isNaN(r)!==isNaN(i))return isNaN(r)?1:-1;if(o(r)!=o(i)&&(r+="",i+=""),i>r)return-1*b;if(r>i)return 1*b}return 0}}),i.register("javve-to-string/index.js",function(e,t,n){n.exports=function(e){return(e=null===(e=void 0===e?"":e)?"":e).toString()}}),i.register("component-type/index.js",function(e,t,n){var r=Object.prototype.toString;n.exports=function(e){switch(r.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!=e?"nan":e&&1===e.nodeType?"element":o(e.valueOf())}}),i.register("list.js/index.js",function(e,t,n){var r,o,i,a,s;o=window.document,i=t("get-by-class"),a=t("extend"),s=t("indexof"),n.exports=function(e,n,l){var u,c=this,f=t("./src/item")(c),d=t("./src/add-async")(c),h=t("./src/parse")(c);u={start:function(){c.listClass="list",c.searchClass="search",c.sortClass="sort",c.page=200,c.i=1,c.items=[],c.visibleItems=[],c.matchingItems=[],c.searched=!1,c.filtered=!1,c.handlers={updated:[]},c.plugins={},c.helpers={getByClass:i,extend:a,indexOf:s},a(c,n),c.listContainer="string"==typeof e?o.getElementById(e):e,c.listContainer&&(c.list=i(c.listContainer,c.listClass,!0),c.templater=t("./src/templater")(c),c.search=t("./src/search")(c),c.filter=t("./src/filter")(c),c.sort=t("./src/sort")(c),this.items(),c.update(),this.plugins())},items:function(){h(c.list),l!==r&&c.add(l)},plugins:function(){for(var e=0;e<c.plugins.length;e++){var t=c.plugins[e];c[t.name]=t,t.init(c)}}},this.add=function(e,t){if(!t){var n=[],o=!1;e[0]===r&&(e=[e]);for(var i=0,a=e.length;a>i;i++){var s=null;e[i]instanceof f?(s=e[i]).reload():(o=c.items.length>c.page,s=new f(e[i],r,o)),c.items.push(s),n.push(s)}return c.update(),n}d(e,t)},this.show=function(e,t){return this.i=e,this.page=t,c.update(),c},this.remove=function(e,t,n){for(var r=0,o=0,i=c.items.length;i>o;o++)c.items[o].values()[e]==t&&(c.templater.remove(c.items[o],n),c.items.splice(o,1),i--,o--,r++);return c.update(),r},this.get=function(e,t){for(var n=[],r=0,o=c.items.length;o>r;r++){var i=c.items[r];i.values()[e]==t&&n.push(i)}return n},this.size=function(){return c.items.length},this.clear=function(){return c.templater.clear(),c.items=[],c},this.on=function(e,t){return c.handlers[e].push(t),c},this.off=function(e,t){var n=c.handlers[e],r=s(n,t);return r>-1&&n.splice(r,1),c},this.trigger=function(e){for(var t=c.handlers[e].length;t--;)c.handlers[e][t](c);return c},this.reset={filter:function(){for(var e=c.items,t=e.length;t--;)e[t].filtered=!1;return c},search:function(){for(var e=c.items,t=e.length;t--;)e[t].found=!1;return c}},this.update=function(){var e=c.items,t=e.length;c.visibleItems=[],c.matchingItems=[],c.templater.clear();for(var n=0;t>n;n++)e[n].matching()&&c.matchingItems.length+1>=c.i&&c.visibleItems.length<c.page?(e[n].show(),c.visibleItems.push(e[n]),c.matchingItems.push(e[n])):e[n].matching()?(c.matchingItems.push(e[n]),e[n].hide()):e[n].hide();return c.trigger("updated"),c},u.start()}}),i.register("list.js/src/search.js",function(e,t,n){var r=t("events"),o=t("get-by-class"),i=t("to-string");n.exports=function(e){var t,n,a,s,l={resetList:function(){e.i=1,e.templater.clear(),s=void 0},setOptions:function(e){2==e.length&&e[1]instanceof Array?n=e[1]:2==e.length&&"function"==typeof e[1]?s=e[1]:3==e.length&&(n=e[1],s=e[2])},setColumns:function(){n=void 0===n?l.toArray(e.items[0].values()):n},setSearchString:function(e){e=(e=i(e).toLowerCase()).replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),a=e},toArray:function(e){var t=[];for(var n in e)t.push(n);return t}},u={list:function(){for(var t=0,n=e.items.length;n>t;t++)u.item(e.items[t])},item:function(e){e.found=!1;for(var t=0,r=n.length;r>t;t++)if(u.values(e.values(),n[t]))return void(e.found=!0)},values:function(e,n){return!!(e.hasOwnProperty(n)&&(t=i(e[n]).toLowerCase(),""!==a&&t.search(a)>-1))},reset:function(){e.reset.search(),e.searched=!1}},c=function(t){return e.trigger("searchStart"),l.resetList(),l.setSearchString(t),l.setOptions(arguments),l.setColumns(),""===a?u.reset():(e.searched=!0,s?s(a,n):u.list()),e.update(),e.trigger("searchComplete"),e.visibleItems};return e.handlers.searchStart=e.handlers.searchStart||[],e.handlers.searchComplete=e.handlers.searchComplete||[],r.bind(o(e.listContainer,e.searchClass),"keyup",function(e){var t=e.target||e.srcElement;c(t.value)}),e.helpers.toString=i,c}}),i.register("list.js/src/sort.js",function(e,t,n){var r=t("natural-sort"),o=t("classes"),i=t("events"),a=t("get-by-class"),s=t("get-attribute");n.exports=function(e){e.sortFunction=e.sortFunction||function(e,t,n){return n.desc="desc"==n.order,r(e.values()[n.valueName],t.values()[n.valueName],n)};var t={els:void 0,clear:function(){for(var e=0,n=t.els.length;n>e;e++)o(t.els[e]).remove("asc"),o(t.els[e]).remove("desc")},getOrder:function(e){var t=s(e,"data-order");return"asc"==t||"desc"==t?t:o(e).has("desc")?"asc":o(e).has("asc")?"desc":"asc"},getInSensitive:function(e,t){var n=s(e,"data-insensitive");t.insensitive="true"===n},setOrder:function(e){for(var n=0,r=t.els.length;r>n;n++){var i=t.els[n];if(s(i,"data-sort")===e.valueName){var a=s(i,"data-order");"asc"==a||"desc"==a?a==e.order&&o(i).add(e.order):o(i).add(e.order)}}}},n=function(){e.trigger("sortStart"),options={};var n=arguments[0].currentTarget||arguments[0].srcElement||void 0;n?(options.valueName=s(n,"data-sort"),t.getInSensitive(n,options),options.order=t.getOrder(n)):(options=arguments[1]||options,options.valueName=arguments[0],options.order=options.order||"asc",options.insensitive=void 0===options.insensitive||options.insensitive),t.clear(),t.setOrder(options),options.sortFunction=options.sortFunction||e.sortFunction,e.items.sort(function(e,t){return options.sortFunction(e,t,options)}),e.update(),e.trigger("sortComplete")};return e.handlers.sortStart=e.handlers.sortStart||[],e.handlers.sortComplete=e.handlers.sortComplete||[],t.els=a(e.listContainer,e.sortClass),i.bind(t.els,"click",n),e.on("searchStart",t.clear),e.on("filterStart",t.clear),e.helpers.classes=o,e.helpers.naturalSort=r,e.helpers.events=i,e.helpers.getAttribute=s,n}}),i.register("list.js/src/item.js",function(e,t,n){n.exports=function(e){return function(t,n,r){var o=this;this._values={},this.found=!1,this.filtered=!1;this.values=function(t,n){if(void 0===t)return o._values;for(var r in t)o._values[r]=t[r];!0!==n&&e.templater.set(o,o.values())},this.show=function(){e.templater.show(o)},this.hide=function(){e.templater.hide(o)},this.matching=function(){return e.filtered&&e.searched&&o.found&&o.filtered||e.filtered&&!e.searched&&o.filtered||!e.filtered&&e.searched&&o.found||!e.filtered&&!e.searched},this.visible=function(){return o.elm.parentNode==e.list},function(t,n,r){if(void 0===n)r?o.values(t,r):o.values(t);else{o.elm=n;var i=e.templater.get(o,t);o.values(i)}}(t,n,r)}}}),i.register("list.js/src/templater.js",function(e,t,n){var r=t("get-by-class");n.exports=function(e){return new function(e){var t=function(t){if(void 0===t){for(var n=e.list.childNodes,r=0,o=n.length;o>r;r++)if(void 0===n[r].data)return n[r];return null}if(-1!==t.indexOf("<")){var i=document.createElement("div");return i.innerHTML=t,i.firstChild}return document.getElementById(e.item)}(e.item),n=this;this.get=function(e,t){n.create(e);for(var o={},i=0,a=t.length;a>i;i++){var s=r(e.elm,t[i],!0);o[t[i]]=s?s.innerHTML:""}return o},this.set=function(e,t){if(!n.create(e))for(var o in t)if(t.hasOwnProperty(o)){var i=r(e.elm,o,!0);i&&("IMG"===i.tagName&&""!==t[o]?i.src=t[o]:i.innerHTML=t[o])}},this.create=function(e){if(void 0!==e.elm)return!1;var r=t.cloneNode(!0);return r.removeAttribute("id"),e.elm=r,n.set(e,e.values()),!0},this.remove=function(t){e.list.removeChild(t.elm)},this.show=function(t){n.create(t),e.list.appendChild(t.elm)},this.hide=function(t){void 0!==t.elm&&t.elm.parentNode===e.list&&e.list.removeChild(t.elm)},this.clear=function(){if(e.list.hasChildNodes())for(;e.list.childNodes.length>=1;)e.list.removeChild(e.list.firstChild)}}(e)}}),i.register("list.js/src/filter.js",function(e,t,n){n.exports=function(e){return e.handlers.filterStart=e.handlers.filterStart||[],e.handlers.filterComplete=e.handlers.filterComplete||[],function(t){if(e.trigger("filterStart"),e.i=1,e.reset.filter(),void 0===t)e.filtered=!1;else{e.filtered=!0;for(var n=e.items,r=0,o=n.length;o>r;r++){var i=n[r];i.filtered=!!t(i)}}return e.update(),e.trigger("filterComplete"),e.visibleItems}}}),i.register("list.js/src/add-async.js",function(e,t,n){n.exports=function(e){return function(t,n,r){var o=t.splice(0,100);r=(r=r||[]).concat(e.add(o)),t.length>0?setTimeout(function(){addAsync(t,n,r)},10):(e.update(),n(r))}}}),i.register("list.js/src/parse.js",function(e,t,n){n.exports=function(e){var n=t("./item")(e),r=function(t,r){for(var o=0,i=t.length;i>o;o++)e.items.push(new n(r,t[o]))};return function(){var t=function(e){for(var t=e.childNodes,n=[],r=0,o=t.length;o>r;r++)void 0===t[r].data&&n.push(t[r]);return n}(e.list),n=e.valueNames;e.indexAsync?function(t,n){var o=t.splice(0,100);r(o,n),t.length>0?setTimeout(function(){init.items.indexAsync(t,n)},10):e.update()}(t,n):r(t,n)}}}),i.alias("component-classes/index.js","list.js/deps/classes/index.js"),i.alias("component-classes/index.js","classes/index.js"),i.alias("component-indexof/index.js","component-classes/deps/indexof/index.js"),i.alias("segmentio-extend/index.js","list.js/deps/extend/index.js"),i.alias("segmentio-extend/index.js","extend/index.js"),i.alias("component-indexof/index.js","list.js/deps/indexof/index.js"),i.alias("component-indexof/index.js","indexof/index.js"),i.alias("javve-events/index.js","list.js/deps/events/index.js"),i.alias("javve-events/index.js","events/index.js"),i.alias("component-event/index.js","javve-events/deps/event/index.js"),i.alias("javve-to-array/index.js","javve-events/deps/to-array/index.js"),i.alias("javve-get-by-class/index.js","list.js/deps/get-by-class/index.js"),i.alias("javve-get-by-class/index.js","get-by-class/index.js"),i.alias("javve-get-attribute/index.js","list.js/deps/get-attribute/index.js"),i.alias("javve-get-attribute/index.js","get-attribute/index.js"),i.alias("javve-natural-sort/index.js","list.js/deps/natural-sort/index.js"),i.alias("javve-natural-sort/index.js","natural-sort/index.js"),i.alias("javve-to-string/index.js","list.js/deps/to-string/index.js"),i.alias("javve-to-string/index.js","list.js/deps/to-string/index.js"),i.alias("javve-to-string/index.js","to-string/index.js"),i.alias("javve-to-string/index.js","javve-to-string/index.js"),i.alias("component-type/index.js","list.js/deps/type/index.js"),i.alias("component-type/index.js","type/index.js"),"object"==o(t)?e.exports=i("list.js"):void 0===(r=function(){return i("list.js")}.call(t,n,t,e))||(e.exports=r)}()},"./themes/bootstrap/js/main.js":function(e,t,n){"use strict";(function(e){$(function(){function t(e){if(void 0!==gitlist.viewer){var t=e.split("-")[1];window.gitlist.isDark(t)?gitlist.viewer.setOption("theme","blackboard"):gitlist.viewer.setOption("theme","default")}}if($(".dropdown-toggle").dropdown(),window.gitlist.setCodeMirrorTheme=t,$("#sourcecode").length){var r=$("#sourcecode").text(),o=$("#sourcecode").attr("language"),i=$("#sourcecode").get(0);gitlist.viewer=CodeMirror(function(e){i.parentNode.replaceChild(e,i)},{value:r,lineNumbers:!0,matchBrackets:!0,lineWrapping:!0,readOnly:!0,mode:o});!function e(){void 0!==gitlist.getThemeCookie?t(gitlist.getThemeCookie()):setTimeout(function(){e()},250)}()}var a=new marked.Renderer,s=n("./node_modules/lodash/kebabCase.js");if(a.heading=function(e,t,n){var r=s(e).replace(/[^\x00-\xFF]/g,"");return"<div "+(" onmouseenter=\"document.getElementById('"+r+"').style.display = 'inline'\"  onmouseleave=\"document.getElementById('"+r+"').style.display = 'none'\" ")+' class="p3x-gitlist-markdown-heading-container"><h'+t+' id="'+(r+"-parent")+'" class="p3x-gitlist-markdown-heading">'+e+'&nbsp;<a class="p3x-gitlist-markdown-heading-link" id="'+r+'" href="'+location.origin+location.pathname+"#"+r+'" onclick="return window.gitlist.scrollHash(this, event)">#</a></h'+t+"></div>"},a.link=function(e,t,n){var r;if(e.startsWith("https:/")||e.startsWith("http:/"))r='<a target="_blank" href="'+e+'">'+n+"</a>";else{var o=gitlist.basepath+"/"+gitlist.repo+"/blob/"+gitlist.branch+"/";location.pathname.startsWith(o)||(e=o+e),r='<a href="'+e+'">'+n+"</a>"}return r},a.image=function(e,t,n){var r=t=t||"";return""!==(n=n||"")&&(""!==t&&(r+=" - "),r+=n),'<a target="_blank" href="'+e+'"><img class="p3x-gitlist-markdown-image" alt="'+htmlEncode(r)+'" title="'+htmlEncode(r)+'" src="'+e+'"/></a>'},$("#md-content").length){var l=marked($("#md-content").text(),{renderer:a});$("#md-content").html(twemoji.parse(l,{folder:"svg",ext:".svg"})),e.gitlist.scrollHash(location)}var u=$("#clone-popup"),c=$("#clone-button-show"),f=$("#clone-button-hide"),d=$("#clone-button-ssh"),h=$("#clone-button-http"),p=$("#clone-input-ssh"),g=$("#clone-input-http");c.click(function(){u.fadeIn()}),f.click(function(){u.fadeOut()}),d.click(function(){d.hasClass("active")||(d.addClass("active"),p.show(),h.removeClass("active"),g.hide())}),h.click(function(){h.hasClass("active")||(h.addClass("active"),g.show(),d.removeClass("active"),p.hide())}),function e(){var t=$(".pager");t.find(".next a").one("click",function(n){n.preventDefault(),$.get(this.href,function(n){t.after(n),t.remove(),e()})}),t.find(".previous").remove()}();for(var m=document.getElementsByTagName("a"),v=0;v<m.length;v++)m[v].addEventListener("click",function(e){var t=e.target.getAttribute("href");if(null!==t&&t.startsWith("#")){e.preventDefault();var n=document.getElementById(t.substring(1));if(null===n)return;n.scrollIntoView({behavior:"smooth",block:"center"})}});if($("#repositories").length)new e.List("repositories",{valueNames:["name"]});if($("#branchList").length)new e.List("branchList",{valueNames:["item"]});$(".search").click(function(e){e.stopPropagation()})}),e.gitlist.scrollHash=function(e,t){var n=new URL(e.href),r=n.hash.substring(1),o=document.getElementById(r+"-parent");if(null===o)return!0;if(o.scrollIntoView({behavior:"smooth",block:"center"}),void 0!==t)if(t.preventDefault(),history.pushState){var i=location.pathname+n.hash;history.pushState(null,null,i)}else location.hash=n.hash;return!1}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./themes/bootstrap/js/network-graph.js":function(e,t,n){"use strict";(function(e){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(n){var r={laneColors:["#ff0000","#0000FF","#00FFFF","#00FF00","#FFFF00","#ff00ff"],laneHeight:20,columnWidth:42,dotRadius:3};function o(){var e={},n=[];function o(e){if(e.lane)return e.lane.number;var t=function(){var e=0;for(;;){if(!n[e])return e;e++}}();return e.children.length>0&&(!e.children[0].isMerge||e.children[0].isMerge&&e.children[0].author.email===e.author.email)&&(t=e.children[0].lane.number),t}return e.occupy=function(e){"object"===t(e)&&(e=e.number),n[e]=!0},e.free=function(e){"object"===t(e)&&(e=e.number),n[e]=!1},e.getLaneForCommit=function(t){if(t.lane)return t.lane;var n=o(t);return e.getLane(n)},e.getLane=function(e){return{number:e,centerY:e*r.laneHeight+r.laneHeight/2,color:r.laneColors[e%r.laneColors.length]}},e}function i(){var t={},r=n('<div class="network-commit-overlay"></div>'),o=n("<img/>").appendTo(r),i=n("<div></div>").appendTo(r),a=n("<div></div>").appendTo(r),s=n('<a rel="author"></a>').appendTo(a),l=n("<span  ></span>").appendTo(a);return r.hide(),t.setCommit=function(n){var r,a;return r=n.author,s.html(r.name).attr("href","mailto:"+r.email),o.attr("src",r.image),l.html(" authored on "+(a=n.date,e.phpDate(gitlist.dateFormat,a))),i.html(n.message),t},t.show=function(){return r.show(),t},t.hide=function(){return r.hide(),t},t.appendTo=function(e){return r.appendTo(e),t},t.positionTo=function(e,t){r.css("left",e+"px"),r.css("top",t+"px")},t.outerWidth=function(){return r.outerWidth.apply(r,arguments)},t}n.fn.dragScrollr=function(){var e,t,n=200,r=this.first(),o=r[0];function i(i){i.preventDefault();var a=o.scrollLeft;o.scrollLeft=o.scrollLeft+e-i.pageX,o.scrollTop=o.scrollTop+t-i.pageY,a>n&&o.scrollLeft<=n&&r.trigger("enterHotZone"),e=i.pageX,t=i.pageY}function a(e){r.off("mousemove",i).off("mouseup",a).off("mouseleave",a)}return r.on("mousedown",function(n){r.on("mousemove",i),r.on("mouseup",a),r.on("mouseleave",a),e=n.pageX,t=n.pageY}),this},n(function(){if(1===n("div.network-graph").length){var e=n("div.network-graph").first(),t=o(),a=function(e,t){var r,o={},i=e,a=!1;function s(e){a=!1,o.updateIndicators(),i=e.nextPage,e.commits&&0!==e.commits.length||t(null),t(e.commits)}function l(){throw"Network Data Error while retrieving Commits"}return o.updateIndicators=function(){a?n(r).addClass("loading-commits"):n(r).removeClass("loading-commits")},o.bindIndicator=function(e){r=r?r.add(e):n(e)},o.unbindIndicator=function(e){r.not(e)},o.retrieve=function(){i?(a=!0,o.updateIndicators(),n.ajax({dataType:"json",url:i,success:s,error:l})):t(null)},o.hasMore=function(){return!!i},o}(e.data("source"),function(e){if(null===e)return void(window.console&&console.log("No (more) Data available"));(function(e){n.each(e,function(e,r){!function(e){e.date=new Date(1e3*e.date),e.parents=[],e.children=function(e){var t=[];return c.hasOwnProperty(e.hash)&&(t=c[e.hash],n.each(t,function(t,n){n.parents.push(e)}),delete c[e.hash]),t}(e),e.isFork=e.children.length>1,e.isMerge=e.parentsHash.length>1,!0===e.isFork&&n.each(e.children,function(e,n){t.occupy(n.lane)});e.lane=t.getLaneForCommit(e),t.occupy(e.lane),function(e){n.each(e.parentsHash,function(t,n){c.hasOwnProperty(n)?c[n].push(e):c[n]=[e]})}(e)}(r)})})(e),function(e){var t=(l+Object.keys(e).length)*r.columnWidth;t>s.width?g(t,s.height):a.hasMore()&&a.retrieve();n.each(e,function(e,t){f.getYear()!==t.date.getYear()||f.getMonth()!==t.date.getMonth()||(f.getDate(),t.date.getDate()),function(e){l++,e.column=l,e.dot=s.circle((t=e.column,s.width-t*r.columnWidth+r.columnWidth/2),e.lane.centerY,r.dotRadius),e.dot.attr({fill:e.lane.color,stroke:"none",cursor:"pointer"}).data("commit",e).mouseover(d).mouseout(h).click(p),e.lane.centerY+r.laneHeight>s.height&&g(s.width,e.lane.centerY+r.laneHeight);var t;n.each(e.children,function(t,n){var o,i,a,l;o=e,i=n,a=e.isFork,l=(a=a||!1)?i.lane:o.lane,s.path(function(){if(!(arguments.length<2)){for(var e="M"+arguments[0][0]+" "+arguments[0][1],t=1,n=arguments.length;t<n;t++)e+="L"+arguments[t][0]+" "+arguments[t][1];return e}}([o.dot.attr("cx"),o.dot.attr("cy")],[o.dot.attr("cx")+r.columnWidth/2,l.centerY],[i.dot.attr("cx")-r.columnWidth/2,l.centerY],[i.dot.attr("cx"),i.dot.attr("cy")])).attr({stroke:l.color,"stroke-width":2}).toBack()})}(t)})}(e)}),s=Raphael(e[0],e.width(),e.height()),l=0,u=i();a.bindIndicator(e.parent(".network-view")),u.appendTo(e);var c={},f=new Date(0);e.dragScrollr(),e.on("enterHotZone",function(){a.retrieve()}),a.retrieve()}function d(t){u.setCommit(this.data("commit")).show();var n=t.pageX-e.offset().left+e.scrollLeft()-u.outerWidth()/2;n=Math.max(n,e.scrollLeft()+10),n=Math.min(n,e.scrollLeft()+e.width()-u.outerWidth()-10),u.positionTo(n,t.pageY-e.offset().top+e.scrollTop()+10)}function h(e){u.hide()}function p(e){location.href=this.data("commit").details}function g(e,t){var n=e-s.width;s.setSize(e,t),s.canvas.parentNode.scrollLeft=s.canvas.parentNode.scrollLeft+n,s.forEach(function(e){if("circle"===e.type)e.attr("cx",e.attr("cx")+n);else if("path"===e.type){var t=e.data("currentXTranslation")||0;t+=n,e.transform("t"+t+" 0"),e.data("currentXTranslation",t)}})}})}(jQuery)}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./themes/bootstrap/js/theme-switcher.js":function(e,t,n){"use strict";$(function(){function e(){var e="gitlist-bootstrap-theme";if(document.cookie.length>0&&-1!=(t=document.cookie.indexOf(e+"="))){var t=t+e.length+1,n=document.cookie.indexOf(";",t);return-1==n&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return"bootstrap-cosmo"}gitlist.getThemeCookie=function(){return e()};var t=e(),n=$("#theme-list");for(var r in themes){var o='<li class="'+(t===r?"active":"")+'" style="text-transform: capitalize"><a href="#" data-theme="'+r+'" class="theme-link">'+r.substring(10)+"</a></li>";n.append(o)}gitlist.setCodeMirrorTheme(e());var i=$("#bootstrap-theme");$(".theme-link").click(function(t){n.find(".active").removeClass("active");var r=$(this);r.parent().addClass("active");var o,a,s,l=themes[r.attr("data-theme")];o="gitlist-bootstrap-theme",a=r.attr("data-theme"),(s=new Date).setDate(s.getDate()+7),document.cookie=o+"="+escape(a)+";path=/;expires="+s.toUTCString(),i.attr("href",("/"===gitlist.basepath?"":gitlist.basepath)+l),gitlist.setCodeMirrorTheme(e()),t.preventDefault()})})},"./themes/bootstrap/js/themes.js":function(e,t,n){"use strict";(function(e){e.themes={"bootstrap-default":"/themes/bootstrap/css/bootstrap-default.css","bootstrap-cerulean":"/themes/bootstrap/css/bootstrap-cerulean.css","bootstrap-cosmo":"/themes/bootstrap/css/bootstrap-cosmo.css","bootstrap-cyborg":"/themes/bootstrap/css/bootstrap-cyborg.css","bootstrap-darkly":"/themes/bootstrap/css/bootstrap-darkly.css","bootstrap-flatly":"/themes/bootstrap/css/bootstrap-flatly.css","bootstrap-journal":"/themes/bootstrap/css/bootstrap-journal.css","bootstrap-lumen":"/themes/bootstrap/css/bootstrap-lumen.css","bootstrap-paper":"/themes/bootstrap/css/bootstrap-paper.css","bootstrap-readable":"/themes/bootstrap/css/bootstrap-readable.css","bootstrap-sandstone":"/themes/bootstrap/css/bootstrap-sandstone.css","bootstrap-simplex":"/themes/bootstrap/css/bootstrap-simplex.css","bootstrap-slate":"/themes/bootstrap/css/bootstrap-slate.css","bootstrap-spacelab":"/themes/bootstrap/css/bootstrap-spacelab.css","bootstrap-superhero":"/themes/bootstrap/css/bootstrap-superhero.css","bootstrap-united":"/themes/bootstrap/css/bootstrap-united.css","bootstrap-yeti":"/themes/bootstrap/css/bootstrap-yeti.css"}}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./themes/bootstrap/less/fontawesome.less":function(e,t,n){var r=n("./node_modules/css-loader/index.js!./node_modules/less-loader/dist/cjs.js!./themes/bootstrap/less/fontawesome.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("./node_modules/style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)},"./themes/bootstrap/less/style.less":function(e,t,n){var r=n("./node_modules/css-loader/index.js!./node_modules/less-loader/dist/cjs.js!./themes/bootstrap/less/style.less");"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n("./node_modules/style-loader/lib/addStyles.js")(r,o);r.locals&&(e.exports=r.locals)}});
//# sourceMappingURL=/sourcemaps/bundle.js.map