%PDF- %PDF-
Direktori : /home2/vacivi36/intranet.vacivitta.com.br/static/js/ |
Current File : //home2/vacivi36/intranet.vacivitta.com.br/static/js/humhub-bundle.js |
!function(i){function a(){var e;if(d)return i.Notification&&i.Notification.permissionLevel?e=i.Notification.permissionLevel():i.webkitNotifications&&i.webkitNotifications.checkPermission?e=o[i.webkitNotifications.checkPermission()]:i.Notification&&i.Notification.permission?e=i.Notification.permission:navigator.mozNotification?e=c:i.external&&void 0!==i.external.msIsSiteMode()&&(e=i.external.msIsSiteMode()?c:n),e}function t(e){return e&&e.constructor===Function}function s(e){return e&&e.constructor===Object}function r(){}var n="default",c="granted",e="denied",o=[c,n,e],l={},u="",d=function(){var e=!1;try{e=!!(i.Notification||i.webkitNotifications||navigator.mozNotification||i.external&&void 0!==i.external.msIsSiteMode())}catch(e){}return e}(),p=Math.floor(10*Math.random()+1),h=function(e){return e&&e.constructor===String},f={pageVisibility:!1,autoClose:0};i.notify={PERMISSION_DEFAULT:n,PERMISSION_GRANTED:c,PERMISSION_DENIED:e,isSupported:d,config:function(e){return e&&s(e)&&function(e,t){var r,n;for(r in t)n=t[r],r in e&&(e[r]===n||r in l&&l[r]===n)||(e[r]=n)}(f,e),f},createNotification:function(e,t){var r,n,o;return d&&(!f.pageVisibility||document.hidden||document.msHidden||document.mozHidden||document.webkitHidden)&&h(e)&&t&&(h(t.icon)||s(t.icon))&&a()===c&&(e=e,t=t,i.Notification?o=new i.Notification(e,{icon:h(t.icon)?t.icon:t.icon.x32,body:t.body||u,tag:t.tag||u}):i.webkitNotifications?(o=i.webkitNotifications.createNotification(t.icon,e,t.body)).show():navigator.mozNotification?(o=navigator.mozNotification.createNotification(e,t.body,t.icon)).show():i.external&&i.external.msIsSiteMode()&&(i.external.msSiteModeClearIconOverlay(),i.external.msSiteModeSetIconOverlay(h(t.icon)?t.icon:t.icon.x16,e),i.external.msSiteModeActivate(),o={ieVerification:p+1}),o=o),n=o,r={close:function(){n&&(n.close?n.close():i.external&&i.external.msIsSiteMode()&&n.ieVerification===p&&i.external.msSiteModeClearIconOverlay())}},f.autoClose&&o&&!o.ieVerification&&o.addEventListener&&o.addEventListener("show",function(){var e=r;i.setTimeout(function(){e.close()},f.autoClose)}),r},permissionLevel:a,requestPermission:function(e){d&&(e=t(e)?e:r,i.webkitNotifications&&i.webkitNotifications.checkPermission?i.webkitNotifications.requestPermission(e):i.Notification&&i.Notification.requestPermission&&i.Notification.requestPermission(e))}},t(Object.seal)&&Object.seal(i.notify)}(window),notify.isSupported&&(notify.config({pageVisibility:!1,autoClose:5e3}),notify.permissionLevel()!=notify.PERMISSION_GRANTED&¬ify.requestPermission()),jQuery.fn.highlight=function(e){return this.length&&e&&e.length?this.each(function(){!function e(t,r){var n=0;if(3==t.nodeType){var o,i=t.data.toUpperCase().indexOf(r);0<=i&&((n=document.createElement("span")).className="highlight",(i=t.splitText(i)).splitText(r.length),o=i.cloneNode(!0),n.appendChild(o),i.parentNode.replaceChild(n,i),n=1)}else if(1==t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName))for(i=0;i<t.childNodes.length;++i)i+=e(t.childNodes[i],r);return n}(this,e.toUpperCase())}):this},jQuery.fn.removeHighlight=function(){return this.find("span.highlight").each(function(){with(this.parentNode.firstChild.nodeName,this.parentNode)replaceChild(this.firstChild,this),normalize()}).end()},function(f){var m,e={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},g=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent","whiteSpace"],y=f('<textarea tabindex="-1"/>').data("autosize",!0)[0];y.style.cssText="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;",(y.style.lineHeight="99px")===f(y).css("lineHeight")&&g.push("lineHeight"),y.style.lineHeight="",f.fn.autosize=function(h){return this.length?(h=f.extend({},e,h||{}),y.parentNode!==document.body&&f(document.body).append(y),this.each(function(){function n(){var r,n=window.getComputedStyle?window.getComputedStyle(a,null):null;n?(r=parseFloat(n.width),"border-box"!==n.boxSizing&&"border-box"!==n.webkitBoxSizing&&"border-box"!==n.mozBoxSizing||f.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],function(e,t){r-=parseFloat(n[t])})):r=s.width(),y.style.width=Math.max(r,0)+"px"}function t(){var e,t,r;m!==a?(r={},m=a,y.className=h.className,y.id=h.id,o=parseFloat(s.css("maxHeight")),f.each(g,function(e,t){r[t]=s.css(t)}),f(y).css(r).attr("wrap",s.attr("wrap")),n(),window.chrome&&(t=a.style.width,a.style.width="0px",a.offsetWidth,a.style.width=t)):n(),y.value=!a.value&&h.placeholder?s.attr("placeholder")||"":a.value,y.value+=h.append||"",y.style.overflowY=a.style.overflowY,e=parseFloat(a.style.height)||0,y.scrollTop=0,y.scrollTop=9e4,t=y.scrollTop,o&&o<t?(a.style.overflowY="scroll",t=o):(a.style.overflowY="hidden",t<i&&(t=i)),t+=c,.01<Math.abs(e-t)&&(a.style.height=t+"px",y.className=y.className,l&&h.callback.call(a,a),s.trigger("autosize.resized"))}function e(){clearTimeout(r),r=setTimeout(function(){var e=s.width();e!==d&&(d=e,t())},parseInt(h.resizeDelay,10))}var o,i,r,a=this,s=f(a),c=0,l=f.isFunction(h.callback),u={height:a.style.height,overflow:a.style.overflow,overflowY:a.style.overflowY,wordWrap:a.style.wordWrap,resize:a.style.resize},d=s.width(),p=s.css("resize");s.data("autosize")||(s.data("autosize",!0),"border-box"!==s.css("box-sizing")&&"border-box"!==s.css("-moz-box-sizing")&&"border-box"!==s.css("-webkit-box-sizing")||(c=s.outerHeight()-s.height()),i=Math.max(parseFloat(s.css("minHeight"))-c||0,s.height()),s.css({overflow:"hidden",overflowY:"hidden",wordWrap:"break-word"}),"vertical"===p?s.css("resize","none"):"both"===p&&s.css("resize","horizontal"),"onpropertychange"in a?"oninput"in a?s.on("input.autosize keyup.autosize",t):s.on("propertychange.autosize",function(){"value"===event.propertyName&&t()}):s.on("input.autosize",t),!1!==h.resizeDelay&&f(window).on("resize.autosize",e),s.on("autosize.resize",t),s.on("autosize.resizeIncludeStyle",function(){m=null,t()}),s.on("autosize.destroy",function(){m=null,clearTimeout(r),f(window).off("resize",e),s.off("autosize").off(".autosize").css(u).removeData("autosize")}),t())})):this}}(jQuery||$),function(r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),r(t),t}:r(jQuery)}(function(t){var e,r,n,p,i,a,h,f,m,g,y,_,o,s,b,c,c=((e=t&&t.fn&&t.fn.select2&&t.fn.select2.amd?t.fn.select2.amd:e)&&e.requirejs||(e?n=e:e={},m={},g={},y={},_={},o=Object.prototype.hasOwnProperty,s=[].slice,b=/\.js$/,h=function(e,t){var r,n,o=u(e),i=o[0],t=t[1];return e=o[1],i&&(r=v(i=l(i,t))),i?e=r&&r.normalize?r.normalize(e,(n=t,function(e){return l(e,n)})):l(e,t):(i=(o=u(e=l(e,t)))[0],e=o[1],i&&(r=v(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:r}},f={require:function(e){return k(e)},exports:function(e){var t=m[e];return void 0!==t?t:m[e]={}},module:function(e){return{id:e,uri:"",exports:m[e],config:(t=e,function(){return y&&y.config&&y.config[t]||{}})};var t}},i=function(e,t,r,n){var o,i,a,s,c,l=[],u=typeof r,d=x(n=n||e);if("undefined"==u||"function"==u){for(t=!t.length&&r.length?["require","exports","module"]:t,s=0;s<t.length;s+=1)if("require"===(i=(a=h(t[s],d)).f))l[s]=f.require(e);else if("exports"===i)l[s]=f.exports(e),c=!0;else if("module"===i)o=l[s]=f.module(e);else if(w(m,i)||w(g,i)||w(_,i))l[s]=v(i);else{if(!a.p)throw new Error(e+" missing "+i);a.p.load(a.n,k(n,!0),function(t){return function(e){m[t]=e}}(i),{}),l[s]=m[i]}u=r?r.apply(m[e],l):void 0,e&&(o&&o.exports!==p&&o.exports!==m[e]?m[e]=o.exports:u===p&&c||(m[e]=u))}else e&&(m[e]=r)},r=n=a=function(e,t,r,n,o){if("string"==typeof e)return f[e]?f[e](t):v(h(e,x(t)).f);if(!e.splice){if((y=e).deps&&a(y.deps,y.callback),!t)return;t.splice?(e=t,t=r,r=null):e=p}return t=t||function(){},"function"==typeof r&&(r=n,n=o),n?i(p,e,t,r):setTimeout(function(){i(p,e,t,r)},4),a},a.config=function(e){return a(e)},r._defined=m,(c=function(e,t,r){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(r=t,t=[]),w(m,e)||w(g,e)||(g[e]=[e,t,r])}).amd={jQuery:!0},e.requirejs=r,e.require=n,e.define=c),e.define("almond",function(){}),e.define("jquery",[],function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e}),e.define("select2/utils",["jquery"],function(i){var n={};function l(e){var t,r=e.prototype,n=[];for(t in r)"function"==typeof r[t]&&"constructor"!==t&&n.push(t);return n}function e(){this.listeners={}}n.Extend=function(e,t){var r,n={}.hasOwnProperty;function o(){this.constructor=e}for(r in t)n.call(t,r)&&(e[r]=t[r]);return o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype,e},n.Decorate=function(n,o){var e=l(o),t=l(n);function i(){var e=Array.prototype.unshift,t=o.prototype.constructor.length,r=n.prototype.constructor;0<t&&(e.call(arguments,n.prototype.constructor),r=o.prototype.constructor),r.apply(this,arguments)}o.displayName=n.displayName,i.prototype=new function(){this.constructor=i};for(var r=0;r<t.length;r++){var a=t[r];i.prototype[a]=n.prototype[a]}for(var s=0;s<e.length;s++){var c=e[s];i.prototype[c]=function(e){var t=function(){};e in i.prototype&&(t=i.prototype[e]);var r=o.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),r.apply(this,arguments)}}(c)}return i},e.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},e.prototype.trigger=function(e){var t=Array.prototype.slice,r=t.call(arguments,1);this.listeners=this.listeners||{},0===(r=null==r?[]:r).length&&r.push({}),(r[0]._type=e)in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},e.prototype.invoke=function(e,t){for(var r=0,n=e.length;r<n;r++)e[r].apply(this,t)},n.Observable=e,n.generateChars=function(e){for(var t="",r=0;r<e;r++)t+=Math.floor(36*Math.random()).toString(36);return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var r=t.split("-"),n=e;if(1!==r.length){for(var o=0;o<r.length;o++){var i=r[o];(i=i.substring(0,1).toLowerCase()+i.substring(1))in n||(n[i]={}),o==r.length-1&&(n[i]=e[t]),n=n[i]}delete e[t]}}return e},n.hasScroll=function(e,t){var r=i(t),n=t.style.overflowX,o=t.style.overflowY;return(n!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===n||"scroll"===o||r.innerHeight()<t.scrollHeight||r.innerWidth()<t.scrollWidth)},n.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(e,t){var r;"1.7"===i.fn.jquery.substr(0,3)&&(r=i(),i.map(t,function(e){r=r.add(e)}),t=r),e.append(t)},n.__cache={};var r=0;return n.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++r),t=r.toString())),t},n.StoreData=function(e,t,r){e=n.GetUniqueElementId(e);n.__cache[e]||(n.__cache[e]={}),n.__cache[e][t]=r},n.GetData=function(e,t){var r=n.GetUniqueElementId(e);return t?n.__cache[r]&&null!=n.__cache[r][t]?n.__cache[r][t]:i(e).data(t):n.__cache[r]},n.RemoveData=function(e){var t=n.GetUniqueElementId(e);null!=n.__cache[t]&&delete n.__cache[t],e.removeAttribute("data-select2-id")},n}),e.define("select2/results",["jquery","./utils"],function(d,p){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return p.Extend(n,p.Observable),n.prototype.render=function(){var e=d('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=d('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),n=this.options.get("translations").get(e.message);r.append(t(n(e.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var r=0;r<e.results.length;r++){var n=e.results[r],n=this.option(n);t.push(n)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");(0<t.length?t:e).first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current(function(e){var n=d.map(e,function(e){return e.id.toString()});t.$results.find(".select2-results__option[aria-selected]").each(function(){var e=d(this),t=p.GetData(this,"data"),r=""+t.id;null!=t.element&&t.element.selected||null==t.element&&-1<d.inArray(r,n)?e.attr("aria-selected","true"):e.attr("aria-selected","false")})})},n.prototype.showLoading=function(e){this.hideLoading();e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},e=this.option(e);e.className+=" loading-results",this.$results.prepend(e)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(e){var t=document.createElement("li");t.className="select2-results__option";var r,n={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(r in(null!=e.element&&o.call(e.element,":disabled")||null==e.element&&e.disabled)&&(delete n["aria-selected"],n["aria-disabled"]="true"),null==e.id&&delete n["aria-selected"],null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,delete n["aria-selected"]),n){var i=n[r];t.setAttribute(r,i)}if(e.children){var a=d(t),s=document.createElement("strong");s.className="select2-results__group",d(s),this.template(e,s);for(var c=[],l=0;l<e.children.length;l++){var u=e.children[l],u=this.option(u);c.push(u)}o=d("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});o.append(c),a.append(s),a.append(o)}else this.template(e,t);return p.StoreData(t,"data",e),t},n.prototype.bind=function(t,e){var o=this,r=t.id+"-results";this.$results.attr("id",r),t.on("results:all",function(e){o.clear(),o.append(e.data),t.isOpen()&&(o.setClasses(),o.highlightFirstItem())}),t.on("results:append",function(e){o.append(e.data),t.isOpen()&&o.setClasses()}),t.on("query",function(e){o.hideMessages(),o.showLoading(e)}),t.on("select",function(){t.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())}),t.on("unselect",function(){t.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())}),t.on("open",function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()}),t.on("close",function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")}),t.on("results:toggle",function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),t.on("results:select",function(){var e,t=o.getHighlightedResults();0!==t.length&&(e=p.GetData(t[0],"data"),"true"==t.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:e}))}),t.on("results:previous",function(){var e,t=o.getHighlightedResults(),r=o.$results.find("[aria-selected]"),n=r.index(t);n<=0||(e=n-1,0===t.length&&(e=0),(n=r.eq(e)).trigger("mouseenter"),t=o.$results.offset().top,r=n.offset().top,n=o.$results.scrollTop()+(r-t),0===e?o.$results.scrollTop(0):r-t<0&&o.$results.scrollTop(n))}),t.on("results:next",function(){var e,t=o.getHighlightedResults(),r=o.$results.find("[aria-selected]"),n=r.index(t)+1;n>=r.length||((e=r.eq(n)).trigger("mouseenter"),t=o.$results.offset().top+o.$results.outerHeight(!1),r=e.offset().top+e.outerHeight(!1),e=o.$results.scrollTop()+r-t,0===n?o.$results.scrollTop(0):t<r&&o.$results.scrollTop(e))}),t.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),t.on("results:message",function(e){o.displayMessage(e)}),d.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=o.$results.scrollTop(),r=o.$results.get(0).scrollHeight-t+e.deltaY,t=0<e.deltaY&&t-e.deltaY<=0,r=e.deltaY<0&&r<=o.$results.height();t?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(e){var t=d(this),r=p.GetData(this,"data");"true"!==t.attr("aria-selected")?o.trigger("select",{originalEvent:e,data:r}):o.options.get("multiple")?o.trigger("unselect",{originalEvent:e,data:r}):o.trigger("close",{})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(e){var t=p.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted"),o.trigger("results:focus",{data:t,element:d(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e,t,r,n,o=this.getHighlightedResults();0!==o.length&&(e=this.$results.find("[aria-selected]").index(o),n=this.$results.offset().top,t=o.offset().top,r=this.$results.scrollTop()+(t-n),n=t-n,r-=2*o.outerHeight(!1),e<=2?this.$results.scrollTop(0):(n>this.$results.outerHeight()||n<0)&&this.$results.scrollTop(r))},n.prototype.template=function(e,t){var r=this.options.get("templateResult"),n=this.options.get("escapeMarkup"),e=r(e,t);null==e?t.style.display="none":"string"==typeof e?t.innerHTML=n(e):d(t).append(e)},n}),e.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),e.define("select2/selection/base",["jquery","../utils","../keys"],function(r,n,o){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.render=function(){var e=r('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=n.GetData(this.$element[0],"old-tabindex")?this._tabindex=n.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false"),this.$selection=e},i.prototype.bind=function(e,t){var r=this,n=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){r.trigger("focus",e)}),this.$selection.on("blur",function(e){r._handleBlur(e)}),this.$selection.on("keydown",function(e){r.trigger("keypress",e),e.which===o.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){r.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){r.update(e.data)}),e.on("open",function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",n),r._attachCloseHandler(e)}),e.on("close",function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(e)}),e.on("enable",function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")}),e.on("disable",function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")})},i.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||r.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(e){r(document.body).on("mousedown.select2."+e.id,function(e){var t=r(e.target).closest(".select2");r(".select2.select2-container--open").each(function(){this!=t[0]&&n.GetData(this,"element").select2("close")})})},i.prototype._detachCloseHandler=function(e){r(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,r,n){function o(){o.__super__.constructor.apply(this,arguments)}return r.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(t,e){var r=this;o.__super__.bind.apply(this,arguments);var n=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",n).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(e){1===e.which&&r.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),t.on("focus",function(e){t.isOpen()||r.$selection.trigger("focus")})},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var r=this.options.get("templateSelection");return this.options.get("escapeMarkup")(r(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){var t,r;0!==e.length?(r=e[0],t=this.$selection.find(".select2-selection__rendered"),e=this.display(r,t),t.empty().append(e),(r=r.title||r.text)?t.attr("title",r):t.removeAttr("title")):this.clear()},o}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(n,e,s){function o(e,t){o.__super__.constructor.apply(this,arguments)}return s.Extend(o,e),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},o.prototype.bind=function(e,t){var r=this;o.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){r.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){var t;r.isDisabled()||(t=n(this).parent(),t=s.GetData(t[0],"data"),r.trigger("unselect",{originalEvent:e,data:t}))})},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var r=this.options.get("templateSelection");return this.options.get("escapeMarkup")(r(e,t))},o.prototype.selectionContainer=function(){return n('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},o.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=0;r<e.length;r++){var n=e[r],o=this.selectionContainer(),i=this.display(n,o);o.append(i);i=n.title||n.text;i&&o.attr("title",i),s.StoreData(o[0],"data",n),t.push(o)}var a=this.$selection.find(".select2-selection__rendered");s.appendMany(a,t)}},o}),e.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,r){this.placeholder=this.normalizePlaceholder(r.get("placeholder")),e.call(this,t,r)}return t.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},t.prototype.createPlaceholder=function(e,t){var r=this.selectionContainer();return r.html(this.display(t)),r.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),r},t.prototype.update=function(e,t){var r=1==t.length&&t[0].id!=this.placeholder.id;if(1<t.length||r)return e.call(this,t);this.clear();t=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(t)},t}),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(r,n,s){function e(){}return e.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){n._handleClear(e)}),t.on("keypress",function(e){n._handleKeyboardClear(e,t)})},e.prototype._handleClear=function(e,t){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();var n=s.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var i={data:n};if(this.trigger("clear",i),i.prevented)this.$element.val(o);else{for(var a=0;a<n.length;a++)if(i={data:n[a]},this.trigger("unselect",i),i.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},e.prototype._handleKeyboardClear=function(e,t,r){r.isOpen()||t.which!=n.DELETE&&t.which!=n.BACKSPACE||this._handleClear(t)},e.prototype.update=function(e,t){e.call(this,t),0<this.$selection.find(".select2-selection__placeholder").length||0===t.length||(e=this.options.get("translations").get("removeAllItems"),e=r('<span class="select2-selection__clear" title="'+e()+'">×</span>'),s.StoreData(e[0],"data",t),this.$selection.find(".select2-selection__rendered").prepend(e))},e}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(r,a,s){function e(e,t,r){e.call(this,t,r)}return e.prototype.render=function(e){var t=r('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=t,this.$search=t.find("input");e=e.call(this);return this._transferTabIndex(),e},e.prototype.bind=function(e,t,r){var n=this,o=t.id+"-results";e.call(this,t,r),t.on("open",function(){n.$search.attr("aria-controls",o),n.$search.trigger("focus")}),t.on("close",function(){n.$search.val(""),n.$search.removeAttr("aria-controls"),n.$search.removeAttr("aria-activedescendant"),n.$search.trigger("focus")}),t.on("enable",function(){n.$search.prop("disabled",!1),n._transferTabIndex()}),t.on("disable",function(){n.$search.prop("disabled",!0)}),t.on("focus",function(e){n.$search.trigger("focus")}),t.on("results:focus",function(e){e.data._resultId?n.$search.attr("aria-activedescendant",e.data._resultId):n.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){n.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){n._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){var t;e.stopPropagation(),n.trigger("keypress",e),n._keyUpPrevented=e.isDefaultPrevented(),e.which===s.BACKSPACE&&""===n.$search.val()&&0<(t=n.$searchContainer.prev(".select2-selection__choice")).length&&(t=a.GetData(t[0],"data"),n.searchRemoveChoice(t),e.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(e){n.$search.val()&&e.stopPropagation()});var t=document.documentMode,i=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){i?n.$selection.off("input.search input.searchcheck"):n.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){var t;i&&"input"===e.type?n.$selection.off("input.search input.searchcheck"):(t=e.which)!=s.SHIFT&&t!=s.CTRL&&t!=s.ALT&&t!=s.TAB&&n.handleSearch(e)})},e.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},e.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},e.prototype.update=function(e,t){var r=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),r&&this.$search.trigger("focus")},e.prototype.handleSearch=function(){var e;this.resizeSearch(),this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},e.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="",e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em";this.$search.css("width",e)},e}),e.define("select2/selection/eventRelay",["jquery"],function(a){function e(){}return e.prototype.bind=function(e,t,r){var n=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],i=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,r),t.on("*",function(e,t){var r;-1!==a.inArray(e,o)&&(r=a.Event("select2:"+e,{params:t=t||{}}),n.$element.trigger(r),-1!==a.inArray(e,i)&&(t.prevented=r.isDefaultPrevented()))})},e}),e.define("select2/translation",["jquery","require"],function(t,r){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(e){var t;return e in n._cache||(t=r(e),n._cache[e]=t),new n(n._cache[e])},n}),e.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),e.define("select2/data/base",["../utils"],function(r){function n(e,t){n.__super__.constructor.call(this)}return r.Extend(n,r.Observable),n.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},n.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},n.prototype.bind=function(e,t){},n.prototype.destroy=function(){},n.prototype.generateResultId=function(e,t){e=e.id+"-result-";return e+=r.generateChars(4),null!=t.id?e+="-"+t.id.toString():e+="-"+r.generateChars(4),e},n}),e.define("select2/data/select",["./base","../utils","jquery"],function(e,a,s){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return a.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each(function(){var e=s(this),e=r.item(e);t.push(e)}),e(t)},r.prototype.select=function(o){var e,i=this;if(o.selected=!0,s(o.element).is("option"))return o.element.selected=!0,void this.$element.trigger("input").trigger("change");this.$element.prop("multiple")?this.current(function(e){var t=[];(o=[o]).push.apply(o,e);for(var r=0;r<o.length;r++){var n=o[r].id;-1===s.inArray(n,t)&&t.push(n)}i.$element.val(t),i.$element.trigger("input").trigger("change")}):(e=o.id,this.$element.val(e),this.$element.trigger("input").trigger("change"))},r.prototype.unselect=function(o){var i=this;if(this.$element.prop("multiple")){if(o.selected=!1,s(o.element).is("option"))return o.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current(function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r].id;n!==o.id&&-1===s.inArray(n,t)&&t.push(n)}i.$element.val(t),i.$element.trigger("input").trigger("change")})}},r.prototype.bind=function(e,t){var r=this;(this.container=e).on("select",function(e){r.select(e.data)}),e.on("unselect",function(e){r.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){a.RemoveData(this)})},r.prototype.query=function(t,e){var r=[],n=this;this.$element.children().each(function(){var e=s(this);(e.is("option")||e.is("optgroup"))&&(e=n.item(e),null!==(e=n.matches(t,e))&&r.push(e))}),e({results:r})},r.prototype.addOptions=function(e){a.appendMany(this.$element,e)},r.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var r=s(t),e=this._normalizeItem(e);return e.element=t,a.StoreData(t,"data",e),r},r.prototype.item=function(e){var t={};if(null!=(t=a.GetData(e[0],"data")))return t;if(e.is("option"))t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){for(var t={text:e.prop("label"),children:[],title:e.prop("title")},r=e.children("option"),n=[],o=0;o<r.length;o++){var i=s(r[o]),i=this.item(i);n.push(i)}t.children=n}return(t=this._normalizeItem(t)).element=e[0],a.StoreData(e[0],"data",t),t},r.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=s.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),s.extend({},{selected:!1,disabled:!1},e)},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},r}),e.define("select2/data/array",["./select","../utils","jquery"],function(e,l,u){function n(e,t){this._dataToConvert=t.get("data")||[],n.__super__.constructor.call(this,e,t)}return l.Extend(n,e),n.prototype.bind=function(e,t){n.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},n.prototype.select=function(r){var e;0===(e=this.$element.find("option").filter(function(e,t){return t.value==r.id.toString()})).length&&(e=this.option(r),this.addOptions(e)),n.__super__.select.call(this,r)},n.prototype.convertToOptions=function(e){var t=this,r=this.$element.find("option"),n=r.map(function(){return t.item(u(this)).id}).get(),o=[];for(var i=0;i<e.length;i++){var a,s,c=this._normalizeItem(e[i]);0<=u.inArray(c.id,n)?(a=r.filter(function(e){return function(){return u(this).val()==e.id}}(c)),s=this.item(a),s=u.extend(!0,{},c,s),s=this.option(s),a.replaceWith(s)):(s=this.option(c),c.children&&(c=this.convertToOptions(c.children),l.appendMany(s,c)),o.push(s))}return o},n}),e.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,i){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return i.extend({},e,{q:e.term})},transport:function(e,t,r){e=i.ajax(e);return e.then(t),e.fail(r),e}};return i.extend({},t,e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(t,r){var n=this;null!=this._request&&(i.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=i.extend({type:"GET"},this.ajaxOptions);function e(){var e=o.transport(o,function(e){e=n.processResults(e,t);n.options.get("debug")&&window.console&&console.error&&(e&&e.results&&i.isArray(e.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),r(e)},function(){"status"in e&&(0===e.status||"0"===e.status)||n.trigger("results:message",{message:"errorLoading"})});n._request=e}"function"==typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(e,this.ajaxOptions.delay)):e()},r}),e.define("select2/data/tags",["jquery"],function(s){function e(e,t,r){var n=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);o=r.get("insertTag");if(void 0!==o&&(this.insertTag=o),e.call(this,t,r),s.isArray(n))for(var i=0;i<n.length;i++){var a=n[i],a=this._normalizeItem(a),a=this.option(a);this.$element.append(a)}}return e.prototype.query=function(e,l,u){var d=this;this._removeOldTags(),null!=l.term&&null==l.page?e.call(this,l,function e(t,r){for(var n=t.results,o=0;o<n.length;o++){var i=n[o],a=null!=i.children&&!e({results:i.children},!0);if((i.text||"").toUpperCase()===(l.term||"").toUpperCase()||a)return!r&&(t.data=n,void u(t))}if(r)return!0;var s,c=d.createTag(l);null!=c&&((s=d.option(c)).attr("data-select2-tag",!0),d.addOptions([s]),d.insertTag(n,c)),t.results=n,u(t)}):e.call(this,l,u)},e.prototype.createTag=function(e,t){t=s.trim(t.term);return""===t?null:{id:t,text:t}},e.prototype.insertTag=function(e,t,r){t.unshift(r)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each(function(){this.selected||s(this).remove()})},e}),e.define("select2/data/tokenizer",["jquery"],function(l){function e(e,t,r){var n=r.get("tokenizer");void 0!==n&&(this.tokenizer=n),e.call(this,t,r)}return e.prototype.bind=function(e,t,r){e.call(this,t,r),this.$search=t.dropdown.$search||t.selection.$search||r.find(".select2-search__field")},e.prototype.query=function(e,t,r){var n=this;t.term=t.term||"";var o=this.tokenizer(t,this.options,function(e){var t=n._normalizeItem(e);n.$element.find("option").filter(function(){return l(this).val()===t.id}).length||((e=n.option(t)).attr("data-select2-tag",!0),n._removeOldTags(),n.addOptions([e])),n.trigger("select",{data:t})});o.term!==t.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),t.term=o.term),e.call(this,t,r)},e.prototype.tokenizer=function(e,t,r,n){for(var o=r.get("tokenSeparators")||[],i=t.term,a=0,s=this.createTag||function(e){return{id:e.term,text:e.term}};a<i.length;){var c=i[a];-1!==l.inArray(c,o)?(c=i.substr(0,a),null!=(c=s(l.extend({},t,{term:c})))?(n(c),i=i.substr(a+1)||"",a=0):a++):a++}return{term:i}},e}),e.define("select2/data/minimumInputLength",[],function(){function e(e,t,r){this.minimumInputLength=r.get("minimumInputLength"),e.call(this,t,r)}return e.prototype.query=function(e,t,r){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,r)},e}),e.define("select2/data/maximumInputLength",[],function(){function e(e,t,r){this.maximumInputLength=r.get("maximumInputLength"),e.call(this,t,r)}return e.prototype.query=function(e,t,r){t.term=t.term||"",0<this.maximumInputLength&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,r)},e}),e.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,r){this.maximumSelectionLength=r.get("maximumSelectionLength"),e.call(this,t,r)}return e.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),t.on("select",function(){n._checkIfMaximumSelected()})},e.prototype.query=function(e,t,r){var n=this;this._checkIfMaximumSelected(function(){e.call(n,t,r)})},e.prototype._checkIfMaximumSelected=function(e,t){var r=this;this.current(function(e){e=null!=e?e.length:0;0<r.maximumSelectionLength&&e>=r.maximumSelectionLength?r.trigger("results:message",{message:"maximumSelected",args:{maximum:r.maximumSelectionLength}}):t&&t()})},e}),e.define("select2/dropdown",["jquery","./utils"],function(t,e){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e},r.prototype.bind=function(){},r.prototype.position=function(e,t){},r.prototype.destroy=function(){this.$dropdown.remove()},r}),e.define("select2/dropdown/search",["jquery","../utils"],function(i,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),e=i('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=e,this.$search=e.find("input"),t.prepend(e),t},t.prototype.bind=function(e,t,r){var n=this,o=t.id+"-results";e.call(this,t,r),this.$search.on("keydown",function(e){n.trigger("keypress",e),n._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(e){i(this).off("keyup")}),this.$search.on("keyup input",function(e){n.handleSearch(e)}),t.on("open",function(){n.$search.attr("tabindex",0),n.$search.attr("aria-controls",o),n.$search.trigger("focus"),window.setTimeout(function(){n.$search.trigger("focus")},0)}),t.on("close",function(){n.$search.attr("tabindex",-1),n.$search.removeAttr("aria-controls"),n.$search.removeAttr("aria-activedescendant"),n.$search.val(""),n.$search.trigger("blur")}),t.on("focus",function(){t.isOpen()||n.$search.trigger("focus")}),t.on("results:all",function(e){null!=e.query.term&&""!==e.query.term||(n.showSearch(e)?n.$searchContainer.removeClass("select2-search--hide"):n.$searchContainer.addClass("select2-search--hide"))}),t.on("results:focus",function(e){e.data._resultId?n.$search.attr("aria-activedescendant",e.data._resultId):n.$search.removeAttr("aria-activedescendant")})},t.prototype.handleSearch=function(e){var t;this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,r,n){this.placeholder=this.normalizePlaceholder(r.get("placeholder")),e.call(this,t,r,n)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return t="string"==typeof t?{id:"",text:t}:t},e.prototype.removePlaceholder=function(e,t){for(var r=t.slice(0),n=t.length-1;0<=n;n--){var o=t[n];this.placeholder.id===o.id&&r.splice(n,1)}return r},e}),e.define("select2/dropdown/infiniteScroll",["jquery"],function(r){function e(e,t,r,n){this.lastParams={},e.call(this,t,r,n),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),t.on("query",function(e){n.lastParams=e,n.loading=!0}),t.on("query:append",function(e){n.lastParams=e,n.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=r.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(e=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=e+50&&this.loadMore())},e.prototype.loadMore=function(){this.loading=!0;var e=r.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=r('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},e}),e.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,a){function e(e,t,r){this.$dropdownParent=u(r.get("dropdownParent")||document.body),e.call(this,t,r)}return e.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),t.on("open",function(){n._showDropdown(),n._attachPositioningHandler(t),n._bindContainerResultHandlers(t)}),t.on("close",function(){n._hideDropdown(),n._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.prototype.position=function(e,t,r){t.attr("class",r.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=r},e.prototype.render=function(e){var t=u("<span></span>"),e=e.call(this);return t.append(e),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._bindContainerResultHandlers=function(e,t){var r;this._containerResultsHandlersBound||(r=this,t.on("results:all",function(){r._positionDropdown(),r._resizeDropdown()}),t.on("results:append",function(){r._positionDropdown(),r._resizeDropdown()}),t.on("results:message",function(){r._positionDropdown(),r._resizeDropdown()}),t.on("select",function(){r._positionDropdown(),r._resizeDropdown()}),t.on("unselect",function(){r._positionDropdown(),r._resizeDropdown()}),this._containerResultsHandlersBound=!0)},e.prototype._attachPositioningHandler=function(e,t){var r=this,n="scroll.select2."+t.id,o="resize.select2."+t.id,i="orientationchange.select2."+t.id,t=this.$container.parents().filter(a.hasScroll);t.each(function(){a.StoreData(this,"select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),t.on(n,function(e){var t=a.GetData(this,"select2-scroll-position");u(this).scrollTop(t.y)}),u(window).on(n+" "+o+" "+i,function(e){r._positionDropdown(),r._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var r="scroll.select2."+t.id,n="resize.select2."+t.id,t="orientationchange.select2."+t.id;this.$container.parents().filter(a.hasScroll).off(r),u(window).off(r+" "+n+" "+t)},e.prototype._positionDropdown=function(){var e=u(window),t=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),n=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var i={height:this.$container.outerHeight(!1)};i.top=o.top,i.bottom=o.top+i.height;var a=this.$dropdown.outerHeight(!1),s=e.scrollTop(),c=e.scrollTop()+e.height(),l=s<o.top-a,e=c>o.bottom+a,s={left:o.left,top:i.bottom},c=this.$dropdownParent;"static"===c.css("position")&&(c=c.offsetParent());o={top:0,left:0};(u.contains(document.body,c[0])||c[0].isConnected)&&(o=c.offset()),s.top-=o.top,s.left-=o.left,t||r||(n="below"),e||!l||t?!l&&e&&t&&(n="below"):n="above",("above"==n||t&&"below"!==n)&&(s.top=i.top-o.top-a),null!=n&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+n),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+n)),this.$dropdownContainer.css(s)},e.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,t,r,n){this.minimumResultsForSearch=r.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,r,n)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var r=0,n=0;n<t.length;n++){var o=t[n];o.children?r+=e(o.children):r++}return r}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),e.define("select2/dropdown/selectOnClose",["../utils"],function(n){function e(){}return e.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),t.on("close",function(e){n._handleSelectOnClose(e)})},e.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var r=t.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}r=this.getHighlightedResults();r.length<1||(null!=(r=n.GetData(r[0],"data")).element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r}))},e}),e.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,r){var n=this;e.call(this,t,r),t.on("select",function(e){n._selectTriggered(e)}),t.on("unselect",function(e){n._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var r=t.originalEvent;r&&(r.ctrlKey||r.metaKey)||this.trigger("close",{originalEvent:r,originalSelect2Event:t})},e}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,e="Please delete "+t+" character";return 1!=t&&(e+="s"),e},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(c,s,l,u,d,p,h,f,m,g,a,t,y,_,b,w,k,v,x,z,C,S,E,A,q,M,D,T,e){function r(){this.reset()}return r.prototype.apply=function(e){var t,r,n;null==(e=c.extend(!0,{},this.defaults,e)).dataAdapter&&(null!=e.ajax?e.dataAdapter=b:null!=e.data?e.dataAdapter=_:e.dataAdapter=y,0<e.minimumInputLength&&(e.dataAdapter=g.Decorate(e.dataAdapter,v)),0<e.maximumInputLength&&(e.dataAdapter=g.Decorate(e.dataAdapter,x)),0<e.maximumSelectionLength&&(e.dataAdapter=g.Decorate(e.dataAdapter,z)),e.tags&&(e.dataAdapter=g.Decorate(e.dataAdapter,w)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=g.Decorate(e.dataAdapter,k)),null!=e.query&&(t=s(e.amdBase+"compat/query"),e.dataAdapter=g.Decorate(e.dataAdapter,t)),null!=e.initSelection&&(r=s(e.amdBase+"compat/initSelection"),e.dataAdapter=g.Decorate(e.dataAdapter,r))),null==e.resultsAdapter&&(e.resultsAdapter=l,null!=e.ajax&&(e.resultsAdapter=g.Decorate(e.resultsAdapter,A)),null!=e.placeholder&&(e.resultsAdapter=g.Decorate(e.resultsAdapter,E)),e.selectOnClose&&(e.resultsAdapter=g.Decorate(e.resultsAdapter,D))),null==e.dropdownAdapter&&(e.multiple?e.dropdownAdapter=C:(r=g.Decorate(C,S),e.dropdownAdapter=r),0!==e.minimumResultsForSearch&&(e.dropdownAdapter=g.Decorate(e.dropdownAdapter,M)),e.closeOnSelect&&(e.dropdownAdapter=g.Decorate(e.dropdownAdapter,T)),null==e.dropdownCssClass&&null==e.dropdownCss&&null==e.adaptDropdownCssClass||(n=s(e.amdBase+"compat/dropdownCss"),e.dropdownAdapter=g.Decorate(e.dropdownAdapter,n)),e.dropdownAdapter=g.Decorate(e.dropdownAdapter,q)),null==e.selectionAdapter&&(e.multiple?e.selectionAdapter=d:e.selectionAdapter=u,null!=e.placeholder&&(e.selectionAdapter=g.Decorate(e.selectionAdapter,p)),e.allowClear&&(e.selectionAdapter=g.Decorate(e.selectionAdapter,h)),e.multiple&&(e.selectionAdapter=g.Decorate(e.selectionAdapter,f)),null==e.containerCssClass&&null==e.containerCss&&null==e.adaptContainerCssClass||(n=s(e.amdBase+"compat/containerCss"),e.selectionAdapter=g.Decorate(e.selectionAdapter,n)),e.selectionAdapter=g.Decorate(e.selectionAdapter,m)),e.language=this._resolveLanguage(e.language),e.language.push("en");for(var o=[],i=0;i<e.language.length;i++){var a=e.language[i];-1===o.indexOf(a)&&o.push(a)}return e.language=o,e.translations=this._processTranslations(e.language,e.debug),e},r.prototype.reset=function(){function s(e){return e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:g.escapeMarkup,language:{},matcher:function e(t,r){if(""===c.trim(t.term))return r;if(r.children&&0<r.children.length){for(var n=c.extend(!0,{},r),o=r.children.length-1;0<=o;o--)null==e(t,r.children[o])&&n.children.splice(o,1);return 0<n.children.length?n:e(t,n)}var i=s(r.text).toUpperCase(),a=s(t.term).toUpperCase();return-1<i.indexOf(a)?r:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},r.prototype.applyFromElement=function(e,t){var r=e.language,n=this.defaults.language,o=t.prop("lang"),t=t.closest("[lang]").prop("lang"),t=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(r),this._resolveLanguage(n),this._resolveLanguage(t));return e.language=t,e},r.prototype._resolveLanguage=function(e){if(!e)return[];if(c.isEmptyObject(e))return[];if(c.isPlainObject(e))return[e];for(var t,r=c.isArray(e)?e:[e],n=[],o=0;o<r.length;o++)n.push(r[o]),"string"==typeof r[o]&&0<r[o].indexOf("-")&&(t=r[o].split("-")[0],n.push(t));return n},r.prototype._processTranslations=function(e,t){for(var r=new a,n=0;n<e.length;n++){var o=new a,i=e[n];if("string"==typeof i)try{o=a.loadPath(i)}catch(e){try{i=this.defaults.amdLanguageBase+i,o=a.loadPath(i)}catch(e){t&&window.console&&console.warn&&console.warn('Select2: The language file for "'+i+'" could not be automatically loaded. A fallback will be used instead.')}}else o=c.isPlainObject(i)?new a(i):i;r.extend(o)}return r},r.prototype.set=function(e,t){var r={};r[c.camelCase(e)]=t;r=g._convertData(r);c.extend(!0,this.defaults,r)},new r}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(r,l,n,u){function e(e,t){this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=n.applyFromElement(this.options,t)),this.options=n.apply(this.options),t&&t.is("input")&&(t=r(this.get("amdBase")+"compat/inputData"),this.options.dataAdapter=u.Decorate(this.options.dataAdapter,t))}return e.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),u.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),u.StoreData(e[0],"data",u.GetData(e[0],"select2Tags")),u.StoreData(e[0],"tags",!0)),u.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",u.GetData(e[0],"ajaxUrl")),u.StoreData(e[0],"ajax-Url",u.GetData(e[0],"ajaxUrl")));var r={};function n(e,t){return t.toUpperCase()}for(var o=0;o<e[0].attributes.length;o++){var i=e[0].attributes[o].name,a="data-";i.substr(0,a.length)==a&&(i=i.substring(a.length),a=u.GetData(e[0],i),r[i.replace(/-([a-z])/g,n)]=a)}l.fn.jquery&&"1."==l.fn.jquery.substr(0,2)&&e[0].dataset&&(r=l.extend(!0,{},e[0].dataset,r));var s,c=l.extend(!0,{},u.GetData(e[0]),r);for(s in c=u._convertData(c))-1<l.inArray(s,t)||(l.isPlainObject(this.options[s])?l.extend(this.options[s],c[s]):this.options[s]=c[s]);return this},e.prototype.get=function(e){return this.options[e]},e.prototype.set=function(e,t){this.options[e]=t},e}),e.define("select2/core",["jquery","./options","./utils","./keys"],function(i,o,a,n){function s(e,t){null!=a.GetData(e[0],"select2")&&a.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),this.options=new o(t=t||{},e),s.__super__.constructor.call(this);var r=e.attr("tabindex")||0;a.StoreData(e[0],"old-tabindex",r),e.attr("tabindex","-1"),t=this.options.get("dataAdapter"),this.dataAdapter=new t(e,this.options),r=this.render(),this._placeContainer(r),t=this.options.get("selectionAdapter"),this.selection=new t(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,r),t=this.options.get("dropdownAdapter"),this.dropdown=new t(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,r),r=this.options.get("resultsAdapter"),this.results=new r(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var n=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){n.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),a.StoreData(e[0],"select2",this),e.data("select2",this)}return a.Extend(s,a.Observable),s.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+a.generateChars(2):a.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},s.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},s.prototype._resolveWidth=function(e,t){var r=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var n=this._resolveWidth(e,"style");return null!=n?n:this._resolveWidth(e,"element")}if("element"==t){n=e.outerWidth(!1);return n<=0?"auto":n+"px"}if("style"!=t)return"computedstyle"!=t?t:window.getComputedStyle(e[0]).width;e=e.attr("style");if("string"!=typeof e)return null;for(var o=e.split(";"),i=0,a=o.length;i<a;i+=1){var s=o[i].replace(/\s/g,"").match(r);if(null!==s&&1<=s.length)return s[1]}return null},s.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},s.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=a.bind(this._syncAttributes,this),this._syncS=a.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e(function(e){t._syncA(),t._syncS(null,e)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},s.prototype._registerDataEvents=function(){var r=this;this.dataAdapter.on("*",function(e,t){r.trigger(e,t)})},s.prototype._registerSelectionEvents=function(){var r=this,n=["toggle","focus"];this.selection.on("toggle",function(){r.toggleDropdown()}),this.selection.on("focus",function(e){r.focus(e)}),this.selection.on("*",function(e,t){-1===i.inArray(e,n)&&r.trigger(e,t)})},s.prototype._registerDropdownEvents=function(){var r=this;this.dropdown.on("*",function(e,t){r.trigger(e,t)})},s.prototype._registerResultsEvents=function(){var r=this;this.results.on("*",function(e,t){r.trigger(e,t)})},s.prototype._registerEvents=function(){var r=this;this.on("open",function(){r.$container.addClass("select2-container--open")}),this.on("close",function(){r.$container.removeClass("select2-container--open")}),this.on("enable",function(){r.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){r.$container.addClass("select2-container--disabled")}),this.on("blur",function(){r.$container.removeClass("select2-container--focus")}),this.on("query",function(t){r.isOpen()||r.trigger("open",{}),this.dataAdapter.query(t,function(e){r.trigger("results:all",{data:e,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(e){r.trigger("results:append",{data:e,query:t})})}),this.on("keypress",function(e){var t=e.which;r.isOpen()?t===n.ESC||t===n.TAB||t===n.UP&&e.altKey?(r.close(e),e.preventDefault()):t===n.ENTER?(r.trigger("results:select",{}),e.preventDefault()):t===n.SPACE&&e.ctrlKey?(r.trigger("results:toggle",{}),e.preventDefault()):t===n.UP?(r.trigger("results:previous",{}),e.preventDefault()):t===n.DOWN&&(r.trigger("results:next",{}),e.preventDefault()):(t===n.ENTER||t===n.SPACE||t===n.DOWN&&e.altKey)&&(r.open(),e.preventDefault())})},s.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},s.prototype._isChangeMutation=function(e,t){var r=!1,n=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&0<t.addedNodes.length)for(var o=0;o<t.addedNodes.length;o++)t.addedNodes[o].selected&&(r=!0);else t.removedNodes&&0<t.removedNodes.length?r=!0:i.isArray(t)&&i.each(t,function(e,t){if(n._isChangeMutation(e,t))return!(r=!0)});else r=!0;return r}},s.prototype._syncSubtree=function(e,t){var t=this._isChangeMutation(e,t),r=this;t&&this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e})})},s.prototype.trigger=function(e,t){var r=s.__super__.trigger,n={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in n){var o={prevented:!1,name:e,args:t};if(r.call(this,n[e],o),o.prevented)return void(t.prevented=!0)}r.call(this,e,t)},s.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},s.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},s.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},s.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},s.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},s.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.');e=!(e=null==e||0===e.length?[!0]:e)[0];this.$element.prop("disabled",e)},s.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current(function(e){t=e}),t},s.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();e=e[0];i.isArray(e)&&(e=i.map(e,function(e){return e.toString()})),this.$element.val(e).trigger("input").trigger("change")},s.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",a.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),a.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},s.prototype.render=function(){var e=i('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),a.StoreData(e[0],"element",this.$element),e},s}),e.define("select2/compat/utils",["jquery"],function(a){return{syncCssClasses:function(e,t,r){var n,o,i=[];(n=a.trim(e.attr("class")))&&a((n=""+n).split(/\s+/)).each(function(){0===this.indexOf("select2-")&&i.push(this)}),(n=a.trim(t.attr("class")))&&a((n=""+n).split(/\s+/)).each(function(){0!==this.indexOf("select2-")&&null!=(o=r(this))&&i.push(o)}),e.attr("class",i.join(" "))}}}),e.define("select2/compat/containerCss",["jquery","./utils"],function(i,a){function s(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),r=this.options.get("containerCssClass")||"";i.isFunction(r)&&(r=r(this.$element));var n,o=this.options.get("adaptContainerCssClass");o=o||s,-1!==r.indexOf(":all:")&&(r=r.replace(":all:",""),n=o,o=function(e){var t=n(e);return null!=t?t+" "+e:e});e=this.options.get("containerCss")||{};return i.isFunction(e)&&(e=e(this.$element)),a.syncCssClasses(t,this.$element,o),t.css(e),t.addClass(r),t},e}),e.define("select2/compat/dropdownCss",["jquery","./utils"],function(i,a){function s(e){return null}function e(){}return e.prototype.render=function(e){var t=e.call(this),r=this.options.get("dropdownCssClass")||"";i.isFunction(r)&&(r=r(this.$element));var n,o=this.options.get("adaptDropdownCssClass");o=o||s,-1!==r.indexOf(":all:")&&(r=r.replace(":all:",""),n=o,o=function(e){var t=n(e);return null!=t?t+" "+e:e});e=this.options.get("dropdownCss")||{};return i.isFunction(e)&&(e=e(this.$element)),a.syncCssClasses(t,this.$element,o),t.css(e),t.addClass(r),t},e}),e.define("select2/compat/initSelection",["jquery"],function(n){function e(e,t,r){r.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2"),this.initSelection=r.get("initSelection"),this._isInitialized=!1,e.call(this,t,r)}return e.prototype.current=function(e,t){var r=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){r._isInitialized=!0,n.isArray(e)||(e=[e]),t(e)})},e}),e.define("select2/compat/inputData",["jquery","../utils"],function(i,r){function e(e,t,r){this._currentData=[],this._valueSeparator=r.get("valueSeparator")||",","hidden"===t.prop("type")&&r.get("debug")&&console&&console.warn&&console.warn("Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead."),e.call(this,t,r)}return e.prototype.current=function(e,t){for(var r=[],n=0;n<this._currentData.length;n++){var o=this._currentData[n];r.push.apply(r,function e(t,r){var n=[];return t.selected||-1!==i.inArray(t.id,r)?(t.selected=!0,n.push(t)):t.selected=!1,t.children&&n.push.apply(n,e(t.children,r)),n}(o,this.$element.val().split(this._valueSeparator)))}t(r)},e.prototype.select=function(e,t){var r;this.options.get("multiple")?(r=this.$element.val(),r+=this._valueSeparator+t.id,this.$element.val(r)):(this.current(function(e){i.map(e,function(e){e.selected=!1})}),this.$element.val(t.id)),this.$element.trigger("input").trigger("change")},e.prototype.unselect=function(e,o){var i=this;o.selected=!1,this.current(function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];o.id!=n.id&&t.push(n.id)}i.$element.val(t.join(i._valueSeparator)),i.$element.trigger("input").trigger("change")})},e.prototype.query=function(e,t,r){for(var n=[],o=0;o<this._currentData.length;o++){var i=this._currentData[o],i=this.matches(t,i);null!==i&&n.push(i)}r({results:n})},e.prototype.addOptions=function(e,t){t=i.map(t,function(e){return r.GetData(e[0],"data")});this._currentData.push.apply(this._currentData,t)},e}),e.define("select2/compat/matcher",["jquery"],function(a){return function(i){return function(e,t){var r=a.extend(!0,{},t);if(null==e.term||""===a.trim(e.term))return r;if(t.children){for(var n=t.children.length-1;0<=n;n--){var o=t.children[n];i(e.term,o.text,o)||r.children.splice(n,1)}if(0<r.children.length)return r}return i(e.term,t.text,t)?r:null}}}),e.define("select2/compat/query",[],function(){function e(e,t,r){r.get("debug")&&window.console&&console.warn&&console.warn("Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2."),e.call(this,t,r)}return e.prototype.query=function(e,t,r){t.callback=r,this.options.get("query").call(null,t)},e}),e.define("select2/dropdown/attachContainer",[],function(){function e(e,t,r){e.call(this,t,r)}return e.prototype.position=function(e,t,r){r.find(".dropdown-wrapper").append(t),t.addClass("select2-dropdown--below"),r.addClass("select2-container--below")},e}),e.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,r){e.call(this,t,r),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),e.define("select2/selection/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,t,r){e.call(this,t,r),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),function(e){e.stopPropagation()})},e}),c=function(u){var d,p,e=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],t="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],h=Array.prototype.slice;if(u.event.fixHooks)for(var r=e.length;r;)u.event.fixHooks[e[--r]]=u.event.mouseHooks;var f=u.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var e=t.length;e;)this.addEventListener(t[--e],n,!1);else this.onmousewheel=n;u.data(this,"mousewheel-line-height",f.getLineHeight(this)),u.data(this,"mousewheel-page-height",f.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var e=t.length;e;)this.removeEventListener(t[--e],n,!1);else this.onmousewheel=null;u.removeData(this,"mousewheel-line-height"),u.removeData(this,"mousewheel-page-height")},getLineHeight:function(e){var t=u(e),e=t["offsetParent"in u.fn?"offsetParent":"parent"]();return e.length||(e=u("body")),parseInt(e.css("fontSize"),10)||parseInt(t.css("fontSize"),10)||16},getPageHeight:function(e){return u(e).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function n(e){var t,r=e||window.event,n=h.call(arguments,1),o=0,i=0,a=0,s=0,c=0;if((e=u.event.fix(r)).type="mousewheel","detail"in r&&(a=-1*r.detail),"wheelDelta"in r&&(a=r.wheelDelta),"wheelDeltaY"in r&&(a=r.wheelDeltaY),"wheelDeltaX"in r&&(i=-1*r.wheelDeltaX),"axis"in r&&r.axis===r.HORIZONTAL_AXIS&&(i=-1*a,a=0),o=0===a?i:a,"deltaY"in r&&(o=a=-1*r.deltaY),"deltaX"in r&&(i=r.deltaX,0===a&&(o=-1*i)),0!==a||0!==i){1===r.deltaMode?(o*=t=u.data(this,"mousewheel-line-height"),a*=t,i*=t):2===r.deltaMode&&(o*=l=u.data(this,"mousewheel-page-height"),a*=l,i*=l);var l=Math.max(Math.abs(a),Math.abs(i));return(!p||l<p)&&g(r,p=l)&&(p/=40),g(r,l)&&(o/=40,i/=40,a/=40),o=Math[1<=o?"floor":"ceil"](o/p),i=Math[1<=i?"floor":"ceil"](i/p),a=Math[1<=a?"floor":"ceil"](a/p),f.settings.normalizeOffset&&this.getBoundingClientRect&&(l=this.getBoundingClientRect(),s=e.clientX-l.left,c=e.clientY-l.top),e.deltaX=i,e.deltaY=a,e.deltaFactor=p,e.offsetX=s,e.offsetY=c,e.deltaMode=0,n.unshift(e,o,i,a),d&&clearTimeout(d),d=setTimeout(m,200),(u.event.dispatch||u.event.handle).apply(this,n)}}function m(){p=null}function g(e,t){return f.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}u.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof e.define&&e.define.amd?e.define("jquery-mousewheel",["jquery"],c):"object"==typeof exports?module.exports=c:c(t),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(o,e,i,t,a){var s;return null==o.fn.select2&&(s=["open","close","destroy"],o.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var e=o.extend(!0,{},t);new i(o(this),e)}),this;if("string"!=typeof t)throw new Error("Invalid arguments for Select2: "+t);var r,n=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=a.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=e[t].apply(e,n)}),-1<o.inArray(t,s)?this:r}),null==o.fn.select2.defaults&&(o.fn.select2.defaults=t),i}),{define:e.define,require:e.require}),e=c.require("jquery.select2");function w(e,t){return o.call(e,t)}function l(e,t){var r,n,o,i,a,s,c,l,u,d,p=t&&t.split("/"),h=y.map,f=h&&h["*"]||{};if(e){for(t=(e=e.split("/")).length-1,y.nodeIdCompat&&b.test(e[t])&&(e[t]=e[t].replace(b,"")),"."===e[0].charAt(0)&&p&&(e=p.slice(0,p.length-1).concat(e)),l=0;l<e.length;l++)if("."===(d=e[l]))e.splice(l,1),--l;else if(".."===d){if(0===l||1===l&&".."===e[2]||".."===e[l-1])continue;0<l&&(e.splice(l-1,2),l-=2)}e=e.join("/")}if((p||f)&&h){for(l=(r=e.split("/")).length;0<l;--l){if(n=r.slice(0,l).join("/"),p)for(u=p.length;0<u;--u)if(o=(o=h[p.slice(0,u).join("/")])&&o[n]){i=o,a=l;break}if(i)break;!s&&f&&f[n]&&(s=f[n],c=l)}!i&&s&&(i=s,a=c),i&&(r.splice(0,a,i),e=r.join("/"))}return e}function k(t,r){return function(){var e=s.call(arguments,0);return"string"!=typeof e[0]&&1===e.length&&e.push(null),a.apply(p,e.concat([t,r]))}}function v(e){var t;if(w(g,e)&&(t=g[e],delete g[e],_[e]=!0,i.apply(p,t)),!w(m,e)&&!w(_,e))throw new Error("No "+e);return m[e]}function u(e){var t,r=e?e.indexOf("!"):-1;return-1<r&&(t=e.substring(0,r),e=e.substring(r+1,e.length)),[t,e]}function x(e){return e?u(e):[]}return t.fn.select2.amd=c,e}),function(e){"function"==typeof define&&define.amd?define(["jquery","./version"],e):e(jQuery)}(function(l){var o,r=0,s=Array.prototype.slice;return l.cleanData=(o=l.cleanData,function(e){for(var t,r,n=0;null!=(r=e[n]);n++)try{(t=l._data(r,"events"))&&t.remove&&l(r).triggerHandler("remove")}catch(e){}o(e)}),l.widget=function(e,r,t){var n,o,i,a={},s=e.split(".")[0],c=s+"-"+(e=e.split(".")[1]);return t||(t=r,r=l.Widget),l.isArray(t)&&(t=l.extend.apply(null,[{}].concat(t))),l.expr[":"][c.toLowerCase()]=function(e){return!!l.data(e,c)},l[s]=l[s]||{},n=l[s][e],o=l[s][e]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new o(e,t)},l.extend(o,n,{version:t.version,_proto:l.extend({},t),_childConstructors:[]}),(i=new r).options=l.widget.extend({},i.options),l.each(t,function(t,n){return l.isFunction(n)?void(a[t]=function(){var e,t=this._super,r=this._superApply;return this._super=o,this._superApply=i,e=n.apply(this,arguments),this._super=t,this._superApply=r,e}):void(a[t]=n);function o(){return r.prototype[t].apply(this,arguments)}function i(e){return r.prototype[t].apply(this,e)}}),o.prototype=l.widget.extend(i,{widgetEventPrefix:n&&i.widgetEventPrefix||e},a,{constructor:o,namespace:s,widgetName:e,widgetFullName:c}),n?(l.each(n._childConstructors,function(e,t){var r=t.prototype;l.widget(r.namespace+"."+r.widgetName,o,t._proto)}),delete n._childConstructors):r._childConstructors.push(o),l.widget.bridge(e,o),o},l.widget.extend=function(e){for(var t,r,n=s.call(arguments,1),o=0,i=n.length;o<i;o++)for(t in n[o])r=n[o][t],n[o].hasOwnProperty(t)&&void 0!==r&&(l.isPlainObject(r)?e[t]=l.isPlainObject(e[t])?l.widget.extend({},e[t],r):l.widget.extend({},r):e[t]=r);return e},l.widget.bridge=function(i,t){var a=t.prototype.widgetFullName||i;l.fn[i]=function(r){var e="string"==typeof r,n=s.call(arguments,1),o=this;return e?this.length||"instance"!==r?this.each(function(){var e,t=l.data(this,a);return"instance"===r?(o=t,!1):t?l.isFunction(t[r])&&"_"!==r.charAt(0)?(e=t[r].apply(t,n))!==t&&void 0!==e?(o=e&&e.jquery?o.pushStack(e.get()):e,!1):void 0:l.error("no such method '"+r+"' for "+i+" widget instance"):l.error("cannot call methods on "+i+" prior to initialization; attempted to call method '"+r+"'")}):o=void 0:(n.length&&(r=l.widget.extend.apply(null,[r].concat(n))),this.each(function(){var e=l.data(this,a);e?(e.option(r||{}),e._init&&e._init()):l.data(this,a,new t(r,this))})),o}},l.Widget=function(){},l.Widget._childConstructors=[],l.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=l(t||this.defaultElement||this)[0],this.element=l(t),this.uuid=r++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=l(),this.hoverable=l(),this.focusable=l(),this.classesElementLookup={},t!==this&&(l.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=l(t.style?t.ownerDocument:t.document||t),this.window=l(this.document[0].defaultView||this.document[0].parentWindow)),this.options=l.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:l.noop,_create:l.noop,_init:l.noop,destroy:function(){var r=this;this._destroy(),l.each(this.classesElementLookup,function(e,t){r._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:l.noop,widget:function(){return this.element},option:function(e,t){var r,n,o,i=e;if(0===arguments.length)return l.widget.extend({},this.options);if("string"==typeof e)if(i={},e=(r=e.split(".")).shift(),r.length){for(n=i[e]=l.widget.extend({},this.options[e]),o=0;o<r.length-1;o++)n[r[o]]=n[r[o]]||{},n=n[r[o]];if(e=r.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];i[e]=t}return this._setOptions(i),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,r,n;for(t in e)n=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&n&&n.length&&(r=l(n.get()),this._removeClass(n,t),r.addClass(this._classes({element:r,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){function e(e,t){for(var r,n=0;n<e.length;n++)r=a.classesElementLookup[e[n]]||l(),r=l(o.add?l.unique(r.get().concat(o.element.get())):r.not(o.element).get()),a.classesElementLookup[e[n]]=r,i.push(e[n]),t&&o.classes[e[n]]&&i.push(o.classes[e[n]])}var i=[],a=this;return o=l.extend({element:this.element,classes:this.options.classes||{}},o),this._on(o.element,{remove:"_untrackClassesElement"}),o.keys&&e(o.keys.match(/\S+/g)||[],!0),o.extra&&e(o.extra.match(/\S+/g)||[]),i.join(" ")},_untrackClassesElement:function(r){var n=this;l.each(n.classesElementLookup,function(e,t){-1!==l.inArray(r.target,t)&&(n.classesElementLookup[e]=l(t.not(r.target).get()))})},_removeClass:function(e,t,r){return this._toggleClass(e,t,r,!1)},_addClass:function(e,t,r){return this._toggleClass(e,t,r,!0)},_toggleClass:function(e,t,r,n){var o="string"==typeof e||null===e,r={extra:o?t:r,keys:o?e:t,element:o?this.element:e,add:n="boolean"==typeof n?n:r};return r.element.toggleClass(this._classes(r),n),this},_on:function(o,i,e){var a,s=this;"boolean"!=typeof o&&(e=i,i=o,o=!1),e?(i=a=l(i),this.bindings=this.bindings.add(i)):(e=i,i=this.element,a=this.widget()),l.each(e,function(e,t){function r(){if(o||!0!==s.options.disabled&&!l(this).hasClass("ui-state-disabled"))return("string"==typeof t?s[t]:t).apply(s,arguments)}"string"!=typeof t&&(r.guid=t.guid=t.guid||r.guid||l.guid++);var n=e.match(/^([\w:-]*)\s*(.*)$/),e=n[1]+s.eventNamespace,n=n[2];n?a.on(e,n,r):i.on(e,r)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=l(this.bindings.not(e).get()),this.focusable=l(this.focusable.not(e).get()),this.hoverable=l(this.hoverable.not(e).get())},_delay:function(e,t){var r=this;return setTimeout(function(){return("string"==typeof e?r[e]:e).apply(r,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(l(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(l(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(l(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(l(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,r){var n,o,i=this.options[e];if(r=r||{},(t=l.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],o=t.originalEvent)for(n in o)n in t||(t[n]=o[n]);return this.element.trigger(t,r),!(l.isFunction(i)&&!1===i.apply(this.element[0],[t].concat(r))||t.isDefaultPrevented())}},l.each({show:"fadeIn",hide:"fadeOut"},function(i,a){l.Widget.prototype["_"+i]=function(t,e,r){var n=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||a:i,o=!l.isEmptyObject(e="number"==typeof(e=e||{})?{duration:e}:e);e.complete=r,e.delay&&t.delay(e.delay),o&&l.effects&&l.effects.effect[n]?t[i](e):n!==i&&t[n]?t[n](e.duration,e.easing,r):t.queue(function(e){l(this)[i](),r&&r.call(t[0]),e()})}}),l.widget}),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.NProgress=t()}(this,function(){var t,r,a={version:"0.2.0"},s=a.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function c(e,t,r){return e<t?t:r<e?r:e}function l(e){return 100*(-1+e)}a.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(s[t]=r);return this},a.status=null,a.set=function(t){var e=a.isStarted();t=c(t,s.minimum,1),a.status=1===t?null:t;var r=a.render(!e),n=r.querySelector(s.barSelector),o=s.speed,i=s.easing;return r.offsetWidth,u(function(e){""===s.positionUsing&&(s.positionUsing=a.getPositioningCSS()),p(n,function(e,t,r){e="translate3d"===s.positionUsing?{transform:"translate3d("+l(e)+"%,0,0)"}:"translate"===s.positionUsing?{transform:"translate("+l(e)+"%,0)"}:{"margin-left":l(e)+"%"};return e.transition="all "+t+"ms "+r,e}(t,o,i)),1===t?(p(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){p(r,{transition:"all "+o+"ms linear",opacity:0}),setTimeout(function(){a.remove(),e()},o)},o)):setTimeout(e,o)}),this},a.isStarted=function(){return"number"==typeof a.status},a.start=function(){a.status||a.set(0);var e=function(){setTimeout(function(){a.status&&(a.trickle(),e())},s.trickleSpeed)};return s.trickle&&e(),this},a.done=function(e){return e||a.status?a.inc(.3+.5*Math.random()).set(1):this},a.inc=function(e){var t=a.status;return t?("number"!=typeof e&&(e=(1-t)*c(Math.random()*t,.1,.95)),t=c(t+e,0,.994),a.set(t)):a.start()},a.trickle=function(){return a.inc(Math.random()*s.trickleRate)},r=t=0,a.promise=function(e){return e&&"resolved"!==e.state()&&(0===r&&a.start(),t++,r++,e.always(function(){0===--r?(t=0,a.done()):a.set((t-r)/t)})),this},a.render=function(e){if(a.isRendered())return document.getElementById("nprogress");g(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=s.template;var r=t.querySelector(s.barSelector),n=e?"-100":l(a.status||0),e=document.querySelector(s.parent);return p(r,{transition:"all 0 linear",transform:"translate3d("+n+"%,0,0)"}),s.showSpinner||(n=t.querySelector(s.spinnerSelector))&&b(n),e!=document.body&&g(e,"nprogress-custom-parent"),e.appendChild(t),t},a.remove=function(){y(document.documentElement,"nprogress-busy"),y(document.querySelector(s.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&b(e)},a.isRendered=function(){return!!document.getElementById("nprogress")},a.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var n,u=(n=[],function(e){n.push(e),1==n.length&&o()});function o(){var e=n.shift();e&&e(o)}var i,d,p=(i=["Webkit","O","Moz","ms"],d={},function(e,t){var r,n,o=arguments;if(2==o.length)for(r in t)void 0!==(n=t[r])&&t.hasOwnProperty(r)&&f(e,r,n);else f(e,o[1],o[2])});function h(e){return e=e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()}),d[e]||(d[e]=function(e){var t=document.body.style;if(e in t)return e;for(var r,n=i.length,o=e.charAt(0).toUpperCase()+e.slice(1);n--;)if((r=i[n]+o)in t)return r;return e}(e))}function f(e,t,r){t=h(t),e.style[t]=r}function m(e,t){return 0<=("string"==typeof e?e:_(e)).indexOf(" "+t+" ")}function g(e,t){var r=_(e),n=r+t;m(r,t)||(e.className=n.substring(1))}function y(e,t){var r=_(e);m(e,t)&&(t=r.replace(" "+t+" "," "),e.className=t.substring(1,t.length-1))}function _(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function b(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return a}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):e(jQuery)}(function(f){var m=!1,g=!1,y=0,d=2e3,_=0,e=["webkit","ms","moz","o"],b=window.requestAnimationFrame||!1,w=window.cancelAnimationFrame||!1;if(!b)for(var t in e)t=e[t],b=b||window[t+"RequestAnimationFrame"],w=w||(window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]);function o(e,t){function r(){var e=p.doc.css(h.trstyle);return!(!e||"matrix"!=e.substr(0,6))&&e.replace(/^.*\((.*)\)$/g,"$1").replace(/px/g,"").split(/, +/)}function i(e,t,r){return t=e.css(t),e=parseFloat(t),isNaN(e)?(r=3==(e=u[t]||0)?r?p.win.outerHeight()-p.win.innerHeight():p.win.outerWidth()-p.win.innerWidth():1,p.isie8&&e&&(e+=1),r?e:0):e}function a(r,n,o,e){p._bind(r,n,function(e){var t={original:e=e||window.event,target:e.target||e.srcElement,type:"wheel",deltaMode:"MozMousePixelScroll"==e.type?0:1,deltaX:0,deltaZ:0,preventDefault:function(){return e.preventDefault?e.preventDefault():e.returnValue=!1,!1},stopImmediatePropagation:function(){e.stopImmediatePropagation?e.stopImmediatePropagation():e.cancelBubble=!0}};return"mousewheel"==n?(t.deltaY=-.025*e.wheelDelta,e.wheelDeltaX&&(t.deltaX=-.025*e.wheelDeltaX)):t.deltaY=e.detail,o.call(r,t)},e)}function n(e,t,r){var n,o;if(0==e.deltaMode?(n=-Math.floor(p.opt.mousescrollstep/54*e.deltaX),o=-Math.floor(p.opt.mousescrollstep/54*e.deltaY)):1==e.deltaMode&&(n=-Math.floor(e.deltaX*p.opt.mousescrollstep),o=-Math.floor(e.deltaY*p.opt.mousescrollstep)),t&&p.opt.oneaxismousemode&&0==n&&o&&(n=o,o=0,r&&(n<0?p.getScrollLeft()>=p.page.maxw:p.getScrollLeft()<=0)&&(o=n,n=0)),n&&(p.scrollmom&&p.scrollmom.stop(),p.lastdeltax+=n,p.debounced("mousewheelx",function(){var e=p.lastdeltax;p.lastdeltax=0,p.rail.drag||p.doScrollLeftBy(e)},15)),o){if(p.opt.nativeparentscrolling&&r&&!p.ispage&&!p.zoomactive)if(o<0){if(p.getScrollTop()>=p.page.maxh)return!0}else if(p.getScrollTop()<=0)return!0;p.scrollmom&&p.scrollmom.stop(),p.lastdeltay+=o,p.debounced("mousewheely",function(){var e=p.lastdeltay;p.lastdeltay=0,p.rail.drag||p.doScrollBy(e)},15)}return e.stopImmediatePropagation(),e.preventDefault()}var p=this;if(this.version="3.6.6",this.name="nicescroll",this.me=t,this.opt={doc:f("body"),win:!1},f.extend(this.opt,x),this.opt.snapbackspeed=80,e)for(var o in p.opt)void 0!==e[o]&&(p.opt[o]=e[o]);for(this.iddoc=(this.doc=p.opt.doc)&&this.doc[0]&&this.doc[0].id||"",this.ispage=/^BODY|HTML/.test((p.opt.win||this.doc)[0].nodeName),this.haswrapper=!1!==p.opt.win,this.win=p.opt.win||(this.ispage?f(window):this.doc),this.docscroll=this.ispage&&!this.haswrapper?f(window):this.win,this.body=f("body"),this.iframe=this.isfixed=this.viewport=!1,this.isiframe="IFRAME"==this.doc[0].nodeName&&"IFRAME"==this.win[0].nodeName,this.istextarea="TEXTAREA"==this.win[0].nodeName,this.forcescreen=!1,this.canshowonmouseevent="scroll"!=p.opt.autohidemode,this.page=this.view=this.onzoomout=this.onzoomin=this.onscrollcancel=this.onscrollend=this.onscrollstart=this.onclick=this.ongesturezoom=this.onkeypress=this.onmousewheel=this.onmousemove=this.onmouseup=this.onmousedown=!1,this.scroll={x:0,y:0},this.scrollratio={x:0,y:0},this.cursorheight=20,this.scrollvaluemax=0,this.isrtlmode="auto"==this.opt.rtlmode?"rtl"==(this.win[0]==window?this.body:this.win).css("direction"):!0===this.opt.rtlmode,this.observerbody=this.observerremover=this.observer=this.scrollmom=this.scrollrunning=!1;this.id="ascrail"+d++,document.getElementById(this.id););this.hasmousefocus=this.hasfocus=this.zoomactive=this.zoom=this.selectiondrag=this.cursorfreezed=this.cursor=this.rail=!1,this.visibility=!0,this.hidden=this.locked=this.railslocked=!1,this.cursoractive=!0,this.wheelprevented=!1,this.overflowx=p.opt.overflowx,this.overflowy=p.opt.overflowy,this.nativescrollingarea=!1,this.checkarea=0,this.events=[],this.saved={},this.delaylist={},this.synclist={},this.lastdeltay=this.lastdeltax=0,this.detected=function(){if(z)return z;var e=document.createElement("DIV"),t=e.style,r=navigator.userAgent,n=navigator.platform,o={haspointerlock:"pointerLockElement"in document||"webkitPointerLockElement"in document||"mozPointerLockElement"in document};o.isopera="opera"in window,o.isopera12=o.isopera&&"getUserMedia"in navigator,o.isoperamini="[object OperaMini]"===Object.prototype.toString.call(window.operamini),o.isie="all"in document&&"attachEvent"in e&&!o.isopera,o.isieold=o.isie&&!("msInterpolationMode"in t),o.isie7=o.isie&&!o.isieold&&(!("documentMode"in document)||7==document.documentMode),o.isie8=o.isie&&"documentMode"in document&&8==document.documentMode,o.isie9=o.isie&&"performance"in window&&9<=document.documentMode,o.isie10=o.isie&&"performance"in window&&10==document.documentMode,o.isie11="msRequestFullscreen"in e&&11<=document.documentMode,o.isieedge=navigator.userAgent.match(/Edge\/12\./),o.isie9mobile=/iemobile.9/i.test(r),o.isie9mobile&&(o.isie9=!1),o.isie7mobile=!o.isie9mobile&&o.isie7&&/iemobile/i.test(r),o.ismozilla="MozAppearance"in t,o.iswebkit="WebkitAppearance"in t,o.ischrome="chrome"in window,o.ischrome22=o.ischrome&&o.haspointerlock,o.ischrome26=o.ischrome&&"transition"in t,o.cantouch="ontouchstart"in document.documentElement||"ontouchstart"in window,o.hasmstouch=window.MSPointerEvent||!1,o.hasw3ctouch=!!window.PointerEvent&&(0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints),o.ismac=/^mac$/i.test(n),o.isios=o.cantouch&&/iphone|ipad|ipod/i.test(n),o.isios4=o.isios&&!("seal"in Object),o.isios7=o.isios&&"webkitHidden"in document,o.isandroid=/android/i.test(r),o.haseventlistener="addEventListener"in e,o.trstyle=!1,o.hastransform=!1,o.hastranslate3d=!1,o.transitionstyle=!1,o.hastransition=!1,o.transitionend=!1,n=["transform","msTransform","webkitTransform","MozTransform","OTransform"];for(r=0;r<n.length;r++)if(void 0!==t[n[r]]){o.trstyle=n[r];break}o.hastransform=!!o.trstyle,o.hastransform&&(t[o.trstyle]="translate3d(1px,2px,3px)",o.hastranslate3d=/translate3d/.test(t[o.trstyle])),o.transitionstyle=!1,o.prefixstyle="",o.transitionend=!1;for(var n="transition webkitTransition msTransition MozTransition OTransition OTransition KhtmlTransition".split(" "),i=" -webkit- -ms- -moz- -o- -o -khtml-".split(" "),a="transitionend webkitTransitionEnd msTransitionEnd transitionend otransitionend oTransitionEnd KhtmlTransitionEnd".split(" "),r=0;r<n.length;r++)if(n[r]in t){o.transitionstyle=n[r],o.prefixstyle=i[r],o.transitionend=a[r];break}o.ischrome26&&(o.prefixstyle=i[1]),o.hastransition=o.transitionstyle;e:{for(r=["-webkit-grab","-moz-grab","grab"],(o.ischrome&&!o.ischrome22||o.isie)&&(r=[]),n=0;n<r.length;n++)if(i=r[n],t.cursor=i,t.cursor==i){t=i;break e}t="url(//mail.google.com/mail/images/2/openhand.cur),n-resize"}return o.cursorgrabvalue=t,o.hasmousecapture="setCapture"in e,o.hasMutationObserver=!1!==v,z=o}();var h=f.extend({},this.detected);this.ishwscroll=(this.canhwscroll=h.hastransform&&p.opt.hwacceleration)&&p.haswrapper,this.hasreversehr=this.isrtlmode&&!h.iswebkit,this.istouchcapable=!1,!h.cantouch||h.isios||h.isandroid||!h.iswebkit&&!h.ismozilla||(this.istouchcapable=!0,h.cantouch=!1),p.opt.enablemouselockapi||(h.hasmousecapture=!1,h.haspointerlock=!1);var s,c=!(this.debounced=function(t,e,r){var n=p.delaylist[t];p.delaylist[t]=e,n||(p.debouncedelayed=setTimeout(function(){var e;p&&(e=p.delaylist[t],p.delaylist[t]=!1,e.call(p))},r))});function l(e,t,r,n,o,i,a){this.st=e,this.ed=t,this.spd=r,this.p1=n||0,this.p2=o||1,this.p3=i||0,this.p4=a||1,this.ts=(new Date).getTime(),this.df=this.ed-this.st}this.synched=function(e,t){return p.synclist[e]=t,c||(b(function(){for(var e in c=!1,p.synclist){var t=p.synclist[e];t&&t.call(p),p.synclist[e]=!1}}),c=!0),e},this.unsynched=function(e){p.synclist[e]&&(p.synclist[e]=!1)},this.css=function(e,t){for(var r in t)p.saved.css.push([e,r,e.css(r)]),e.css(r,t[r])},this.scrollTop=function(e){return void 0===e?p.getScrollTop():p.setScrollTop(e)},this.scrollLeft=function(e){return void 0===e?p.getScrollLeft():p.setScrollLeft(e)},l.prototype={B2:function(e){return 3*e*e*(1-e)},B3:function(e){return 3*e*(1-e)*(1-e)},B4:function(e){return(1-e)*(1-e)*(1-e)},getNow:function(){var e=1-((new Date).getTime()-this.ts)/this.spd,t=this.B2(e)+this.B3(e)+this.B4(e);return e<0?this.ed:this.st+Math.round(this.df*t)},update:function(e,t){return this.st=this.getNow(),this.ed=e,this.spd=t,this.ts=(new Date).getTime(),this.df=this.ed-this.st,this}},this.ishwscroll?(this.doc.translate={x:0,y:0,tx:"0px",ty:"0px"},h.hastranslate3d&&h.isios&&this.doc.css("-webkit-backface-visibility","hidden"),this.getScrollTop=function(e){if(!e){if(e=r())return 16==e.length?-e[13]:-e[5];if(p.timerscroll&&p.timerscroll.bz)return p.timerscroll.bz.getNow()}return p.doc.translate.y},this.getScrollLeft=function(e){if(!e){if(e=r())return 16==e.length?-e[12]:-e[4];if(p.timerscroll&&p.timerscroll.bh)return p.timerscroll.bh.getNow()}return p.doc.translate.x},this.notifyScrollEvent=function(e){var t=document.createEvent("UIEvents");t.initUIEvent("scroll",!1,!0,window,1),t.niceevent=!0,e.dispatchEvent(t)},s=this.isrtlmode?1:-1,h.hastranslate3d&&p.opt.enabletranslate3d?(this.setScrollTop=function(e,t){p.doc.translate.y=e,p.doc.translate.ty=-1*e+"px",p.doc.css(h.trstyle,"translate3d("+p.doc.translate.tx+","+p.doc.translate.ty+",0px)"),t||p.notifyScrollEvent(p.win[0])},this.setScrollLeft=function(e,t){p.doc.translate.x=e,p.doc.translate.tx=e*s+"px",p.doc.css(h.trstyle,"translate3d("+p.doc.translate.tx+","+p.doc.translate.ty+",0px)"),t||p.notifyScrollEvent(p.win[0])}):(this.setScrollTop=function(e,t){p.doc.translate.y=e,p.doc.translate.ty=-1*e+"px",p.doc.css(h.trstyle,"translate("+p.doc.translate.tx+","+p.doc.translate.ty+")"),t||p.notifyScrollEvent(p.win[0])},this.setScrollLeft=function(e,t){p.doc.translate.x=e,p.doc.translate.tx=e*s+"px",p.doc.css(h.trstyle,"translate("+p.doc.translate.tx+","+p.doc.translate.ty+")"),t||p.notifyScrollEvent(p.win[0])})):(this.getScrollTop=function(){return p.docscroll.scrollTop()},this.setScrollTop=function(e){return setTimeout(function(){p.docscroll.scrollTop(e)},1)},this.getScrollLeft=function(){return p.detected.ismozilla&&p.isrtlmode?Math.abs(p.docscroll.scrollLeft()):p.docscroll.scrollLeft()},this.setScrollLeft=function(e){return setTimeout(function(){p.docscroll.scrollLeft(p.detected.ismozilla&&p.isrtlmode?-e:e)},1)}),this.getTarget=function(e){return e&&(e.target||e.srcElement)||!1},this.hasParent=function(e,t){if(!e)return!1;for(var r=e.target||e.srcElement||e||!1;r&&r.id!=t;)r=r.parentNode||!1;return!1!==r};var u={thin:1,medium:3,thick:5};this.getDocumentScrollOffset=function(){return{top:window.pageYOffset||document.documentElement.scrollTop,left:window.pageXOffset||document.documentElement.scrollLeft}},this.getOffset=function(){if(p.isfixed){var e=p.win.offset(),t=p.getDocumentScrollOffset();return e.top-=t.top,e.left-=t.left,e}return e=p.win.offset(),p.viewport?(t=p.viewport.offset(),{top:e.top-t.top,left:e.left-t.left}):e},this.updateScrollBar=function(e){var t,r,n,o;p.ishwscroll?(p.rail.css({height:p.win.innerHeight()-(p.opt.railpadding.top+p.opt.railpadding.bottom)}),p.railh&&p.railh.css({width:p.win.innerWidth()-(p.opt.railpadding.left+p.opt.railpadding.right)})):(r=(t=p.getOffset()).top,n=t.left-(p.opt.railpadding.left+p.opt.railpadding.right),r+=i(p.win,"border-top-width",!0),n+=p.rail.align?p.win.outerWidth()-i(p.win,"border-right-width")-p.rail.width:i(p.win,"border-left-width"),(o=p.opt.railoffset)&&(o.top&&(r+=o.top),o.left&&(n+=o.left)),p.railslocked||p.rail.css({top:r,left:n,height:(e?e.h:p.win.innerHeight())-(p.opt.railpadding.top+p.opt.railpadding.bottom)}),p.zoom&&p.zoom.css({top:r+1,left:1==p.rail.align?n-20:n+p.rail.width+4}),p.railh&&!p.railslocked&&(r=t.top,n=t.left,(o=p.opt.railhoffset)&&(o.top&&(r+=o.top),o.left&&(n+=o.left)),e=p.railh.align?r+i(p.win,"border-top-width",!0)+p.win.innerHeight()-p.railh.height:r+i(p.win,"border-top-width",!0),n+=i(p.win,"border-left-width"),p.railh.css({top:e-(p.opt.railpadding.top+p.opt.railpadding.bottom),left:n,width:p.railh.width})))},this.doRailClick=function(e,t,r){var n;p.railslocked||(p.cancelEvent(e),t?(t=r?p.doScrollLeft:p.doScrollTop)(n=r?(e.pageX-p.railh.offset().left-p.cursorwidth/2)*p.scrollratio.x:(e.pageY-p.rail.offset().top-p.cursorheight/2)*p.scrollratio.y):(t=r?p.doScrollLeftBy:p.doScrollBy,n=r?p.scroll.x:p.scroll.y,e=r?e.pageX-p.railh.offset().left:e.pageY-p.rail.offset().top,r=r?p.view.w:p.view.h,t(e<=n?r:-r)))},p.hasanimationframe=b,p.hascancelanimationframe=w,p.hasanimationframe?p.hascancelanimationframe||(w=function(){p.cancelAnimationFrame=!0}):(b=function(e){return setTimeout(e,15-Math.floor(+new Date/1e3)%16)},w=clearInterval),this.init=function(){if(p.saved.css=[],h.isie7mobile||h.isoperamini)return!0;if(h.hasmstouch&&p.css(p.ispage?f("html"):p.win,{"-ms-touch-action":"none"}),p.zindex="auto",p.zindex=p.ispage||"auto"!=p.opt.zindex?p.opt.zindex:function(){var e=p.win;if("zIndex"in e)return e.zIndex();for(;0<e.length&&9!=e[0].nodeType;){var t=e.css("zIndex");if(!isNaN(t)&&0!=t)return parseInt(t);e=e.parent()}return!1}()||"auto",!p.ispage&&"auto"!=p.zindex&&p.zindex>_&&(_=p.zindex),p.isie&&0==p.zindex&&"auto"==p.opt.zindex&&(p.zindex="auto"),!p.ispage||!h.cantouch&&!h.isieold&&!h.isie9mobile){var e=p.docscroll;p.ispage&&(e=p.haswrapper?p.win:p.doc),h.isie9mobile||p.css(e,{"overflow-y":"hidden"}),p.ispage&&h.isie7&&("BODY"==p.doc[0].nodeName?p.css(f("html"),{"overflow-y":"hidden"}):"HTML"==p.doc[0].nodeName&&p.css(f("body"),{"overflow-y":"hidden"})),!h.isios||p.ispage||p.haswrapper||p.css(f("body"),{"-webkit-overflow-scrolling":"touch"});var t=f(document.createElement("div"));t.css({position:"relative",top:0,float:"right",width:p.opt.cursorwidth,height:"0px","background-color":p.opt.cursorcolor,border:p.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":p.opt.cursorborderradius,"-moz-border-radius":p.opt.cursorborderradius,"border-radius":p.opt.cursorborderradius}),t.hborder=parseFloat(t.outerHeight()-t.innerHeight()),t.addClass("nicescroll-cursors"),p.cursor=t;var r=f(document.createElement("div"));r.attr("id",p.id),r.addClass("nicescroll-rails nicescroll-rails-vr");var n,o,i,a,l,s,c,u=["left","right","top","bottom"];for(i in u)o=u[i],(n=p.opt.railpadding[o])?r.css("padding-"+o,n+"px"):p.opt.railpadding[o]=0;r.append(t),r.width=Math.max(parseFloat(p.opt.cursorwidth),t.outerWidth()),r.css({width:r.width+"px",zIndex:p.zindex,background:p.opt.background,cursor:"default"}),r.visibility=!0,r.scrollable=!0,r.align="left"==p.opt.railalign?0:1,p.rail=r,t=p.rail.drag=!1,!p.opt.boxzoom||p.ispage||h.isieold||(t=document.createElement("div"),p.bind(t,"click",p.doZoom),p.bind(t,"mouseenter",function(){p.zoom.css("opacity",p.opt.cursoropacitymax)}),p.bind(t,"mouseleave",function(){p.zoom.css("opacity",p.opt.cursoropacitymin)}),p.zoom=f(t),p.zoom.css({cursor:"pointer","z-index":p.zindex,backgroundImage:"url("+p.opt.scriptpath+"zoomico.png)",height:18,width:18,backgroundPosition:"0px 0px"}),p.opt.dblclickzoom&&p.bind(p.win,"dblclick",p.doZoom),h.cantouch&&p.opt.gesturezoom&&(p.ongesturezoom=function(e){return 1.5<e.scale&&p.doZoomIn(e),e.scale<.8&&p.doZoomOut(e),p.cancelEvent(e)},p.bind(p.win,"gestureend",p.ongesturezoom))),p.railh=!1,p.opt.horizrailenabled&&(p.css(e,{"overflow-x":"hidden"}),(t=f(document.createElement("div"))).css({position:"absolute",top:0,height:p.opt.cursorwidth,width:"0px","background-color":p.opt.cursorcolor,border:p.opt.cursorborder,"background-clip":"padding-box","-webkit-border-radius":p.opt.cursorborderradius,"-moz-border-radius":p.opt.cursorborderradius,"border-radius":p.opt.cursorborderradius}),h.isieold&&t.css({overflow:"hidden"}),t.wborder=parseFloat(t.outerWidth()-t.innerWidth()),t.addClass("nicescroll-cursors"),p.cursorh=t,(a=f(document.createElement("div"))).attr("id",p.id+"-hr"),a.addClass("nicescroll-rails nicescroll-rails-hr"),a.height=Math.max(parseFloat(p.opt.cursorwidth),t.outerHeight()),a.css({height:a.height+"px",zIndex:p.zindex,background:p.opt.background}),a.append(t),a.visibility=!0,a.scrollable=!0,a.align="top"==p.opt.railvalign?0:1,p.railh=a,p.railh.drag=!1),p.ispage?(r.css({position:"fixed",top:"0px",height:"100%"}),r.align?r.css({right:"0px"}):r.css({left:"0px"}),p.body.append(r),p.railh&&(a.css({position:"fixed",left:"0px",width:"100%"}),a.align?a.css({bottom:"0px"}):a.css({top:"0px"}),p.body.append(a))):(p.ishwscroll?("static"==p.win.css("position")&&p.css(p.win,{position:"relative"}),e="HTML"==p.win[0].nodeName?p.body:p.win,f(e).scrollTop(0).scrollLeft(0),p.zoom&&(p.zoom.css({position:"absolute",top:1,right:0,"margin-right":r.width+4}),e.append(p.zoom)),r.css({position:"absolute",top:0}),r.align?r.css({right:0}):r.css({left:0}),e.append(r),a&&(a.css({position:"absolute",left:0,bottom:0}),a.align?a.css({bottom:0}):a.css({top:0}),e.append(a))):(p.isfixed="fixed"==p.win.css("position"),e=p.isfixed?"fixed":"absolute",p.isfixed||(p.viewport=p.getViewport(p.win[0])),p.viewport&&(p.body=p.viewport,0==/fixed|absolute/.test(p.viewport.css("position"))&&p.css(p.viewport,{position:"relative"})),r.css({position:e}),p.zoom&&p.zoom.css({position:e}),p.updateScrollBar(),p.body.append(r),p.zoom&&p.body.append(p.zoom),p.railh&&(a.css({position:e}),p.body.append(a))),h.isios&&p.css(p.win,{"-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-touch-callout":"none"}),h.isie&&p.opt.disableoutline&&p.win.attr("hideFocus","true"),h.iswebkit&&p.opt.disableoutline&&p.win.css({outline:"none"})),!1===p.opt.autohidemode?(p.autohidedom=!1,p.rail.css({opacity:p.opt.cursoropacitymax}),p.railh&&p.railh.css({opacity:p.opt.cursoropacitymax})):!0===p.opt.autohidemode||"leave"===p.opt.autohidemode?(p.autohidedom=f().add(p.rail),h.isie8&&(p.autohidedom=p.autohidedom.add(p.cursor)),p.railh&&(p.autohidedom=p.autohidedom.add(p.railh)),p.railh&&h.isie8&&(p.autohidedom=p.autohidedom.add(p.cursorh))):"scroll"==p.opt.autohidemode?(p.autohidedom=f().add(p.rail),p.railh&&(p.autohidedom=p.autohidedom.add(p.railh))):"cursor"==p.opt.autohidemode?(p.autohidedom=f().add(p.cursor),p.railh&&(p.autohidedom=p.autohidedom.add(p.cursorh))):"hidden"==p.opt.autohidemode&&(p.autohidedom=!1,p.hide(),p.railslocked=!1),h.isie9mobile?(p.scrollmom=new k(p),p.onmangotouch=function(){var e=p.getScrollTop(),t=p.getScrollLeft();if(e==p.scrollmom.lastscrolly&&t==p.scrollmom.lastscrollx)return!0;var r,n,o,i=e-p.mangotouch.sy,a=t-p.mangotouch.sx;0!=Math.round(Math.sqrt(Math.pow(a,2)+Math.pow(i,2)))&&(r=i<0?-1:1,n=a<0?-1:1,o=+new Date,p.mangotouch.lazy&&clearTimeout(p.mangotouch.lazy),80<o-p.mangotouch.tm||p.mangotouch.dry!=r||p.mangotouch.drx!=n?(p.scrollmom.stop(),p.scrollmom.reset(t,e),p.mangotouch.sy=e,p.mangotouch.ly=e,p.mangotouch.sx=t,p.mangotouch.lx=t,p.mangotouch.dry=r,p.mangotouch.drx=n,p.mangotouch.tm=o):(p.scrollmom.stop(),p.scrollmom.update(p.mangotouch.sx-a,p.mangotouch.sy-i),p.mangotouch.tm=o,i=Math.max(Math.abs(p.mangotouch.ly-e),Math.abs(p.mangotouch.lx-t)),p.mangotouch.ly=e,p.mangotouch.lx=t,2<i&&(p.mangotouch.lazy=setTimeout(function(){p.mangotouch.lazy=!1,p.mangotouch.dry=0,p.mangotouch.drx=0,p.mangotouch.tm=0,p.scrollmom.doMomentum(30)},100))))},r=p.getScrollTop(),a=p.getScrollLeft(),p.mangotouch={sy:r,ly:r,dry:0,sx:a,lx:a,drx:0,lazy:!1,tm:0},p.bind(p.docscroll,"scroll",p.onmangotouch)):((h.cantouch||p.istouchcapable||p.opt.touchbehavior||h.hasmstouch)&&(p.scrollmom=new k(p),p.ontouchstart=function(e){if(e.pointerType&&2!=e.pointerType&&"touch"!=e.pointerType)return!1;if(p.hasmoving=!1,!p.railslocked){var t,r,n;if(h.hasmstouch)for(t=e.target||!1;t;){if(0<(n=f(t).getNiceScroll()).length&&n[0].me==p.me)break;if(0<n.length)return!1;if("DIV"==t.nodeName&&t.id==p.id)break;t=t.parentNode||!1}if(p.cancelScroll(),(t=p.getTarget(e))&&/INPUT/i.test(t.nodeName)&&/range/i.test(t.type))return p.stopPropagation(e);if(!("clientX"in e)&&"changedTouches"in e&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),p.forcescreen&&((e={original:(n=e).original||e}).clientX=n.screenX,e.clientY=n.screenY),p.rail.drag={x:e.clientX,y:e.clientY,sx:p.scroll.x,sy:p.scroll.y,st:p.getScrollTop(),sl:p.getScrollLeft(),pt:2,dl:!1},p.ispage||!p.opt.directionlockdeadzone?p.rail.drag.dl="f":(n=f(window).width(),r=f(window).height(),r=Math.max(0,Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)-r),n=Math.max(0,Math.max(document.body.scrollWidth,document.documentElement.scrollWidth)-n),p.rail.drag.ck=!p.rail.scrollable&&p.railh.scrollable?0<r&&"v":!(!p.rail.scrollable||p.railh.scrollable)&&(0<n&&"h"),p.rail.drag.ck||(p.rail.drag.dl="f")),p.opt.touchbehavior&&p.isiframe&&h.isie&&(n=p.win.position(),p.rail.drag.x+=n.left,p.rail.drag.y+=n.top),p.hasmoving=!1,p.lastmouseup=!1,p.scrollmom.reset(e.clientX,e.clientY),!h.cantouch&&!this.istouchcapable&&!e.pointerType){if(!t||!/INPUT|SELECT|TEXTAREA/i.test(t.nodeName))return!p.ispage&&h.hasmousecapture&&t.setCapture(),p.opt.touchbehavior?(t.onclick&&!t._onclick&&(t._onclick=t.onclick,t.onclick=function(e){if(p.hasmoving)return!1;t._onclick.call(this,e)}),p.cancelEvent(e)):p.stopPropagation(e);/SUBMIT|CANCEL|BUTTON/i.test(f(t).attr("type"))&&(pc={tg:t,click:!1},p.preventclick=pc)}}},p.ontouchend=function(e){return!p.rail.drag||(2==p.rail.drag.pt?(!e.pointerType||2==e.pointerType||"touch"==e.pointerType)&&(p.scrollmom.doMomentum(),p.rail.drag=!1,p.hasmoving&&(p.lastmouseup=!0,p.hideCursor(),h.hasmousecapture&&document.releaseCapture(),!h.cantouch)?p.cancelEvent(e):void 0):1==p.rail.drag.pt?p.onmouseup(e):void 0)},l=p.opt.touchbehavior&&p.isiframe&&!h.hasmousecapture,p.ontouchmove=function(e,t){if(!p.rail.drag||e.targetTouches&&p.opt.preventmultitouchscrolling&&1<e.targetTouches.length||e.pointerType&&2!=e.pointerType&&"touch"!=e.pointerType)return!1;if(2!=p.rail.drag.pt)return 1==p.rail.drag.pt?p.onmousemove(e):void 0;if(h.cantouch&&h.isios&&void 0===e.original)return!0;p.hasmoving=!0,p.preventclick&&!p.preventclick.click&&(p.preventclick.click=p.preventclick.tg.onclick||!1,p.preventclick.tg.onclick=p.onpreventclick),"changedTouches"in(e=f.extend({original:e},e))&&(e.clientX=e.changedTouches[0].clientX,e.clientY=e.changedTouches[0].clientY),p.forcescreen&&((e={original:(r=e).original||e}).clientX=r.screenX,e.clientY=r.screenY);var r=c=0;l&&!t&&(r=-(c=p.win.position()).left,c=-c.top);var n=e.clientY+c;c=n-p.rail.drag.y;var o,i=e.clientX+r,a=i-p.rail.drag.x,s=p.rail.drag.st-c;if(p.ishwscroll&&p.opt.bouncescroll?s<0?s=Math.round(s/2):s>p.page.maxh&&(s=p.page.maxh+Math.round((s-p.page.maxh)/2)):(s<0&&(n=s=0),s>p.page.maxh&&(s=p.page.maxh,n=0)),p.railh&&p.railh.scrollable&&(o=p.isrtlmode?a-p.rail.drag.sl:p.rail.drag.sl-a,p.ishwscroll&&p.opt.bouncescroll?o<0?o=Math.round(o/2):o>p.page.maxw&&(o=p.page.maxw+Math.round((o-p.page.maxw)/2)):(o<0&&(i=o=0),o>p.page.maxw&&(o=p.page.maxw,i=0))),r=!1,p.rail.drag.dl)r=!0,"v"==p.rail.drag.dl?o=p.rail.drag.sl:"h"==p.rail.drag.dl&&(s=p.rail.drag.st);else{var c=Math.abs(c),a=Math.abs(a),t=p.opt.directionlockdeadzone;if("v"==p.rail.drag.ck){if(t<c&&a<=.3*c)return!(p.rail.drag=!1);t<a&&(p.rail.drag.dl="f",f("body").scrollTop(f("body").scrollTop()))}else if("h"==p.rail.drag.ck){if(t<a&&c<=.3*a)return!(p.rail.drag=!1);t<c&&(p.rail.drag.dl="f",f("body").scrollLeft(f("body").scrollLeft()))}}return p.synched("touchmove",function(){p.rail.drag&&2==p.rail.drag.pt&&(p.prepareTransition&&p.prepareTransition(0),p.rail.scrollable&&p.setScrollTop(s),p.scrollmom.update(i,n),p.railh&&p.railh.scrollable?(p.setScrollLeft(o),p.showCursor(s,o)):p.showCursor(s),h.isie10&&document.selection.clear())}),(r=(!h.ischrome||!p.istouchcapable)&&r)?p.cancelEvent(e):void 0}),p.onmousedown=function(e,t){if(!p.rail.drag||1==p.rail.drag.pt){if(p.railslocked)return p.cancelEvent(e);p.cancelScroll(),p.rail.drag={x:e.clientX,y:e.clientY,sx:p.scroll.x,sy:p.scroll.y,pt:1,hr:!!t};t=p.getTarget(e);return!p.ispage&&h.hasmousecapture&&t.setCapture(),p.isiframe&&!h.hasmousecapture&&(p.saved.csspointerevents=p.doc.css("pointer-events"),p.css(p.doc,{"pointer-events":"none"})),p.hasmoving=!1,p.cancelEvent(e)}},p.onmouseup=function(e){if(p.rail.drag)return 1!=p.rail.drag.pt||(h.hasmousecapture&&document.releaseCapture(),p.isiframe&&!h.hasmousecapture&&p.doc.css("pointer-events",p.saved.csspointerevents),p.rail.drag=!1,p.hasmoving&&p.triggerScrollEnd(),p.cancelEvent(e))},p.onmousemove=function(e){var t;if(p.rail.drag){if(1==p.rail.drag.pt)return h.ischrome&&0==e.which?p.onmouseup(e):(p.cursorfreezed=!0,p.hasmoving=!0,p.rail.drag.hr?(p.scroll.x=p.rail.drag.sx+(e.clientX-p.rail.drag.x),p.scroll.x<0&&(p.scroll.x=0),t=p.scrollvaluemaxw,p.scroll.x>t&&(p.scroll.x=t)):(p.scroll.y=p.rail.drag.sy+(e.clientY-p.rail.drag.y),p.scroll.y<0&&(p.scroll.y=0),t=p.scrollvaluemax,p.scroll.y>t&&(p.scroll.y=t)),p.synched("mousemove",function(){p.rail.drag&&1==p.rail.drag.pt&&(p.showCursor(),p.rail.drag.hr?p.hasreversehr?p.doScrollLeft(p.scrollvaluemaxw-Math.round(p.scroll.x*p.scrollratio.x),p.opt.cursordragspeed):p.doScrollLeft(Math.round(p.scroll.x*p.scrollratio.x),p.opt.cursordragspeed):p.doScrollTop(Math.round(p.scroll.y*p.scrollratio.y),p.opt.cursordragspeed))}),p.cancelEvent(e))}else p.checkarea=0},h.cantouch||p.opt.touchbehavior?(p.onpreventclick=function(e){if(p.preventclick)return p.preventclick.tg.onclick=p.preventclick.click,p.preventclick=!1,p.cancelEvent(e)},p.bind(p.win,"mousedown",p.ontouchstart),p.onclick=!h.isios&&function(e){return!p.lastmouseup||(p.lastmouseup=!1,p.cancelEvent(e))},p.opt.grabcursorenabled&&h.cursorgrabvalue&&(p.css(p.ispage?p.doc:p.win,{cursor:h.cursorgrabvalue}),p.css(p.rail,{cursor:h.cursorgrabvalue}))):(s=function(e){var t;p.selectiondrag&&(e&&((t=p.win.outerHeight())<=(e=0<(e=e.pageY-p.selectiondrag.top)&&e<t?0:e)&&(e-=t),p.selectiondrag.df=e),0!=p.selectiondrag.df&&(p.doScrollBy(2*-Math.floor(p.selectiondrag.df/6)),p.debounced("doselectionscroll",function(){s()},50)))},p.hasTextSelected="getSelection"in document?function(){return 0<document.getSelection().rangeCount}:"selection"in document?function(){return"None"!=document.selection.type}:function(){return!1},p.onselectionstart=function(e){p.ispage||(p.selectiondrag=p.win.offset())},p.onselectionend=function(e){p.selectiondrag=!1},p.onselectiondrag=function(e){p.selectiondrag&&p.hasTextSelected()&&p.debounced("selectionscroll",function(){s(e)},250)}),h.hasw3ctouch?(p.css(p.rail,{"touch-action":"none"}),p.css(p.cursor,{"touch-action":"none"}),p.bind(p.win,"pointerdown",p.ontouchstart),p.bind(document,"pointerup",p.ontouchend),p.bind(document,"pointermove",p.ontouchmove)):h.hasmstouch?(p.css(p.rail,{"-ms-touch-action":"none"}),p.css(p.cursor,{"-ms-touch-action":"none"}),p.bind(p.win,"MSPointerDown",p.ontouchstart),p.bind(document,"MSPointerUp",p.ontouchend),p.bind(document,"MSPointerMove",p.ontouchmove),p.bind(p.cursor,"MSGestureHold",function(e){e.preventDefault()}),p.bind(p.cursor,"contextmenu",function(e){e.preventDefault()})):this.istouchcapable&&(p.bind(p.win,"touchstart",p.ontouchstart),p.bind(document,"touchend",p.ontouchend),p.bind(document,"touchcancel",p.ontouchend),p.bind(document,"touchmove",p.ontouchmove)),!p.opt.cursordragontouch&&(h.cantouch||p.opt.touchbehavior)||(p.rail.css({cursor:"default"}),p.railh&&p.railh.css({cursor:"default"}),p.jqbind(p.rail,"mouseenter",function(){return!(!p.ispage&&!p.win.is(":visible"))&&(p.canshowonmouseevent&&p.showCursor(),void(p.rail.active=!0))}),p.jqbind(p.rail,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}),p.opt.sensitiverail&&(p.bind(p.rail,"click",function(e){p.doRailClick(e,!1,!1)}),p.bind(p.rail,"dblclick",function(e){p.doRailClick(e,!0,!1)}),p.bind(p.cursor,"click",function(e){p.cancelEvent(e)}),p.bind(p.cursor,"dblclick",function(e){p.cancelEvent(e)})),p.railh&&(p.jqbind(p.railh,"mouseenter",function(){return!(!p.ispage&&!p.win.is(":visible"))&&(p.canshowonmouseevent&&p.showCursor(),void(p.rail.active=!0))}),p.jqbind(p.railh,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}),p.opt.sensitiverail&&(p.bind(p.railh,"click",function(e){p.doRailClick(e,!1,!0)}),p.bind(p.railh,"dblclick",function(e){p.doRailClick(e,!0,!0)}),p.bind(p.cursorh,"click",function(e){p.cancelEvent(e)}),p.bind(p.cursorh,"dblclick",function(e){p.cancelEvent(e)})))),h.cantouch||p.opt.touchbehavior?(p.bind(h.hasmousecapture?p.win:document,"mouseup",p.ontouchend),p.bind(document,"mousemove",p.ontouchmove),p.onclick&&p.bind(document,"click",p.onclick),p.opt.cursordragontouch&&(p.bind(p.cursor,"mousedown",p.onmousedown),p.bind(p.cursor,"mouseup",p.onmouseup),p.cursorh&&p.bind(p.cursorh,"mousedown",function(e){p.onmousedown(e,!0)}),p.cursorh&&p.bind(p.cursorh,"mouseup",p.onmouseup))):(p.bind(h.hasmousecapture?p.win:document,"mouseup",p.onmouseup),p.bind(document,"mousemove",p.onmousemove),p.onclick&&p.bind(document,"click",p.onclick),p.bind(p.cursor,"mousedown",p.onmousedown),p.bind(p.cursor,"mouseup",p.onmouseup),p.railh&&(p.bind(p.cursorh,"mousedown",function(e){p.onmousedown(e,!0)}),p.bind(p.cursorh,"mouseup",p.onmouseup)),!p.ispage&&p.opt.enablescrollonselection&&(p.bind(p.win[0],"mousedown",p.onselectionstart),p.bind(document,"mouseup",p.onselectionend),p.bind(p.cursor,"mouseup",p.onselectionend),p.cursorh&&p.bind(p.cursorh,"mouseup",p.onselectionend),p.bind(document,"mousemove",p.onselectiondrag)),p.zoom&&(p.jqbind(p.zoom,"mouseenter",function(){p.canshowonmouseevent&&p.showCursor(),p.rail.active=!0}),p.jqbind(p.zoom,"mouseleave",function(){p.rail.active=!1,p.rail.drag||p.hideCursor()}))),p.opt.enablemousewheel&&(p.isiframe||p.bind(h.isie&&p.ispage?document:p.win,"mousewheel",p.onmousewheel),p.bind(p.rail,"mousewheel",p.onmousewheel),p.railh&&p.bind(p.railh,"mousewheel",p.onmousewheelhr)),p.ispage||h.cantouch||/HTML|^BODY/.test(p.win[0].nodeName)||(p.win.attr("tabindex")||p.win.attr({tabindex:y++}),p.jqbind(p.win,"focus",function(e){m=p.getTarget(e).id||!0,p.hasfocus=!0,p.canshowonmouseevent&&p.noticeCursor()}),p.jqbind(p.win,"blur",function(e){m=!1,p.hasfocus=!1}),p.jqbind(p.win,"mouseenter",function(e){g=p.getTarget(e).id||!0,p.hasmousefocus=!0,p.canshowonmouseevent&&p.noticeCursor()}),p.jqbind(p.win,"mouseleave",function(){g=!1,p.hasmousefocus=!1,p.rail.drag||p.hideCursor()}))),p.onkeypress=function(e){if(p.railslocked&&0==p.page.maxh)return!0;e=e||window.e;var t=p.getTarget(e);if(t&&/INPUT|TEXTAREA|SELECT|OPTION/.test(t.nodeName)&&(!t.getAttribute("type")&&!t.type||!/submit|button|cancel/i.tp)||f(t).attr("contenteditable"))return!0;if(p.hasfocus||p.hasmousefocus&&!m||p.ispage&&!m&&!g){if(t=e.keyCode,p.railslocked&&27!=t)return p.cancelEvent(e);var r=e.ctrlKey||!1,n=e.shiftKey||!1,o=!1;switch(t){case 38:case 63233:p.doScrollBy(72),o=!0;break;case 40:case 63235:p.doScrollBy(-72),o=!0;break;case 37:case 63232:p.railh&&(r?p.doScrollLeft(0):p.doScrollLeftBy(72),o=!0);break;case 39:case 63234:p.railh&&(r?p.doScrollLeft(p.page.maxw):p.doScrollLeftBy(-72),o=!0);break;case 33:case 63276:p.doScrollBy(p.view.h),o=!0;break;case 34:case 63277:p.doScrollBy(-p.view.h),o=!0;break;case 36:case 63273:p.railh&&r?p.doScrollPos(0,0):p.doScrollTo(0),o=!0;break;case 35:case 63275:p.railh&&r?p.doScrollPos(p.page.maxw,p.page.maxh):p.doScrollTo(p.page.maxh),o=!0;break;case 32:p.opt.spacebarenabled&&(n?p.doScrollBy(p.view.h):p.doScrollBy(-p.view.h),o=!0);break;case 27:p.zoomactive&&(p.doZoom(),o=!0)}return o?p.cancelEvent(e):void 0}},p.opt.enablekeyboard&&p.bind(document,h.isopera&&!h.isopera12?"keypress":"keydown",p.onkeypress),p.bind(document,"keydown",function(e){e.ctrlKey&&(p.wheelprevented=!0)}),p.bind(document,"keyup",function(e){e.ctrlKey||(p.wheelprevented=!1)}),p.bind(window,"blur",function(e){p.wheelprevented=!1}),p.bind(window,"resize",p.lazyResize),p.bind(window,"orientationchange",p.lazyResize),p.bind(window,"load",p.lazyResize),!h.ischrome||p.ispage||p.haswrapper||(c=p.win.attr("style"),r=parseFloat(p.win.css("width"))+1,p.win.css("width",r),p.synched("chromefix",function(){p.win.attr("style",c)})),!(p.onAttributeChange=function(e){p.lazyResize(p.isieold?250:30)})!==v&&(p.observerbody=new v(function(e){if(e.forEach(function(e){if("attributes"==e.type)return f("body").hasClass("modal-open")&&!f.contains(f(".modal-dialog")[0],p.doc[0])?p.hide():p.show()}),document.body.scrollHeight!=p.page.maxh)return p.lazyResize(30)}),p.observerbody.observe(document.body,{childList:!0,subtree:!0,characterData:!1,attributes:!0,attributeFilter:["class"]})),p.ispage||p.haswrapper||(!1!==v?(p.observer=new v(function(e){e.forEach(p.onAttributeChange)}),p.observer.observe(p.win[0],{childList:!0,characterData:!1,attributes:!0,subtree:!1}),p.observerremover=new v(function(e){e.forEach(function(e){if(0<e.removedNodes.length)for(var t in e.removedNodes)if(p&&e.removedNodes[t]==p.win[0])return p.remove()})}),p.observerremover.observe(p.win[0].parentNode,{childList:!0,characterData:!1,attributes:!1,subtree:!1})):(p.bind(p.win,h.isie&&!h.isie9?"propertychange":"DOMAttrModified",p.onAttributeChange),h.isie9&&p.win[0].attachEvent("onpropertychange",p.onAttributeChange),p.bind(p.win,"DOMNodeRemoved",function(e){e.target==p.win[0]&&p.remove()}))),!p.ispage&&p.opt.boxzoom&&p.bind(window,"resize",p.resizeZoom),p.istextarea&&(p.bind(p.win,"keydown",p.lazyResize),p.bind(p.win,"mouseup",p.lazyResize)),p.lazyResize(30)}var d;"IFRAME"==this.doc[0].nodeName&&(d=function(){var t,e;p.iframexd=!1;try{t="contentDocument"in this?this.contentDocument:this.contentWindow.document}catch(e){t=!(p.iframexd=!0)}if(p.iframexd)return"console"in window&&console.log("NiceScroll error: policy restriced iframe"),!0;p.forcescreen=!0,p.isiframe&&(p.iframe={doc:f(t),html:p.doc.contents().find("html")[0],body:p.doc.contents().find("body")[0]},p.getContentSize=function(){return{w:Math.max(p.iframe.html.scrollWidth,p.iframe.body.scrollWidth),h:Math.max(p.iframe.html.scrollHeight,p.iframe.body.scrollHeight)}},p.docscroll=f(p.iframe.body)),h.isios||!p.opt.iframeautoresize||p.isiframe||(p.win.scrollTop(0),p.doc.height(""),e=Math.max(t.getElementsByTagName("html")[0].scrollHeight,t.body.scrollHeight),p.doc.height(e)),p.lazyResize(30),h.isie7&&p.css(f(p.iframe.html),{"overflow-y":"hidden"}),p.css(f(p.iframe.body),{"overflow-y":"hidden"}),h.isios&&p.haswrapper&&p.css(f(t.body),{"-webkit-transform":"translate3d(0,0,0)"}),"contentWindow"in this?p.bind(this.contentWindow,"scroll",p.onscroll):p.bind(t,"scroll",p.onscroll),p.opt.enablemousewheel&&p.bind(t,"mousewheel",p.onmousewheel),p.opt.enablekeyboard&&p.bind(t,h.isopera?"keypress":"keydown",p.onkeypress),(h.cantouch||p.opt.touchbehavior)&&(p.bind(t,"mousedown",p.ontouchstart),p.bind(t,"mousemove",function(e){return p.ontouchmove(e,!0)}),p.opt.grabcursorenabled&&h.cursorgrabvalue&&p.css(f(t.body),{cursor:h.cursorgrabvalue})),p.bind(t,"mouseup",p.ontouchend),p.zoom&&(p.opt.dblclickzoom&&p.bind(t,"dblclick",p.doZoom),p.ongesturezoom&&p.bind(t,"gestureend",p.ongesturezoom))},this.doc[0].readyState&&"complete"==this.doc[0].readyState&&setTimeout(function(){d.call(p.doc[0],!1)},500),p.bind(this.doc,"load",d))},this.showCursor=function(e,t){p.cursortimeout&&(clearTimeout(p.cursortimeout),p.cursortimeout=0),p.rail&&(p.autohidedom&&(p.autohidedom.stop().css({opacity:p.opt.cursoropacitymax}),p.cursoractive=!0),p.rail.drag&&1==p.rail.drag.pt||(void 0!==e&&!1!==e&&(p.scroll.y=Math.round(+e/p.scrollratio.y)),void 0!==t&&(p.scroll.x=Math.round(+t/p.scrollratio.x))),p.cursor.css({height:p.cursorheight,top:p.scroll.y}),p.cursorh&&(t=p.hasreversehr?p.scrollvaluemaxw-p.scroll.x:p.scroll.x,!p.rail.align&&p.rail.visibility?p.cursorh.css({width:p.cursorwidth,left:t+p.rail.width}):p.cursorh.css({width:p.cursorwidth,left:t}),p.cursoractive=!0),p.zoom&&p.zoom.stop().css({opacity:p.opt.cursoropacitymax}))},this.hideCursor=function(e){p.cursortimeout||!p.rail||!p.autohidedom||p.hasmousefocus&&"leave"==p.opt.autohidemode||(p.cursortimeout=setTimeout(function(){p.rail.active&&p.showonmouseevent||(p.autohidedom.stop().animate({opacity:p.opt.cursoropacitymin}),p.zoom&&p.zoom.stop().animate({opacity:p.opt.cursoropacitymin}),p.cursoractive=!1),p.cursortimeout=0},e||p.opt.hidecursordelay))},this.noticeCursor=function(e,t,r){p.showCursor(t,r),p.rail.active||p.hideCursor(e)},this.getContentSize=p.ispage?function(){return{w:Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),h:Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}}:p.haswrapper?function(){return{w:p.doc.outerWidth()+parseInt(p.win.css("paddingLeft"))+parseInt(p.win.css("paddingRight")),h:p.doc.outerHeight()+parseInt(p.win.css("paddingTop"))+parseInt(p.win.css("paddingBottom"))}}:function(){return{w:p.docscroll[0].scrollWidth,h:p.docscroll[0].scrollHeight}},this.onResize=function(e,t){if(!p||!p.win)return!1;if(!p.haswrapper&&!p.ispage){if("none"==p.win.css("display"))return p.visibility&&p.hideRail().hideRailHr(),!1;p.hidden||p.visibility||p.showRail().showRailHr()}var r=p.page.maxh,n=p.page.maxw,o=p.view.h,i=p.view.w;if(p.view={w:p.ispage?p.win.width():parseInt(p.win[0].clientWidth),h:p.ispage?p.win.height():parseInt(p.win[0].clientHeight)},p.page=t||p.getContentSize(),p.page.maxh=Math.max(0,p.page.h-p.view.h),p.page.maxw=Math.max(0,p.page.w-p.view.w),p.page.maxh==r&&p.page.maxw==n&&p.view.w==i&&p.view.h==o){if(p.ispage)return p;if(r=p.win.offset(),p.lastposition&&((n=p.lastposition).top==r.top&&n.left==r.left))return p;p.lastposition=r}return 0==p.page.maxh?(p.hideRail(),p.scrollvaluemax=0,p.scroll.y=0,p.scrollratio.y=0,p.cursorheight=0,p.setScrollTop(0),p.rail&&(p.rail.scrollable=!1)):(p.page.maxh-=p.opt.railpadding.top+p.opt.railpadding.bottom,p.rail.scrollable=!0),0==p.page.maxw?(p.hideRailHr(),p.scrollvaluemaxw=0,p.scroll.x=0,p.scrollratio.x=0,p.cursorwidth=0,p.setScrollLeft(0),p.railh&&(p.railh.scrollable=!1)):(p.page.maxw-=p.opt.railpadding.left+p.opt.railpadding.right,p.railh&&(p.railh.scrollable=p.opt.horizrailenabled)),p.railslocked=p.locked||0==p.page.maxh&&0==p.page.maxw,p.railslocked?(p.ispage||p.updateScrollBar(p.view),!1):(p.hidden||p.visibility?!p.railh||p.hidden||p.railh.visibility||p.showRailHr():p.showRail().showRailHr(),p.istextarea&&p.win.css("resize")&&"none"!=p.win.css("resize")&&(p.view.h-=20),p.cursorheight=Math.min(p.view.h,Math.round(p.view.h/p.page.h*p.view.h)),p.cursorheight=p.opt.cursorfixedheight||Math.max(p.opt.cursorminheight,p.cursorheight),p.cursorwidth=Math.min(p.view.w,Math.round(p.view.w/p.page.w*p.view.w)),p.cursorwidth=p.opt.cursorfixedheight||Math.max(p.opt.cursorminheight,p.cursorwidth),p.scrollvaluemax=p.view.h-p.cursorheight-p.cursor.hborder-(p.opt.railpadding.top+p.opt.railpadding.bottom),p.railh&&(p.railh.width=0<p.page.maxh?p.view.w-p.rail.width:p.view.w,p.scrollvaluemaxw=p.railh.width-p.cursorwidth-p.cursorh.wborder-(p.opt.railpadding.left+p.opt.railpadding.right)),p.ispage||p.updateScrollBar(p.view),p.scrollratio={x:p.page.maxw/p.scrollvaluemaxw,y:p.page.maxh/p.scrollvaluemax},p.getScrollTop()>p.page.maxh?p.doScrollTop(p.page.maxh):(p.scroll.y=Math.round(p.getScrollTop()*(1/p.scrollratio.y)),p.scroll.x=Math.round(p.getScrollLeft()*(1/p.scrollratio.x)),p.cursoractive&&p.noticeCursor()),p.scroll.y&&0==p.getScrollTop()&&p.doScrollTo(Math.floor(p.scroll.y*p.scrollratio.y)),p)},this.resize=p.onResize,this.lazyResize=function(e){return e=isNaN(e)?30:e,p.debounced("resize",p.resize,e),p},this.jqbind=function(e,t,r){p.events.push({e:e,n:t,f:r,q:!0}),f(e).bind(t,r)},this.bind=function(e,t,r,n){var o="jquery"in e?e[0]:e;"mousewheel"==t?"onwheel"in p.win?p._bind(o,"wheel",r,n||!1):(e=void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",a(o,e,r,n||!1),"DOMMouseScroll"==e&&a(o,"MozMousePixelScroll",r,n||!1)):o.addEventListener?(h.cantouch&&/mouseup|mousedown|mousemove/.test(t)&&p._bind(o,"mousedown"==t?"touchstart":"mouseup"==t?"touchend":"touchmove",function(e){var t;e.touches?e.touches.length<2&&((t=e.touches.length?e.touches[0]:e).original=e,r.call(this,t)):e.changedTouches&&((t=e.changedTouches[0]).original=e,r.call(this,t))},n||!1),p._bind(o,t,r,n||!1),h.cantouch&&"mouseup"==t&&p._bind(o,"touchcancel",r,n||!1)):p._bind(o,t,function(e){return(e=e||window.event||!1)&&e.srcElement&&(e.target=e.srcElement),"pageY"in e||(e.pageX=e.clientX+document.documentElement.scrollLeft,e.pageY=e.clientY+document.documentElement.scrollTop),!1!==r.call(o,e)&&!1!==n||p.cancelEvent(e)})},h.haseventlistener?(this._bind=function(e,t,r,n){p.events.push({e:e,n:t,f:r,b:n,q:!1}),e.addEventListener(t,r,n||!1)},this.cancelEvent=function(e){return e&&((e=e.original||e).preventDefault(),e.stopPropagation(),e.preventManipulation&&e.preventManipulation()),!1},this.stopPropagation=function(e){return e&&(e=e.original||e).stopPropagation(),!1},this._unbind=function(e,t,r,n){e.removeEventListener(t,r,n)}):(this._bind=function(e,t,r,n){p.events.push({e:e,n:t,f:r,b:n,q:!1}),e.attachEvent?e.attachEvent("on"+t,r):e["on"+t]=r},this.cancelEvent=function(e){return!!(e=window.event||!1)&&(e.cancelBubble=!0,e.cancel=!0,e.returnValue=!1)},this.stopPropagation=function(e){return!!(e=window.event||!1)&&!(e.cancelBubble=!0)},this._unbind=function(e,t,r,n){e.detachEvent?e.detachEvent("on"+t,r):e["on"+t]=!1}),this.unbindAll=function(){for(var e=0;e<p.events.length;e++){var t=p.events[e];t.q?t.e.unbind(t.n,t.f):p._unbind(t.e,t.n,t.f,t.b)}},this.showRail=function(){return 0==p.page.maxh||!p.ispage&&"none"==p.win.css("display")||(p.visibility=!0,p.rail.visibility=!0,p.rail.css("display","block")),p},this.showRailHr=function(){return p.railh&&(0==p.page.maxw||!p.ispage&&"none"==p.win.css("display")||(p.railh.visibility=!0,p.railh.css("display","block"))),p},this.hideRail=function(){return p.visibility=!1,p.rail.visibility=!1,p.rail.css("display","none"),p},this.hideRailHr=function(){return p.railh&&(p.railh.visibility=!1,p.railh.css("display","none")),p},this.show=function(){return p.hidden=!1,p.railslocked=!1,p.showRail().showRailHr()},this.hide=function(){return p.hidden=!0,p.railslocked=!0,p.hideRail().hideRailHr()},this.toggle=function(){return p.hidden?p.show():p.hide()},this.remove=function(){p.stop(),p.cursortimeout&&clearTimeout(p.cursortimeout),p.debouncedelayed&&clearTimeout(p.debouncedelayed),p.doZoomOut(),p.unbindAll(),h.isie9&&p.win[0].detachEvent("onpropertychange",p.onAttributeChange),!1!==p.observer&&p.observer.disconnect(),!1!==p.observerremover&&p.observerremover.disconnect(),!1!==p.observerbody&&p.observerbody.disconnect(),p.events=null,p.cursor&&p.cursor.remove(),p.cursorh&&p.cursorh.remove(),p.rail&&p.rail.remove(),p.railh&&p.railh.remove(),p.zoom&&p.zoom.remove();for(var e=0;e<p.saved.css.length;e++){var t=p.saved.css[e];t[0].css(t[1],void 0===t[2]?"":t[2])}p.saved=!1,p.me.data("__nicescroll","");var r,n=f.nicescroll;for(r in n.each(function(e){if(this&&this.id===p.id){delete n[e];for(var t=++e;t<n.length;t++,e++)n[e]=n[t];n.length--,n.length&&delete n[n.length]}}),p)p[r]=null,delete p[r];p=null},this.scrollstart=function(e){return this.onscrollstart=e,p},this.scrollend=function(e){return this.onscrollend=e,p},this.scrollcancel=function(e){return this.onscrollcancel=e,p},this.zoomin=function(e){return this.onzoomin=e,p},this.zoomout=function(e){return this.onzoomout=e,p},this.isScrollable=function(e){if("OPTION"==(e=e.target||e).nodeName)return!0;for(;e&&1==e.nodeType&&!/^BODY|HTML/.test(e.nodeName);){var t=(t=f(e)).css("overflowY")||t.css("overflowX")||t.css("overflow")||"";if(/scroll|auto/.test(t))return e.clientHeight!=e.scrollHeight;e=e.parentNode||!1}return!1},this.getViewport=function(e){for(e=!(!e||!e.parentNode)&&e.parentNode;e&&1==e.nodeType&&!/^BODY|HTML/.test(e.nodeName);){var t=f(e);if(/fixed|absolute/.test(t.css("position")))return t;var r=t.css("overflowY")||t.css("overflowX")||t.css("overflow")||"";if(/scroll|auto/.test(r)&&e.clientHeight!=e.scrollHeight||0<t.getNiceScroll().length)return t;e=e.parentNode||!1}return!1},this.triggerScrollEnd=function(){var e,t;p.onscrollend&&(e=p.getScrollLeft(),t=p.getScrollTop(),p.onscrollend.call(p,{type:"scrollend",current:{x:e,y:t},end:{x:e,y:t}}))},this.onmousewheel=function(e){if(!p.wheelprevented){if(p.railslocked)return p.debounced("checkunlock",p.resize,250),!0;if(p.rail.drag)return p.cancelEvent(e);if("auto"==p.opt.oneaxismousemode&&0!=e.deltaX&&(p.opt.oneaxismousemode=!1),p.opt.oneaxismousemode&&0==e.deltaX&&!p.rail.scrollable)return!p.railh||!p.railh.scrollable||p.onmousewheelhr(e);var t=+new Date,r=!1;return(p.opt.preservenativescrolling&&p.checkarea+600<t&&(p.nativescrollingarea=p.isScrollable(e),r=!0),p.checkarea=t,p.nativescrollingarea)?!0:((e=n(e,!1,r))&&(p.checkarea=0),e)}},this.onmousewheelhr=function(e){if(!p.wheelprevented){if(p.railslocked||!p.railh.scrollable)return!0;if(p.rail.drag)return p.cancelEvent(e);var t=+new Date,r=!1;return p.opt.preservenativescrolling&&p.checkarea+600<t&&(p.nativescrollingarea=p.isScrollable(e),r=!0),p.checkarea=t,!!p.nativescrollingarea||(p.railslocked?p.cancelEvent(e):n(e,!0,r))}},this.stop=function(){return p.cancelScroll(),p.scrollmon&&p.scrollmon.stop(),p.cursorfreezed=!1,p.scroll.y=Math.round(p.getScrollTop()*(1/p.scrollratio.y)),p.noticeCursor(),p},this.getTransitionSpeed=function(e){return 20<(e=Math.min(Math.round(10*p.opt.scrollspeed),Math.round(e/20*p.opt.scrollspeed)))?e:0},p.opt.smoothscroll?p.ishwscroll&&h.hastransition&&p.opt.usetransition&&p.opt.smoothscroll?(this.prepareTransition=function(e,t){t=t?20<e?e:0:p.getTransitionSpeed(e),e=t?h.prefixstyle+"transform "+t+"ms ease-out":"";return p.lasttransitionstyle&&p.lasttransitionstyle==e||(p.lasttransitionstyle=e,p.doc.css(h.transitionstyle,e)),t},this.doScrollLeft=function(e,t){var r=p.scrollrunning?p.newscrolly:p.getScrollTop();p.doScrollPos(e,r,t)},this.doScrollTop=function(e,t){var r=p.scrollrunning?p.newscrollx:p.getScrollLeft();p.doScrollPos(r,e,t)},this.doScrollPos=function(n,o,e){var t=p.getScrollTop(),r=p.getScrollLeft();return((p.newscrolly-t)*(o-t)<0||(p.newscrollx-r)*(n-r)<0)&&p.cancelScroll(),0==p.opt.bouncescroll&&(o<0?o=0:o>p.page.maxh&&(o=p.page.maxh),n<0?n=0:n>p.page.maxw&&(n=p.page.maxw)),(!p.scrollrunning||n!=p.newscrollx||o!=p.newscrolly)&&(p.newscrolly=o,p.newscrollx=n,p.newscrollspeed=e||!1,!p.timer&&void(p.timer=setTimeout(function(){var e=p.getScrollTop(),t=p.getScrollLeft(),r=Math.round(Math.sqrt(Math.pow(n-t,2)+Math.pow(o-e,2))),r=p.newscrollspeed&&1<p.newscrollspeed?p.newscrollspeed:p.getTransitionSpeed(r);p.newscrollspeed&&p.newscrollspeed<=1&&(r*=p.newscrollspeed),p.prepareTransition(r,!0),p.timerscroll&&p.timerscroll.tm&&clearInterval(p.timerscroll.tm),0<r&&(!p.scrollrunning&&p.onscrollstart&&p.onscrollstart.call(p,{type:"scrollstart",current:{x:t,y:e},request:{x:n,y:o},end:{x:p.newscrollx,y:p.newscrolly},speed:r}),h.transitionend?p.scrollendtrapped||(p.scrollendtrapped=!0,p.bind(p.doc,h.transitionend,p.onScrollTransitionEnd,!1)):(p.scrollendtrapped&&clearTimeout(p.scrollendtrapped),p.scrollendtrapped=setTimeout(p.onScrollTransitionEnd,r)),p.timerscroll={bz:new l(e,p.newscrolly,r,0,0,.58,1),bh:new l(t,p.newscrollx,r,0,0,.58,1)},p.cursorfreezed||(p.timerscroll.tm=setInterval(function(){p.showCursor(p.getScrollTop(),p.getScrollLeft())},60))),p.synched("doScroll-set",function(){p.timer=0,p.scrollendtrapped&&(p.scrollrunning=!0),p.setScrollTop(p.newscrolly),p.setScrollLeft(p.newscrollx),p.scrollendtrapped||p.onScrollTransitionEnd()})},50)))},this.cancelScroll=function(){if(!p.scrollendtrapped)return!0;var e=p.getScrollTop(),t=p.getScrollLeft();return p.scrollrunning=!1,h.transitionend||clearTimeout(h.transitionend),p.scrollendtrapped=!1,p._unbind(p.doc[0],h.transitionend,p.onScrollTransitionEnd),p.prepareTransition(0),p.setScrollTop(e),p.railh&&p.setScrollLeft(t),p.timerscroll&&p.timerscroll.tm&&clearInterval(p.timerscroll.tm),p.timerscroll=!1,p.cursorfreezed=!1,p.showCursor(e,t),p},this.onScrollTransitionEnd=function(){p.scrollendtrapped&&p._unbind(p.doc[0],h.transitionend,p.onScrollTransitionEnd),p.scrollendtrapped=!1,p.prepareTransition(0),p.timerscroll&&p.timerscroll.tm&&clearInterval(p.timerscroll.tm),p.timerscroll=!1;var e=p.getScrollTop(),t=p.getScrollLeft();if(p.setScrollTop(e),p.railh&&p.setScrollLeft(t),p.noticeCursor(!1,e,t),p.cursorfreezed=!1,e<0?e=0:e>p.page.maxh&&(e=p.page.maxh),t<0?t=0:t>p.page.maxw&&(t=p.page.maxw),e!=p.newscrolly||t!=p.newscrollx)return p.doScrollPos(t,e,p.opt.snapbackspeed);p.onscrollend&&p.scrollrunning&&p.triggerScrollEnd(),p.scrollrunning=!1}):(this.doScrollLeft=function(e,t){var r=p.scrollrunning?p.newscrolly:p.getScrollTop();p.doScrollPos(e,r,t)},this.doScrollTop=function(e,t){var r=p.scrollrunning?p.newscrollx:p.getScrollLeft();p.doScrollPos(r,e,t)},this.doScrollPos=function(e,t,r){if(t=void 0===t||!1===t?p.getScrollTop(!0):t,p.timer&&p.newscrolly==t&&p.newscrollx==e)return!0;p.timer&&w(p.timer),p.timer=0;var n=p.getScrollTop(),o=p.getScrollLeft();((p.newscrolly-n)*(t-n)<0||(p.newscrollx-o)*(e-o)<0)&&p.cancelScroll(),p.newscrolly=t,p.newscrollx=e,p.bouncescroll&&p.rail.visibility||(p.newscrolly<0?p.newscrolly=0:p.newscrolly>p.page.maxh&&(p.newscrolly=p.page.maxh)),p.bouncescroll&&p.railh.visibility||(p.newscrollx<0?p.newscrollx=0:p.newscrollx>p.page.maxw&&(p.newscrollx=p.page.maxw)),p.dst={},p.dst.x=e-o,p.dst.y=t-n,p.dst.px=o,p.dst.py=n;var i=Math.round(Math.sqrt(Math.pow(p.dst.x,2)+Math.pow(p.dst.y,2)));p.dst.ax=p.dst.x/i,p.dst.ay=p.dst.y/i;var a,s=0,c=i;0==p.dst.x?(s=n,c=t,p.dst.ay=1,p.dst.py=0):0==p.dst.y&&(s=o,c=e,p.dst.ax=1,p.dst.px=0),i=p.getTransitionSpeed(i),r&&r<=1&&(i*=r),p.bzscroll=0<i&&(p.bzscroll?p.bzscroll.update(c,i):new l(s,c,i,0,1,0,1)),p.timer||((n==p.page.maxh&&t>=p.page.maxh||o==p.page.maxw&&e>=p.page.maxw)&&p.checkContentSize(),a=1,p.cancelAnimationFrame=!1,p.timer=1,p.onscrollstart&&!p.scrollrunning&&p.onscrollstart.call(p,{type:"scrollstart",current:{x:o,y:n},request:{x:e,y:t},end:{x:p.newscrollx,y:p.newscrolly},speed:i}),function e(){if(p.cancelAnimationFrame)return!0;if(p.scrollrunning=!0,a=1-a)return p.timer=b(e)||1;var t,r,n=0,o=r=p.getScrollTop();p.dst.ay?(((t=(o=p.bzscroll?p.dst.py+p.bzscroll.getNow()*p.dst.ay:p.newscrolly)-r)<0&&o<p.newscrolly||0<t&&o>p.newscrolly)&&(o=p.newscrolly),p.setScrollTop(o),o==p.newscrolly&&(n=1)):n=1,r=t=p.getScrollLeft(),p.dst.ax?(((t=(r=p.bzscroll?p.dst.px+p.bzscroll.getNow()*p.dst.ax:p.newscrollx)-t)<0&&r<p.newscrollx||0<t&&r>p.newscrollx)&&(r=p.newscrollx),p.setScrollLeft(r),r==p.newscrollx&&(n+=1)):n+=1,2==n?(p.timer=0,p.cursorfreezed=!1,p.bzscroll=!1,p.scrollrunning=!1,o<0?o=0:o>p.page.maxh&&(o=p.page.maxh),r<0?r=0:r>p.page.maxw&&(r=p.page.maxw),r!=p.newscrollx||o!=p.newscrolly?p.doScrollPos(r,o):p.onscrollend&&p.triggerScrollEnd()):p.timer=b(e)||1}(),(n==p.page.maxh&&n<=t||o==p.page.maxw&&o<=e)&&p.checkContentSize(),p.noticeCursor())},this.cancelScroll=function(){return p.timer&&w(p.timer),p.timer=0,p.bzscroll=!1,p.scrollrunning=!1,p}):(this.doScrollLeft=function(e,t){var r=p.getScrollTop();p.doScrollPos(e,r,t)},this.doScrollTop=function(e,t){var r=p.getScrollLeft();p.doScrollPos(r,e,t)},this.doScrollPos=function(e,t,r){var n=e>p.page.maxw?p.page.maxw:e;n<0&&(n=0);var o=t>p.page.maxh?p.page.maxh:t;o<0&&(o=0),p.synched("scroll",function(){p.setScrollTop(o),p.setScrollLeft(n)})},this.cancelScroll=function(){}),this.doScrollBy=function(e,t){var r,n=0,n=t?Math.floor((p.scroll.y-e)*p.scrollratio.y):(p.timer?p.newscrolly:p.getScrollTop(!0))-e;return p.bouncescroll&&(n<-(r=Math.round(p.view.h/2))?n=-r:n>p.page.maxh+r&&(n=p.page.maxh+r)),p.cursorfreezed=!1,r=p.getScrollTop(!0),n<0&&r<=0?p.noticeCursor():n>p.page.maxh&&r>=p.page.maxh?(p.checkContentSize(),p.noticeCursor()):void p.doScrollTop(n)},this.doScrollLeftBy=function(e,t){var r,n=0,n=t?Math.floor((p.scroll.x-e)*p.scrollratio.x):(p.timer?p.newscrollx:p.getScrollLeft(!0))-e;if(p.bouncescroll&&(n<-(r=Math.round(p.view.w/2))?n=-r:n>p.page.maxw+r&&(n=p.page.maxw+r)),p.cursorfreezed=!1,r=p.getScrollLeft(!0),n<0&&r<=0||n>p.page.maxw&&r>=p.page.maxw)return p.noticeCursor();p.doScrollLeft(n)},this.doScrollTo=function(e,t){p.cursorfreezed=!1,p.doScrollTop(e)},this.checkContentSize=function(){var e=p.getContentSize();e.h==p.page.h&&e.w==p.page.w||p.resize(!1,e)},p.onscroll=function(e){p.rail.drag||p.cursorfreezed||p.synched("scroll",function(){p.scroll.y=Math.round(p.getScrollTop()*(1/p.scrollratio.y)),p.railh&&(p.scroll.x=Math.round(p.getScrollLeft()*(1/p.scrollratio.x))),p.noticeCursor()})},p.bind(p.docscroll,"scroll",p.onscroll),this.doZoomIn=function(e){if(!p.zoomactive){p.zoomactive=!0,p.zoomrestore={style:{}};var t,r="position top left zIndex backgroundColor marginTop marginBottom marginLeft marginRight".split(" "),n=p.win[0].style;for(t in r){var o=r[t];p.zoomrestore.style[o]=void 0!==n[o]?n[o]:""}return p.zoomrestore.style.width=p.win.css("width"),p.zoomrestore.style.height=p.win.css("height"),p.zoomrestore.padding={w:p.win.outerWidth()-p.win.width(),h:p.win.outerHeight()-p.win.height()},h.isios4&&(p.zoomrestore.scrollTop=f(window).scrollTop(),f(window).scrollTop(0)),p.win.css({position:h.isios4?"absolute":"fixed",top:0,left:0,"z-index":_+100,margin:"0px"}),""!=(r=p.win.css("backgroundColor"))&&!/transparent|rgba\(0, 0, 0, 0\)|rgba\(0,0,0,0\)/.test(r)||p.win.css("backgroundColor","#fff"),p.rail.css({"z-index":_+101}),p.zoom.css({"z-index":_+102}),p.zoom.css("backgroundPosition","0px -18px"),p.resizeZoom(),p.onzoomin&&p.onzoomin.call(p),p.cancelEvent(e)}},this.doZoomOut=function(e){if(p.zoomactive)return p.zoomactive=!1,p.win.css("margin",""),p.win.css(p.zoomrestore.style),h.isios4&&f(window).scrollTop(p.zoomrestore.scrollTop),p.rail.css({"z-index":p.zindex}),p.zoom.css({"z-index":p.zindex}),p.zoomrestore=!1,p.zoom.css("backgroundPosition","0px 0px"),p.onResize(),p.onzoomout&&p.onzoomout.call(p),p.cancelEvent(e)},this.doZoom=function(e){return p.zoomactive?p.doZoomOut(e):p.doZoomIn(e)},this.resizeZoom=function(){var e;p.zoomactive&&(e=p.getScrollTop(),p.win.css({width:f(window).width()-p.zoomrestore.padding.w+"px",height:f(window).height()-p.zoomrestore.padding.h+"px"}),p.onResize(),p.setScrollTop(Math.min(p.page.maxh,e)))},this.init(),f.nicescroll.push(this)}function k(e){var u=this;this.nc=e,this.steptime=this.lasttime=this.speedy=this.speedx=this.lasty=this.lastx=0,this.snapy=this.snapx=!1,this.demuly=this.demulx=0,this.lastscrolly=this.lastscrollx=-1,this.timer=this.chky=this.chkx=0,this.time=function(){return+new Date},this.reset=function(e,t){u.stop();var r=u.time();u.steptime=0,u.lasttime=r,u.speedx=0,u.speedy=0,u.lastx=e,u.lasty=t,u.lastscrollx=-1,u.lastscrolly=-1},this.update=function(e,t){var r=u.time();u.steptime=r-u.lasttime,u.lasttime=r;var r=t-u.lasty,n=e-u.lastx,o=u.nc.getScrollTop(),i=u.nc.getScrollLeft(),o=o+r;u.snapx=(i=i+n)<0||i>u.nc.page.maxw,u.snapy=o<0||o>u.nc.page.maxh,u.speedx=n,u.speedy=r,u.lastx=e,u.lasty=t},this.stop=function(){u.nc.unsynched("domomentum2d"),u.timer&&clearTimeout(u.timer),u.timer=0,u.lastscrollx=-1,u.lastscrolly=-1},this.doSnapy=function(e,t){var r=!1;t<0?r=!(t=0):t>u.nc.page.maxh&&(t=u.nc.page.maxh,r=!0),e<0?r=!(e=0):e>u.nc.page.maxw&&(e=u.nc.page.maxw,r=!0),r?u.nc.doScrollPos(e,t,u.nc.opt.snapbackspeed):u.nc.triggerScrollEnd()},this.doMomentum=function(e){var t=u.time(),r=e?t+e:u.lasttime;e=u.nc.getScrollLeft();var n,o,i,a,s=u.nc.getScrollTop(),c=u.nc.page.maxh,l=u.nc.page.maxw;u.speedx=0<l?Math.min(60,u.speedx):0,u.speedy=0<c?Math.min(60,u.speedy):0,r=s<0||c<s||e<0||l<e?!1:r&&t-r<=60,e=!(!u.speedx||!r)&&u.speedx,u.speedy&&r&&u.speedy||e?(50<(n=Math.max(16,u.steptime))&&(e=n/50,u.speedx*=e,u.speedy*=e,n=50),u.demulxy=0,u.lastscrollx=u.nc.getScrollLeft(),u.chkx=u.lastscrollx,u.lastscrolly=u.nc.getScrollTop(),u.chky=u.lastscrolly,o=u.lastscrollx,i=u.lastscrolly,(a=function(){var e=600<u.time()-t?.04:.02;u.speedx&&(o=Math.floor(u.lastscrollx-u.speedx*(1-u.demulxy)),(u.lastscrollx=o)<0||l<o)&&(e=.1),u.speedy&&(i=Math.floor(u.lastscrolly-u.speedy*(1-u.demulxy)),(u.lastscrolly=i)<0||c<i)&&(e=.1),u.demulxy=Math.min(1,u.demulxy+e),u.nc.synched("domomentum2d",function(){u.speedx&&(u.nc.getScrollLeft()!=u.chkx&&u.stop(),u.chkx=o,u.nc.setScrollLeft(o)),u.speedy&&(u.nc.getScrollTop()!=u.chky&&u.stop(),u.chky=i,u.nc.setScrollTop(i)),u.timer||(u.nc.hideCursor(),u.doSnapy(o,i))}),u.demulxy<1?u.timer=setTimeout(a,n):(u.stop(),u.nc.hideCursor(),u.doSnapy(o,i))})()):u.doSnapy(u.nc.getScrollLeft(),u.nc.getScrollTop())}}var r,v=window.MutationObserver||window.WebKitMutationObserver||!1,x={zindex:"auto",cursoropacitymin:0,cursoropacitymax:1,cursorcolor:"#424242",cursorwidth:"5px",cursorborder:"1px solid #fff",cursorborderradius:"5px",scrollspeed:60,mousescrollstep:24,touchbehavior:!1,hwacceleration:!0,usetransition:!0,boxzoom:!1,dblclickzoom:!0,gesturezoom:!0,grabcursorenabled:!0,autohidemode:!0,background:"",iframeautoresize:!0,cursorminheight:32,preservenativescrolling:!0,railoffset:!1,railhoffset:!1,bouncescroll:!0,spacebarenabled:!0,railpadding:{top:0,right:0,left:0,bottom:0},disableoutline:!0,horizrailenabled:!0,railalign:"right",railvalign:"bottom",enabletranslate3d:!0,enablemousewheel:!0,enablekeyboard:!0,smoothscroll:!0,sensitiverail:!0,enablemouselockapi:!0,cursorfixedheight:!1,directionlockdeadzone:6,hidecursordelay:400,nativeparentscrolling:!0,enablescrollonselection:!0,overflowx:!0,overflowy:!0,cursordragspeed:.3,rtlmode:"auto",cursordragontouch:!1,oneaxismousemode:"auto",scriptpath:0<(r=(r=document.getElementsByTagName("script")).length?r[r.length-1].src.split("?")[0]:"").split("/").length?r.split("/").slice(0,-1).join("/")+"/":"",preventmultitouchscrolling:!0},z=!1,n=f.fn.scrollTop;f.cssHooks.pageYOffset={get:function(e,t,r){return(t=f.data(e,"__nicescroll")||!1)&&t.ishwscroll?t.getScrollTop():n.call(e)},set:function(e,t){var r=f.data(e,"__nicescroll")||!1;return r&&r.ishwscroll?r.setScrollTop(parseInt(t)):n.call(e,t),this}},f.fn.scrollTop=function(t){if(void 0!==t)return this.each(function(){var e=f.data(this,"__nicescroll")||!1;e&&e.ishwscroll?e.setScrollTop(parseInt(t)):n.call(f(this),t)});var e=this[0]&&f.data(this[0],"__nicescroll")||!1;return e&&e.ishwscroll?e.getScrollTop():n.call(this)};var i=f.fn.scrollLeft;f.cssHooks.pageXOffset={get:function(e,t,r){return(t=f.data(e,"__nicescroll")||!1)&&t.ishwscroll?t.getScrollLeft():i.call(e)},set:function(e,t){var r=f.data(e,"__nicescroll")||!1;return r&&r.ishwscroll?r.setScrollLeft(parseInt(t)):i.call(e,t),this}},f.fn.scrollLeft=function(t){if(void 0!==t)return this.each(function(){var e=f.data(this,"__nicescroll")||!1;e&&e.ishwscroll?e.setScrollLeft(parseInt(t)):i.call(f(this),t)});var e=this[0]&&f.data(this[0],"__nicescroll")||!1;return e&&e.ishwscroll?e.getScrollLeft():i.call(this)};function a(e){var n=this;if(this.length=0,this.name="nicescrollarray",this.each=function(e){for(var t=0,r=0;t<n.length;t++)e.call(n[t],r++);return n},this.push=function(e){n[n.length]=e,n.length++},this.eq=function(e){return n[e]},e)for(var t=0;t<e.length;t++){var r=f.data(e[t],"__nicescroll")||!1;r&&(this[this.length]=r,this.length++)}return this}!function(e,t){for(var r=0;r<t.length;r++)!function(e,t){e[t]=function(){var e=arguments;return this.each(function(){this[t].apply(this,e)})}}(e,t[r])}(a.prototype,"show hide toggle onResize resize remove stop doScrollPos".split(" ")),f.fn.getNiceScroll=function(e){return void 0===e?new a(this):this[e]&&f.data(this[e],"__nicescroll")||!1},f.extend(f.expr[":"],{nicescroll:function(e){return!!f.data(e,"__nicescroll")}}),f.fn.niceScroll=function(e,t){void 0!==t||"object"!=typeof e||"jquery"in e||(t=e,e=!1),t=f.extend({},t);var r=new a;void 0===t&&(t={}),e&&(t.doc=f(e),t.win=f(this));var n=!("doc"in t);return n||"win"in t||(t.win=f(this)),this.each(function(){var e=f(this).data("__nicescroll")||!1;e||(t.doc=n?f(this):t.doc,e=new o(t,f(this)),f(this).data("__nicescroll",e)),r.push(e)}),1==r.length?r[0]:r},window.NiceScroll={getjQuery:function(){return f}},f.nicescroll||(f.nicescroll=new a,f.nicescroll.options=x)}),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery-ui/ui/widget"],e):"object"==typeof exports?e(require("jquery"),require("./vendor/jquery.ui.widget")):e(window.jQuery)}(function(y){"use strict";function e(r){var n="dragover"===r;return function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var t=e.dataTransfer;t&&-1!==y.inArray("Files",t.types)&&!1!==this._trigger(r,y.Event(r,{delegatedEvent:e}))&&(e.preventDefault(),n&&(t.dropEffect="copy"))}}y.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||y('<input type="file"/>').prop("disabled")),y.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),y.support.xhrFormDataFileUpload=!!window.FormData,y.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),y.widget("blueimp.fileupload",{options:{dropZone:y(document),pasteZone:void 0,fileInput:void 0,replaceFileInput:!0,paramName:void 0,singleFileUploads:!0,limitMultiFileUploads:void 0,limitMultiFileUploadSize:void 0,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:void 0,forceIframeTransport:!1,redirect:void 0,redirectParamName:void 0,postMessage:void 0,multipart:!0,maxChunkSize:void 0,uploadedBytes:void 0,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(r,e){return r=this.messages[r]||r.toString(),e&&y.each(e,function(e,t){r=r.replace("{"+e+"}",t)}),r},formData:function(e){return e.serializeArray()},add:function(e,t){if(e.isDefaultPrevented())return!1;(t.autoUpload||!1!==t.autoUpload&&y(this).fileupload("option","autoUpload"))&&t.process().done(function(){t.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:y.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,r){var n=e-this.timestamp;return this.bitrate&&r&&!(r<n)||(this.bitrate=(t-this.loaded)*(1e3/n)*8,this.loaded=t,this.timestamp=e),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&y.support.xhrFileUpload||y.support.xhrFormDataFileUpload)},_getFormData:function(e){var r;return"function"===y.type(e.formData)?e.formData(e.form):y.isArray(e.formData)?e.formData:"object"===y.type(e.formData)?(r=[],y.each(e.formData,function(e,t){r.push({name:e,value:t})}),r):[]},_getTotal:function(e){var r=0;return y.each(e,function(e,t){r+=t.size||1}),r},_initProgressObject:function(e){var t={loaded:0,total:0,bitrate:0};e._progress?y.extend(e._progress,t):e._progress=t},_initResponseObject:function(e){if(e._response)for(var t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(e,t){var r,n;e.lengthComputable&&(r=Date.now?Date.now():(new Date).getTime(),t._time&&t.progressInterval&&r-t._time<t.progressInterval&&e.loaded!==e.total||(t._time=r,n=Math.floor(e.loaded/e.total*(t.chunkSize||t._progress.total))+(t.uploadedBytes||0),this._progress.loaded+=n-t._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(r,this._progress.loaded,t.bitrateInterval),t._progress.loaded=t.loaded=n,t._progress.bitrate=t.bitrate=t._bitrateTimer.getBitrate(r,n,t.bitrateInterval),this._trigger("progress",y.Event("progress",{delegatedEvent:e}),t),this._trigger("progressall",y.Event("progressall",{delegatedEvent:e}),this._progress)))},_initProgressListener:function(r){var n=this,e=(r.xhr?r:y.ajaxSettings).xhr();e.upload&&(y(e.upload).bind("progress",function(e){var t=e.originalEvent;e.lengthComputable=t.lengthComputable,e.loaded=t.loaded,e.total=t.total,n._onProgress(e,r)}),r.xhr=function(){return e})},_deinitProgressListener:function(e){e=(e.xhr?e:y.ajaxSettings).xhr();e.upload&&y(e.upload).unbind("progress")},_isInstanceOf:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},_initXHRData:function(r){var n,o=this,e=r.files[0],t=r.multipart||!y.support.xhrFileUpload,i="array"===y.type(r.paramName)?r.paramName[0]:r.paramName;r.headers=y.extend({},r.headers),r.contentRange&&(r.headers["Content-Range"]=r.contentRange),t&&!r.blob&&this._isInstanceOf("File",e)||(r.headers["Content-Disposition"]='attachment; filename="'+encodeURI(e.uploadName||e.name)+'"'),t?y.support.xhrFormDataFileUpload&&(r.postMessage?(n=this._getFormData(r),r.blob?n.push({name:i,value:r.blob}):y.each(r.files,function(e,t){n.push({name:"array"===y.type(r.paramName)&&r.paramName[e]||i,value:t})})):(o._isInstanceOf("FormData",r.formData)?n=r.formData:(n=new FormData,y.each(this._getFormData(r),function(e,t){n.append(t.name,t.value)})),r.blob?n.append(i,r.blob,e.uploadName||e.name):y.each(r.files,function(e,t){(o._isInstanceOf("File",t)||o._isInstanceOf("Blob",t))&&n.append("array"===y.type(r.paramName)&&r.paramName[e]||i,t,t.uploadName||t.name)})),r.data=n):(r.contentType=e.type||"application/octet-stream",r.data=r.blob||e),r.blob=null},_initIframeSettings:function(e){var t=y("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&t&&t!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(e){var t=y(e.fileInput),n=e.paramName;return n?y.isArray(n)||(n=[n]):(n=[],t.each(function(){for(var e=y(this),t=e.prop("name")||"files[]",r=(e.prop("files")||[1]).length;r;)n.push(t),--r}),n.length||(n=[t.prop("name")||"files[]"])),n},_initFormSettings:function(e){e.form&&e.form.length||(e.form=y(e.fileInput.prop("form")),e.form.length||(e.form=y(this.options.fileInput.prop("form")))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===y.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){e=y.extend({},this.options,e);return this._initFormSettings(e),this._initDataSettings(e),e},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(e,t,r){var n=y.Deferred(),o=n.promise();return t=t||this.options.context||o,!0===e?n.resolveWith(t,r):!1===e&&n.rejectWith(t,r),o.abort=n.promise,this._enhancePromise(o)},_addConvenienceMethods:function(e,r){function n(e){return y.Deferred().resolveWith(o,e).promise()}var o=this;r.process=function(e,t){return(e||t)&&(r._processQueue=this._processQueue=(this._processQueue||n([this])).then(function(){return r.errorThrown?y.Deferred().rejectWith(o,[r]).promise():n(arguments)}).then(e,t)),this._processQueue||n([this])},r.submit=function(){return"pending"!==this.state()&&(r.jqXHR=this.jqXHR=!1!==o._trigger("submit",y.Event("submit",{delegatedEvent:e}),this)&&o._onSend(e,this)),this.jqXHR||o._getXHRPromise()},r.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",o._trigger("fail",null,this),o._getXHRPromise(!1))},r.state=function(){return this.jqXHR?o._getDeferredState(this.jqXHR):this._processQueue?o._getDeferredState(this._processQueue):void 0},r.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===o._getDeferredState(this._processQueue)},r.progress=function(){return this._progress},r.response=function(){return this._response}},_getUploadedBytes:function(e){e=e.getResponseHeader("Range"),e=e&&e.split("-"),e=e&&1<e.length&&parseInt(e[1],10);return e&&e+1},_chunkedUpload:function(i,e){i.uploadedBytes=i.uploadedBytes||0;var t,a,s=this,r=i.files[0],c=r.size,l=i.uploadedBytes,u=i.maxChunkSize||c,d=this._blobSlice,p=y.Deferred(),n=p.promise();return!(!(this._isXHRUpload(i)&&d&&(l||("function"===y.type(u)?u(i):u)<c))||i.data)&&(!!e||(c<=l?(r.error=i.i18n("uploadedBytes"),this._getXHRPromise(!1,i.context,[null,"error",r.error])):(a=function(){var n=y.extend({},i),o=n._progress.loaded;n.blob=d.call(r,l,l+("function"===y.type(u)?u(n):u),r.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+l+"-"+(l+n.chunkSize-1)+"/"+c,s._trigger("chunkbeforesend",null,n),s._initXHRData(n),s._initProgressListener(n),t=(!1!==s._trigger("chunksend",null,n)&&y.ajax(n)||s._getXHRPromise(!1,n.context)).done(function(e,t,r){l=s._getUploadedBytes(r)||l+n.chunkSize,o+n.chunkSize-n._progress.loaded&&s._onProgress(y.Event("progress",{lengthComputable:!0,loaded:l-n.uploadedBytes,total:l-n.uploadedBytes}),n),i.uploadedBytes=n.uploadedBytes=l,n.result=e,n.textStatus=t,n.jqXHR=r,s._trigger("chunkdone",null,n),s._trigger("chunkalways",null,n),l<c?a():p.resolveWith(n.context,[e,t,r])}).fail(function(e,t,r){n.jqXHR=e,n.textStatus=t,n.errorThrown=r,s._trigger("chunkfail",null,n),s._trigger("chunkalways",null,n),p.rejectWith(n.context,[e,t,r])}).always(function(){s._deinitProgressListener(n)})},this._enhancePromise(n),n.abort=function(){return t.abort()},a(),n)))},_beforeSend:function(e,t){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(t),this._initProgressObject(t),t._progress.loaded=t.loaded=t.uploadedBytes||0,t._progress.total=t.total=this._getTotal(t.files)||1,t._progress.bitrate=t.bitrate=0,this._active+=1,this._progress.loaded+=t.loaded,this._progress.total+=t.total},_onDone:function(e,t,r,n){var o=n._progress.total,i=n._response;n._progress.loaded<o&&this._onProgress(y.Event("progress",{lengthComputable:!0,loaded:o,total:o}),n),i.result=n.result=e,i.textStatus=n.textStatus=t,i.jqXHR=n.jqXHR=r,this._trigger("done",null,n)},_onFail:function(e,t,r,n){var o=n._response;n.recalculateProgress&&(this._progress.loaded-=n._progress.loaded,this._progress.total-=n._progress.total),o.jqXHR=n.jqXHR=e,o.textStatus=n.textStatus=t,o.errorThrown=n.errorThrown=r,this._trigger("fail",null,n)},_onAlways:function(e,t,r,n){this._trigger("always",null,n)},_onSend:function(e,t){t.submit||this._addConvenienceMethods(e,t);function r(){return a._sending+=1,s._bitrateTimer=new a._BitrateTimer,n=n||((o||!1===a._trigger("send",y.Event("send",{delegatedEvent:e}),s))&&a._getXHRPromise(!1,s.context,o)||a._chunkedUpload(s)||y.ajax(s)).done(function(e,t,r){a._onDone(e,t,r,s)}).fail(function(e,t,r){a._onFail(e,t,r,s)}).always(function(e,t,r){if(a._deinitProgressListener(s),a._onAlways(e,t,r,s),--a._sending,--a._active,s.limitConcurrentUploads&&s.limitConcurrentUploads>a._sending)for(var n=a._slots.shift();n;){if("pending"===a._getDeferredState(n)){n.resolve();break}n=a._slots.shift()}0===a._active&&a._trigger("stop")})}var n,o,i,a=this,s=a._getAJAXSettings(t);return this._beforeSend(e,s),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((t=1<this.options.limitConcurrentUploads?(i=y.Deferred(),this._slots.push(i),i.then(r)):(this._sequence=this._sequence.then(r,r),this._sequence)).abort=function(){return o=[void 0,"abort","abort"],n?n.abort():(i&&i.rejectWith(s.context,o),r())},this._enhancePromise(t)):r()},_onAdd:function(n,o){var i,e,a,t,s=this,c=!0,r=y.extend({},this.options,o),l=o.files,u=l.length,d=r.limitMultiFileUploads,p=r.limitMultiFileUploadSize,h=r.limitMultiFileUploadSizeOverhead,f=0,m=this._getParamName(r),g=0;if(!u)return!1;if(p&&void 0===l[0].size&&(p=void 0),(r.singleFileUploads||d||p)&&this._isXHRUpload(r))if(r.singleFileUploads||p||!d)if(!r.singleFileUploads&&p)for(a=[],i=[],t=0;t<u;t+=1)f+=l[t].size+h,(t+1===u||f+l[t+1].size+h>p||d&&d<=t+1-g)&&(a.push(l.slice(g,t+1)),(e=m.slice(g,t+1)).length||(e=m),i.push(e),g=t+1,f=0);else i=m;else for(a=[],i=[],t=0;t<u;t+=d)a.push(l.slice(t,t+d)),(e=m.slice(t,t+d)).length||(e=m),i.push(e);else a=[l],i=[m];return o.originalFiles=l,y.each(a||l,function(e,t){var r=y.extend({},o);return r.files=a?t:[t],r.paramName=i[e],s._initResponseObject(r),s._initProgressObject(r),s._addConvenienceMethods(n,r),c=s._trigger("add",y.Event("add",{delegatedEvent:n}),r)}),c},_replaceFileInput:function(e){var r=e.fileInput,n=r.clone(!0),t=r.is(document.activeElement);e.fileInputClone=n,y("<form></form>").append(n)[0].reset(),r.after(n).detach(),t&&n.focus(),y.cleanData(r.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===r[0]?n[0]:t}),r[0]===this.element[0]&&(this.element=n)},_handleFileTreeEntry:function(t,r){var e,n=this,o=y.Deferred(),i=[],a=function(e){e&&!e.entry&&(e.entry=t),o.resolve([e])},s=function(e){n._handleFileTreeEntries(e,r+t.name+"/").done(function(e){o.resolve(e)}).fail(a)},c=function(){e.readEntries(function(e){e.length?(i=i.concat(e),c()):s(i)},a)};return r=r||"",t.isFile?t._file?(t._file.relativePath=r,o.resolve(t._file)):t.file(function(e){e.relativePath=r,o.resolve(e)},a):t.isDirectory?(e=t.createReader(),c()):o.resolve([]),o.promise()},_handleFileTreeEntries:function(e,t){var r=this;return y.when.apply(y,y.map(e,function(e){return r._handleFileTreeEntry(e,t)})).then(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var t=(e=e||{}).items;return t&&t.length&&(t[0].webkitGetAsEntry||t[0].getAsEntry)?this._handleFileTreeEntries(y.map(t,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):y.Deferred().resolve(y.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var t=(e=y(e)).prop("webkitEntries")||e.prop("entries");if(t&&t.length)return this._handleFileTreeEntries(t);if((t=y.makeArray(e.prop("files"))).length)void 0===t[0].name&&t[0].fileName&&y.each(t,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(!(e=e.prop("value")))return y.Deferred().resolve([]).promise();t=[{name:e.replace(/^.*\\/,"")}]}return y.Deferred().resolve(t).promise()},_getFileInputFiles:function(e){return e instanceof y&&1!==e.length?y.when.apply(y,y.map(e,this._getSingleFileInputFiles)).then(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(t){var r=this,n={fileInput:y(t.target),form:y(t.target.form)};this._getFileInputFiles(n.fileInput).always(function(e){n.files=e,r.options.replaceFileInput&&r._replaceFileInput(n),!1!==r._trigger("change",y.Event("change",{delegatedEvent:t}),n)&&r._onAdd(t,n)})},_onPaste:function(e){var t=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,r={files:[]};t&&t.length&&(y.each(t,function(e,t){t=t.getAsFile&&t.getAsFile();t&&r.files.push(t)}),!1!==this._trigger("paste",y.Event("paste",{delegatedEvent:e}),r)&&this._onAdd(e,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var r=this,e=t.dataTransfer,n={};e&&e.files&&e.files.length&&(t.preventDefault(),this._getDroppedFiles(e).always(function(e){n.files=e,!1!==r._trigger("drop",y.Event("drop",{delegatedEvent:t}),n)&&r._onAdd(t,n)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),y.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,t){var r=-1!==y.inArray(e,this._specialOptions);r&&this._destroyEventHandlers(),this._super(e,t),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;void 0===e.fileInput?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof y||(e.fileInput=y(e.fileInput)),e.dropZone instanceof y||(e.dropZone=y(e.dropZone)),e.pasteZone instanceof y||(e.pasteZone=y(e.pasteZone))},_getRegExp:function(e){var t=e.split("/"),e=t.pop();return t.shift(),new RegExp(t.join("/"),e)},_isRegExpOption:function(e,t){return"url"!==e&&"string"===y.type(t)&&/^\/.*\/[igm]{0,3}$/.test(t)},_initDataAttributes:function(){var n=this,o=this.options,i=this.element.data();y.each(this.element[0].attributes,function(e,t){var r=t.name.toLowerCase();/^data-/.test(r)&&(r=r.slice(5).replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()}),t=i[r],n._isRegExpOption(r,t)&&(t=n._getRegExp(t)),o[r]=t)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var r=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,r._onAdd(null,t)}):(t.files=y.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var r,n,o=this,i=y.Deferred(),e=i.promise();return e.abort=function(){return n=!0,r?r.abort():(i.reject(null,"abort","abort"),e)},this._getFileInputFiles(t.fileInput).always(function(e){n||(e.length?(t.files=e,(r=o._onSend(null,t)).then(function(e,t,r){i.resolve(e,t,r)},function(e,t,r){i.reject(e,t,r)})):i.reject())}),this._enhancePromise(e)}if(t.files=y.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery)}(function(c){"use strict";var r=0,t=c,n="parseJSON";"JSON"in window&&"parse"in JSON&&(t=JSON,n="parse"),c.ajaxTransport("iframe",function(o){if(o.async){var i,a,t,s=o.initialIframeSrc||"javascript:false;";return{send:function(e,n){(i=c('<form style="display:none;"></form>')).attr("accept-charset",o.formAcceptCharset),t=/\?/.test(o.url)?"&":"?","DELETE"===o.type?(o.url=o.url+t+"_method=DELETE",o.type="POST"):"PUT"===o.type?(o.url=o.url+t+"_method=PUT",o.type="POST"):"PATCH"===o.type&&(o.url=o.url+t+"_method=PATCH",o.type="POST"),a=c('<iframe src="'+s+'" name="iframe-transport-'+(r+=1)+'"></iframe>').bind("load",function(){var r,t=c.isArray(o.paramName)?o.paramName:[o.paramName];a.unbind("load").bind("load",function(){var t;try{if(!(t=a.contents()).length||!t[0].firstChild)throw new Error}catch(e){t=void 0}n(200,"success",{iframe:t}),c('<iframe src="'+s+'"></iframe>').appendTo(i),window.setTimeout(function(){i.remove()},0)}),i.prop("target",a.prop("name")).prop("action",o.url).prop("method",o.type),o.formData&&c.each(o.formData,function(e,t){c('<input type="hidden"/>').prop("name",t.name).val(t.value).appendTo(i)}),o.fileInput&&o.fileInput.length&&"POST"===o.type&&(r=o.fileInput.clone(),o.fileInput.after(function(e){return r[e]}),o.paramName&&o.fileInput.each(function(e){c(this).prop("name",t[e]||o.paramName)}),i.append(o.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data"),o.fileInput.removeAttr("form")),i.submit(),r&&r.length&&o.fileInput.each(function(e,t){e=c(r[e]);c(t).prop("name",e.prop("name")).attr("form",e.attr("form")),e.replaceWith(t)})}),i.append(a).appendTo(document.body)},abort:function(){a&&a.unbind("load").prop("src",s),i&&i.remove()}}}}),c.ajaxSetup({converters:{"iframe text":function(e){return e&&c(e[0].body).text()},"iframe json":function(e){return e&&t[n](c(e[0].body).text())},"iframe html":function(e){return e&&c(e[0].body).html()},"iframe xml":function(e){e=e&&e[0];return e&&c.isXMLDoc(e)?e:c.parseXML(e.XMLDocument&&e.XMLDocument.xml||c(e.body).html())},"iframe script":function(e){return e&&c.globalEval(c(e[0].body).text())}}})}),function(){"use strict";function e(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function r(e){if(!this||this.find!==r.prototype.find)return new r(e);if(this.length=0,e)if((e="string"==typeof e?this.find(e):e).nodeType||e===e.window)this.length=1,this[0]=e;else{var t=e.length;for(this.length=t;t;)this[--t]=e[t]}}r.extend=e,r.contains=function(e,t){do{if((t=t.parentNode)===e)return!0}while(t);return!1},r.parseJSON=function(e){return window.JSON&&JSON.parse(e)},e(r.prototype,{find:function(e){var t=this[0]||document;return new r(e="string"==typeof e?t.querySelectorAll?t.querySelectorAll(e):"#"===e.charAt(0)?t.getElementById(e.slice(1)):t.getElementsByTagName(e):e)},hasClass:function(e){return!!this[0]&&new RegExp("(^|\\s+)"+e+"(\\s+|$)").test(this[0].className)},addClass:function(e){for(var t,r=this.length;r;){if(!(t=this[--r]).className)return t.className=e,this;if(this.hasClass(e))return this;t.className+=" "+e}return this},removeClass:function(e){for(var t,r=new RegExp("(^|\\s+)"+e+"(\\s+|$)"),n=this.length;n;)(t=this[--n]).className=t.className.replace(r," ");return this},on:function(e,t){for(var r,n,o=e.split(/\s+/);o.length;)for(e=o.shift(),r=this.length;r;)(n=this[--r]).addEventListener?n.addEventListener(e,t,!1):n.attachEvent&&n.attachEvent("on"+e,t);return this},off:function(e,t){for(var r,n,o=e.split(/\s+/);o.length;)for(e=o.shift(),r=this.length;r;)(n=this[--r]).removeEventListener?n.removeEventListener(e,t,!1):n.detachEvent&&n.detachEvent("on"+e,t);return this},empty:function(){for(var e,t=this.length;t;)for(e=this[--t];e.hasChildNodes();)e.removeChild(e.lastChild);return this},first:function(){return new r(this[0])}}),"function"==typeof define&&define.amd?define(function(){return r}):(window.blueimp=window.blueimp||{},window.blueimp.helper=r)}(),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper"],e):(window.blueimp=window.blueimp||{},window.blueimp.Gallery=e(window.blueimp.helper||window.jQuery))}(function(u){"use strict";function r(e,t){return void 0===document.body.style.maxHeight?null:this&&this.options===r.prototype.options?void(e&&e.length?(this.list=e,this.num=e.length,this.initOptions(t),this.initialize()):this.console.log("blueimp Gallery: No or empty list provided as first argument.",e)):new r(e,t)}return u.extend(r.prototype,{options:{container:"#blueimp-gallery",slidesContainer:"div",titleElement:"h3",displayClass:"blueimp-gallery-display",controlsClass:"blueimp-gallery-controls",singleClass:"blueimp-gallery-single",leftEdgeClass:"blueimp-gallery-left",rightEdgeClass:"blueimp-gallery-right",playingClass:"blueimp-gallery-playing",slideClass:"slide",slideLoadingClass:"slide-loading",slideErrorClass:"slide-error",slideContentClass:"slide-content",toggleClass:"toggle",prevClass:"prev",nextClass:"next",closeClass:"close",playPauseClass:"play-pause",typeProperty:"type",titleProperty:"title",altTextProperty:"alt",urlProperty:"href",srcsetProperty:"urlset",displayTransition:!0,clearSlides:!0,stretchImages:!1,toggleControlsOnReturn:!0,toggleControlsOnSlideClick:!0,toggleSlideshowOnSpace:!0,enableKeyboardNavigation:!0,closeOnEscape:!0,closeOnSlideClick:!0,closeOnSwipeUpOrDown:!0,emulateTouchEvents:!0,stopTouchEventsPropagation:!1,hidePageScrollbars:!0,disableScroll:!0,carousel:!1,continuous:!0,unloadElements:!0,startSlideshow:!1,slideshowInterval:5e3,slideshowDirection:"ltr",index:0,preloadRange:2,transitionSpeed:400,slideshowTransitionSpeed:void 0,event:void 0,onopen:void 0,onopened:void 0,onslide:void 0,onslideend:void 0,onslidecomplete:void 0,onclose:void 0,onclosed:void 0},carouselOptions:{hidePageScrollbars:!1,toggleControlsOnReturn:!1,toggleSlideshowOnSpace:!1,enableKeyboardNavigation:!1,closeOnEscape:!1,closeOnSlideClick:!1,closeOnSwipeUpOrDown:!1,disableScroll:!1,startSlideshow:!0},console:window.console&&"function"==typeof window.console.log?window.console:{log:function(){}},support:function(n){var e,o={touch:void 0!==window.ontouchstart||window.DocumentTouch&&document instanceof DocumentTouch},t={webkitTransition:{end:"webkitTransitionEnd",prefix:"-webkit-"},MozTransition:{end:"transitionend",prefix:"-moz-"},OTransition:{end:"otransitionend",prefix:"-o-"},transition:{end:"transitionend",prefix:""}};for(e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&void 0!==n.style[e]){o.transition=t[e],o.transition.name=e;break}function r(){var e,t,r=o.transition;document.body.appendChild(n),r&&(e=r.name.slice(0,-9)+"ransform",void 0!==n.style[e]&&(n.style[e]="translateZ(0)",t=window.getComputedStyle(n).getPropertyValue(r.prefix+"transform"),o.transform={prefix:r.prefix,name:e,translate:!0,translateZ:!!t&&"none"!==t})),void 0!==n.style.backgroundSize&&(o.backgroundSize={},n.style.backgroundSize="contain",o.backgroundSize.contain="contain"===window.getComputedStyle(n).getPropertyValue("background-size"),n.style.backgroundSize="cover",o.backgroundSize.cover="cover"===window.getComputedStyle(n).getPropertyValue("background-size")),document.body.removeChild(n)}return document.body?r():u(document).on("DOMContentLoaded",r),o}(document.createElement("div")),requestAnimationFrame:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,cancelAnimationFrame:window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame,initialize:function(){if(this.initStartIndex(),!1===this.initWidget())return!1;this.initEventListeners(),this.onslide(this.index),this.ontransitionend(),this.options.startSlideshow&&this.play()},slide:function(e,t){window.clearTimeout(this.timeout);var r,n,o,i=this.index;if(i!==e&&1!==this.num){if(t=t||this.options.transitionSpeed,this.support.transform){for(this.options.continuous||(e=this.circle(e)),r=Math.abs(i-e)/(i-e),this.options.continuous&&(n=r,(r=-this.positions[this.circle(e)]/this.slideWidth)!==n&&(e=-r*this.num+e)),o=Math.abs(i-e)-1;o;)this.move(this.circle((i<e?e:i)- --o-1),this.slideWidth*r,0);e=this.circle(e),this.move(i,this.slideWidth*r,t),this.move(e,0,t),this.options.continuous&&this.move(this.circle(e-r),-this.slideWidth*r,0)}else e=this.circle(e),this.animate(i*-this.slideWidth,e*-this.slideWidth,t);this.onslide(e)}},getIndex:function(){return this.index},getNumber:function(){return this.num},prev:function(){(this.options.continuous||this.index)&&this.slide(this.index-1)},next:function(){(this.options.continuous||this.index<this.num-1)&&this.slide(this.index+1)},play:function(e){var r=this,t=this.index+("rtl"===this.options.slideshowDirection?-1:1);window.clearTimeout(this.timeout),this.interval=e||this.options.slideshowInterval,1<this.elements[this.index]&&(this.timeout=this.setTimeout(!this.requestAnimationFrame&&this.slide||function(e,t){r.animationFrameId=r.requestAnimationFrame.call(window,function(){r.slide(e,t)})},[t,this.options.slideshowTransitionSpeed],this.interval)),this.container.addClass(this.options.playingClass)},pause:function(){window.clearTimeout(this.timeout),this.interval=null,this.cancelAnimationFrame&&(this.cancelAnimationFrame.call(window,this.animationFrameId),this.animationFrameId=null),this.container.removeClass(this.options.playingClass)},add:function(e){var t;for(e.concat||(e=Array.prototype.slice.call(e)),this.list.concat||(this.list=Array.prototype.slice.call(this.list)),this.list=this.list.concat(e),this.num=this.list.length,2<this.num&&null===this.options.continuous&&(this.options.continuous=!0,this.container.removeClass(this.options.leftEdgeClass)),this.container.removeClass(this.options.rightEdgeClass).removeClass(this.options.singleClass),t=this.num-e.length;t<this.num;t+=1)this.addSlide(t),this.positionSlide(t);this.positions.length=this.num,this.initSlides(!0)},resetSlides:function(){this.slidesContainer.empty(),this.unloadAllSlides(),this.slides=[]},handleClose:function(){var e=this.options;this.destroyEventListeners(),this.pause(),this.container[0].style.display="none",this.container.removeClass(e.displayClass).removeClass(e.singleClass).removeClass(e.leftEdgeClass).removeClass(e.rightEdgeClass),e.hidePageScrollbars&&(document.body.style.overflow=this.bodyOverflowStyle),this.options.clearSlides&&this.resetSlides(),this.options.onclosed&&this.options.onclosed.call(this)},close:function(){var r=this;this.options.onclose&&this.options.onclose.call(this),this.support.transition&&this.options.displayTransition?(this.container.on(this.support.transition.end,function e(t){t.target===r.container[0]&&(r.container.off(r.support.transition.end,e),r.handleClose())}),this.container.removeClass(this.options.displayClass)):this.handleClose()},circle:function(e){return(this.num+e%this.num)%this.num},move:function(e,t,r){this.translateX(e,t,r),this.positions[e]=t},translate:function(e,t,r,n){var o,i;this.slides[e]&&(o=this.slides[e].style,i=this.support.transition,e=this.support.transform,o[i.name+"Duration"]=n+"ms",o[e.name]="translate("+t+"px, "+r+"px)"+(e.translateZ?" translateZ(0)":""))},translateX:function(e,t,r){this.translate(e,t,0,r)},translateY:function(e,t,r){this.translate(e,0,t,r)},animate:function(t,r,n){var o,i,a;n?(o=this,i=(new Date).getTime(),a=window.setInterval(function(){var e=(new Date).getTime()-i;if(n<e)return o.slidesContainer[0].style.left=r+"px",o.ontransitionend(),void window.clearInterval(a);o.slidesContainer[0].style.left=(r-t)*(Math.floor(e/n*100)/100)+t+"px"},4)):this.slidesContainer[0].style.left=r+"px"},preventDefault:function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},onresize:function(){this.initSlides(!0)},onmousedown:function(e){e.which&&1===e.which&&"VIDEO"!==e.target.nodeName&&"AUDIO"!==e.target.nodeName&&(e.preventDefault(),(e.originalEvent||e).touches=[{pageX:e.pageX,pageY:e.pageY}],this.ontouchstart(e))},onmousemove:function(e){this.touchStart&&((e.originalEvent||e).touches=[{pageX:e.pageX,pageY:e.pageY}],this.ontouchmove(e))},onmouseup:function(e){this.touchStart&&(this.ontouchend(e),delete this.touchStart)},onmouseout:function(e){var t,r;this.touchStart&&(t=e.target,(r=e.relatedTarget)&&(r===t||u.contains(t,r))||this.onmouseup(e))},ontouchstart:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);e=(e.originalEvent||e).touches[0];this.touchStart={x:e.pageX,y:e.pageY,time:Date.now()},this.isScrolling=void 0,this.touchDelta={}},ontouchmove:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t,r,n=(e.originalEvent||e).touches[0],o=(e.originalEvent||e).scale,i=this.index;if(!(1<n.length||o&&1!==o))if(this.options.disableScroll&&e.preventDefault(),this.touchDelta={x:n.pageX-this.touchStart.x,y:n.pageY-this.touchStart.y},t=this.touchDelta.x,void 0===this.isScrolling&&(this.isScrolling=this.isScrolling||Math.abs(t)<Math.abs(this.touchDelta.y)),this.isScrolling)this.translateY(i,this.touchDelta.y+this.positions[i],0);else for(e.preventDefault(),window.clearTimeout(this.timeout),this.options.continuous?r=[this.circle(i+1),i,this.circle(i-1)]:(this.touchDelta.x=t/=!i&&0<t||i===this.num-1&&t<0?Math.abs(t)/this.slideWidth+1:1,r=[i],i&&r.push(i-1),i<this.num-1&&r.unshift(i+1));r.length;)i=r.pop(),this.translateX(i,t+this.positions[i],0)},ontouchend:function(e){this.options.stopTouchEventsPropagation&&this.stopPropagation(e);var t=this.index,r=this.options.transitionSpeed,n=this.slideWidth,o=Number(Date.now()-this.touchStart.time)<250,i=o&&20<Math.abs(this.touchDelta.x)||Math.abs(this.touchDelta.x)>n/2,a=!t&&0<this.touchDelta.x||t===this.num-1&&this.touchDelta.x<0,s=!i&&this.options.closeOnSwipeUpOrDown&&(o&&20<Math.abs(this.touchDelta.y)||Math.abs(this.touchDelta.y)>this.slideHeight/2);this.options.continuous&&(a=!1),e=this.touchDelta.x<0?-1:1,this.isScrolling?s?this.close():this.translateY(t,0,r):i&&!a?(o=t+e,s=t-e,i=n*e,a=-n*e,this.options.continuous?(this.move(this.circle(o),i,0),this.move(this.circle(t-2*e),a,0)):0<=o&&o<this.num&&this.move(o,i,0),this.move(t,this.positions[t]+i,r),this.move(this.circle(s),this.positions[this.circle(s)]+i,r),t=this.circle(s),this.onslide(t)):this.options.continuous?(this.move(this.circle(t-1),-n,r),this.move(t,0,r),this.move(this.circle(t+1),n,r)):(t&&this.move(t-1,-n,r),this.move(t,0,r),t<this.num-1&&this.move(t+1,n,r))},ontouchcancel:function(e){this.touchStart&&(this.ontouchend(e),delete this.touchStart)},ontransitionend:function(e){var t=this.slides[this.index];e&&t!==e.target||(this.interval&&this.play(),this.setTimeout(this.options.onslideend,[this.index,t]))},oncomplete:function(e){var t,r=e.target||e.srcElement,n=r&&r.parentNode;r&&n&&(t=this.getNodeIndex(n),u(n).removeClass(this.options.slideLoadingClass),"error"===e.type?(u(n).addClass(this.options.slideErrorClass),this.elements[t]=3):this.elements[t]=2,r.clientHeight>this.container[0].clientHeight&&(r.style.maxHeight=this.container[0].clientHeight),this.interval&&this.slides[this.index]===n&&this.play(),this.setTimeout(this.options.onslidecomplete,[t,n]))},onload:function(e){this.oncomplete(e)},onerror:function(e){this.oncomplete(e)},onkeydown:function(e){switch(e.which||e.keyCode){case 13:this.options.toggleControlsOnReturn&&(this.preventDefault(e),this.toggleControls());break;case 27:this.options.closeOnEscape&&(this.close(),e.stopImmediatePropagation());break;case 32:this.options.toggleSlideshowOnSpace&&(this.preventDefault(e),this.toggleSlideshow());break;case 37:this.options.enableKeyboardNavigation&&(this.preventDefault(e),this.prev());break;case 39:this.options.enableKeyboardNavigation&&(this.preventDefault(e),this.next())}},handleClick:function(e){var t=this.options,r=e.target||e.srcElement,n=r.parentNode;function o(e){return u(r).hasClass(e)||u(n).hasClass(e)}o(t.toggleClass)?(this.preventDefault(e),this.toggleControls()):o(t.prevClass)?(this.preventDefault(e),this.prev()):o(t.nextClass)?(this.preventDefault(e),this.next()):o(t.closeClass)?(this.preventDefault(e),this.close()):o(t.playPauseClass)?(this.preventDefault(e),this.toggleSlideshow()):n===this.slidesContainer[0]?t.closeOnSlideClick?(this.preventDefault(e),this.close()):t.toggleControlsOnSlideClick&&(this.preventDefault(e),this.toggleControls()):n.parentNode&&n.parentNode===this.slidesContainer[0]&&t.toggleControlsOnSlideClick&&(this.preventDefault(e),this.toggleControls())},onclick:function(e){if(!(this.options.emulateTouchEvents&&this.touchDelta&&(20<Math.abs(this.touchDelta.x)||20<Math.abs(this.touchDelta.y))))return this.handleClick(e);delete this.touchDelta},updateEdgeClasses:function(e){e?this.container.removeClass(this.options.leftEdgeClass):this.container.addClass(this.options.leftEdgeClass),e===this.num-1?this.container.addClass(this.options.rightEdgeClass):this.container.removeClass(this.options.rightEdgeClass)},handleSlide:function(e){this.options.continuous||this.updateEdgeClasses(e),this.loadElements(e),this.options.unloadElements&&this.unloadElements(e),this.setTitle(e)},onslide:function(e){this.index=e,this.handleSlide(e),this.setTimeout(this.options.onslide,[e,this.slides[e]])},setTitle:function(e){var t=this.slides[e].firstChild,e=t.title||t.alt,t=this.titleElement;t.length&&(this.titleElement.empty(),e&&t[0].appendChild(document.createTextNode(e)))},setTimeout:function(e,t,r){var n=this;return e&&window.setTimeout(function(){e.apply(n,t||[])},r||0)},imageFactory:function(e,r){var n,o,t,i,a=this,s=this.imagePrototype.cloneNode(!1),c=e,l=this.options.stretchImages;return"string"!=typeof c&&(c=this.getItemProperty(e,this.options.urlProperty),t=this.getItemProperty(e,this.options.titleProperty),i=this.getItemProperty(e,this.options.altTextProperty)||t),!0===l&&(l="contain"),(l=this.support.backgroundSize&&this.support.backgroundSize[l]&&l)?o=this.elementPrototype.cloneNode(!1):(o=s).draggable=!1,t&&(o.title=t),i&&(o.alt=i),u(s).on("load error",function e(t){if(!n){if(t={type:t.type,target:o},!o.parentNode)return a.setTimeout(e,[t]);n=!0,u(s).off("load error",e),l&&"load"===t.type&&(o.style.background='url("'+c+'") center no-repeat',o.style.backgroundSize=l),r(t)}}),s.src=c,o},createElement:function(e,t){var r=e&&this.getItemProperty(e,this.options.typeProperty),r=r&&this[r.split("/")[0]+"Factory"]||this.imageFactory,r=e&&r.call(this,e,t),e=this.getItemProperty(e,this.options.srcsetProperty);return r||(r=this.elementPrototype.cloneNode(!1),this.setTimeout(t,[{type:"error",target:r}])),e&&r.setAttribute("srcset",e),u(r).addClass(this.options.slideContentClass),r},loadElement:function(e){this.elements[e]||(this.slides[e].firstChild?this.elements[e]=u(this.slides[e]).hasClass(this.options.slideErrorClass)?3:2:(this.elements[e]=1,u(this.slides[e]).addClass(this.options.slideLoadingClass),this.slides[e].appendChild(this.createElement(this.list[e],this.proxyListener))))},loadElements:function(e){for(var t=Math.min(this.num,2*this.options.preloadRange+1),r=e,n=0;n<t;n+=1)r=this.circle(r+=n*(n%2==0?-1:1)),this.loadElement(r)},unloadElements:function(e){var t,r;for(t in this.elements)Object.prototype.hasOwnProperty.call(this.elements,t)&&(r=Math.abs(e-t))>this.options.preloadRange&&r+this.options.preloadRange<this.num&&(this.unloadSlide(t),delete this.elements[t])},addSlide:function(e){var t=this.slidePrototype.cloneNode(!1);t.setAttribute("data-index",e),this.slidesContainer[0].appendChild(t),this.slides.push(t)},positionSlide:function(e){var t=this.slides[e];t.style.width=this.slideWidth+"px",this.support.transform&&(t.style.left=e*-this.slideWidth+"px",this.move(e,this.index>e?-this.slideWidth:this.index<e?this.slideWidth:0,0))},initSlides:function(e){var t,r;for(e||(this.positions=[],this.positions.length=this.num,this.elements={},this.imagePrototype=document.createElement("img"),this.elementPrototype=document.createElement("div"),this.slidePrototype=document.createElement("div"),u(this.slidePrototype).addClass(this.options.slideClass),this.slides=this.slidesContainer[0].children,t=this.options.clearSlides||this.slides.length!==this.num),this.slideWidth=this.container[0].clientWidth,this.slideHeight=this.container[0].clientHeight,this.slidesContainer[0].style.width=this.num*this.slideWidth+"px",t&&this.resetSlides(),r=0;r<this.num;r+=1)t&&this.addSlide(r),this.positionSlide(r);this.options.continuous&&this.support.transform&&(this.move(this.circle(this.index-1),-this.slideWidth,0),this.move(this.circle(this.index+1),this.slideWidth,0)),this.support.transform||(this.slidesContainer[0].style.left=this.index*-this.slideWidth+"px")},unloadSlide:function(e){var t;null!==(e=(t=this.slides[e]).firstChild)&&t.removeChild(e)},unloadAllSlides:function(){for(var e=0,t=this.slides.length;e<t;e++)this.unloadSlide(e)},toggleControls:function(){var e=this.options.controlsClass;this.container.hasClass(e)?this.container.removeClass(e):this.container.addClass(e)},toggleSlideshow:function(){this.interval?this.pause():this.play()},getNodeIndex:function(e){return parseInt(e.getAttribute("data-index"),10)},getNestedProperty:function(i,e){return e.replace(/\[(?:'([^']+)'|"([^"]+)"|(\d+))\]|(?:(?:^|\.)([^\.\[]+))/g,function(e,t,r,n,o){n=o||t||r||n&&parseInt(n,10);e&&i&&(i=i[n])}),i},getDataProperty:function(e,t){var r;if(e.dataset?(r=t.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()}),r=e.dataset[r]):e.getAttribute&&(r=e.getAttribute("data-"+t.replace(/([A-Z])/g,"-$1").toLowerCase())),"string"==typeof r){if(/^(true|false|null|-?\d+(\.\d+)?|\{[\s\S]*\}|\[[\s\S]*\])$/.test(r))try{return u.parseJSON(r)}catch(e){}return r}},getItemProperty:function(e,t){var r=this.getDataProperty(e,t);return r=void 0===(r=void 0===r?e[t]:r)?this.getNestedProperty(e,t):r},initStartIndex:function(){var e,t=this.options.index,r=this.options.urlProperty;if(t&&"number"!=typeof t)for(e=0;e<this.num;e+=1)if(this.list[e]===t||this.getItemProperty(this.list[e],r)===this.getItemProperty(t,r)){t=e;break}this.index=this.circle(parseInt(t,10)||0)},initEventListeners:function(){var r=this,e=this.slidesContainer;function t(e){var t=r.support.transition&&r.support.transition.end===e.type?"transitionend":e.type;r["on"+t](e)}u(window).on("resize",t),u(document.body).on("keydown",t),this.container.on("click",t),this.support.touch?e.on("touchstart touchmove touchend touchcancel",t):this.options.emulateTouchEvents&&this.support.transition&&e.on("mousedown mousemove mouseup mouseout",t),this.support.transition&&e.on(this.support.transition.end,t),this.proxyListener=t},destroyEventListeners:function(){var e=this.slidesContainer,t=this.proxyListener;u(window).off("resize",t),u(document.body).off("keydown",t),this.container.off("click",t),this.support.touch?e.off("touchstart touchmove touchend touchcancel",t):this.options.emulateTouchEvents&&this.support.transition&&e.off("mousedown mousemove mouseup mouseout",t),this.support.transition&&e.off(this.support.transition.end,t)},handleOpen:function(){this.options.onopened&&this.options.onopened.call(this)},initWidget:function(){var r=this;return this.container=u(this.options.container),this.container.length?(this.slidesContainer=this.container.find(this.options.slidesContainer).first(),this.slidesContainer.length?(this.titleElement=this.container.find(this.options.titleElement).first(),1===this.num&&this.container.addClass(this.options.singleClass),this.options.onopen&&this.options.onopen.call(this),this.support.transition&&this.options.displayTransition?this.container.on(this.support.transition.end,function e(t){t.target===r.container[0]&&(r.container.off(r.support.transition.end,e),r.handleOpen())}):this.handleOpen(),this.options.hidePageScrollbars&&(this.bodyOverflowStyle=document.body.style.overflow,document.body.style.overflow="hidden"),this.container[0].style.display="block",this.initSlides(),void this.container.addClass(this.options.displayClass)):(this.console.log("blueimp Gallery: Slides container not found.",this.options.slidesContainer),!1)):(this.console.log("blueimp Gallery: Widget container not found.",this.options.container),!1)},initOptions:function(e){this.options=u.extend({},this.options),(e&&e.carousel||this.options.carousel&&(!e||!1!==e.carousel))&&u.extend(this.options,this.carouselOptions),u.extend(this.options,e),this.num<3&&(this.options.continuous=!!this.options.continuous&&null),this.support.transition||(this.options.emulateTouchEvents=!1),this.options.event&&this.preventDefault(this.options.event)}}),r}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(e,t){"use strict";e.extend(t.prototype.options,{fullScreen:!1});var r=t.prototype.initialize,n=t.prototype.close;return e.extend(t.prototype,{getFullScreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},requestFullScreen:function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen&&e.msRequestFullscreen()},exitFullScreen:function(){document.exitFullscreen?document.exitFullscreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.msExitFullscreen&&document.msExitFullscreen()},initialize:function(){r.call(this),this.options.fullScreen&&!this.getFullScreenElement()&&this.requestFullScreen(this.container[0])},close:function(){this.getFullScreenElement()===this.container[0]&&this.exitFullScreen(),n.call(this)}}),t}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(a,e){"use strict";a.extend(e.prototype.options,{indicatorContainer:"ol",activeIndicatorClass:"active",thumbnailProperty:"thumbnail",thumbnailIndicators:!0});var t=e.prototype.initSlides,r=e.prototype.addSlide,n=e.prototype.resetSlides,o=e.prototype.handleClick,i=e.prototype.handleSlide,s=e.prototype.handleClose;return a.extend(e.prototype,{createIndicator:function(e){var t,r,n=this.indicatorPrototype.cloneNode(!1),o=this.getItemProperty(e,this.options.titleProperty),i=this.options.thumbnailProperty;return this.options.thumbnailIndicators&&((t=void 0===(t=i?this.getItemProperty(e,i):t)&&(r=e.getElementsByTagName&&a(e).find("img")[0])?r.src:t)&&(n.style.backgroundImage='url("'+t+'")')),o&&(n.title=o),n},addIndicator:function(e){var t;this.indicatorContainer.length&&((t=this.createIndicator(this.list[e])).setAttribute("data-index",e),this.indicatorContainer[0].appendChild(t),this.indicators.push(t))},setActiveIndicator:function(e){this.indicators&&(this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),this.activeIndicator=a(this.indicators[e]),this.activeIndicator.addClass(this.options.activeIndicatorClass))},initSlides:function(e){e||(this.indicatorContainer=this.container.find(this.options.indicatorContainer),this.indicatorContainer.length&&(this.indicatorPrototype=document.createElement("li"),this.indicators=this.indicatorContainer[0].children)),t.call(this,e)},addSlide:function(e){r.call(this,e),this.addIndicator(e)},resetSlides:function(){n.call(this),this.indicatorContainer.empty(),this.indicators=[]},handleClick:function(e){var t=e.target||e.srcElement,r=t.parentNode;if(r===this.indicatorContainer[0])this.preventDefault(e),this.slide(this.getNodeIndex(t));else{if(r.parentNode!==this.indicatorContainer[0])return o.call(this,e);this.preventDefault(e),this.slide(this.getNodeIndex(r))}},handleSlide:function(e){i.call(this,e),this.setActiveIndicator(e)},handleClose:function(){this.activeIndicator&&this.activeIndicator.removeClass(this.options.activeIndicatorClass),s.call(this)}}),e}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(b,e){"use strict";b.extend(e.prototype.options,{videoContentClass:"video-content",videoLoadingClass:"video-loading",videoPlayingClass:"video-playing",videoPosterProperty:"poster",videoSourcesProperty:"sources"});var t=e.prototype.handleSlide;return b.extend(e.prototype,{handleSlide:function(e){t.call(this,e),this.playingVideo&&this.playingVideo.pause()},videoFactory:function(e,t,r){var n,o,i,a,s=this,c=this.options,l=this.elementPrototype.cloneNode(!1),u=b(l),d=[{type:"error",target:l}],p=r||document.createElement("video"),h=this.getItemProperty(e,c.urlProperty),f=this.getItemProperty(e,c.typeProperty),m=this.getItemProperty(e,c.titleProperty),g=this.getItemProperty(e,this.options.altTextProperty)||m,y=this.getItemProperty(e,c.videoPosterProperty),_=this.getItemProperty(e,c.videoSourcesProperty);if(u.addClass(c.videoContentClass),m&&(l.title=m),p.canPlayType)if(h&&f&&p.canPlayType(f))p.src=h;else if(_)for(;_.length;)if(n=_.shift(),h=this.getItemProperty(n,c.urlProperty),f=this.getItemProperty(n,c.typeProperty),h&&f&&p.canPlayType(f)){p.src=h;break}return y&&(p.poster=y,o=this.imagePrototype.cloneNode(!1),b(o).addClass(c.toggleClass),o.src=y,o.draggable=!1,o.alt=g,l.appendChild(o)),(o=document.createElement("a")).setAttribute("target","_blank"),r||o.setAttribute("download",m),o.href=h,p.src&&(p.controls=!0,(r||b(p)).on("error",function(){s.setTimeout(t,d)}).on("pause",function(){p.seeking||(i=!1,u.removeClass(s.options.videoLoadingClass).removeClass(s.options.videoPlayingClass),a&&s.container.addClass(s.options.controlsClass),delete s.playingVideo,s.interval&&s.play())}).on("playing",function(){i=!1,u.removeClass(s.options.videoLoadingClass).addClass(s.options.videoPlayingClass),s.container.hasClass(s.options.controlsClass)?(a=!0,s.container.removeClass(s.options.controlsClass)):a=!1}).on("play",function(){window.clearTimeout(s.timeout),i=!0,u.addClass(s.options.videoLoadingClass),s.playingVideo=p}),b(o).on("click",function(e){s.preventDefault(e),i?p.pause():p.play()}),l.appendChild(r&&r.element||p)),l.appendChild(o),this.setTimeout(t,[{type:"load",target:l}]),l}}),e}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery-video"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(s,e){"use strict";if(!window.postMessage)return e;function o(e,t,r,n){this.url=e,this.videoId=t,this.playerId=r,this.clickToPlay=n,this.element=document.createElement("div"),this.listeners={}}s.extend(e.prototype.options,{vimeoVideoIdProperty:"vimeo",vimeoPlayerUrl:"//player.vimeo.com/video/VIDEO_ID?api=1&player_id=PLAYER_ID",vimeoPlayerIdPrefix:"vimeo-player-",vimeoClickToPlay:!0});var i=e.prototype.textFactory||e.prototype.imageFactory,a=0;return s.extend(o.prototype,{canPlayType:function(){return!0},on:function(e,t){return this.listeners[e]=t,this},loadAPI:function(){var e,t,r=this,n="//f.vimeocdn.com/js/froogaloop2.min.js",o=document.getElementsByTagName("script"),i=o.length;function a(){!t&&r.playOnReady&&r.play(),t=!0}for(;i;)if(o[--i].src===n){e=o[i];break}e||((e=document.createElement("script")).src=n),s(e).on("load",a),o[0].parentNode.insertBefore(e,o[0]),/loaded|complete/.test(e.readyState)&&a()},onReady:function(){var e=this;this.ready=!0,this.player.addEvent("play",function(){e.hasPlayed=!0,e.onPlaying()}),this.player.addEvent("pause",function(){e.onPause()}),this.player.addEvent("finish",function(){e.onPause()}),this.playOnReady&&this.play()},onPlaying:function(){this.playStatus<2&&(this.listeners.playing(),this.playStatus=2)},onPause:function(){this.listeners.pause(),delete this.playStatus},insertIframe:function(){var e=document.createElement("iframe");e.src=this.url.replace("VIDEO_ID",this.videoId).replace("PLAYER_ID",this.playerId),e.id=this.playerId,this.element.parentNode.replaceChild(e,this.element),this.element=e},play:function(){var e=this;this.playStatus||(this.listeners.play(),this.playStatus=1),this.ready?!this.hasPlayed&&(this.clickToPlay||window.navigator&&/iP(hone|od|ad)/.test(window.navigator.platform))?this.onPlaying():this.player.api("play"):(this.playOnReady=!0,window.$f?this.player||(this.insertIframe(),this.player=$f(this.element),this.player.addEvent("ready",function(){e.onReady()})):this.loadAPI())},pause:function(){this.ready?this.player.api("pause"):this.playStatus&&(delete this.playOnReady,this.listeners.pause(),delete this.playStatus)}}),s.extend(e.prototype,{VimeoPlayer:o,textFactory:function(e,t){var r=this.options,n=this.getItemProperty(e,r.vimeoVideoIdProperty);return n?(void 0===this.getItemProperty(e,r.urlProperty)&&(e[r.urlProperty]="//vimeo.com/"+n),a+=1,this.videoFactory(e,t,new o(r.vimeoPlayerUrl,n,r.vimeoPlayerIdPrefix+a,r.vimeoClickToPlay))):i.call(this,e,t)}}),e}),function(e){"use strict";"function"==typeof define&&define.amd?define(["./blueimp-helper","./blueimp-gallery-video"],e):e(window.blueimp.helper||window.jQuery,window.blueimp.Gallery)}(function(e,t){"use strict";if(!window.postMessage)return t;function o(e,t,r){this.videoId=e,this.playerVars=t,this.clickToPlay=r,this.element=document.createElement("div"),this.listeners={}}e.extend(t.prototype.options,{youTubeVideoIdProperty:"youtube",youTubePlayerVars:{wmode:"transparent"},youTubeClickToPlay:!0});var i=t.prototype.textFactory||t.prototype.imageFactory;return e.extend(o.prototype,{canPlayType:function(){return!0},on:function(e,t){return this.listeners[e]=t,this},loadAPI:function(){var e,t=this,r=window.onYouTubeIframeAPIReady,n="//www.youtube.com/iframe_api",o=document.getElementsByTagName("script"),i=o.length;for(window.onYouTubeIframeAPIReady=function(){r&&r.apply(this),t.playOnReady&&t.play()};i;)if(o[--i].src===n)return;(e=document.createElement("script")).src=n,o[0].parentNode.insertBefore(e,o[0])},onReady:function(){this.ready=!0,this.playOnReady&&this.play()},onPlaying:function(){this.playStatus<2&&(this.listeners.playing(),this.playStatus=2)},onPause:function(){t.prototype.setTimeout.call(this,this.checkSeek,null,2e3)},checkSeek:function(){this.stateChange!==YT.PlayerState.PAUSED&&this.stateChange!==YT.PlayerState.ENDED||(this.listeners.pause(),delete this.playStatus)},onStateChange:function(e){switch(e.data){case YT.PlayerState.PLAYING:this.hasPlayed=!0,this.onPlaying();break;case YT.PlayerState.PAUSED:case YT.PlayerState.ENDED:this.onPause()}this.stateChange=e.data},onError:function(e){this.listeners.error(e)},play:function(){var t=this;this.playStatus||(this.listeners.play(),this.playStatus=1),this.ready?!this.hasPlayed&&(this.clickToPlay||window.navigator&&/iP(hone|od|ad)/.test(window.navigator.platform))?this.onPlaying():this.player.playVideo():(this.playOnReady=!0,window.YT&&YT.Player?this.player||(this.player=new YT.Player(this.element,{videoId:this.videoId,playerVars:this.playerVars,events:{onReady:function(){t.onReady()},onStateChange:function(e){t.onStateChange(e)},onError:function(e){t.onError(e)}}})):this.loadAPI())},pause:function(){this.ready?this.player.pauseVideo():this.playStatus&&(delete this.playOnReady,this.listeners.pause(),delete this.playStatus)}}),e.extend(t.prototype,{YouTubePlayer:o,textFactory:function(e,t){var r=this.options,n=this.getItemProperty(e,r.youTubeVideoIdProperty);return n?(void 0===this.getItemProperty(e,r.urlProperty)&&(e[r.urlProperty]="//www.youtube.com/watch?v="+n),void 0===this.getItemProperty(e,r.videoPosterProperty)&&(e[r.videoPosterProperty]="//img.youtube.com/vi/"+n+"/maxresdefault.jpg"),this.videoFactory(e,t,new o(n,r.youTubePlayerVars,r.youTubeClickToPlay))):i.call(this,e,t)}}),t}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).clipboard={})}(this,function(e){"use strict";function i(e,a,s,c){return new(s=s||Promise)(function(r,t){function n(e){try{i(c.next(e))}catch(e){t(e)}}function o(e){try{i(c.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((c=c.apply(e,a||[])).next())})}function c(r,n){var o,i,a,s={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;s;)try{if(o=1,i&&(a=2&t[0]?i.return:t[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,t[1])).done)return a;switch(i=0,(t=a?[2&t[0],a.value]:t)[0]){case 0:case 1:a=t;break;case 4:return s.label++,{value:t[1],done:!1};case 5:s.label++,i=t[1],t=[0];continue;case 7:t=s.ops.pop(),s.trys.pop();continue;default:if(!((a=0<(a=s.trys).length&&a[a.length-1])||6!==t[0]&&2!==t[0])){s=0;continue}if(3===t[0]&&(!a||t[1]>a[0]&&t[1]<a[3])){s.label=t[1];break}if(6===t[0]&&s.label<a[1]){s.label=a[1],a=t;break}if(a&&s.label<a[2]){s.label=a[2],s.ops.push(t);break}a[2]&&s.ops.pop(),s.trys.pop();continue}t=n.call(r,s)}catch(e){t=[6,e],i=0}finally{o=a=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}}var t=function(e){};function a(e){t(e)}!function(){(console.warn||console.log).apply(console,arguments)}.bind("[clipboard-polyfill]");var r="undefined"==typeof navigator?void 0:navigator,n=null==r?void 0:r.clipboard,o=null===(r=null==n?void 0:n.read)||void 0===r?void 0:r.bind(n),s=null===(r=null==n?void 0:n.readText)||void 0===r?void 0:r.bind(n),l=null===(r=null==n?void 0:n.write)||void 0===r?void 0:r.bind(n),u=null===(r=null==n?void 0:n.writeText)||void 0===r?void 0:r.bind(n),n="undefined"==typeof window?void 0:window,d=null==n?void 0:n.ClipboardItem,p=n;function h(){return"undefined"==typeof ClipboardEvent&&void 0!==p.clipboardData&&void 0!==p.clipboardData.setData}var f=function(){this.success=!1};function m(e){var t=new f,e=function(e,t,r){for(var n in a("listener called"),e.success=!0,t){var o=t[n],i=r.clipboardData;i.setData(n,o),"text/plain"===n&&i.getData(n)!==o&&(a("setting text/plain failed"),e.success=!1)}r.preventDefault()}.bind(this,t,e);document.addEventListener("copy",e);try{document.execCommand("copy")}finally{document.removeEventListener("copy",e)}return t.success}function g(e,t){y(e);t=m(t);return _(),t}function y(e){var t,r=document.getSelection();r&&((t=document.createRange()).selectNodeContents(e),r.removeAllRanges(),r.addRange(t))}function _(){var e=document.getSelection();e&&e.removeAllRanges()}function b(n){return i(this,void 0,void 0,function(){var r;return c(this,function(e){if(r="text/plain"in n,h()){if(!r)throw new Error("No `text/plain` value was specified.");if(t=n["text/plain"],p.clipboardData.setData("Text",t))return[2,!0];throw new Error("Copying failed, possibly because the user rejected it.")}var t;return m(n)?(a("regular execCopy worked"),[2,!0]):-1<navigator.userAgent.indexOf("Edge")?(a('UA "Edge" => assuming success'),[2,!0]):g(document.body,n)?(a("copyUsingTempSelection worked"),[2,!0]):function(e){var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important"),t.textContent="temporary element",document.body.appendChild(t);e=g(t,e);return document.body.removeChild(t),e}(n)?(a("copyUsingTempElem worked"),[2,!0]):function(e){a("copyTextUsingDOM");var t=document.createElement("div");t.setAttribute("style","-webkit-user-select: text !important");var r=t;t.attachShadow&&(a("Using shadow DOM."),r=t.attachShadow({mode:"open"}));var n=document.createElement("span");n.innerText=e,r.appendChild(n),document.body.appendChild(t),y(n);n=document.execCommand("copy");return _(),document.body.removeChild(t),n}(n["text/plain"])?(a("copyTextUsingDOM worked"),[2,!0]):[2,!1]})})}function w(){return i(this,void 0,void 0,function(){return c(this,function(e){if(s)return a("Using `navigator.clipboard.readText()`."),[2,s()];if(h())return a("Reading text using IE strategy."),[2,function(){return i(this,void 0,void 0,function(){var t;return c(this,function(e){if(""===(t=p.clipboardData.getData("Text")))throw new Error("Empty clipboard or could not read plain text from clipboard");return[2,t]})})}()];throw new Error("Read is not supported in your browser.")})})}function k(e,t){for(var r=0,n=e;r<n.length;r++)if(-1!==n[r].types.indexOf(t))return!0;return!1}var v=(x.prototype.getType=function(t){return i(this,void 0,void 0,function(){return c(this,function(e){return[2,this._items[t]]})})},x);function x(e,t){for(var r in void 0===t&&(t={}),this.types=Object.keys(e),this._items={},e){var n=e[r];this._items[r]="string"==typeof n?z(r,n):n}this.presentationStyle=null!==(t=null==t?void 0:t.presentationStyle)&&void 0!==t?t:"unspecified"}function z(e,t){return new Blob([t],{type:e})}function C(s){return i(this,void 0,void 0,function(){var t,r,n,o,i,a;return c(this,function(e){switch(e.label){case 0:t={},r=0,n=s.types,e.label=1;case 1:return r<n.length?(a=n[r],o=t,i=a,[4,s.getType(a)]):[3,4];case 2:o[i]=e.sent(),e.label=3;case 3:return r++,[3,1];case 4:return a={},s.presentationStyle&&(a.presentationStyle=s.presentationStyle),[2,new d(t,a)]}})})}function S(e){var t={};return t["text/plain"]=z(e,"text/plain"),new v(t)}function E(t,r){return i(this,void 0,void 0,function(){return c(this,function(e){switch(e.label){case 0:return[4,t.getType(r)];case 1:return[4,function(o){return i(this,void 0,void 0,function(){return c(this,function(e){return[2,new Promise(function(t,r){var n=new FileReader;n.addEventListener("load",function(){var e=n.result;"string"==typeof e?t(e):r("could not convert blob to string")}),n.readAsText(o)})]})})}(e.sent())];case 2:return[2,e.sent()]}})})}e.ClipboardItem=v,e.read=function(){return i(this,void 0,void 0,function(){var t;return c(this,function(e){switch(e.label){case 0:return o?(a("Using `navigator.clipboard.read()`."),[2,o()]):(t=S,[4,w()]);case 1:return[2,[t.apply(void 0,[e.sent()])]]}})})},e.readText=w,e.setDebugLog=function(e){t=e},e.suppressWarnings=function(){0},e.write=function(o){return i(this,void 0,void 0,function(){var t,r,n;return c(this,function(e){switch(e.label){case 0:return l&&d?(a("Using `navigator.clipboard.write()`."),[4,Promise.all(o.map(C))]):[3,5];case 1:t=e.sent(),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,l(t)];case 3:return[2,e.sent()];case 4:if(r=e.sent(),!k(o,"text/plain")&&!k(o,"text/html"))throw r;return[3,5];case 5:return k(o,"text/plain")||a("clipboard.write() was called without a `text/plain` data type. On some platforms, this may result in an empty clipboard. Call suppressWarnings() to suppress this warning."),n=b,[4,function(s){return i(this,void 0,void 0,function(){var t,r,n,o,i,a;return c(this,function(e){switch(e.label){case 0:t={},r=0,n=s.types,e.label=1;case 1:return r<n.length?(o=n[r],i=t,a=o,[4,E(s,o)]):[3,4];case 2:i[a]=e.sent(),e.label=3;case 3:return r++,[3,1];case 4:return[2,t]}})})}(o[0])];case 6:if(!n.apply(void 0,[e.sent()]))throw new Error("write() failed");return[2]}})})},e.writeText=function(r){return i(this,void 0,void 0,function(){return c(this,function(e){if(u)return a("Using `navigator.clipboard.writeText()`."),[2,u(r)];if(!b(((t={})["text/plain"]=r,t)))throw new Error("writeText() failed");var t;return[2]})})},Object.defineProperty(e,"__esModule",{value:!0})}),function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){function e(){}let t=e.prototype;return t.on=function(e,t){if(!e||!t)return this;let r=this._events=this._events||{},n=r[e]=r[e]||[];return n.includes(t)||n.push(t),this},t.once=function(e,t){if(!e||!t)return this;this.on(e,t);let r=this._onceEvents=this._onceEvents||{};return(r[e]=r[e]||{})[t]=!0,this},t.off=function(e,t){let r=this._events&&this._events[e];if(!r||!r.length)return this;t=r.indexOf(t);return-1!=t&&r.splice(t,1),this},t.emitEvent=function(e,t){let r=this._events&&this._events[e];if(!r||!r.length)return this;r=r.slice(0),t=t||[];let n=this._onceEvents&&this._onceEvents[e];for(var o of r)n&&n[o]&&(this.off(e,o),delete n[o]),o.apply(this,t);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e}),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,function(t,e){let i=t.jQuery,a=t.console;function s(e,t,r){if(!(this instanceof s))return new s(e,t,r);let n=e;var o;"string"==typeof e&&(n=document.querySelectorAll(e)),n?(this.elements=(o=n,Array.isArray(o)?o:"object"==typeof o&&"number"==typeof o.length?[...o]:[o]),this.options={},"function"==typeof t?r=t:Object.assign(this.options,t),r&&this.on("always",r),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):a.error(`Bad element for imagesLoaded ${n||e}`)}(s.prototype=Object.create(e.prototype)).getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];s.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t,r,n=e["nodeType"];if(n&&o.includes(n)){for(t of e.querySelectorAll("img"))this.addImage(t);if("string"==typeof this.options.background)for(r of e.querySelectorAll(this.options.background))this.addElementBackgroundImages(r)}};const c=/url\((['"])?(.*?)\1\)/gi;function r(e){this.img=e}function n(e,t){this.url=e,this.element=t,this.img=new Image}return s.prototype.addElementBackgroundImages=function(t){var r=getComputedStyle(t);if(r){let e=c.exec(r.backgroundImage);for(;null!==e;){var n=e&&e[2];n&&this.addBackground(n,t),e=c.exec(r.backgroundImage)}}},s.prototype.addImage=function(e){e=new r(e);this.images.push(e)},s.prototype.addBackground=function(e,t){t=new n(e,t);this.images.push(t)},s.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,this.images.length){let t=(e,t,r)=>{setTimeout(()=>{this.progress(e,t,r)})};this.images.forEach(function(e){e.once("progress",t),e.check()})}else this.complete()},s.prototype.progress=function(e,t,r){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&a&&a.log(`progress: ${r}`,e,t)},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred&&(e=this.hasAnyBroken?"reject":"resolve",this.jqDeferred[e](this))},(r.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},r.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},r.prototype.confirm=function(e,t){this.isLoaded=e;var e=this.img["parentNode"],e="PICTURE"===e.nodeName?e:this.img;this.emitEvent("progress",[this,e,t])},r.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},r.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},r.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},r.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(n.prototype=Object.create(r.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},n.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},(s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(e,t){return new s(this,e,t).jqDeferred.promise(i(this))})})(),s}),function(e){var t="object"==typeof window&&window||"object"==typeof self&&self;"undefined"!=typeof exports?e(exports):t&&(t.hljs=e({}),"function"==typeof define&&define.amd&&define([],function(){return t.hljs}))}(function(n){function b(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}function d(e){return e.nodeName.toLowerCase()}function w(e,t){t=e&&e.exec(t);return t&&0===t.index}function a(e){return o.test(e)}function c(e){var t,r={},n=Array.prototype.slice.call(arguments,1);for(t in e)r[t]=e[t];return n.forEach(function(e){for(t in e)r[t]=e[t]}),r}function s(e){var o=[];return function e(t,r){for(var n=t.firstChild;n;n=n.nextSibling)3===n.nodeType?r+=n.nodeValue.length:1===n.nodeType&&(o.push({event:"start",offset:r,node:n}),r=e(n,r),d(n).match(/br|hr|img|input/)||o.push({event:"stop",offset:r,node:n}));return r}(e,0),o}function l(e,t,r){function n(){return e.length&&t.length?e[0].offset!==t[0].offset?e[0].offset<t[0].offset?e:t:"start"===t[0].event?e:t:e.length?e:t}function o(e){c+="<"+d(e)+p.map.call(e.attributes,function(e){return" "+e.nodeName+'="'+b(e.value).replace('"',""")+'"'}).join("")+">"}function i(e){c+="</"+d(e)+">"}function a(e){("start"===e.event?o:i)(e.node)}for(var s=0,c="",l=[];e.length||t.length;){var u=n();if(c+=b(r.substring(s,u[0].offset)),s=u[0].offset,u===e){for(l.reverse().forEach(i);a(u.splice(0,1)[0]),(u=n())===e&&u.length&&u[0].offset===s;);l.reverse().forEach(o)}else"start"===u[0].event?l.push(u[0].node):l.pop(),a(u.splice(0,1)[0])}return c+b(r.substr(s))}function k(i){function a(e){return e&&e.source||e}function s(e,t){return new RegExp(a(e),"m"+(i.cI?"i":"")+(t?"g":""))}!function t(r,e){var n,o;r.compiled||(r.compiled=!0,r.k=r.k||r.bK,r.k&&(n={},o=function(t,e){(e=i.cI?e.toLowerCase():e).split(" ").forEach(function(e){e=e.split("|"),n[e[0]]=[t,e[1]?Number(e[1]):1]})},"string"==typeof r.k?o("keyword",r.k):h(r.k).forEach(function(e){o(e,r.k[e])}),r.k=n),r.lR=s(r.l||/\w+/,!0),e&&(r.bK&&(r.b="\\b("+r.bK.split(" ").join("|")+")\\b"),r.b||(r.b=/\B|\b/),r.bR=s(r.b),r.e||r.eW||(r.e=/\B|\b/),r.e&&(r.eR=s(r.e)),r.tE=a(r.e)||"",r.eW&&e.tE&&(r.tE+=(r.e?"|":"")+e.tE)),r.i&&(r.iR=s(r.i)),null==r.r&&(r.r=1),r.c||(r.c=[]),r.c=Array.prototype.concat.apply([],r.c.map(function(e){return(t="self"===e?r:e).v&&!t.cached_variants&&(t.cached_variants=t.v.map(function(e){return c(t,{v:null},e)})),t.cached_variants||t.eW&&[c(t)]||[t];var t})),r.c.forEach(function(e){t(e,r)}),r.starts&&t(r.starts,e),e=r.c.map(function(e){return e.bK?"\\.?("+e.b+")\\.?":e.b}).concat([r.tE,r.i]).map(a).filter(Boolean),r.t=e.length?s(e.join("|"),!0):{exec:function(){return null}})}(i)}function v(e,t,o,r){function i(e,t,r,n){n='<span class="'+(n?"":E.classPrefix);return(n+=e+'">')+t+(r?"":S)}function n(){var e,t,r,n,o;if(!u.k)return b(f);for(r="",u.lR.lastIndex=e=0,t=u.lR.exec(f);t;)r+=b(f.substring(e,t.index)),n=u,o=t,o=l.cI?o[0].toLowerCase():o[0],(o=n.k.hasOwnProperty(o)&&n.k[o])?(m+=o[1],r+=i(o[0],b(t[0]))):r+=b(t[0]),e=u.lR.lastIndex,t=u.lR.exec(f);return r+b(f.substr(e))}function a(){p+=(null!=u.sL?function(){var e="string"==typeof u.sL;if(e&&!C[u.sL])return b(f);var t=e?v(u.sL,f,!0,d[u.sL]):x(f,u.sL.length?u.sL:void 0);return 0<u.r&&(m+=t.r),e&&(d[u.sL]=t.top),i(t.language,t.value,!1,!0)}:n)(),f=""}function s(e){p+=e.cN?i(e.cN,"",!0):"",u=Object.create(e,{parent:{value:u}})}function c(e,t){if(f+=e,null==t)return a(),0;e=function(e,t){for(var r=0,n=t.c.length;r<n;r++)if(w(t.c[r].bR,e))return t.c[r]}(t,u);if(e)return e.skip?f+=t:(e.eB&&(f+=t),a(),e.rB||e.eB||(f=t)),s(e),e.rB?0:t.length;var r=function e(t,r){if(w(t.eR,r)){for(;t.endsParent&&t.parent;)t=t.parent;return t}return t.eW?e(t.parent,r):void 0}(u,t);if(r){var n=u;for(n.skip?f+=t:(n.rE||n.eE||(f+=t),a(),n.eE&&(f=t));u.cN&&(p+=S),u.skip||(m+=u.r),(u=u.parent)!==r.parent;);return r.starts&&s(r.starts),n.rE?0:t.length}if(e=t,n=u,!o&&w(n.iR,e))throw new Error('Illegal lexeme "'+t+'" for mode "'+(u.cN||"<unnamed>")+'"');return f+=t,t.length||1}var l=z(e);if(!l)throw new Error('Unknown language: "'+e+'"');k(l);for(var u=r||l,d={},p="",h=u;h!==l;h=h.parent)h.cN&&(p=i(h.cN,"",!0)+p);var f="",m=0;try{for(var g,y,_=0;u.t.lastIndex=_,g=u.t.exec(t);)y=c(t.substring(_,g.index),g[0]),_=g.index+y;for(c(t.substr(_)),h=u;h.parent;h=h.parent)h.cN&&(p+=S);return{r:m,value:p,language:e,top:u}}catch(e){if(e.message&&-1!==e.message.indexOf("Illegal"))return{r:0,value:b(t)};throw e}}function x(r,e){e=e||E.languages||h(C);var n={r:0,value:b(r)},o=n;return e.filter(z).forEach(function(e){var t=v(e,r,!1);t.language=e,t.r>o.r&&(o=t),t.r>n.r&&(o=n,n=t)}),o.language&&(n.second_best=o),n}function u(e){return E.tabReplace||E.useBR?e.replace(i,function(e,t){return E.useBR&&"\n"===e?"<br>":E.tabReplace?t.replace(/\t/g,E.tabReplace):""}):e}function t(e){var t,r,n,o,i=function(e){var t,r,n,o=e.className+" ";if(o+=e.parentNode?e.parentNode.className:"",e=m.exec(o))return z(e[1])?e[1]:"no-highlight";for(t=0,r=(o=o.split(/\s+/)).length;t<r;t++)if(a(n=o[t])||z(n))return n}(e);a(i)||(E.useBR?(t=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):t=e,o=t.textContent,r=i?v(i,o,!0):x(o),(t=s(t)).length&&((n=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=r.value,r.value=l(t,s(n),o)),r.value=u(r.value),e.innerHTML=r.value,e.className=(n=e.className,o=i,i=r.language,o=o?f[o]:i,i=[n.trim()],n.match(/\bhljs\b/)||i.push("hljs"),-1===n.indexOf(o)&&i.push(o),i.join(" ").trim()),e.result={language:r.language,re:r.r},r.second_best&&(e.second_best={language:r.second_best.language,re:r.second_best.r}))}function r(){var e;r.called||(r.called=!0,e=document.querySelectorAll("pre code"),p.forEach.call(e,t))}function z(e){return e=(e||"").toLowerCase(),C[e]||C[f[e]]}var p=[],h=Object.keys,C={},f={},o=/^(no-?highlight|plain|text)$/i,m=/\blang(?:uage)?-([\w-]+)\b/i,i=/((^(<[^>]+>|\t|)+|(?:\n)))/gm,S="</span>",E={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};return n.highlight=v,n.highlightAuto=x,n.fixMarkup=u,n.highlightBlock=t,n.configure=function(e){E=c(E,e)},n.initHighlighting=r,n.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",r,!1),addEventListener("load",r,!1)},n.registerLanguage=function(t,e){(e=C[t]=e(n)).aliases&&e.aliases.forEach(function(e){f[e]=t})},n.listLanguages=function(){return h(C)},n.getLanguage=z,n.inherit=c,n.IR="[a-zA-Z]\\w*",n.UIR="[a-zA-Z_]\\w*",n.NR="\\b\\d+(\\.\\d+)?",n.CNR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",n.BNR="\\b(0b[01]+)",n.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",n.BE={b:"\\\\[\\s\\S]",r:0},n.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[n.BE]},n.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[n.BE]},n.PWM={b:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},n.C=function(e,t,r){r=n.inherit({cN:"comment",b:e,e:t,c:[]},r||{});return r.c.push(n.PWM),r.c.push({cN:"doctag",b:"(?:TODO|FIXME|NOTE|BUG|XXX):",r:0}),r},n.CLCM=n.C("//","$"),n.CBCM=n.C("/\\*","\\*/"),n.HCM=n.C("#","$"),n.NM={cN:"number",b:n.NR,r:0},n.CNM={cN:"number",b:n.CNR,r:0},n.BNM={cN:"number",b:n.BNR,r:0},n.CSSNM={cN:"number",b:n.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0},n.RM={cN:"regexp",b:/\//,e:/\/[gimuy]*/,i:/\n/,c:[n.BE,{b:/\[/,e:/\]/,r:0,c:[n.BE]}]},n.TM={cN:"title",b:n.IR,r:0},n.UTM={cN:"title",b:n.UIR,r:0},n.METHOD_GUARD={b:"\\.\\s*"+n.UIR,r:0},n}),hljs.registerLanguage("java",function(e){var t="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",r={cN:"number",b:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",r:0};return{aliases:["jsp"],k:t,i:/<\/|#/,c:[e.C("/\\*\\*","\\*/",{r:0,c:[{b:/\w+@/,r:0},{cN:"doctag",b:"@[A-Za-z]+"}]}),e.CLCM,e.CBCM,e.ASM,e.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:!0,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},e.UTM]},{bK:"new throw return else",r:0},{cN:"function",b:"([À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(<[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*(\\s*,\\s*[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*)*>)?\\s+)+"+e.UIR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:t,c:[{b:e.UIR+"\\s*\\(",rB:!0,r:0,c:[e.UTM]},{cN:"params",b:/\(/,e:/\)/,k:t,r:0,c:[e.ASM,e.QSM,e.CNM,e.CBCM]},e.CLCM,e.CBCM]},r,{cN:"meta",b:"@[A-Za-z]+"}]}}),hljs.registerLanguage("python",function(e){var t={keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},r={cN:"meta",b:/^(>>>|\.\.\.) /},n={cN:"subst",b:/\{/,e:/\}/,k:t,i:/#/},o={cN:"string",c:[e.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[r],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[r],r:10},{b:/(fr|rf|f)'''/,e:/'''/,c:[r,n]},{b:/(fr|rf|f)"""/,e:/"""/,c:[r,n]},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},{b:/(fr|rf|f)'/,e:/'/,c:[n]},{b:/(fr|rf|f)"/,e:/"/,c:[n]},e.ASM,e.QSM]},i={cN:"number",r:0,v:[{b:e.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:e.CNR+"[lLjJ]?"}]},a={cN:"params",b:/\(/,e:/\)/,c:["self",r,i,o]};return n.c=[o,i,r],{aliases:["py","gyp"],k:t,i:/(<\/|->|\?)|=>/,c:[r,i,o,e.HCM,{v:[{cN:"function",bK:"def"},{cN:"class",bK:"class"}],e:/:/,i:/[${=;\n,]/,c:[e.UTM,a,{b:/->/,eW:!0,k:"None"}]},{cN:"meta",b:/^[\t ]*@/,e:/$/},{b:/\b(print|exec)\(/}]}}),hljs.registerLanguage("css",function(e){var t={b:/[A-Z\_\.\-]+\s*:/,rB:!0,e:";",eW:!0,c:[{cN:"attribute",b:/\S/,e:":",eE:!0,starts:{eW:!0,eE:!0,c:[{b:/[\w-]+\(/,rB:!0,c:[{cN:"built_in",b:/[\w-]+/},{b:/\(/,e:/\)/,c:[e.ASM,e.QSM]}]},e.CSSNM,e.QSM,e.ASM,e.CBCM,{cN:"number",b:"#[0-9A-Fa-f]+"},{cN:"meta",b:"!important"}]}}]};return{cI:!0,i:/[=\/|'\$]/,c:[e.CBCM,{cN:"selector-id",b:/#[A-Za-z0-9_-]+/},{cN:"selector-class",b:/\.[A-Za-z0-9_-]+/},{cN:"selector-attr",b:/\[/,e:/\]/,i:"$"},{cN:"selector-pseudo",b:/:(:)?[a-zA-Z0-9\_\-\+\(\)"'.]+/},{b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{b:"@",e:"[{;]",i:/:/,c:[{cN:"keyword",b:/\w+/},{b:/\s/,eW:!0,eE:!0,r:0,c:[e.ASM,e.QSM,e.CSSNM]}]},{cN:"selector-tag",b:"[a-zA-Z-][a-zA-Z0-9_-]*",r:0},{b:"{",e:"}",i:/\S/,c:[e.CBCM,t]}]}}),hljs.registerLanguage("http",function(e){var t="HTTP/[0-9\\.]+";return{aliases:["https"],i:"\\S",c:[{b:"^"+t,e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{b:"^[A-Z]+ (.*?) "+t+"$",rB:!0,e:"$",c:[{cN:"string",b:" ",e:" ",eB:!0,eE:!0},{b:t},{cN:"keyword",b:"[A-Z]+"}]},{cN:"attribute",b:"^\\w",e:": ",eE:!0,i:"\\n|\\s|=",starts:{e:"$",r:0}},{b:"\\n\\n",starts:{sL:[],eW:!0}}]}}),hljs.registerLanguage("bash",function(e){var t={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)}/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t,{cN:"variable",b:/\$\(/,e:/\)/,c:[e.BE]}]};return{aliases:["sh","zsh"],l:/\b-?[a-z\._]+\b/,k:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",_:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"meta",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:!0,c:[e.inherit(e.TM,{b:/\w[\w\d_]*/})],r:0},e.HCM,r,{cN:"string",b:/'/,e:/'/},t]}}),hljs.registerLanguage("shell",function(e){return{aliases:["console"],c:[{cN:"meta",b:"^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]",starts:{e:"$",sL:"bash"}}]}}),hljs.registerLanguage("json",function(e){var t={literal:"true false null"},r=[e.QSM,e.CNM],n={e:",",eW:!0,eE:!0,c:r,k:t},o={b:"{",e:"}",c:[{cN:"attr",b:/"/,e:/"/,c:[e.BE],i:"\\n"},e.inherit(n,{b:/:/})],i:"\\S"},n={b:"\\[",e:"\\]",c:[e.inherit(n)],i:"\\S"};return r.splice(r.length,0,o,n),{c:r,k:t,i:"\\S"}}),hljs.registerLanguage("ini",function(e){var t={cN:"string",c:[e.BE],v:[{b:"'''",e:"'''",r:10},{b:'"""',e:'"""',r:10},{b:'"',e:'"'},{b:"'",e:"'"}]};return{aliases:["toml"],cI:!0,i:/\S/,c:[e.C(";","$"),e.HCM,{cN:"section",b:/^\s*\[+/,e:/\]+/},{b:/^[a-z0-9\[\]_-]+\s*=\s*/,e:"$",rB:!0,c:[{cN:"attr",b:/[a-z0-9\[\]_-]+/},{b:/=/,eW:!0,r:0,c:[{cN:"literal",b:/\bon|off|true|false|yes|no\b/},{cN:"variable",v:[{b:/\$[\w\d"][\w\d_]*/},{b:/\$\{(.*?)}/}]},t,{cN:"number",b:/([\+\-]+)?[\d]+_[\d_]+/},e.NM]}]}]}}),hljs.registerLanguage("coffeescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},r="[A-Za-z$_][0-9A-Za-z$_]*",n={cN:"subst",b:/#\{/,e:/}/,k:t},o=[e.BNM,e.inherit(e.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[e.BE]},{b:/'/,e:/'/,c:[e.BE]},{b:/"""/,e:/"""/,c:[e.BE,n]},{b:/"/,e:/"/,c:[e.BE,n]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[n,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+r},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];n.c=o;var i=e.inherit(e.TM,{b:r}),a="(\\(.*\\))?\\s*\\B[-=]>",n={cN:"params",b:"\\([^\\(]",rB:!0,c:[{b:/\(/,e:/\)/,k:t,c:["self"].concat(o)}]};return{aliases:["coffee","cson","iced"],k:t,i:/\/\*/,c:o.concat([e.C("###","###"),e.HCM,{cN:"function",b:"^\\s*"+r+"\\s*=\\s*"+a,e:"[-=]>",rB:!0,c:[i,n]},{b:/[:\(,=]\s*/,r:0,c:[{cN:"function",b:a,e:"[-=]>",rB:!0,c:[n]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:!0,i:/[:="\[\]]/,c:[i]},i]},{b:r+":",e:":",rB:!0,rE:!0,r:0}])}}),hljs.registerLanguage("nginx",function(e){var t={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+e.UIR}]},t={eW:!0,l:"[a-z/_]+",k:{literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[e.HCM,{cN:"string",c:[e.BE,t],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{b:"([a-z]+):/",e:"\\s",eW:!0,eE:!0,c:[t]},{cN:"regexp",c:[e.BE,t],v:[{b:"\\s\\^",e:"\\s|{|;",rE:!0},{b:"~\\*?\\s+",e:"\\s|{|;",rE:!0},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},t]};return{aliases:["nginxconf"],c:[e.HCM,{b:e.UIR+"\\s+{",rB:!0,e:"{",c:[{cN:"section",b:e.UIR}],r:0},{b:e.UIR+"\\s",e:";|{",rB:!0,c:[{cN:"attribute",b:e.UIR,starts:t}],r:0}],i:"[^\\s\\}]"}}),hljs.registerLanguage("javascript",function(e){var t="[A-Za-z$_][0-9A-Za-z$_]*",r={keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},n={cN:"number",v:[{b:"\\b(0[bB][01]+)"},{b:"\\b(0[oO][0-7]+)"},{b:e.CNR}],r:0},o={cN:"subst",b:"\\$\\{",e:"\\}",k:r,c:[]},i={cN:"string",b:"`",e:"`",c:[e.BE,o]};o.c=[e.ASM,e.QSM,i,n,e.RM];o=o.c.concat([e.CBCM,e.CLCM]);return{aliases:["js","jsx"],k:r,c:[{cN:"meta",r:10,b:/^\s*['"]use (strict|asm)['"]/},{cN:"meta",b:/^#!/,e:/$/},e.ASM,e.QSM,i,e.CLCM,e.CBCM,n,{b:/[{,]\s*/,r:0,c:[{b:t+"\\s*:",rB:!0,r:0,c:[{cN:"attr",b:t,r:0}]}]},{b:"("+e.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[e.CLCM,e.CBCM,e.RM,{cN:"function",b:"(\\(.*?\\)|"+t+")\\s*=>",rB:!0,e:"\\s*=>",c:[{cN:"params",v:[{b:t},{b:/\(\s*\)/},{b:/\(/,e:/\)/,eB:!0,eE:!0,k:r,c:o}]}]},{b:/</,e:/(\/\w+|\w+\/)>/,sL:"xml",c:[{b:/<\w+\s*\/>/,skip:!0},{b:/<\w+/,e:/(\/\w+|\w+\/)>/,skip:!0,c:[{b:/<\w+\s*\/>/,skip:!0},"self"]}]}],r:0},{cN:"function",bK:"function",e:/\{/,eE:!0,c:[e.inherit(e.TM,{b:t}),{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,c:o}],i:/\[|%/},{b:/\$[(.]/},e.METHOD_GUARD,{cN:"class",bK:"class",e:/[{;=]/,eE:!0,i:/[:"\[\]]/,c:[{bK:"extends"},e.UTM]},{bK:"constructor",e:/\{/,eE:!0}],i:/#(?!!)/}}),hljs.registerLanguage("makefile",function(e){var t={cN:"variable",v:[{b:"\\$\\("+e.UIR+"\\)",c:[e.BE]},{b:/\$[@%<?\^\+\*]/}]},r={cN:"string",b:/"/,e:/"/,c:[e.BE,t]},n={b:"^"+e.UIR+"\\s*[:+?]?=",i:"\\n",rB:!0,c:[{b:"^"+e.UIR,e:"[:+?]?=",eE:!0}]};return{aliases:["mk","mak"],k:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath",l:/[\w-]+/,c:[e.HCM,t,r,{cN:"variable",b:/\$\([\w-]+\s/,e:/\)/,k:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},c:[t]},n,{cN:"meta",b:/^\.PHONY:/,e:/$/,k:{"meta-keyword":".PHONY"},l:/[\.\w]+/},{cN:"section",b:/^[^\s]+:/,e:/$/,c:[t]}]}}),hljs.registerLanguage("apache",function(e){var t={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:!0,c:[e.HCM,{cN:"section",b:"</?",e:">"},{cN:"attribute",b:/\w+/,r:0,k:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"meta",b:"\\s\\[",e:"\\]$"},{cN:"variable",b:"[\\$%]\\{",e:"\\}",c:["self",t]},t,e.QSM]}}],i:/\S/}}),hljs.registerLanguage("php",function(e){var t={b:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"},r={cN:"meta",b:/<\?(php)?|\?>/},n={cN:"string",c:[e.BE,r],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},e.inherit(e.ASM,{i:null}),e.inherit(e.QSM,{i:null})]},o={v:[e.BNM,e.CNM]};return{aliases:["php3","php4","php5","php6"],cI:!0,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[e.HCM,e.C("//","$",{c:[r]}),e.C("/\\*","\\*/",{c:[{cN:"doctag",b:"@[A-Za-z]+"}]}),e.C("__halt_compiler.+?;",!1,{eW:!0,k:"__halt_compiler",l:e.UIR}),{cN:"string",b:/<<<['"]?\w+['"]?$/,e:/^\w+;?$/,c:[e.BE,{cN:"subst",v:[{b:/\$\w+/},{b:/\{\$/,e:/\}/}]}]},r,{cN:"keyword",b:/\$this\b/},t,{b:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{cN:"function",bK:"function",e:/[;{]/,eE:!0,i:"\\$|\\[|%",c:[e.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",t,e.CBCM,n,o]}]},{cN:"class",bK:"class interface",e:"{",eE:!0,i:/[:\(\$"]/,c:[{bK:"extends implements"},e.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[e.UTM]},{bK:"use",e:";",c:[e.UTM]},{b:"=>"},n,o]}}),hljs.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",r={cN:"subst",b:"[$@]\\{",e:"\\}",k:t},n={b:"->{",e:"}"},o={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=[e.BE,r,o],e=[o,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),n,{cN:"string",c:i,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[e.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[e.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"function",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",eE:!0,r:5,c:[e.TM]},{b:"-\\w\\b",r:0},{b:"^__DATA__$",e:"^__END__$",sL:"mojolicious",c:[{b:"^@@.*",e:"$",cN:"comment"}]}];return r.c=e,{aliases:["pl","pm"],l:/[\w\.]+/,k:t,c:n.c=e}}),hljs.registerLanguage("objectivec",function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,r="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],k:{keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},l:t,i:"</",c:[{cN:"built_in",b:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},e.CLCM,e.CBCM,e.CNM,e.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[e.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"meta",b:"#",e:"$",c:[{cN:"meta-string",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+r.split(" ").join("|")+")\\b",e:"({|$)",eE:!0,k:r,l:t,c:[e.UTM]},{b:"\\."+e.UIR,r:0}]}}),hljs.registerLanguage("xml",function(e){var t={eW:!0,i:/</,r:0,c:[{cN:"attr",b:"[A-Za-z0-9\\._:-]+",r:0},{b:/=\s*/,r:0,c:[{cN:"string",endsParent:!0,v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s"'=<>`]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist"],cI:!0,c:[{cN:"meta",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},e.C("\x3c!--","--\x3e",{r:10}),{b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{b:/<\?(php)?/,e:/\?>/,sL:"php",c:[{b:"/\\*",e:"\\*/",skip:!0}]},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{name:"style"},c:[t],starts:{e:"</style>",rE:!0,sL:["css","xml"]}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{name:"script"},c:[t],starts:{e:"<\/script>",rE:!0,sL:["actionscript","javascript","handlebars","xml"]}},{cN:"meta",v:[{b:/<\?xml/,e:/\?>/,r:10},{b:/<\?\w+/,e:/\?>/}]},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"name",b:/[^\/><\s]+/,r:0},t]}]}}),hljs.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],c:[{cN:"section",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"quote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"^```w*s*$",e:"^```s*$"},{b:"`.+?`"},{b:"^( {4}|\t)",e:"$",r:0}]},{b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:!0,c:[{cN:"string",b:"\\[",e:"\\]",eB:!0,rE:!0,r:0},{cN:"link",b:"\\]\\(",e:"\\)",eB:!0,eE:!0},{cN:"symbol",b:"\\]\\[",e:"\\]",eB:!0,eE:!0}],r:10},{b:/^\[[^\n]+\]:/,rB:!0,c:[{cN:"symbol",b:/\[/,e:/\]/,eB:!0,eE:!0},{cN:"link",b:/:\s*/,e:/$/,eB:!0}]}]}}),hljs.registerLanguage("diff",function(e){return{aliases:["patch"],c:[{cN:"meta",r:10,v:[{b:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"comment",v:[{b:/Index: /,e:/$/},{b:/={3,}/,e:/$/},{b:/^\-{3}/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+{3}/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"addition",b:"^\\!",e:"$"}]}}),hljs.registerLanguage("cs",function(e){var t={keyword:"abstract as base bool break byte case catch char checked const continue decimal default delegate do double enum event explicit extern finally fixed float for foreach goto if implicit in int interface internal is lock long nameof object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this try typeof uint ulong unchecked unsafe ushort using virtual void volatile while add alias ascending async await by descending dynamic equals from get global group into join let on orderby partial remove select set value var where yield",literal:"null false true"},r={cN:"string",b:'@"',e:'"',c:[{b:'""'}]},n=e.inherit(r,{i:/\n/}),o={cN:"subst",b:"{",e:"}",k:t},i=e.inherit(o,{i:/\n/}),a={cN:"string",b:/\$"/,e:'"',i:/\n/,c:[{b:"{{"},{b:"}}"},e.BE,i]},s={cN:"string",b:/\$@"/,e:'"',c:[{b:"{{"},{b:"}}"},{b:'""'},o]},c=e.inherit(s,{i:/\n/,c:[{b:"{{"},{b:"}}"},{b:'""'},i]});o.c=[s,a,r,e.ASM,e.QSM,e.CNM,e.CBCM],i.c=[c,a,n,e.ASM,e.QSM,e.CNM,e.inherit(e.CBCM,{i:/\n/})];a={v:[s,a,r,e.ASM,e.QSM]},r=e.IR+"(<"+e.IR+"(\\s*,\\s*"+e.IR+")*>)?(\\[\\])?";return{aliases:["csharp"],k:t,i:/::/,c:[e.C("///","$",{rB:!0,c:[{cN:"doctag",v:[{b:"///",r:0},{b:"\x3c!--|--\x3e"},{b:"</?",e:">"}]}]}),e.CLCM,e.CBCM,{cN:"meta",b:"#",e:"$",k:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},a,e.CNM,{bK:"class interface",e:/[{;=]/,i:/[^\s:]/,c:[e.TM,e.CLCM,e.CBCM]},{bK:"namespace",e:/[{;=]/,i:/[^\s:]/,c:[e.inherit(e.TM,{b:"[a-zA-Z](\\.?\\w)*"}),e.CLCM,e.CBCM]},{cN:"meta",b:"^\\s*\\[",eB:!0,e:"\\]",eE:!0,c:[{cN:"meta-string",b:/"/,e:/"/}]},{bK:"new return throw await else",r:0},{cN:"function",b:"("+r+"\\s+)+"+e.IR+"\\s*\\(",rB:!0,e:/[{;=]/,eE:!0,k:t,c:[{b:e.IR+"\\s*\\(",rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,eB:!0,eE:!0,k:t,r:0,c:[a,e.CNM,e.CBCM]},e.CLCM,e.CBCM]}]}}),hljs.registerLanguage("sql",function(e){var t=e.C("--","$");return{cI:!0,i:/[<>{}*#]/,c:[{bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment",e:/;/,eW:!0,l:/[\w\.]+/,k:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},c:[{cN:"string",b:"'",e:"'",c:[e.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[e.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[e.BE]},e.CNM,e.CBCM,t]},e.CBCM,t]}}),hljs.registerLanguage("cpp",function(e){var t={cN:"keyword",b:"\\b[a-z\\d_]*_t\\b"},r={cN:"string",v:[{b:'(u8?|U)?L?"',e:'"',i:"\\n",c:[e.BE]},{b:'(u8?|U)?R"',e:'"',c:[e.BE]},{b:"'\\\\?.",e:"'",i:"."}]},n={cN:"number",v:[{b:"\\b(0b[01']+)"},{b:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{b:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],r:0},o={cN:"meta",b:/#\s*[a-z]+\b/,e:/$/,k:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},c:[{b:/\\\n/,r:0},e.inherit(r,{cN:"meta-string"}),{cN:"meta-string",b:/<[^\n>]*>/,e:/$/,i:"\\n"},e.CLCM,e.CBCM]},i=e.IR+"\\s*\\(",a={keyword:"int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr",literal:"true false nullptr NULL"},s=[t,e.CLCM,e.CBCM,n,r];return{aliases:["c","cc","h","c++","h++","hpp"],k:a,i:"</",c:s.concat([o,{b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:a,c:["self",t]},{b:e.IR+"::",k:a},{v:[{b:/=/,e:/;/},{b:/\(/,e:/\)/},{bK:"new throw return else",e:/;/}],k:a,c:s.concat([{b:/\(/,e:/\)/,k:a,c:s.concat(["self"]),r:0}]),r:0},{cN:"function",b:"("+e.IR+"[\\*&\\s]+)+"+i,rB:!0,e:/[{;=]/,eE:!0,k:a,i:/[^\w\s\*&]/,c:[{b:i,rB:!0,c:[e.TM],r:0},{cN:"params",b:/\(/,e:/\)/,k:a,r:0,c:[e.CLCM,e.CBCM,r,n,t]},e.CLCM,e.CBCM,o]},{cN:"class",bK:"class struct",e:/[{;:]/,c:[{b:/</,e:/>/,c:["self"]},e.TM]}]),exports:{preprocessor:o,strings:r,k:a}}}),hljs.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",r={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},n={cN:"doctag",b:"@[A-Za-z]+"},o={b:"#<",e:">"},i=[e.C("#","$",{c:[n]}),e.C("^\\=begin","^\\=end",{c:[n],r:10}),e.C("^__END__","\\n$")],a={cN:"subst",b:"#\\{",e:"}",k:r},s={cN:"string",c:[e.BE,a],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:/`/,e:/`/},{b:"%[qQwWx]?\\(",e:"\\)"},{b:"%[qQwWx]?\\[",e:"\\]"},{b:"%[qQwWx]?{",e:"}"},{b:"%[qQwWx]?<",e:">"},{b:"%[qQwWx]?/",e:"/"},{b:"%[qQwWx]?%",e:"%"},{b:"%[qQwWx]?-",e:"-"},{b:"%[qQwWx]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{b:/<<(-?)\w+$/,e:/^\s*\w+$/}]},n={cN:"params",b:"\\(",e:"\\)",endsParent:!0,k:r},e=[s,o,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[e.inherit(e.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{b:"<\\s*",c:[{b:"("+e.IR+"::)?"+e.IR}]}].concat(i)},{cN:"function",bK:"def",e:"$|;",c:[e.inherit(e.TM,{b:t}),n].concat(i)},{b:e.IR+"::"},{cN:"symbol",b:e.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":(?!\\s)",c:[s,{b:t}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{cN:"params",b:/\|/,e:/\|/,k:r},{b:"("+e.RSR+"|unless)\\s*",k:"unless",c:[o,{cN:"regexp",c:[e.BE,a],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}].concat(i),r:0}].concat(i);a.c=e,n.c=e;return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:i.concat([{b:/^\s*=>/,starts:{e:"$",c:e}},{cN:"meta",b:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{e:"$",c:e}}]).concat(e)}}),function(e,n){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var r=n.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r},e.CustomEvent.prototype=e.Event.prototype),n.addEventListener("touchstart",function(e){"true"!==e.target.getAttribute("data-swipe-ignore")&&(l=e.target,c=Date.now(),o=e.touches[0].clientX,i=e.touches[0].clientY,s=a=0)},!1),n.addEventListener("touchmove",function(e){var t;o&&i&&(t=e.touches[0].clientX,e=e.touches[0].clientY,a=o-t,s=i-e)},!1),n.addEventListener("touchend",function(e){var t,r,n;l===e.target&&(t=parseInt(l.getAttribute("data-swipe-threshold")||"20",10),r=parseInt(l.getAttribute("data-swipe-timeout")||"500",10),n=Date.now()-c,e="",Math.abs(a)>Math.abs(s)?Math.abs(a)>t&&n<r&&(e=0<a?"swiped-left":"swiped-right"):Math.abs(s)>t&&n<r&&(e=0<s?"swiped-up":"swiped-down"),""!==e&&l.dispatchEvent(new CustomEvent(e,{bubbles:!0,cancelable:!0})),c=i=o=null)},!1);var o=null,i=null,a=null,s=null,c=null,l=null}(window,document),humhub.module("ui.form.elements",function(e,t,o){var r=t("ui.additions"),n=t("util").object,i=t("ui.widget").Widget,t=function(e,t){i.call(this,e,t)};n.inherits(t,i),t.component="humhub-form-field-collapsible",t.prototype.validate=function(){return this.$.is("div")},t.prototype.clickCollab=function(e){this.$.find("fieldset").is(":visible")?this.hide():this.show()},t.prototype.init=function(){this.$.attr("tabindex")||this.$.attr("tabindex",0);var t=this;this.$.on("keyup",function(e){9!==e.which&&t.$.is(":focus")&&t.clickCollab()}),0<this.$.find(".error, .has-error").length&&this.show()},t.prototype.hide=function(){this.$.find("fieldset").attr("aria-hidden","true"),this.$.find("fieldset").attr("aria-expanded","false"),this.$.addClass("closed"),this.$.removeClass("opened")},t.prototype.show=function(){this.$.find("fieldset").attr("aria-hidden","false"),this.$.find("fieldset").attr("aria-expanded","true"),this.$.addClass("opened"),this.$.removeClass("closed")},e.export({init:function(){r.register("password",'[type="password"]',function(e){e.each(function(){var t=o(this),r=t.parent(".form-group"),n=0,e=r.closest(".animated").length?800:100;setTimeout(function(){var e;t.is(":visible")||t.siblings("label").length&&(n="23px"),r.length&&(r.css("position","relative"),e=o('<div class="humhub-pw-show"><i class="fa fa-eye"></i></div>').on("click",function(){var e=o(this).find("i");"password"===t.attr("type")?(t.attr("type","input"),e.addClass("fa-eye-slash").removeClass("fa-eye")):(t.attr("type","password"),e.addClass("fa-eye").removeClass("fa-eye-slash"))}).css({position:"absolute",right:"2px",padding:"4px","font-size":"19px",cursor:"pointer",top:t.is(":visible")?t.position().top:n}),r.prepend(e.hide()),e.fadeIn("fast"))},e)})})},sortOrder:100,toggleTimeZoneInput:function(e){e.$trigger.siblings(".timeZoneInputContainer:first").fadeToggle("fast")},timeZoneSelected:function(e){e.$trigger.parent().siblings(".timeZoneToggle:first").text(e.$trigger.find("option:selected").text()),e.$trigger.parent().hide()},FormFieldsCollapsible:t})}),humhub.module("ui.form",function(e,t,s){var r=t("util").object,n=t("ui.widget").Widget,t=function(e,t){n.call(this,e,t)};r.inherits(t,n),t.component="humhub-tabbed-form",t.prototype.validate=function(){return this.$.is("form")},t.prototype.init=function(){this.$.hide();var n=0,o=s('<div class="tab-content"></div>'),i=s('<ul id="profile-tabs" class="nav nav-tabs" data-tabs="tabs"></ul>');this.$.prepend(o).prepend(i);var e=s('input[name ="_csrf"]').detach(),a=0;s.each(this.getPreparedFieldSets(),function(e,t){c(t)&&(n=a),i.append('<li><a href="#tab-'+a+'" data-toggle="tab">'+e+"</a></li>"),o.append('<div class="tab-pane" data-tab-index="'+a+'" id="tab-'+a+'"></div>');e=t.children(".form-group");s("#tab-"+a).html(e),t.remove();var r=a;o.find(".form-control").last().on("keydown",function(e){var t;9!==(e.keyCode||e.which)||(t=i.find('a[href="#tab-'+(r+1)+'"]')).length&&(e.preventDefault(),t.tab("show"))}),a++});var t=s(".errorSummary");t.length&&(this.$.prepend(t.clone()),t.remove()),this.$.find('a[data-toggle="tab"]').on("shown.bs.tab",function(e){e=s(e.target).attr("href");s(e).find(".form-control").first().focus()}),this.$.on("submit",function(){l()}),i.find('a[href="#tab-'+n+'"]').tab("show"),this.$.fadeIn(),e.insertBefore(s("#profile-tabs"))},t.prototype.getPreparedFieldSets=function(){var r,n={};return this.$.find("fieldset").each(function(){var e=s(this).hide(),t=e.children("legend").text();t&&t.length?n[t]=r=e:r&&r.append(e.children(".form-group"))}),n};var c=function(e){return 0<e.find(".error, .has-error").length},l=function(){s(document).off("afterValidate.humhub:ui:tabbedForm").one("afterValidate.humhub:ui:tabbedForm",function(e,t,r){r.length&&n.exists("ui.form.TabbedForm")&&(r=s(r[0].container).closest(".tab-pane").data("tab-index"),s('a[href="#tab-'+r+'"]').tab("show"))})};e.export({sortOrder:100,unload:function(){s(document).off("afterValidate.humhub:ui:tabbedForm")},submit:function(e){e.$trigger.closest("form").submit()},TabbedForm:t})}),humhub.module("ui.showMore",function(i,e,a){function t(e,t){this.options=t||{},this.$=e instanceof a?e:a(e),this.collapseAt=this.$.data("collapse-at")||380,this.options.readMoreText=this.$.data("read-more-text")||i.text("readMore"),this.options.readLessText=this.$.data("read-less-text")||i.text("readLess"),this.init()}var r=e("ui.additions");t.prototype.init=function(){var e=this;this.$.imagesLoaded(function(){e.check()})},t.prototype.check=function(){var t=this,e=this.$.outerHeight();this.$collapseButton=this.$.siblings(".showMore");var r=this.$.children(":first"),n=r.next();(r.is(".oembed_snippet")||n.is(".oembed_snippet"))&&(o=this.$.find(".oembed_snippet:first").outerHeight()+40,this.collapseAt=o>this.collapseAt?o:this.collapseAt);var o=e-this.collapseAt;e>this.collapseAt&&70<o&&(this.$collapseButton.length||(this.$.after(a(i.templates.showMore)),this.$collapseButton=this.$.siblings(".showMore"),this.$gradient=this.$.siblings(".showMoreGradient"),this.$gradient.children().css({background:"linear-gradient(rgba(251,251,251,0), "+s(this.$)+")"})),this.$collapseButton.add(this.$gradient).on("click",function(e){e.preventDefault(),"collapsed"===t.$.data("state")?t.expand():t.collapse()}).show(),"expanded"!==this.$.data("state")?this.collapse():this.expand())};var s=function(e){var t;if(!e||!e.length)return"#ffff";for(;n(t=e.css("background-color"));){if(e.is("body"))return"#ffff";e=e.parent()}return t},n=function(e){switch((e||"").replace(/\s+/g,"").toLowerCase()){case"transparent":case"":case"rgba(0,0,0,0)":return!0;default:return!1}};t.prototype.collapse=function(){this.$.css({display:"block","max-height":this.collapseAt+"px"}),this.$collapseButton.html('<i class="fa fa-arrow-down"></i> '+this.options.readMoreText),this.$.data("state","collapsed"),this.$gradient.show()},t.prototype.expand=function(){this.$.css("max-height",""),this.$collapseButton.html('<i class="fa fa-arrow-up"></i> '+this.options.readLessText),this.$.data("state","expanded"),this.$gradient.hide()};i.templates={showMore:'<div class="showMoreGradient" style="position:relative;cursor:pointer"><div style="bottom: 0;height: 40px;position: absolute;z-index: 30;width: 100%;"></div></div><a class="showMore" href="#" style="display:block;margin: 5px 0;"></a>'},i.export({init:function(){r.register("showMore","[data-ui-show-more]",function(e){e.each(function(){new t(this)})})},sortOrder:100,CollapseContent:t})}),humhub.module("ui.panel",function(n,e,t){var e=e("ui.widget").Widget.extend(),r="collapsed";e.prototype.init=function(){this.$panel=this.$.closest(".panel"),this.$body=this.$panel.find(".panel-body");var e=this;setTimeout(function(){e.getToggleState()||e.$body.css({display:"none"}),e.checkToggleLinkState()},1)},e.prototype.getToggleState=function(){return localStorage.getItem(this.getKey())!==r},e.prototype.getKey=function(){var e=this.$panel.attr("id");return e&&e.length?"pm_"+this.$panel.attr("id"):null},e.prototype.checkToggleLinkState=function(){var e="none"!==this.$body.css("display"),t=e?n.config.icon.up:n.config.icon.down,r=e?n.text("collapse"):n.text("expand"),r=this.$.find(".panel-collapse").html(t+" "+r);e?r.addClass("panel-collapsed"):r.removeClass("panel-collapsed")},e.prototype.toggle=function(e){var t=this;this.$body.is(":visible")?this.$body.slideUp("fast",function(){localStorage.setItem(t.getKey(),r),t.checkToggleLinkState()}):this.$body.slideDown("fast",function(){t.checkToggleLinkState(),localStorage.removeItem(t.getKey())})},n.export({PanelMenu:e})}),humhub.module("ui.gallery",function(e,t,n){e.export({init:function(){n(document).on("click.humhub:ui:gallery","[data-ui-gallery]",function(e){var t,r=n(this);r.is("img")&&r.closest("a").length||(e.preventDefault(),e.stopPropagation(),t=(t=r.data("ui-gallery"))?n('[data-ui-gallery="'+t+'"]'):r.parent().find("[data-ui-gallery]"),e={index:r[0],event:e.originalEvent},r.is("img")&&(e.urlProperty="src"),blueimp.Gallery(t.get(),e))})},sortOrder:100})}),humhub.module("ui.picker",function(o,e,a){function i(e,t){s.call(this,e,t)}var s=e("ui.widget").Widget,r=e("ui.loader"),t=e("ui.additions"),e=e("util"),n=e.object,c=e.string;i.component="humhub-ui-picker",n.inherits(i,s),i.prototype.init=function(){this.options.pickerUrl&&(this.options.ajax=this.ajaxOptions(),this.options.defaultResults&&this.options.defaultResults.length&&(this.options.dataAdapter=a.fn.select2.amd.require("select2/data/extended-ajax"))),l(this.$,this.options)},i.prototype.validate=function(){return this.$.is("select")},i.prototype.getDefaultOptions=function(){var e=this;return{theme:"humhub",multiple:e.$.data("multiple"),tags:e.$.data("tags"),allowClear:!0,templateSelection:a.proxy(e.templateSelection,e),templateResult:a.proxy(e.templateResult,e),sorter:e.sortResults,language:{inputTooShort:function(){return e.$.data("input-too-short")},inputTooLong:function(){return e.$.data("input-too-long")},errorLoading:function(){return o.log.error("Error Loading Picker result! The request may just has been aborted."),r.set(a("<div></div>"),{css:{padding:"4px"}})},loadingMore:function(){return o.text("showMore")},noResults:function(){return e.$.data("no-result")},maximumSelected:function(){return e.$.data("maximum-selected")}}}},i.prototype.ajaxOptions=function(){var e={delay:250,dataType:"json",type:"GET",url:this.options.pickerUrl,data:this.ajaxData,processResults:a.proxy(this.prepareResult,this)};return a.extend(e,this.options.ajax)},i.prototype.ajaxData=function(e){return{keyword:e.term,page:e.page}},i.prototype.sortResults=function(e){return e.sort(function(e,t){if(e.disabled!==t.disabled)return e.disabled<t.disabled?-1:1;if(e.new!==t.new)return e.new<t.new?-1:1;if(e.priority!==t.priority)return e.priority>t.priority?-1:1;var r=e.text.indexOf(e.term),e=t.text.indexOf(e.term);return r!==e?e<r?-1:1:0}),e};var l=function(r,n){a.fn.select2.amd.require(["select2/selection/search"],function(e){var t=e.prototype.searchRemoveChoice;e.prototype.searchRemoveChoice=function(){t.apply(this,arguments),this.$search.val(""),r.select2("close")};e=r.select2(n).data("select2");e.$container.on("focusout",function(){s.instance(r).renderPlaceholder()}),e.on("results:message",function(e){this.dropdown._resizeDropdown(),this.dropdown._positionDropdown()}),r.on("select2:select",function(){a(".tooltip").remove(),s.instance(r).renderPlaceholder(!0)}).on("select2:close",function(){a(".tooltip").remove()}),s.instance(r).renderPlaceholder(!0),r.data("picker-focus")&&s.instance(r).focus()})};i.prototype.focus=function(){this.$.select2("focus")},i.prototype.renderPlaceholder=function(e){var t,r;e?(t=this,setTimeout(function(){t.renderPlaceholder()},50)):(r=this.$.data("select2").$selection.find("input"),this.$.children(":selected").length>=this.$.data("maximum-selection-length")?r.attr("placeholder",null).attr("title",null):(this.$.val()?r.attr("placeholder",this.options.placeholderMore):r.attr("placeholder",this.options.placeholder)).attr("title",this.options.placeholderMore),void 0!==(e=r.attr("placeholder"))&&e.length&&r.attr("size",e.length))},i.template={selectionWithImage:'{imageNode}<span class="picker-text with-image"></span>',selectionNoImage:'<span class="picker-text no-image"></span>',selectionClear:' <i class="fa fa-times-circle picker-close"></i>',result:'<a href="#" tabindex="-1" style="margin-right:5px;">{imageNode} <span class="picker-text"></span></a>',resultDisabled:'<a href="#" title="{disabledText}" data-placement="right" tabindex="-1" style="margin-right:5px;opacity: 0.4;cursor:not-allowed">{imageNode} <span class="picker-text"></span></a>',imageNode:'<img class="img-rounded" src="{image}" alt="" style="width:24px;height:24px;" height="24" width="24">',imageIcon:'<i class="fa {image}"></i> ',option:"<option value=\"{id}\" data-image='{image}' selected></option>"},i.prototype.prepareResult=function(e,r){var n=this;a.each(e,function(e,t){t.term=r.term,n.isDisabledItem(t)&&(t.disabled=!0),t.id=t.guid||t.id||t["data-id"],t.text=t.text||t.title||t.displayName||t["data-text"],t.image=t.image||t["data-image"],t.new=!1});var t=c.encode(r.term);return t&&t.length>=n.options.minimumInputLength&&n.options.addOptions&&0===a(e).filter(function(){return 0===this.text.localeCompare(t)}).length&&e.push({id:"_add:"+r.term,text:o.text("addOption")+" '"+t+"'",textValue:r.term,image:'<i class="fa fa-plus-circle" aria-hidden="true"></i>',new:!0}),{results:e}},i.prototype.templateResult=function(e){if(!e.id)return r.set(a("<div></div>"),{css:{padding:"4px"}});this.prepareItem(e);var t=e.disabled?i.template.resultDisabled:i.template.result,t=a(c.template(t,e)).tooltip({html:!1,container:"body",placement:"bottom"}).on("click",function(e){e.preventDefault()});return t.find(".picker-text").text(e.text),e.term&&t.highlight(e.term),t},i.prototype.templateSelection=function(e,t){this.prepareItem(e);var r=e.image&&!e.new?i.template.selectionWithImage:i.template.selectionNoImage;!this.$.data("clearable")&&void 0!==this.$.data("clearable")||(r+=i.template.selectionClear);r=a(c.template(r,e)),r.find(".picker-text");r.filter(".picker-text").text(e.text);return r.filter(".picker-close").on("click",function(){a(this).siblings(".select2-selection__choice__remove").trigger("click")}),r},i.prototype.prepareItem=function(e){e.text=e.textValue||e.text||a(e.element).data("text"),e.image=e.image||a(e.element).data("image"),e.imageNode=this.getImageNode(e),e.disabledText=e.disabledText||""},i.prototype.getImageNode=function(e){var t=e.image||a(e.element).data("image");return t?0<=t.indexOf("<")?t:0===t.indexOf("fa-")?c.template(i.template.imageIcon,e):c.template(i.template.imageNode,e):""},i.prototype.select=function(e,t,r,n){n=n||{};var o=this.getOption(e);return(!o.length||!o.is(":selected"))&&(o.length?o.prop("selected",!0):this.$.append(a(c.template(i.template.option,{id:e,image:r||""})).text(t)),!1!==n.triggerChange&&this.triggerChange(),!0)},i.prototype.triggerChange=function(){this.$.triggerHandler("change"),this.renderPlaceholder(!0)},i.prototype.setSelection=function(e,t){var r=this,n=!1,o=this.val();this.clear(!1),e.forEach(function(e){(e=t?t.call(this,e):e)&&r.select(e.id,e.text,e.image,{triggerChange:!1})&&o.indexOf(e.id)<0&&(n=!0)}),o.forEach(function(e){r.isSelected(e)||(n=!0)}),n&&r.triggerChange()},i.prototype.isSelected=function(e){return 0<=this.val().indexOf(e)},i.prototype.remove=function(e){var t=this.val();this.isSelected(e)&&(t.splice(t.indexOf(e),1),this.$.val(t).trigger("change"))},i.prototype.deselect=function(e){this.getOption(e).remove(),this.$.trigger("change")},i.prototype.clear=function(e){return this.$.val(null),!1!==e&&this.triggerChange(),this},i.prototype.disable=function(e){e=!n.isDefined(e)||e,this.$.prop("disabled",e)},i.prototype.getOption=function(e){return this.$.children().filter(function(){return this.value==e})},i.prototype.reset=function(){this.$.val(""),this.$.trigger("change")},i.prototype.val=function(){return this.$.val()},i.prototype.hasValue=function(e){var t=this.val();return t&&0<=t.indexOf(e)},i.prototype.hasValues=function(e){var t=this.val();return t&&t.length},i.prototype.data=function(){return this.$.select2("data")},i.prototype.map=function(){var e=this.val();if(!e)return{};Array.isArray(e)||(e=[e]);var t={},r=this;return e.forEach(function(e){t[e]=r.getOption(e).text()}),t},i.prototype.isDisabledItem=function(e){return this.options.disabledItems&&n.isArray(this.options.disabledItems)&&0<=this.options.disabledItems.indexOf(e.id)};o.export({init:function(){t.register("ui.picker",".multiselect_dropdown",function(e){e.each(function(){i.instance(this)})}),a.fn.select2.amd.define("select2/data/extended-ajax",["./ajax","../utils","./minimumInputLength"],function(e,t,r){function n(e,t){this.minimumInputLength=t.get("minimumInputLength"),this.defaultResults=t.get("defaultResults"),n.__super__.constructor.call(this,e,t)}t.Extend(n,e);var i=e.prototype.query;return n.prototype.query=function(r,e){var n,t,o="function"==typeof this.defaultResults?this.defaultResults.call(this):this.defaultResults;o&&o.length&&(!r.term||r.term.length<this.minimumInputLength)?r.term&&r.term.length?(n=[],a.each(o,function(e,t){0<=t["data-text"].toLowerCase().indexOf(r.term.toLowerCase())&&n.push(t)}),n.length?e(this.processResults(n,r)):this.container.$results.empty(),t=a('<li role="treeitem" aria-live="assertive" class="select2-results__option select2-results__message">'+this.options.get("inputTooShort")+"</li>"),this.container.$results.prepend(t)):e(this.processResults(o,r)):i.call(this,r,e)},n})},sortOrder:100,Picker:i})}),humhub.module("ui.codemirror",function(e,t,r){var n=t("event");e.export({init:function(){n.on("humhub:ready",function(e){var t=setInterval(function(){r("textarea[data-codemirror]").length||clearInterval(t),"undefined"!=typeof CodeMirror&&(r("textarea[data-codemirror]").each(function(){"object"==typeof r(this).data("codemirror-instance")&&r(this).data("codemirror-instance").toTextArea();var e=CodeMirror.fromTextArea(this,{mode:r(this).data("codemirror"),lineNumbers:!0,extraKeys:{"Ctrl-Space":"autocomplete"}});r(this).data("codemirror-instance",e)}),clearInterval(t))},200)})}})}),humhub.module("oembed",function(i,e,a){var s=e("client"),n=e("util"),c={};i.export({load:function(o){return new Promise(function(t,e){var r={},n=[];o.forEach(function(e){c[e]?r[e]=c[e]:n.push(e)}),s.post(i.config.loadUrl,{data:{urls:n}}).then(function(e){a.extend(c,e.data),t(a.extend(r,e.data))}).catch(e)})},get:function(e){const t=c[e]?a(c[e]):function(e){const t=a('[data-oembed="'+a.escapeSelector(n.string.escapeHtml(e,true))+'"]:first');if(!t.length||!t.is("[data-oembed]"))return null;const r=t.find(".oembed_confirmation");if(r.length)return r.clone().show();return t.find(".oembed_snippet").clone().show()}(e);return t&&t.is(".oembed_snippet,.oembed_confirmation")?t:null},display:function(t){const r=t.$trigger.closest(".oembed_confirmation");var e;r.length&&(e={url:r.data("url"),alwaysShow:r.find("input[type=checkbox]:checked").length?1:0},s.post(i.config.displayUrl,{data:e}).then(function(e){e.success?r.after(e.content).remove():(i.log.error(e,!0),t.finish())}).catch(function(e){i.log.error(e,!0),t.finish()}))}})}),humhub.module("media.Jplayer",function(e,t,r){function n(e,t){o.call(this,e,t)}var o=t("ui.widget").Widget;t("util").object.inherits(n,o),n.prototype.init=function(e){var t={jPlayer:"#"+this.$.attr("id"),cssSelectorAncestor:this.options.containerId};this.playlist=new jPlayerPlaylist(t,e,this.options)},n.prototype.getDefaultOptions=function(){return{playlistOptions:{enableRemoveControls:!1},useStateClassSkin:!0,supplied:"mp3",smoothPlayBar:!0,keyEnabled:!1,audioFullScreen:!1}},e.export=n}),humhub.module("client.pjax",function(i,e,a){var s=e("event"),r="#layout-content",c=function(e){return!!e&&(301<=e.status&&e.status<=303&&""!=e.getResponseHeader("X-PJAX-REDIRECT-URL")&&null!==e.getResponseHeader("X-PJAX-REDIRECT-URL"))};i.export({init:function(){i.config.active&&(a(document).pjax("a:not([data-pjax-prevent],[target],[data-target],[data-toggle])",r,i.config.options),a(document).on("pjax:beforeSend",function(e,t,r){return!a(s.relatedTarget).data("target")&&void s.trigger("humhub:modules:client:pjax:beforeSend",{originalEvent:e,xhr:t,options:r})}),a(document).on("pjax:success",function(e,t,r,n,o){s.trigger("humhub:modules:client:pjax:success",{originalEvent:e,data:t,status:r,xhr:n,options:o}),a.ajaxSetup({url:window.location.href})}),a.ajaxPrefilter("html",function(n,e,t){var o=n.error;n.error=function(e,t,r){c(e)?(n.url=e.getResponseHeader("X-PJAX-REDIRECT-URL"),n.replace=!0,i.log.info("Handled redirect to: "+n.url),a.pjax(n)):o(e,t,r)}}),i.installLoader())},sortOrder:100,reload:function(){a.pjax.reload({container:r,timeout:i.config.options.timeout})},redirect:function(e){a.pjax({url:e,container:r,timeout:i.config.options.timeout})},post:function(e){var t=a.extend({},i.config.options);t.url=e.url,t.container=r,t.type="POST",a.pjax(t)},isActive:function(){return i.config.active},installLoader:function(){NProgress.configure({showSpinner:!1}),NProgress.configure({template:'<div class="bar" role="bar"></div>'}),a(document).on("pjax:start",function(e,t,r){NProgress.start()}),a(document).on("pjax:end",function(e,t,r){c(t)||NProgress.done()})}})}),function(){"use strict";function i(e){this.content=e}i.prototype={constructor:i,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){e=this.find(e);return-1==e?void 0:this.content[e+1]},update:function(e,t,r){var n=r&&r!=e?this.remove(r):this,o=n.find(e),n=n.content.slice();return-1==o?n.push(r||e,t):(n[o+1]=t,r&&(n[o]=r)),new i(n)},remove:function(e){var t=this.find(e);if(-1==t)return this;e=this.content.slice();return e.splice(t,2),new i(e)},addToStart:function(e,t){return new i([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var r=this.remove(e).content.slice();return r.push(e,t),new i(r)},addBefore:function(e,t,r){var n=this.remove(t),o=n.content.slice(),e=n.find(e);return o.splice(-1==e?o.length:e,0,t,r),new i(o)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return(e=i.from(e)).size?new i(e.content.concat(this.subtract(e).content)):this},append:function(e){return(e=i.from(e)).size?new i(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=i.from(e);for(var r=0;r<e.content.length;r+=2)t=t.remove(e.content[r]);return t},get size(){return this.content.length>>1}},i.from=function(e){if(e instanceof i)return e;var t=[];if(e)for(var r in e)t.push(r,e[r]);return new i(t)};var u=i;var E=function(e,t){if(this.content=e,this.size=t||0,null==t)for(var r=0;r<e.length;r++)this.size+=e[r].nodeSize},e={firstChild:{configurable:!0},lastChild:{configurable:!0},childCount:{configurable:!0}};E.prototype.nodesBetween=function(e,t,r,n,o){void 0===n&&(n=0);for(var i=0,a=0;a<t;i++){var s,c=this.content[i],l=a+c.nodeSize;e<l&&!1!==r(c,n+a,o,i)&&c.content.size&&(s=a+1,c.nodesBetween(Math.max(0,e-s),Math.min(c.content.size,t-s),r,n+s)),a=l}},E.prototype.descendants=function(e){this.nodesBetween(0,this.size,e)},E.prototype.textBetween=function(r,n,o,i){var a="",s=!0;return this.nodesBetween(r,n,function(e,t){e.isText?(a+=e.text.slice(Math.max(r,t)-t,n-t),s=!o):e.isLeaf&&i?(a+=i,s=!o):!s&&e.isBlock&&(a+=o,s=!0)},0),a},E.prototype.append=function(e){if(!e.size)return this;if(!this.size)return e;var t=this.lastChild,r=e.firstChild,n=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(r)&&(n[n.length-1]=t.withText(t.text+r.text),o=1);o<e.content.length;o++)n.push(e.content[o]);return new E(n,this.size+e.size)},E.prototype.cut=function(e,t){if(null==t&&(t=this.size),0==e&&t==this.size)return this;var r=[],n=0;if(e<t)for(var o=0,i=0;i<t;o++){var a=this.content[o],s=i+a.nodeSize;e<s&&((i<e||t<s)&&(a=a.isText?a.cut(Math.max(0,e-i),Math.min(a.text.length,t-i)):a.cut(Math.max(0,e-i-1),Math.min(a.content.size,t-i-1))),r.push(a),n+=a.nodeSize),i=s}return new E(r,n)},E.prototype.cutByIndex=function(e,t){return e==t?E.empty:0==e&&t==this.content.length?this:new E(this.content.slice(e,t))},E.prototype.replaceChild=function(e,t){var r=this.content[e];if(r==t)return this;var n=this.content.slice(),r=this.size+t.nodeSize-r.nodeSize;return n[e]=t,new E(n,r)},E.prototype.addToStart=function(e){return new E([e].concat(this.content),this.size+e.nodeSize)},E.prototype.addToEnd=function(e){return new E(this.content.concat(e),this.size+e.nodeSize)},E.prototype.eq=function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0},e.firstChild.get=function(){return this.content.length?this.content[0]:null},e.lastChild.get=function(){return this.content.length?this.content[this.content.length-1]:null},e.childCount.get=function(){return this.content.length},E.prototype.child=function(e){var t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t},E.prototype.maybeChild=function(e){return this.content[e]},E.prototype.forEach=function(e){for(var t=0,r=0;t<this.content.length;t++){var n=this.content[t];e(n,r,t),r+=n.nodeSize}},E.prototype.findDiffStart=function(e,t){return function e(t,r,n){for(var o=0;;o++){if(o==t.childCount||o==r.childCount)return t.childCount==r.childCount?null:n;var i=t.child(o),a=r.child(o);if(i!=a){if(!i.sameMarkup(a))return n;if(i.isText&&i.text!=a.text){for(var s=0;i.text[s]==a.text[s];s++)n++;return n}if(i.content.size||a.content.size){var c=e(i.content,a.content,n+1);if(null!=c)return c}n+=i.nodeSize}else n+=i.nodeSize}}(this,e,t=void 0===t?0:t)},E.prototype.findDiffEnd=function(e,t,r){return function e(t,r,n,o){for(var i=t.childCount,a=r.childCount;;){if(0==i||0==a)return i==a?null:{a:n,b:o};var s=t.child(--i),c=r.child(--a),l=s.nodeSize;if(s!=c){if(!s.sameMarkup(c))return{a:n,b:o};if(s.isText&&s.text!=c.text){for(var u=0,d=Math.min(s.text.length,c.text.length);u<d&&s.text[s.text.length-u-1]==c.text[c.text.length-u-1];)u++,n--,o--;return{a:n,b:o}}if(s.content.size||c.content.size){var p=e(s.content,c.content,n-1,o-1);if(p)return p}n-=l,o-=l}else n-=l,o-=l}}(this,e,t=void 0===t?this.size:t,r=void 0===r?e.size:r)},E.prototype.findIndex=function(e,t){if(void 0===t&&(t=-1),0==e)return a(0,e);if(e==this.size)return a(this.content.length,e);if(e>this.size||e<0)throw new RangeError("Position "+e+" outside of fragment ("+this+")");for(var r=0,n=0;;r++){var o=n+this.child(r).nodeSize;if(e<=o)return o==e||0<t?a(r+1,o):a(r,n);n=o}},E.prototype.toString=function(){return"<"+this.toStringInner()+">"},E.prototype.toStringInner=function(){return this.content.join(", ")},E.prototype.toJSON=function(){return this.content.length?this.content.map(function(e){return e.toJSON()}):null},E.fromJSON=function(e,t){if(!t)return E.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new E(t.map(e.nodeFromJSON))},E.fromArray=function(e){if(!e.length)return E.empty;for(var t,r=0,n=0;n<e.length;n++){var o=e[n];r+=o.nodeSize,n&&o.isText&&e[n-1].sameMarkup(o)?(t=t||e.slice(0,n))[t.length-1]=o.withText(t[t.length-1].text+o.text):t&&t.push(o)}return new E(t||e,r)},E.from=function(e){if(!e)return E.empty;if(e instanceof E)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new E([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))},Object.defineProperties(E.prototype,e);var r={index:0,offset:0};function a(e,t){return r.index=e,r.offset=t,r}function s(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var r=Array.isArray(e);if(Array.isArray(t)!=r)return!1;if(r){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!s(e[n],t[n]))return!1}else{for(var o in e)if(!(o in t&&s(e[o],t[o])))return!1;for(var i in t)if(!(i in e))return!1}return!0}E.empty=new E([],0);function p(e,t){this.type=e,this.attrs=t}function o(e){e=Error.call(this,e);return e.__proto__=o.prototype,e}p.prototype.addToSet=function(e){for(var t,r=!1,n=0;n<e.length;n++){var o=e[n];if(this.eq(o))return e;if(this.type.excludes(o.type))t=t||e.slice(0,n);else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&((t=t||e.slice(0,n)).push(this),r=!0),t&&t.push(o)}}return t=t||e.slice(),r||t.push(this),t},p.prototype.removeFromSet=function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e},p.prototype.isInSet=function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1},p.prototype.eq=function(e){return this==e||this.type==e.type&&s(this.attrs,e.attrs)},p.prototype.toJSON=function(){var e,t={type:this.type.name};for(e in this.attrs){t.attrs=this.attrs;break}return t},p.fromJSON=function(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");e=e.marks[t.type];if(!e)throw new RangeError("There is no mark type "+t.type+" in this schema");return e.create(t.attrs)},p.sameSet=function(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0},p.setFrom=function(e){if(!e||0==e.length)return p.none;if(e instanceof p)return[e];e=e.slice();return e.sort(function(e,t){return e.type.rank-t.type.rank}),e},p.none=[],((o.prototype=Object.create(Error.prototype)).constructor=o).prototype.name="ReplaceError";var A=function(e,t,r){this.content=e,this.openStart=t,this.openEnd=r},t={size:{configurable:!0}};function n(e,t,r){if(r.openStart>e.depth)throw new o("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new o("Inconsistent open depths");return function e(t,r,n,o){var i=t.index(o),a=t.node(o);{if(i==r.index(o)&&o<t.depth-n.openStart){var s=e(t,r,n,o+1);return a.copy(a.content.replaceChild(i,s))}if(n.content.size){if(n.openStart||n.openEnd||t.depth!=o||r.depth!=o){var c=y(n,t),l=c.start,c=c.end;return f(a,m(t,l,c,r,o))}l=t.parent,c=l.content;return f(l,c.cut(0,t.parentOffset).append(n.content).append(c.cut(r.parentOffset)))}return f(a,g(t,r,o))}}(e,t,r,0)}function c(e,t){if(!t.type.compatibleContent(e.type))throw new o("Cannot join "+t.type.name+" onto "+e.type.name)}function l(e,t,r){e=e.node(r);return c(e,t.node(r)),e}function d(e,t){var r=t.length-1;0<=r&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function h(e,t,r,n){var o=(t||e).node(r),i=0,a=t?t.index(r):o.childCount;e&&(i=e.index(r),e.depth>r?i++:e.textOffset&&(d(e.nodeAfter,n),i++));for(var s=i;s<a;s++)d(o.child(s),n);t&&t.depth==r&&t.textOffset&&d(t.nodeBefore,n)}function f(e,t){if(!e.type.validContent(t))throw new o("Invalid content for node "+e.type.name);return e.copy(t)}function m(e,t,r,n,o){var i=e.depth>o&&l(e,t,o+1),a=n.depth>o&&l(r,n,o+1),s=[];return h(null,e,o,s),i&&a&&t.index(o)==r.index(o)?(c(i,a),d(f(i,m(e,t,r,n,o+1)),s)):(i&&d(f(i,g(e,t,o+1)),s),h(t,r,o,s),a&&d(f(a,g(r,n,o+1)),s)),h(n,null,o,s),new E(s)}function g(e,t,r){var n=[];return h(null,e,r,n),e.depth>r&&d(f(l(e,t,r+1),g(e,t,r+1)),n),h(t,null,r,n),new E(n)}function y(e,t){for(var r=t.depth-e.openStart,n=t.node(r).copy(e.content),o=r-1;0<=o;o--)n=t.node(o).copy(E.from(n));return{start:n.resolveNoCache(e.openStart+r),end:n.resolveNoCache(n.content.size-e.openEnd-r)}}t.size.get=function(){return this.content.size-this.openStart-this.openEnd},A.prototype.insertAt=function(e,t){t=function e(t,r,n,o){var i=t.findIndex(r);var a=i.index;var s=i.offset;i=t.maybeChild(a);if(s==r||i.isText)return o&&!o.canReplace(a,a,n)?null:t.cut(0,r).append(n).append(t.cut(r));n=e(i.content,r-s-1,n);return n&&t.replaceChild(a,i.copy(n))}(this.content,e+this.openStart,t,null);return t&&new A(t,this.openStart,this.openEnd)},A.prototype.removeBetween=function(e,t){return new A(function e(t,r,n){var o=t.findIndex(r);var i=o.index;var a=o.offset;var s=t.maybeChild(i);var c=t.findIndex(n);o=c.index;c=c.offset;if(a==r||s.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,r).append(t.cut(n))}if(i!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(i,s.copy(e(s.content,r-a-1,n-a-1)))}(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)},A.prototype.eq=function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd},A.prototype.toString=function(){return this.content+"("+this.openStart+","+this.openEnd+")"},A.prototype.toJSON=function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return 0<this.openStart&&(e.openStart=this.openStart),0<this.openEnd&&(e.openEnd=this.openEnd),e},A.fromJSON=function(e,t){if(!t)return A.empty;var r=t.openStart||0,n=t.openEnd||0;if("number"!=typeof r||"number"!=typeof n)throw new RangeError("Invalid input for Slice.fromJSON");return new A(E.fromJSON(e,t.content),r,n)},A.maxOpen=function(e,t){void 0===t&&(t=!0);for(var r=0,n=0,o=e.firstChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.firstChild)r++;for(var i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)n++;return new A(e,r,n)},Object.defineProperties(A.prototype,t),A.empty=new A(E.empty,0,0);function _(e,t,r){this.pos=e,this.path=t,this.depth=t.length/3-1,this.parentOffset=r}var b={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};_.prototype.resolveDepth=function(e){return null==e?this.depth:e<0?this.depth+e:e},b.parent.get=function(){return this.node(this.depth)},b.doc.get=function(){return this.node(0)},_.prototype.node=function(e){return this.path[3*this.resolveDepth(e)]},_.prototype.index=function(e){return this.path[3*this.resolveDepth(e)+1]},_.prototype.indexAfter=function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)},_.prototype.start=function(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1},_.prototype.end=function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size},_.prototype.before=function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]},_.prototype.after=function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize},b.textOffset.get=function(){return this.pos-this.path[this.path.length-1]},b.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var r=this.pos-this.path[this.path.length-1],n=e.child(t);return r?e.child(t).cut(r):n},b.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)},_.prototype.posAtIndex=function(e,t){t=this.resolveDepth(t);for(var r=this.path[3*t],n=0==t?0:this.path[3*t-1]+1,o=0;o<e;o++)n+=r.child(o).nodeSize;return n},_.prototype.marks=function(){var e=this.parent,t=this.index();if(0==e.content.size)return p.none;if(this.textOffset)return e.child(t).marks;var r=e.maybeChild(t-1),n=e.maybeChild(t);r||(t=r,r=n,n=t);for(var o=r.marks,i=0;i<o.length;i++)!1!==o[i].type.spec.inclusive||n&&o[i].isInSet(n.marks)||(o=o[i--].removeFromSet(o));return o},_.prototype.marksAcross=function(e){var t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;for(var r=t.marks,n=e.parent.maybeChild(e.index()),o=0;o<r.length;o++)!1!==r[o].type.spec.inclusive||n&&r[o].isInSet(n.marks)||(r=r[o--].removeFromSet(r));return r},_.prototype.sharedDepth=function(e){for(var t=this.depth;0<t;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0},_.prototype.blockRange=function(e,t){if((e=void 0===e?this:e).pos<this.pos)return e.blockRange(this);for(var r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);0<=r;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new x(this,e,r)},_.prototype.sameParent=function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset},_.prototype.max=function(e){return e.pos>this.pos?e:this},_.prototype.min=function(e){return e.pos<this.pos?e:this},_.prototype.toString=function(){for(var e="",t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset},_.resolve=function(e,t){if(!(0<=t&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");for(var r=[],n=0,o=t,i=e;;){var a=i.content.findIndex(o),s=a.index,c=a.offset,a=o-c;if(r.push(i,s,n+c),!a)break;if((i=i.child(s)).isText)break;o=a-1,n+=c+1}return new _(t,r,o)},_.resolveCached=function(e,t){for(var r=0;r<w.length;r++){var n=w[r];if(n.pos==t&&n.doc==e)return n}var o=w[k]=_.resolve(e,t);return k=(k+1)%v,o},Object.defineProperties(_.prototype,b);var w=[],k=0,v=12,x=function(e,t,r){this.$from=e,this.$to=t,this.depth=r},z={start:{configurable:!0},end:{configurable:!0},parent:{configurable:!0},startIndex:{configurable:!0},endIndex:{configurable:!0}};z.start.get=function(){return this.$from.before(this.depth+1)},z.end.get=function(){return this.$to.after(this.depth+1)},z.parent.get=function(){return this.$from.node(this.depth)},z.startIndex.get=function(){return this.$from.index(this.depth)},z.endIndex.get=function(){return this.$to.indexAfter(this.depth)},Object.defineProperties(x.prototype,z);function C(e,t,r,n){this.type=e,this.attrs=t,this.content=r||E.empty,this.marks=n||p.none}var S=Object.create(null),q={nodeSize:{configurable:!0},childCount:{configurable:!0},textContent:{configurable:!0},firstChild:{configurable:!0},lastChild:{configurable:!0},isBlock:{configurable:!0},isTextblock:{configurable:!0},inlineContent:{configurable:!0},isInline:{configurable:!0},isText:{configurable:!0},isLeaf:{configurable:!0},isAtom:{configurable:!0}};q.nodeSize.get=function(){return this.isLeaf?1:2+this.content.size},q.childCount.get=function(){return this.content.childCount},C.prototype.child=function(e){return this.content.child(e)},C.prototype.maybeChild=function(e){return this.content.maybeChild(e)},C.prototype.forEach=function(e){this.content.forEach(e)},C.prototype.nodesBetween=function(e,t,r,n){this.content.nodesBetween(e,t,r,n=void 0===n?0:n,this)},C.prototype.descendants=function(e){this.nodesBetween(0,this.content.size,e)},q.textContent.get=function(){return this.textBetween(0,this.content.size,"")},C.prototype.textBetween=function(e,t,r,n){return this.content.textBetween(e,t,r,n)},q.firstChild.get=function(){return this.content.firstChild},q.lastChild.get=function(){return this.content.lastChild},C.prototype.eq=function(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)},C.prototype.sameMarkup=function(e){return this.hasMarkup(e.type,e.attrs,e.marks)},C.prototype.hasMarkup=function(e,t,r){return this.type==e&&s(this.attrs,t||e.defaultAttrs||S)&&p.sameSet(this.marks,r||p.none)},C.prototype.copy=function(e){return(e=void 0===e?null:e)==this.content?this:new this.constructor(this.type,this.attrs,e,this.marks)},C.prototype.mark=function(e){return e==this.marks?this:new this.constructor(this.type,this.attrs,this.content,e)},C.prototype.cut=function(e,t){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))},C.prototype.slice=function(e,t,r){if(void 0===r&&(r=!1),e==(t=void 0===t?this.content.size:t))return A.empty;var n=this.resolve(e),e=this.resolve(t),r=r?0:n.sharedDepth(t),t=n.start(r),t=n.node(r).content.cut(n.pos-t,e.pos-t);return new A(t,n.depth-r,e.depth-r)},C.prototype.replace=function(e,t,r){return n(this.resolve(e),this.resolve(t),r)},C.prototype.nodeAt=function(e){for(var t=this;;){var r=t.content.findIndex(e),n=r.index,r=r.offset;if(!(t=t.maybeChild(n)))return null;if(r==e||t.isText)return t;e-=r+1}},C.prototype.childAfter=function(e){var t=this.content.findIndex(e),e=t.index,t=t.offset;return{node:this.content.maybeChild(e),index:e,offset:t}},C.prototype.childBefore=function(e){if(0==e)return{node:null,index:0,offset:0};var t=this.content.findIndex(e),r=t.index,t=t.offset;if(t<e)return{node:this.content.child(r),index:r,offset:t};e=this.content.child(r-1);return{node:e,index:r-1,offset:t-e.nodeSize}},C.prototype.resolve=function(e){return _.resolveCached(this,e)},C.prototype.resolveNoCache=function(e){return _.resolve(this,e)},C.prototype.rangeHasMark=function(e,t,r){var n=!1;return e<t&&this.nodesBetween(e,t,function(e){return!(n=r.isInSet(e.marks)?!0:n)}),n},q.isBlock.get=function(){return this.type.isBlock},q.isTextblock.get=function(){return this.type.isTextblock},q.inlineContent.get=function(){return this.type.inlineContent},q.isInline.get=function(){return this.type.isInline},q.isText.get=function(){return this.type.isText},q.isLeaf.get=function(){return this.type.isLeaf},q.isAtom.get=function(){return this.type.isAtom},C.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),D(this.marks,e)},C.prototype.contentMatchAt=function(e){e=this.type.contentMatch.matchFragment(this.content,0,e);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e},C.prototype.canReplace=function(e,t,r,n,o){void 0===r&&(r=E.empty),void 0===n&&(n=0),void 0===o&&(o=r.childCount);e=this.contentMatchAt(e).matchFragment(r,n,o),t=e&&e.matchFragment(this.content,t);if(!t||!t.validEnd)return!1;for(var i=n;i<o;i++)if(!this.type.allowsMarks(r.child(i).marks))return!1;return!0},C.prototype.canReplaceWith=function(e,t,r,n){if(n&&!this.type.allowsMarks(n))return!1;r=this.contentMatchAt(e).matchType(r),t=r&&r.matchFragment(this.content,t);return!!t&&t.validEnd},C.prototype.canAppend=function(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)},C.prototype.check=function(){if(!this.type.validContent(this.content))throw new RangeError("Invalid content for node "+this.type.name+": "+this.content.toString().slice(0,50));for(var e=p.none,t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!p.sameSet(e,this.marks))throw new RangeError("Invalid collection of marks for node "+this.type.name+": "+this.marks.map(function(e){return e.type.name}));this.content.forEach(function(e){return e.check()})},C.prototype.toJSON=function(){var e,t={type:this.type.name};for(e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(function(e){return e.toJSON()})),t},C.fromJSON=function(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");var r=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}var n=E.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,n,r)},Object.defineProperties(C.prototype,q);var M=function(o){function t(e,t,r,n){if(o.call(this,e,t,null,n),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}o&&(t.__proto__=o);var e={textContent:{configurable:!0},nodeSize:{configurable:!0}};return((t.prototype=Object.create(o&&o.prototype)).constructor=t).prototype.toString=function(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):D(this.marks,JSON.stringify(this.text))},e.textContent.get=function(){return this.text},t.prototype.textBetween=function(e,t){return this.text.slice(e,t)},e.nodeSize.get=function(){return this.text.length},t.prototype.mark=function(e){return e==this.marks?this:new t(this.type,this.attrs,this.text,e)},t.prototype.withText=function(e){return e==this.text?this:new t(this.type,this.attrs,e,this.marks)},t.prototype.cut=function(e,t){return void 0===t&&(t=this.text.length),0==(e=void 0===e?0:e)&&t==this.text.length?this:this.withText(this.text.slice(e,t))},t.prototype.eq=function(e){return this.sameMarkup(e)&&this.text==e.text},t.prototype.toJSON=function(){var e=o.prototype.toJSON.call(this);return e.text=this.text,e},Object.defineProperties(t.prototype,e),t}(C);function D(e,t){for(var r=e.length-1;0<=r;r--)t=e[r].type.name+"("+t+")";return t}function T(e){this.validEnd=e,this.next=[],this.wrapCache=[]}var N={inlineContent:{configurable:!0},defaultType:{configurable:!0},edgeCount:{configurable:!0}};T.parse=function(e,t){e=new O(e,t);if(null==e.next)return T.empty;t=L(e);e.next&&e.err("Unexpected trailing text");var a,s,n,t=(n=[[]],h(function r(e,n){{if("choice"==e.type)return e.exprs.reduce(function(e,t){return e.concat(r(t,n))},[]);if("seq"!=e.type){if("star"==e.type){var t=d();return p(n,t),h(r(e.expr,t),t),[p(t)]}if("plus"==e.type){t=d();return h(r(e.expr,n),t),h(r(e.expr,t),t),[p(t)]}if("opt"==e.type)return[p(n)].concat(r(e.expr,n));if("range"!=e.type)return"name"==e.type?[p(n,null,e.value)]:void 0;for(var o=n,i=0;i<e.min;i++){var a=d();h(r(e.expr,o),a),o=a}if(-1==e.max)h(r(e.expr,o),o);else for(var s=e.min;s<e.max;s++){var c=d();p(o,c),h(r(e.expr,o),c),o=c}return[p(o)]}for(var l=0;;l++){var u=r(e.exprs[l],n);if(l==e.exprs.length-1)return u;h(u,n=d())}}}(t,0),d()),a=n,s=Object.create(null),function e(t){var o=[];t.forEach(function(e){a[e].forEach(function(e){var t,r=e.term,n=e.to;r&&(e=o.indexOf(r),t=-1<e&&o[e+1],P(a,n).forEach(function(e){t||o.push(r,t=[]),-1==t.indexOf(e)&&t.push(e)}))})});var r=s[t.join(",")]=new T(-1<t.indexOf(a.length-1));for(var n=0;n<o.length;n+=2){var i=o[n+1].sort(j);r.next.push(o[n],s[i.join(",")]||e(i))}return r}(P(a,0)));function d(){return n.push([])-1}function p(e,t,r){t={term:r,to:t};return n[e].push(t),t}function h(e,t){e.forEach(function(e){return e.to=t})}return function(e,t){for(var r=0,n=[e];r<n.length;r++){for(var o=n[r],i=!o.validEnd,a=[],s=0;s<o.next.length;s+=2){var c=o.next[s],l=o.next[s+1];a.push(c.name),!i||c.isText||c.hasRequiredAttrs()||(i=!1),-1==n.indexOf(l)&&n.push(l)}i&&t.err("Only non-generatable nodes ("+a.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}(t,e),t},T.prototype.matchType=function(e){for(var t=0;t<this.next.length;t+=2)if(this.next[t]==e)return this.next[t+1];return null},T.prototype.matchFragment=function(e,t,r){void 0===r&&(r=e.childCount);for(var n=this,o=t=void 0===t?0:t;n&&o<r;o++)n=n.matchType(e.child(o).type);return n},N.inlineContent.get=function(){var e=this.next[0];return!!e&&e.isInline},N.defaultType.get=function(){for(var e=0;e<this.next.length;e+=2){var t=this.next[e];if(!t.isText&&!t.hasRequiredAttrs())return t}},T.prototype.compatible=function(e){for(var t=0;t<this.next.length;t+=2)for(var r=0;r<e.next.length;r+=2)if(this.next[t]==e.next[r])return!0;return!1},T.prototype.fillBefore=function(s,c,l){void 0===c&&(c=!1),void 0===l&&(l=0);var u=[this];return function e(t,r){var n=t.matchFragment(s,l);if(n&&(!c||n.validEnd))return E.from(r.map(function(e){return e.createAndFill()}));for(var o=0;o<t.next.length;o+=2){var i=t.next[o],a=t.next[o+1];if(!i.isText&&!i.hasRequiredAttrs()&&-1==u.indexOf(a)&&(u.push(a),i=e(a,r.concat(i))))return i}}(this,[])},T.prototype.findWrapping=function(e){for(var t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];var r=this.computeWrapping(e);return this.wrapCache.push(e,r),r},T.prototype.computeWrapping=function(e){for(var t=Object.create(null),r=[{match:this,type:null,via:null}];r.length;){var n=r.shift(),o=n.match;if(o.matchType(e)){for(var i=[],a=n;a.type;a=a.via)i.push(a.type);return i.reverse()}for(var s=0;s<o.next.length;s+=2){var c=o.next[s];c.isLeaf||c.hasRequiredAttrs()||c.name in t||n.type&&!o.next[s+1].validEnd||(r.push({match:c.contentMatch,type:c,via:n}),t[c.name]=!0)}}},N.edgeCount.get=function(){return this.next.length>>1},T.prototype.edge=function(e){var t=e<<1;if(t>=this.next.length)throw new RangeError("There's no "+e+"th edge in this content match");return{type:this.next[t],next:this.next[1+t]}},T.prototype.toString=function(){var o=[];return function e(t){o.push(t);for(var r=1;r<t.next.length;r+=2)-1==o.indexOf(t.next[r])&&e(t.next[r])}(this),o.map(function(e,t){for(var r=t+(e.validEnd?"*":" ")+" ",n=0;n<e.next.length;n+=2)r+=(n?", ":"")+e.next[n].name+"->"+o.indexOf(e.next[n+1]);return r}).join("\n")},Object.defineProperties(T.prototype,N),T.empty=new T(!0);var O=function(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),""==this.tokens[this.tokens.length-1]&&this.tokens.pop(),""==this.tokens[0]&&this.tokens.shift()},I={next:{configurable:!0}};function L(e){for(var t=[];t.push(function(e){var t=[];for(;t.push(function(e){for(var t=function(t){{if(t.eat("(")){var e=L(t);return t.eat(")")||t.err("Missing closing paren"),e}if(!/\W/.test(t.next)){e=function(e,t){var r=e.nodeTypes,n=r[t];if(n)return[n];var o,i=[];for(o in r){var a=r[o];-1<a.groups.indexOf(t)&&i.push(a)}0==i.length&&e.err("No node type or group '"+t+"' found");return i}(t,t.next).map(function(e){return null==t.inline?t.inline=e.isInline:t.inline!=e.isInline&&t.err("Mixing inline and block content"),{type:"name",value:e}});return t.pos++,1==e.length?e[0]:{type:"choice",exprs:e}}t.err("Unexpected token '"+t.next+"'")}}(e);;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else{if(!e.eat("{"))break;t=function(e,t){var r=R(e),n=r;e.eat(",")&&(n="}"!=e.next?R(e):-1);e.eat("}")||e.err("Unclosed braced range");return{type:"range",min:r,max:n,expr:t}}(e,t)}return t}(e)),e.next&&")"!=e.next&&"|"!=e.next;);return 1==t.length?t[0]:{type:"seq",exprs:t}}(e)),e.eat("|"););return 1==t.length?t[0]:{type:"choice",exprs:t}}function R(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");var t=Number(e.next);return e.pos++,t}function j(e,t){return t-e}function P(a,e){var s=[];return function e(t){var r=a[t];if(1==r.length&&!r[0].term)return e(r[0].to);s.push(t);for(var n=0;n<r.length;n++){var o=r[n],i=o.term,o=o.to;i||-1!=s.indexOf(o)||e(o)}}(e),s.sort(j)}function B(e){var t,r=Object.create(null);for(t in e){var n=e[t];if(!n.hasDefault)return null;r[t]=n.default}return r}function F(e,t){var r,n=Object.create(null);for(r in e){var o=t&&t[r];if(void 0===o){var i=e[r];if(!i.hasDefault)throw new RangeError("No value supplied for attribute "+r);o=i.default}n[r]=o}return n}function U(e){var t=Object.create(null);if(e)for(var r in e)t[r]=new W(e[r]);return t}I.next.get=function(){return this.tokens[this.pos]},O.prototype.eat=function(e){return this.next==e&&(this.pos++||!0)},O.prototype.err=function(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")},Object.defineProperties(O.prototype,I);function V(e,t,r){this.name=e,this.schema=t,this.spec=r,this.groups=r.group?r.group.split(" "):[],this.attrs=U(r.attrs),this.defaultAttrs=B(this.attrs),this.contentMatch=null,this.markSet=null,this.inlineContent=null,this.isBlock=!(r.inline||"text"==e),this.isText="text"==e}var H={isInline:{configurable:!0},isTextblock:{configurable:!0},isLeaf:{configurable:!0},isAtom:{configurable:!0}};H.isInline.get=function(){return!this.isBlock},H.isTextblock.get=function(){return this.isBlock&&this.inlineContent},H.isLeaf.get=function(){return this.contentMatch==T.empty},H.isAtom.get=function(){return this.isLeaf||this.spec.atom},V.prototype.hasRequiredAttrs=function(){for(var e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1},V.prototype.compatibleContent=function(e){return this==e||this.contentMatch.compatible(e.contentMatch)},V.prototype.computeAttrs=function(e){return!e&&this.defaultAttrs?this.defaultAttrs:F(this.attrs,e)},V.prototype.create=function(e,t,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new C(this,this.computeAttrs(e),E.from(t),p.setFrom(r))},V.prototype.createChecked=function(e,t,r){if(t=E.from(t),!this.validContent(t))throw new RangeError("Invalid content for node "+this.name);return new C(this,this.computeAttrs(e),t,p.setFrom(r))},V.prototype.createAndFill=function(e,t,r){if(e=this.computeAttrs(e),(t=E.from(t)).size){var n=this.contentMatch.fillBefore(t);if(!n)return null;t=n.append(t)}n=this.contentMatch.matchFragment(t).fillBefore(E.empty,!0);return n?new C(this,e,t.append(n),p.setFrom(r)):null},V.prototype.validContent=function(e){var t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(var r=0;r<e.childCount;r++)if(!this.allowsMarks(e.child(r).marks))return!1;return!0},V.prototype.allowsMarkType=function(e){return null==this.markSet||-1<this.markSet.indexOf(e)},V.prototype.allowsMarks=function(e){if(null==this.markSet)return!0;for(var t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0},V.prototype.allowedMarks=function(e){if(null==this.markSet)return e;for(var t,r=0;r<e.length;r++)this.allowsMarkType(e[r].type)?t&&t.push(e[r]):t=t||e.slice(0,r);return t?t.length?t:p.empty:e},V.compile=function(e,r){var n=Object.create(null);e.forEach(function(e,t){return n[e]=new V(e,r,t)});var t,e=r.spec.topNode||"doc";if(!n[e])throw new RangeError("Schema is missing its top node type ('"+e+"')");if(!n.text)throw new RangeError("Every schema needs a 'text' type");for(t in n.text.attrs)throw new RangeError("The text node type should not have attributes");return n},Object.defineProperties(V.prototype,H);var W=function(e){this.hasDefault=Object.prototype.hasOwnProperty.call(e,"default"),this.default=e.default},G={isRequired:{configurable:!0}};G.isRequired.get=function(){return!this.hasDefault},Object.defineProperties(W.prototype,G);function Z(e,t,r,n){this.name=e,this.schema=r,this.spec=n,this.attrs=U(n.attrs),this.rank=t,this.excluded=null,t=B(this.attrs),this.instance=t&&new p(this,t)}Z.prototype.create=function(e){return!e&&this.instance?this.instance:new p(this,F(this.attrs,e))},Z.compile=function(e,r){var n=Object.create(null),o=0;return e.forEach(function(e,t){return n[e]=new Z(e,o++,r,t)}),n},Z.prototype.removeFromSet=function(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e},Z.prototype.isInSet=function(e){for(var t=0;t<e.length;t++)if(e[t].type==this)return e[t]},Z.prototype.excludes=function(e){return-1<this.excluded.indexOf(e)};function K(e){for(var t in this.spec={},e)this.spec[t]=e[t];this.spec.nodes=u.from(e.nodes),this.spec.marks=u.from(e.marks),this.nodes=V.compile(this.spec.nodes,this),this.marks=Z.compile(this.spec.marks,this);var r,n,o=Object.create(null);for(r in this.nodes){if(r in this.marks)throw new RangeError(r+" can not be both a node and a mark");var i=this.nodes[r],a=i.spec.content||"",s=i.spec.marks;i.contentMatch=o[a]||(o[a]=T.parse(a,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.markSet="_"==s?null:s?J(this,s.split(" ")):""!=s&&i.inlineContent?null:[]}for(n in this.marks){var c=this.marks[n],l=c.spec.excludes;c.excluded=null==l?[c]:""==l?[]:J(this,l.split(" "))}this.nodeFromJSON=this.nodeFromJSON.bind(this),this.markFromJSON=this.markFromJSON.bind(this),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached=Object.create(null),this.cached.wrappings=Object.create(null)}function J(e,t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=e.marks[o],a=i;if(i)r.push(i);else for(var s in e.marks){s=e.marks[s];("_"==o||s.spec.group&&-1<s.spec.group.split(" ").indexOf(o))&&r.push(a=s)}if(!a)throw new SyntaxError("Unknown mark type: '"+t[n]+"'")}return r}K.prototype.node=function(e,t,r,n){if("string"==typeof e)e=this.nodeType(e);else{if(!(e instanceof V))throw new RangeError("Invalid node type: "+e);if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}return e.createChecked(t,r,n)},K.prototype.text=function(e,t){var r=this.nodes.text;return new M(r,r.defaultAttrs,e,p.setFrom(t))},K.prototype.mark=function(e,t){return(e="string"==typeof e?this.marks[e]:e).create(t)},K.prototype.nodeFromJSON=function(e){return C.fromJSON(this,e)},K.prototype.markFromJSON=function(e){return p.fromJSON(this,e)},K.prototype.nodeType=function(e){var t=this.nodes[e];if(!t)throw new RangeError("Unknown node type: "+e);return t};var Y=function(t,e){var r=this;this.schema=t,this.rules=e,this.tags=[],this.styles=[],e.forEach(function(e){e.tag?r.tags.push(e):e.style&&r.styles.push(e)}),this.normalizeLists=!this.tags.some(function(e){if(!/^(ul|ol)\b/.test(e.tag)||!e.node)return!1;e=t.nodes[e.node];return e.contentMatch.matchType(e)})};Y.prototype.parse=function(e,t){var r=new ie(this,t=void 0===t?{}:t,!1);return r.addAll(e,null,t.from,t.to),r.finish()},Y.prototype.parseSlice=function(e,t){var r=new ie(this,t=void 0===t?{}:t,!0);return r.addAll(e,null,t.from,t.to),A.maxOpen(r.finish())},Y.prototype.matchTag=function(e,t,r){for(var n,o=r?this.tags.indexOf(r)+1:0;o<this.tags.length;o++){var i=this.tags[o];if(n=e,a=i.tag,(n.matches||n.msMatchesSelector||n.webkitMatchesSelector||n.mozMatchesSelector).call(n,a)&&(void 0===i.namespace||e.namespaceURI==i.namespace)&&(!i.context||t.matchesContext(i.context))){if(i.getAttrs){var a=i.getAttrs(e);if(!1===a)continue;i.attrs=a}return i}}},Y.prototype.matchStyle=function(e,t,r,n){for(var o=n?this.styles.indexOf(n)+1:0;o<this.styles.length;o++){var i=this.styles[o];if(!(0!=i.style.indexOf(e)||i.context&&!r.matchesContext(i.context)||i.style.length>e.length&&(61!=i.style.charCodeAt(e.length)||i.style.slice(e.length+1)!=t))){if(i.getAttrs){var a=i.getAttrs(t);if(!1===a)continue;i.attrs=a}return i}}},Y.schemaRules=function(r){var o=[];function n(e){for(var t=null==e.priority?50:e.priority,r=0;r<o.length;r++){var n=o[r];if((null==n.priority?50:n.priority)<t)break}o.splice(r,0,e)}for(var e in r.marks)!function(t){var e=r.marks[t].spec.parseDOM;e&&e.forEach(function(e){n(e=se(e)),e.mark=t})}(e);var t,i;for(t in r.nodes)i=void 0,(i=r.nodes[t].spec.parseDOM)&&i.forEach(function(e){n(e=se(e)),e.node=t});return o},Y.fromSchema=function(e){return e.cached.domParser||(e.cached.domParser=new Y(e,Y.schemaRules(e)))};var X={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Q={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},ee={ol:!0,ul:!0},te=1,re=2;function ne(e){return(e?te:0)|("full"===e?re:0)}function oe(e,t,r,n,o,i,a){this.type=e,this.attrs=t,this.solid=o,this.match=i||(4&a?null:e.contentMatch),this.options=a,this.content=[],this.marks=r,this.activeMarks=p.none,this.pendingMarks=n,this.stashMarks=[]}oe.prototype.findWrapping=function(e){if(!this.match){if(!this.type)return[];var t=this.type.contentMatch.fillBefore(E.from(e));if(!t){var r,n=this.type.contentMatch;return(r=n.findWrapping(e.type))?(this.match=n,r):null}this.match=this.type.contentMatch.matchFragment(t)}return this.match.findWrapping(e.type)},oe.prototype.finish=function(e){var t;this.options&te||(t=this.content[this.content.length-1])&&t.isText&&(r=/[ \t\r\n\u000c]+$/.exec(t.text))&&(t.text.length==r[0].length?this.content.pop():this.content[this.content.length-1]=t.withText(t.text.slice(0,t.text.length-r[0].length)));var r=E.from(this.content);return!e&&this.match&&(r=r.append(this.match.fillBefore(E.empty,!0))),this.type?this.type.create(this.attrs,r,this.marks):r},oe.prototype.popFromStashMark=function(e){for(var t=this.stashMarks.length-1;0<=t;t--)if(e.eq(this.stashMarks[t]))return this.stashMarks.splice(t,1)[0]},oe.prototype.applyPending=function(e){for(var t=0,r=this.pendingMarks;t<r.length;t++){var n=r[t];(this.type?this.type.allowsMarkType(n.type):function(t,a){var e,r=a.schema.nodes;for(e in r){var n=function(e){e=r[e];if(e.allowsMarkType(t)){var o=[],i=function(e){o.push(e);for(var t=0;t<e.edgeCount;t++){var r=e.edge(t),n=r.type,r=r.next;if(n==a)return!0;if(o.indexOf(r)<0&&i(r))return!0}};return i(e.contentMatch)?{v:!0}:void 0}}(e);if(n)return n.v}}(n.type,e))&&!n.isInSet(this.activeMarks)&&(this.activeMarks=n.addToSet(this.activeMarks),this.pendingMarks=n.removeFromSet(this.pendingMarks))}},oe.prototype.inlineContext=function(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!X.hasOwnProperty(e.parentNode.nodeName.toLowerCase())};var ie=function(e,t,r){this.parser=e,this.options=t,this.isOpen=r;var n=t.topNode,o=ne(t.preserveWhitespace)|(r?4:0),o=n?new oe(n.type,n.attrs,p.none,p.none,!0,t.topMatch||n.type.contentMatch,o):new oe(r?null:e.schema.topNodeType,null,p.none,p.none,!0,null,o);this.nodes=[o],this.open=0,this.find=t.findPositions,this.needsBlock=!1},ae={top:{configurable:!0},currentPos:{configurable:!0}};function se(e){var t,r={};for(t in e)r[t]=e[t];return r}ae.top.get=function(){return this.nodes[this.open]},ie.prototype.addDOM=function(e){if(3==e.nodeType)this.addTextNode(e);else if(1==e.nodeType){var t=e.getAttribute("style"),r=t?this.readStyles(function(e){var t,r=/\s*([\w-]+)\s*:\s*([^;]+)/g,n=[];for(;t=r.exec(e);)n.push(t[1],t[2].trim());return n}(t)):null,n=this.top;if(null!=r)for(var o=0;o<r.length;o++)this.addPendingMark(r[o]);if(this.addElement(e),null!=r)for(var i=0;i<r.length;i++)this.removePendingMark(r[i],n)}},ie.prototype.addTextNode=function(e){var t,r=e.nodeValue,n=this.top;n.options&re||n.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)?(n.options&te?r=n.options&re?r.replace(/\r\n?/g,"\n"):r.replace(/\r?\n|\r/g," "):(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1&&(t=n.content[n.content.length-1],n=e.previousSibling,(!t||n&&"BR"==n.nodeName||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(r=r.slice(1)))),r&&this.insertNode(this.parser.schema.text(r)),this.findInText(e)):this.findInside(e)},ie.prototype.addElement=function(e,t){var r,n=e.nodeName.toLowerCase();ee.hasOwnProperty(n)&&this.parser.normalizeLists&&function(e){for(var t=e.firstChild,r=null;t;t=t.nextSibling){var n=1==t.nodeType?t.nodeName.toLowerCase():null;n&&ee.hasOwnProperty(n)&&r?(r.appendChild(t),t=r):"li"==n?r=t:n&&(r=null)}}(e);var o=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(r=this.parser.matchTag(e,this,t));if(o?o.ignore:Q.hasOwnProperty(n))this.findInside(e),this.ignoreFallback(e);else if(!o||o.skip||o.closeParent){o&&o.closeParent?this.open=Math.max(0,this.open-1):o&&o.skip.nodeType&&(e=o.skip);var i,a=this.top,t=this.needsBlock;if(X.hasOwnProperty(n))i=!0,a.type||(this.needsBlock=!0);else if(!e.firstChild)return void this.leafFallback(e);this.addAll(e),i&&this.sync(a),this.needsBlock=t}else this.addElementByRule(e,o,!1===o.consuming?r:null)},ie.prototype.leafFallback=function(e){"BR"==e.nodeName&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode("\n"))},ie.prototype.ignoreFallback=function(e){"BR"!=e.nodeName||this.top.type&&this.top.type.inlineContent||this.findPlace(this.parser.schema.text("-"))},ie.prototype.readStyles=function(e){var t=p.none;e:for(var r=0;r<e.length;r+=2)for(var n=null;;){var o=this.parser.matchStyle(e[r],e[r+1],this,n);if(!o)continue e;if(o.ignore)return null;if(t=this.parser.schema.marks[o.mark].create(o.attrs).addToSet(t),!1!==o.consuming)break;n=o}return t},ie.prototype.addElementByRule=function(e,t,r){var n,o,i,a=this;t.node?(o=this.parser.schema.nodes[t.node]).isLeaf?this.insertNode(o.create(t.attrs))||this.leafFallback(e):n=this.enter(o,t.attrs,t.preserveWhitespace):(i=this.parser.schema.marks[t.mark].create(t.attrs),this.addPendingMark(i));var s=this.top;o&&o.isLeaf?this.findInside(e):r?this.addElement(e,r):t.getContent?(this.findInside(e),t.getContent(e,this.parser.schema).forEach(function(e){return a.insertNode(e)})):("string"==typeof(t=t.contentElement)?t=e.querySelector(t):"function"==typeof t&&(t=t(e)),this.findAround(e,t=t||e,!0),this.addAll(t,n)),n&&(this.sync(s),this.open--),i&&this.removePendingMark(i,s)},ie.prototype.addAll=function(e,t,r,n){for(var o=r||0,i=r?e.childNodes[r]:e.firstChild,a=null==n?null:e.childNodes[n];i!=a;i=i.nextSibling,++o)this.findAtPoint(e,o),this.addDOM(i),t&&X.hasOwnProperty(i.nodeName.toLowerCase())&&this.sync(t);this.findAtPoint(e,o)},ie.prototype.findPlace=function(e){for(var t,r,n=this.open;0<=n;n--){var o=this.nodes[n],i=o.findWrapping(e);if(i&&(!t||t.length>i.length)&&(r=o,!(t=i).length))break;if(o.solid)break}if(!t)return!1;this.sync(r);for(var a=0;a<t.length;a++)this.enterInner(t[a],null,!1);return!0},ie.prototype.insertNode=function(e){var t;if(!e.isInline||!this.needsBlock||this.top.type||(t=this.textblockFromContext())&&this.enterInner(t),this.findPlace(e)){this.closeExtra();var r=this.top;r.applyPending(e.type),r.match&&(r.match=r.match.matchType(e.type));for(var n=r.activeMarks,o=0;o<e.marks.length;o++)r.type&&!r.type.allowsMarkType(e.marks[o].type)||(n=e.marks[o].addToSet(n));return r.content.push(e.mark(n)),!0}return!1},ie.prototype.enter=function(e,t,r){var n=this.findPlace(e.create(t));return n&&this.enterInner(e,t,!0,r),n},ie.prototype.enterInner=function(e,t,r,n){this.closeExtra();var o=this.top;o.applyPending(e),o.match=o.match&&o.match.matchType(e,t);n=null==n?-5&o.options:ne(n);4&o.options&&0==o.content.length&&(n|=4),this.nodes.push(new oe(e,t,o.activeMarks,o.pendingMarks,r,null,n)),this.open++},ie.prototype.closeExtra=function(e){var t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}},ie.prototype.finish=function(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(this.isOpen||this.options.topOpen)},ie.prototype.sync=function(e){for(var t=this.open;0<=t;t--)if(this.nodes[t]==e)return void(this.open=t)},ae.currentPos.get=function(){this.closeExtra();for(var e=0,t=this.open;0<=t;t--){for(var r=this.nodes[t].content,n=r.length-1;0<=n;n--)e+=r[n].nodeSize;t&&e++}return e},ie.prototype.findAtPoint=function(e,t){if(this.find)for(var r=0;r<this.find.length;r++)this.find[r].node==e&&this.find[r].offset==t&&(this.find[r].pos=this.currentPos)},ie.prototype.findInside=function(e){if(this.find)for(var t=0;t<this.find.length;t++)null==this.find[t].pos&&1==e.nodeType&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)},ie.prototype.findAround=function(e,t,r){if(e!=t&&this.find)for(var n=0;n<this.find.length;n++)null==this.find[n].pos&&1==e.nodeType&&e.contains(this.find[n].node)&&t.compareDocumentPosition(this.find[n].node)&(r?2:4)&&(this.find[n].pos=this.currentPos)},ie.prototype.findInText=function(e){if(this.find)for(var t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))},ie.prototype.matchesContext=function(e){var o=this;if(-1<e.indexOf("|"))return e.split(/\s*\|\s*/).some(this.matchesContext,this);var i=e.split("/"),a=this.options.context,s=!(this.isOpen||a&&a.parent.type!=this.nodes[0].type),c=-(a?a.depth+1:0)+(s?0:1),l=function(e,t){for(;0<=e;e--){var r=i[e];if(""==r){if(e!=i.length-1&&0!=e){for(;c<=t;t--)if(l(e-1,t))return!0;return!1}}else{var n=0<t||0==t&&s?o.nodes[t].type:a&&c<=t?a.node(t-c).type:null;if(!n||n.name!=r&&-1==n.groups.indexOf(r))return!1;t--}}return!0};return l(i.length-1,this.open)},ie.prototype.textblockFromContext=function(){var e,t=this.options.context;if(t)for(var r=t.depth;0<=r;r--){var n=t.node(r).contentMatchAt(t.indexAfter(r)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(e in this.parser.schema.nodes){var o=this.parser.schema.nodes[e];if(o.isTextblock&&o.defaultAttrs)return o}},ie.prototype.addPendingMark=function(e){var t=function(e,t){for(var r=0;r<t.length;r++)if(e.eq(t[r]))return t[r]}(e,this.top.pendingMarks);t&&this.top.stashMarks.push(t),this.top.pendingMarks=e.addToSet(this.top.pendingMarks)},ie.prototype.removePendingMark=function(e,t){for(var r=this.open;0<=r;r--){var n,o=this.nodes[r];if(-1<o.pendingMarks.lastIndexOf(e)?o.pendingMarks=e.removeFromSet(o.pendingMarks):(o.activeMarks=e.removeFromSet(o.activeMarks),(n=o.popFromStashMark(e))&&o.type&&o.type.allowsMarkType(n.type)&&(o.activeMarks=n.addToSet(o.activeMarks))),o==t)break}},Object.defineProperties(ie.prototype,ae);var ce=function(e,t){this.nodes=e||{},this.marks=t||{}};function le(e){var t,r={};for(t in e){var n=e[t].spec.toDOM;n&&(r[t]=n)}return r}function ue(e){return e.document||window.document}ce.prototype.serializeFragment=function(e,a,t){var s=this;void 0===a&&(a={});var c=t=t||ue(a).createDocumentFragment(),l=null;return e.forEach(function(e){if(l||e.marks.length){l=l||[];for(var t=0,r=0;t<l.length&&r<e.marks.length;){var n=e.marks[r];if(s.marks[n.type.name]){if(!n.eq(l[t])||!1===n.type.spec.spanning)break;t+=2,r++}else r++}for(;t<l.length;)c=l.pop(),l.pop();for(;r<e.marks.length;){var o=e.marks[r++],i=s.serializeMark(o,e.isInline,a);i&&(l.push(o,c),c.appendChild(i.dom),c=i.contentDOM||i.dom)}}c.appendChild(s.serializeNodeInner(e,a))}),t},ce.prototype.serializeNodeInner=function(e,t){var r=ce.renderSpec(ue(t=void 0===t?{}:t),this.nodes[e.type.name](e)),n=r.dom,r=r.contentDOM;if(r){if(e.isLeaf)throw new RangeError("Content hole not allowed in a leaf node spec");t.onContent?t.onContent(e,r,t):this.serializeFragment(e.content,t,r)}return n},ce.prototype.serializeNode=function(e,t){for(var r=this.serializeNodeInner(e,t=void 0===t?{}:t),n=e.marks.length-1;0<=n;n--){var o=this.serializeMark(e.marks[n],e.isInline,t);o&&((o.contentDOM||o.dom).appendChild(r),r=o.dom)}return r},ce.prototype.serializeMark=function(e,t,r){void 0===r&&(r={});var n=this.marks[e.type.name];return n&&ce.renderSpec(ue(r),n(e,t))},ce.renderSpec=function(e,t,r){if(void 0===r&&(r=null),"string"==typeof t)return{dom:e.createTextNode(t)};if(null!=t.nodeType)return{dom:t};if(t.dom&&null!=t.dom.nodeType)return t;var n=t[0],o=n.indexOf(" ");0<o&&(r=n.slice(0,o),n=n.slice(o+1));var i,a=null,s=r?e.createElementNS(r,n):e.createElement(n),c=t[1],l=1;if(c&&"object"==typeof c&&null==c.nodeType&&!Array.isArray(c))for(var u in l=2,c)null!=c[u]&&(0<(i=u.indexOf(" "))?s.setAttributeNS(u.slice(0,i),u.slice(i+1),c[u]):s.setAttribute(u,c[u]));for(var d=l;d<t.length;d++){var p=t[d];if(0===p){if(d<t.length-1||l<d)throw new RangeError("Content hole must be the only child of its parent node");return{dom:s,contentDOM:s}}var h=ce.renderSpec(e,p,r),p=h.dom,h=h.contentDOM;if(s.appendChild(p),h){if(a)throw new RangeError("Multiple content holes");a=h}}return{dom:s,contentDOM:a}},ce.fromSchema=function(e){return e.cached.domSerializer||(e.cached.domSerializer=new ce(this.nodesFromSchema(e),this.marksFromSchema(e)))},ce.nodesFromSchema=function(e){e=le(e.nodes);return e.text||(e.text=function(e){return e.text}),e},ce.marksFromSchema=function(e){return le(e.marks)};var de=Object.freeze({__proto__:null,ContentMatch:T,DOMParser:Y,DOMSerializer:ce,Fragment:E,Mark:p,MarkType:Z,Node:C,NodeRange:x,NodeType:V,ReplaceError:o,ResolvedPos:_,Schema:K,Slice:A}),pe=Math.pow(2,16);function he(e){return 65535&e}function fe(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=null),this.pos=e,this.deleted=t,this.recover=r}function me(e,t){void 0===t&&(t=!1),this.ranges=e,this.inverted=t}me.prototype.recover=function(e){var t=0,r=he(e);if(!this.inverted)for(var n=0;n<r;n++)t+=this.ranges[3*n+2]-this.ranges[3*n+1];return this.ranges[3*r]+t+(e-(65535&e))/pe},me.prototype.mapResult=function(e,t){return this._map(e,t=void 0===t?1:t,!1)},me.prototype.map=function(e,t){return this._map(e,t=void 0===t?1:t,!0)},me.prototype._map=function(e,t,r){for(var n=0,o=this.inverted?2:1,i=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?n:0);if(e<s)break;var c=this.ranges[a+o],l=this.ranges[a+i],u=s+c;if(e<=u){var d=s+n+((c?e==s?-1:e==u?1:t:t)<0?0:l);return r?d:new fe(d,t<0?e!=s:e!=u,e==(t<0?s:u)?null:a/3+(e-s)*pe)}n+=l-c}return r?e+n:new fe(e+n)},me.prototype.touches=function(e,t){for(var r=0,n=he(t),o=this.inverted?2:1,i=this.inverted?1:2,a=0;a<this.ranges.length;a+=3){var s=this.ranges[a]-(this.inverted?r:0);if(e<s)break;var c=this.ranges[a+o];if(e<=s+c&&a==3*n)return!0;r+=this.ranges[a+i]-c}return!1},me.prototype.forEach=function(e){for(var t=this.inverted?2:1,r=this.inverted?1:2,n=0,o=0;n<this.ranges.length;n+=3){var i=this.ranges[n],a=i-(this.inverted?o:0),s=i+(this.inverted?0:o),c=this.ranges[n+t],i=this.ranges[n+r];e(a,a+c,s,s+i),o+=i-c}},me.prototype.invert=function(){return new me(this.ranges,!this.inverted)},me.prototype.toString=function(){return(this.inverted?"-":"")+JSON.stringify(this.ranges)},me.offset=function(e){return 0==e?me.empty:new me(e<0?[0,-e,0]:[0,0,e])},me.empty=new me([]);function ge(e,t,r,n){this.maps=e||[],this.from=r||0,this.to=null==n?this.maps.length:n,this.mirror=t}function ye(e){e=Error.call(this,e);return e.__proto__=ye.prototype,e}ge.prototype.slice=function(e,t){return void 0===t&&(t=this.maps.length),new ge(this.maps,this.mirror,e=void 0===e?0:e,t)},ge.prototype.copy=function(){return new ge(this.maps.slice(),this.mirror&&this.mirror.slice(),this.from,this.to)},ge.prototype.appendMap=function(e,t){this.to=this.maps.push(e),null!=t&&this.setMirror(this.maps.length-1,t)},ge.prototype.appendMapping=function(e){for(var t=0,r=this.maps.length;t<e.maps.length;t++){var n=e.getMirror(t);this.appendMap(e.maps[t],null!=n&&n<t?r+n:null)}},ge.prototype.getMirror=function(e){if(this.mirror)for(var t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]},ge.prototype.setMirror=function(e,t){this.mirror||(this.mirror=[]),this.mirror.push(e,t)},ge.prototype.appendMappingInverted=function(e){for(var t=e.maps.length-1,r=this.maps.length+e.maps.length;0<=t;t--){var n=e.getMirror(t);this.appendMap(e.maps[t].invert(),null!=n&&t<n?r-n-1:null)}},ge.prototype.invert=function(){var e=new ge;return e.appendMappingInverted(this),e},ge.prototype.map=function(e,t){if(void 0===t&&(t=1),this.mirror)return this._map(e,t,!0);for(var r=this.from;r<this.to;r++)e=this.maps[r].map(e,t);return e},ge.prototype.mapResult=function(e,t){return this._map(e,t=void 0===t?1:t,!1)},ge.prototype._map=function(e,t,r){for(var n=!1,o=this.from;o<this.to;o++){var i=this.maps[o].mapResult(e,t);if(null!=i.recover){var a=this.getMirror(o);if(null!=a&&o<a&&a<this.to){e=this.maps[o=a].recover(i.recover);continue}}i.deleted&&(n=!0),e=i.pos}return r?e:new fe(e,n)},((ye.prototype=Object.create(Error.prototype)).constructor=ye).prototype.name="TransformError";var _e=function(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new ge},be={before:{configurable:!0},docChanged:{configurable:!0}};function we(){throw new Error("Override me")}be.before.get=function(){return this.docs.length?this.docs[0]:this.doc},_e.prototype.step=function(e){e=this.maybeStep(e);if(e.failed)throw new ye(e.failed);return this},_e.prototype.maybeStep=function(e){var t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t},be.docChanged.get=function(){return 0<this.steps.length},_e.prototype.addStep=function(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t},Object.defineProperties(_e.prototype,be);var ke=Object.create(null),ve=function(){};ve.prototype.apply=we,ve.prototype.getMap=function(){return me.empty},ve.prototype.invert=function(e){return we()},ve.prototype.map=function(e){return we()},ve.prototype.merge=function(e){return null},ve.prototype.toJSON=function(){return we()},ve.fromJSON=function(e,t){if(!t||!t.stepType)throw new RangeError("Invalid input for Step.fromJSON");var r=ke[t.stepType];if(!r)throw new RangeError("No step type "+t.stepType+" defined");return r.fromJSON(e,t)},ve.jsonID=function(e,t){if(e in ke)throw new RangeError("Duplicate use of step JSON ID "+e);return(ke[e]=t).prototype.jsonID=e,t};function xe(e,t){this.doc=e,this.failed=t}xe.ok=function(e){return new xe(e,null)},xe.fail=function(e){return new xe(null,e)},xe.fromReplace=function(e,t,r,n){try{return xe.ok(e.replace(t,r,n))}catch(e){if(e instanceof o)return xe.fail(e.message);throw e}};var ze=function(o){function r(e,t,r,n){o.call(this),this.from=e,this.to=t,this.slice=r,this.structure=!!n}return o&&(r.__proto__=o),((r.prototype=Object.create(o&&o.prototype)).constructor=r).prototype.apply=function(e){return this.structure&&Se(e,this.from,this.to)?xe.fail("Structure replace would overwrite content"):xe.fromReplace(e,this.from,this.to,this.slice)},r.prototype.getMap=function(){return new me([this.from,this.to-this.from,this.slice.size])},r.prototype.invert=function(e){return new r(this.from,this.from+this.slice.size,e.slice(this.from,this.to))},r.prototype.map=function(e){var t=e.mapResult(this.from,1),e=e.mapResult(this.to,-1);return t.deleted&&e.deleted?null:new r(t.pos,Math.max(t.pos,e.pos),this.slice)},r.prototype.merge=function(e){if(!(e instanceof r)||e.structure||this.structure)return null;if(this.from+this.slice.size!=e.from||this.slice.openEnd||e.slice.openStart){if(e.to!=this.from||this.slice.openStart||e.slice.openEnd)return null;var t=this.slice.size+e.slice.size==0?A.empty:new A(e.slice.content.append(this.slice.content),e.slice.openStart,this.slice.openEnd);return new r(e.from,this.to,t,this.structure)}t=this.slice.size+e.slice.size==0?A.empty:new A(this.slice.content.append(e.slice.content),this.slice.openStart,e.slice.openEnd);return new r(this.from,this.to+(e.to-e.from),t,this.structure)},r.prototype.toJSON=function(){var e={stepType:"replace",from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e},r.fromJSON=function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for ReplaceStep.fromJSON");return new r(t.from,t.to,A.fromJSON(e,t.slice),!!t.structure)},r}(ve);ve.jsonID("replace",ze);var Ce=function(s){function o(e,t,r,n,o,i,a){s.call(this),this.from=e,this.to=t,this.gapFrom=r,this.gapTo=n,this.slice=o,this.insert=i,this.structure=!!a}return s&&(o.__proto__=s),((o.prototype=Object.create(s&&s.prototype)).constructor=o).prototype.apply=function(e){if(this.structure&&(Se(e,this.from,this.gapFrom)||Se(e,this.gapTo,this.to)))return xe.fail("Structure gap-replace would overwrite content");var t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return xe.fail("Gap is not a flat range");t=this.slice.insertAt(this.insert,t.content);return t?xe.fromReplace(e,this.from,this.to,t):xe.fail("Content does not fit in gap")},o.prototype.getMap=function(){return new me([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])},o.prototype.invert=function(e){var t=this.gapTo-this.gapFrom;return new o(this.from,this.from+this.slice.size+t,this.from+this.insert,this.from+this.insert+t,e.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)},o.prototype.map=function(e){var t=e.mapResult(this.from,1),r=e.mapResult(this.to,-1),n=e.map(this.gapFrom,-1),e=e.map(this.gapTo,1);return t.deleted&&r.deleted||n<t.pos||e>r.pos?null:new o(t.pos,r.pos,n,e,this.slice,this.insert,this.structure)},o.prototype.toJSON=function(){var e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e},o.fromJSON=function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to||"number"!=typeof t.gapFrom||"number"!=typeof t.gapTo||"number"!=typeof t.insert)throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new o(t.from,t.to,t.gapFrom,t.gapTo,A.fromJSON(e,t.slice),t.insert,!!t.structure)},o}(ve);function Se(e,t,r){for(var n=e.resolve(t),o=r-t,i=n.depth;0<o&&0<i&&n.indexAfter(i)==n.node(i).childCount;)i--,o--;if(0<o)for(var a=n.node(i).maybeChild(n.indexAfter(i));0<o;){if(!a||a.isLeaf)return 1;a=a.firstChild,o--}}function Ee(e){for(var t=e.parent.content.cutByIndex(e.startIndex,e.endIndex),r=e.depth;;--r){var n=e.$from.node(r),o=e.$from.index(r),i=e.$to.indexAfter(r);if(r<e.depth&&n.canReplace(o,i,t))return r;if(0==r||n.type.spec.isolating||(n=n,i=i,0!=(o=o)&&!n.canReplace(o,n.childCount)||i!=n.childCount&&!n.canReplace(0,i)))break}}function Ae(e,t,r,n){void 0===n&&(n=e);e=function(e,t){var r=e.parent,n=e.startIndex,o=e.endIndex,e=r.contentMatchAt(n).findWrapping(t);if(!e)return null;t=e.length?e[0]:t;return r.canReplaceWith(n,o,t)?e:null}(e,t),n=e&&function(e,t){var r=e.parent,n=e.startIndex,o=e.endIndex,e=r.child(n),e=t.contentMatch.findWrapping(e.type);if(!e)return null;for(var i=(e.length?e[e.length-1]:t).contentMatch,a=n;i&&a<o;a++)i=i.matchType(r.child(a).type);return i&&i.validEnd?e:null}(n,t);return n?e.map(qe).concat({type:t,attrs:r}).concat(n.map(qe)):null}function qe(e){return{type:e,attrs:null}}function Me(e,t,r,n){void 0===r&&(r=1);var o=e.resolve(t),i=o.depth-r,t=n&&n[n.length-1]||o.parent;if(i<0||o.parent.type.spec.isolating||!o.parent.canReplace(o.index(),o.parent.childCount)||!t.type.validContent(o.parent.content.cutByIndex(o.index(),o.parent.childCount)))return!1;for(var a=o.depth-1,s=r-2;i<a;a--,s--){var c=o.node(a),l=o.index(a);if(c.type.spec.isolating)return!1;var u=c.content.cutByIndex(l,c.childCount),d=n&&n[s]||c;if(d!=c&&(u=u.replaceChild(0,d.type.create(d.attrs))),!c.canReplace(l+1,c.childCount)||!d.type.validContent(u))return!1}t=o.indexAfter(i),r=n&&n[0];return o.node(i).canReplaceWith(t,t,(r||o.node(1+i)).type)}function De(e,t){e=e.resolve(t),t=e.index();return Te(e.nodeBefore,e.nodeAfter)&&e.parent.canReplace(t,t+1)}function Te(e,t){return e&&t&&!e.isLeaf&&e.canAppend(t)}function Ne(e,t,r){void 0===r&&(r=-1);for(var n=e.resolve(t),o=n.depth;;o--){var i=void 0,a=void 0,s=n.index(o),a=o==n.depth?(i=n.nodeBefore,n.nodeAfter):0<r?(i=n.node(o+1),s++,n.node(o).maybeChild(s)):(i=n.node(o).maybeChild(s-1),n.node(o+1));if(i&&!i.isTextblock&&Te(i,a)&&n.node(o).canReplace(s,s+1))return t;if(0==o)break;t=r<0?n.before(o):n.after(o)}}function Oe(e,t,r){var n=e.resolve(t);if(n.parent.canReplaceWith(n.index(),n.index(),r))return t;if(0==n.parentOffset)for(var o=n.depth-1;0<=o;o--){var i=n.index(o);if(n.node(o).canReplaceWith(i,i,r))return n.before(o+1);if(0<i)return null}if(n.parentOffset==n.parent.content.size)for(var a=n.depth-1;0<=a;a--){var s=n.indexAfter(a);if(n.node(a).canReplaceWith(s,s,r))return n.after(a+1);if(s<n.node(a).childCount)return null}}function Ie(e,t,r){var n=e.resolve(t);if(!r.content.size)return t;for(var o=r.content,i=0;i<r.openStart;i++)o=o.firstChild.content;for(var a=1;a<=(0==r.openStart&&r.size?2:1);a++)for(var s=n.depth;0<=s;s--){var c,l=s==n.depth?0:n.pos<=(n.start(s+1)+n.end(s+1))/2?-1:1,u=n.index(s)+(0<l?1:0),d=n.node(s);if(1==a?d.canReplace(u,u,o):(c=d.contentMatchAt(u).findWrapping(o.firstChild.type))&&d.canReplaceWith(u,u,c[0]))return 0==l?n.pos:l<0?n.before(s+1):n.after(s+1)}return null}function $e(e,t,r){for(var n=[],o=0;o<e.childCount;o++){var i=e.child(o);(i=i.content.size?i.copy($e(i.content,t,i)):i).isInline&&(i=t(i,r,o)),n.push(i)}return E.fromArray(n)}ve.jsonID("replaceAround",Ce),_e.prototype.lift=function(e,t){for(var r=e.$from,n=e.$to,o=e.depth,i=r.before(o+1),e=n.after(o+1),a=i,s=e,c=E.empty,l=0,u=o,d=!1;t<u;u--)d||0<r.index(u)?(d=!0,c=E.from(r.node(u).copy(c)),l++):a--;for(var p=E.empty,h=0,f=o,m=!1;t<f;f--)m||n.after(f+1)<n.end(f)?(m=!0,p=E.from(n.node(f).copy(p)),h++):s++;return this.step(new Ce(a,s,i,e,new A(c.append(p),l,h),c.size-l,!0))},_e.prototype.wrap=function(e,t){for(var r=E.empty,n=t.length-1;0<=n;n--)r=E.from(t[n].type.create(t[n].attrs,r));var o=e.start,e=e.end;return this.step(new Ce(o,e,o,e,new A(r,0,0),t.length,!0))},_e.prototype.setBlockType=function(e,t,o,i){var a=this;if(void 0===t&&(t=e),!o.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");var s=this.steps.length;return this.doc.nodesBetween(e,t,function(e,t){if(e.isTextblock&&!e.hasMarkup(o,i)&&function(e,t,r){e=e.resolve(t),t=e.index();return e.parent.canReplaceWith(t,t+1,r)}(a.doc,a.mapping.slice(s).map(t),o)){a.clearIncompatible(a.mapping.slice(s).map(t,1),o);var r=a.mapping.slice(s),n=r.map(t,1),t=r.map(t+e.nodeSize,1);return a.step(new Ce(n,t,n+1,t-1,new A(E.from(o.create(i,null,e.marks)),0,0),1,!0)),!1}}),this},_e.prototype.setNodeMarkup=function(e,t,r,n){var o=this.doc.nodeAt(e);if(!o)throw new RangeError("No node at given position");n=(t=t||o.type).create(r,null,n||o.marks);if(o.isLeaf)return this.replaceWith(e,e+o.nodeSize,n);if(!t.validContent(o.content))throw new RangeError("Invalid content for node type "+t.name);return this.step(new Ce(e,e+o.nodeSize,e+1,e+o.nodeSize-1,new A(E.from(n),0,0),1,!0))},_e.prototype.split=function(e,t,r){void 0===t&&(t=1);for(var n=this.doc.resolve(e),o=E.empty,i=E.empty,a=n.depth,s=n.depth-t,c=t-1;s<a;a--,c--)var o=E.from(n.node(a).copy(o)),l=r&&r[c],i=E.from(l?l.type.create(l.attrs,i):n.node(a).copy(i));return this.step(new ze(e,e,new A(o.append(i),t,t),!0))},_e.prototype.join=function(e,t){t=new ze(e-(t=void 0===t?1:t),e+t,A.empty,!0);return this.step(t)};var Le=function(n){function r(e,t,r){n.call(this),this.from=e,this.to=t,this.mark=r}return n&&(r.__proto__=n),((r.prototype=Object.create(n&&n.prototype)).constructor=r).prototype.apply=function(e){var r=this,t=e.slice(this.from,this.to),n=e.resolve(this.from),n=n.node(n.sharedDepth(this.to)),t=new A($e(t.content,function(e,t){return e.isAtom&&t.type.allowsMarkType(r.mark.type)?e.mark(r.mark.addToSet(e.marks)):e},n),t.openStart,t.openEnd);return xe.fromReplace(e,this.from,this.to,t)},r.prototype.invert=function(){return new Re(this.from,this.to,this.mark)},r.prototype.map=function(e){var t=e.mapResult(this.from,1),e=e.mapResult(this.to,-1);return t.deleted&&e.deleted||t.pos>=e.pos?null:new r(t.pos,e.pos,this.mark)},r.prototype.merge=function(e){if(e instanceof r&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from)return new r(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark)},r.prototype.toJSON=function(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},r.fromJSON=function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new r(t.from,t.to,e.markFromJSON(t.mark))},r}(ve);ve.jsonID("addMark",Le);var Re=function(n){function r(e,t,r){n.call(this),this.from=e,this.to=t,this.mark=r}return n&&(r.__proto__=n),((r.prototype=Object.create(n&&n.prototype)).constructor=r).prototype.apply=function(e){var t=this,r=e.slice(this.from,this.to),r=new A($e(r.content,function(e){return e.mark(t.mark.removeFromSet(e.marks))}),r.openStart,r.openEnd);return xe.fromReplace(e,this.from,this.to,r)},r.prototype.invert=function(){return new Le(this.from,this.to,this.mark)},r.prototype.map=function(e){var t=e.mapResult(this.from,1),e=e.mapResult(this.to,-1);return t.deleted&&e.deleted||t.pos>=e.pos?null:new r(t.pos,e.pos,this.mark)},r.prototype.merge=function(e){if(e instanceof r&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from)return new r(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark)},r.prototype.toJSON=function(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}},r.fromJSON=function(e,t){if("number"!=typeof t.from||"number"!=typeof t.to)throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new r(t.from,t.to,e.markFromJSON(t.mark))},r}(ve);function je(e,t,r,n){if(void 0===n&&(n=A.empty),t==(r=void 0===r?t:r)&&!n.size)return null;var o=e.resolve(t),e=e.resolve(r);return Pe(o,e,n)?new ze(t,r,n):new Be(o,e,n).fit()}function Pe(e,t,r){return!r.openStart&&!r.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),r.content)}ve.jsonID("removeMark",Re),_e.prototype.addMark=function(c,l,u){var t=this,d=[],p=[],h=null,f=null;return this.doc.nodesBetween(c,l,function(e,t,r){if(e.isInline){var n=e.marks;if(!u.isInSet(n)&&r.type.allowsMarkType(u.type)){for(var o=Math.max(t,c),i=Math.min(t+e.nodeSize,l),a=u.addToSet(n),s=0;s<n.length;s++)n[s].isInSet(a)||(h&&h.to==o&&h.mark.eq(n[s])?h.to=i:d.push(h=new Re(o,i,n[s])));f&&f.to==o?f.to=i:p.push(f=new Le(o,i,u))}}}),d.forEach(function(e){return t.step(e)}),p.forEach(function(e){return t.step(e)}),this},_e.prototype.removeMark=function(d,p,h){var t=this;void 0===h&&(h=null);var f=[],m=0;return this.doc.nodesBetween(d,p,function(e,t){if(e.isInline){m++;var r=null;if(h instanceof Z)for(var n,o=e.marks;n=h.isInSet(o);)(r=r||[]).push(n),o=n.removeFromSet(o);else h?h.isInSet(e.marks)&&(r=[h]):r=e.marks;if(r&&r.length)for(var i=Math.min(t+e.nodeSize,p),a=0;a<r.length;a++){for(var s=r[a],c=void 0,l=0;l<f.length;l++){var u=f[l];u.step==m-1&&s.eq(f[l].style)&&(c=u)}c?(c.to=i,c.step=m):f.push({style:s,from:Math.max(t,d),to:i,step:m})}}}),f.forEach(function(e){return t.step(new Re(e.from,e.to,e.style))}),this},_e.prototype.clearIncompatible=function(e,t,r){void 0===r&&(r=t.contentMatch);for(var n=this.doc.nodeAt(e),o=[],i=e+1,a=0;a<n.childCount;a++){var s=n.child(a),c=i+s.nodeSize,l=r.matchType(s.type,s.attrs);if(l){r=l;for(var u=0;u<s.marks.length;u++)t.allowsMarkType(s.marks[u].type)||this.step(new Re(i,c,s.marks[u]))}else o.push(new ze(i,c,A.empty));i=c}r.validEnd||(e=r.fillBefore(E.empty,!0),this.replace(i,i,new A(e,0,0)));for(var d=o.length-1;0<=d;d--)this.step(o[d]);return this},_e.prototype.replace=function(e,t,r){void 0===r&&(r=A.empty);r=je(this.doc,e,t=void 0===t?e:t,r);return r&&this.step(r),this},_e.prototype.replaceWith=function(e,t,r){return this.replace(e,t,new A(E.from(r),0,0))},_e.prototype.delete=function(e,t){return this.replace(e,t,A.empty)},_e.prototype.insert=function(e,t){return this.replaceWith(e,e,t)};var Be=function(e,t,r){this.$to=t,this.$from=e,this.unplaced=r,this.frontier=[];for(var n=0;n<=e.depth;n++){var o=e.node(n);this.frontier.push({type:o.type,match:o.contentMatchAt(e.indexAfter(n))})}this.placed=E.empty;for(var i=e.depth;0<i;i--)this.placed=E.from(e.node(i).copy(this.placed))},Fe={depth:{configurable:!0}};function Ue(e,t,r){return 0==t?e.cutByIndex(r):e.replaceChild(0,e.firstChild.copy(Ue(e.firstChild.content,t-1,r)))}function Ve(e,t,r){return 0==t?e.append(r):e.replaceChild(e.childCount-1,e.lastChild.copy(Ve(e.lastChild.content,t-1,r)))}function He(e,t){for(var r=0;r<t;r++)e=e.firstChild.content;return e}function We(e,t,r,n,o){var i=e.node(t),t=o?e.indexAfter(t):e.index(t);if(t==i.childCount&&!r.compatibleContent(i.type))return null;n=n.fillBefore(i.content,!0,t);return n&&!function(e,t,r){for(var n=r;n<t.childCount;n++)if(!e.allowsMarks(t.child(n).marks))return!0;return!1}(r,i.content,t)?n:null}function Ge(e,t){for(var r=[],n=Math.min(e.depth,t.depth);0<=n;n--){var o=e.start(n);if(o<e.pos-(e.depth-n)||t.end(n)>t.pos+(t.depth-n)||e.node(n).type.spec.isolating||t.node(n).type.spec.isolating)break;o==t.start(n)&&r.push(n)}return r}Fe.depth.get=function(){return this.frontier.length-1},Be.prototype.fit=function(){for(;this.unplaced.size;){var e;(e=this.findFittable())?this.placeNodes(e):this.openMore()||this.dropNode()}var t=this.mustMoveInline(),r=this.placed.size-this.depth-this.$from.depth,n=this.$from,o=this.close(t<0?this.$to:n.doc.resolve(t));if(!o)return null;for(var i=this.placed,a=n.depth,s=o.depth;a&&s&&1==i.childCount;)i=i.firstChild.content,a--,s--;var c=new A(i,a,s);return-1<t?new Ce(n.pos,t,this.$to.pos,this.$to.end(),c,r):c.size||n.pos!=this.$to.pos?new ze(n.pos,o.pos,c):void 0},Be.prototype.findFittable=function(){for(var e=1;e<=2;e++)for(var t=this.unplaced.openStart;0<=t;t--)for(var r=void 0,n=(t?r=He(this.unplaced.content,t-1).firstChild:this.unplaced).content.firstChild,o=this.depth;0<=o;o--){var i=this.frontier[o],a=i.type,s=i.match,c=void 0,i=void 0;if(1==e&&(n?s.matchType(n.type)||(i=s.fillBefore(E.from(n),!1)):a.compatibleContent(r.type)))return{sliceDepth:t,frontierDepth:o,parent:r,inject:i};if(2==e&&n&&(c=s.findWrapping(n.type)))return{sliceDepth:t,frontierDepth:o,parent:r,wrap:c};if(r&&s.matchType(r.type))break}},Be.prototype.openMore=function(){var e=this.unplaced,t=e.content,r=e.openStart,n=e.openEnd,e=He(t,r);return!(!e.childCount||e.firstChild.isLeaf)&&(this.unplaced=new A(t,r+1,Math.max(n,e.size+r>=t.size-n?r+1:0)),!0)},Be.prototype.dropNode=function(){var e=this.unplaced,t=e.content,r=e.openStart,n=e.openEnd,e=He(t,r);e.childCount<=1&&0<r?(e=t.size-r<=r+e.size,this.unplaced=new A(Ue(t,r-1,1),r-1,e?r-1:n)):this.unplaced=new A(Ue(t,r,1),r,n)},Be.prototype.placeNodes=function(e){for(var t=e.sliceDepth,r=e.frontierDepth,n=e.parent,o=e.inject,i=e.wrap;this.depth>r;)this.closeFrontierNode();if(i)for(var a=0;a<i.length;a++)this.openFrontierNode(i[a]);var s=this.unplaced,c=(n||s).content,l=s.openStart-t,u=0,d=[],e=this.frontier[r],p=e.match,h=e.type;if(o){for(var f=0;f<o.childCount;f++)d.push(o.child(f));p=p.matchFragment(o)}for(var m=c.size+t-(s.content.size-s.openEnd);u<c.childCount;){var g=c.child(u),y=p.matchType(g.type);if(!y)break;(1<++u||0==l||g.content.size)&&(p=y,d.push(function e(t,r,n){if(r<=0)return t;var o=t.content;1<r&&(o=o.replaceChild(0,e(o.firstChild,r-1,1==o.childCount?n-1:0)));0<r&&(o=t.type.contentMatch.fillBefore(o).append(o),n<=0&&(o=o.append(t.type.contentMatch.matchFragment(o).fillBefore(E.empty,!0))));return t.copy(o)}(g.mark(h.allowedMarks(g.marks)),1==u?l:0,u==c.childCount?m:-1)))}e=u==c.childCount;e||(m=-1),this.placed=Ve(this.placed,r,E.from(d)),this.frontier[r].match=p,e&&m<0&&n&&n.type==this.frontier[this.depth].type&&1<this.frontier.length&&this.closeFrontierNode();for(var _=0,b=c;_<m;_++){var w=b.lastChild;this.frontier.push({type:w.type,match:w.contentMatchAt(w.childCount)}),b=w.content}this.unplaced=e?0==t?A.empty:new A(Ue(s.content,t-1,1),t-1,m<0?s.openEnd:t-1):new A(Ue(s.content,t,u),s.openStart,s.openEnd)},Be.prototype.mustMoveInline=function(){if(!this.$to.parent.isTextblock||this.$to.end()==this.$to.pos)return-1;var e,t=this.frontier[this.depth];if(!t.type.isTextblock||!We(this.$to,this.$to.depth,t.type,t.match,!1)||this.$to.depth==this.depth&&(e=this.findCloseLevel(this.$to))&&e.depth==this.depth)return-1;for(var r=this.$to.depth,n=this.$to.after(r);1<r&&n==this.$to.end(--r);)++n;return n},Be.prototype.findCloseLevel=function(e){e:for(var t=Math.min(this.depth,e.depth);0<=t;t--){var r=this.frontier[t],n=r.match,o=r.type,r=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),n=We(e,t,o,n,r);if(n){for(var i=t-1;0<=i;i--){var a=this.frontier[i],s=a.match,s=We(e,i,a.type,s,!0);if(!s||s.childCount)continue e}return{depth:t,fit:n,move:r?e.doc.resolve(e.after(t+1)):e}}}},Be.prototype.close=function(e){var t;if(!(t=this.findCloseLevel(e)))return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=Ve(this.placed,t.depth,t.fit)),e=t.move;for(var r=t.depth+1;r<=e.depth;r++){var n=e.node(r),o=n.type.contentMatch.fillBefore(n.content,!0,e.index(r));this.openFrontierNode(n.type,n.attrs,o)}return e},Be.prototype.openFrontierNode=function(e,t,r){var n=this.frontier[this.depth];n.match=n.match.matchType(e),this.placed=Ve(this.placed,this.depth,E.from(e.create(t,r))),this.frontier.push({type:e,match:e.contentMatch})},Be.prototype.closeFrontierNode=function(){var e=this.frontier.pop().match.fillBefore(E.empty,!0);e.childCount&&(this.placed=Ve(this.placed,this.frontier.length,e))},Object.defineProperties(Be.prototype,Fe),_e.prototype.replaceRange=function(e,t,r){if(!r.size)return this.deleteRange(e,t);var n=this.doc.resolve(e),o=this.doc.resolve(t);if(Pe(n,o,r))return this.step(new ze(e,t,r));var i=Ge(n,this.doc.resolve(t));0==i[i.length-1]&&i.pop();var a=-(n.depth+1);i.unshift(a);for(var s=n.depth,c=n.pos-1;0<s;s--,c--){var l=n.node(s).type.spec;if(l.defining||l.isolating)break;-1<i.indexOf(s)?a=s:n.before(s)==c&&i.splice(1,0,-s)}for(var u=i.indexOf(a),d=[],p=r.openStart,h=r.content,f=0;;f++){var m=h.firstChild;if(d.push(m),f==r.openStart)break;h=m.content}0<p&&d[p-1].type.spec.defining&&n.node(u).type!=d[p-1].type?--p:2<=p&&d[p-1].isTextblock&&d[p-2].type.spec.defining&&n.node(u).type!=d[p-2].type&&(p-=2);for(var g=r.openStart;0<=g;g--){var y=(g+p+1)%(r.openStart+1),_=d[y];if(_)for(var b=0;b<i.length;b++){var w=i[(b+u)%i.length],k=!0;w<0&&(k=!1,w=-w);var v=n.node(w-1),x=n.index(w-1);if(v.canReplaceWith(x,x,_.type,_.marks))return this.replace(n.before(w),k?o.after(w):t,new A(function e(t,r,n,o,i){{var a;r<n&&(a=t.firstChild,t=t.replaceChild(0,a.copy(e(a.content,r+1,n,o,a))))}o<r&&(r=i.contentMatchAt(0),i=r.fillBefore(t).append(t),t=i.append(r.matchFragment(i).fillBefore(E.empty,!0)));return t}(r.content,0,r.openStart,y),y,r.openEnd))}}for(var z=this.steps.length,C=i.length-1;0<=C&&(this.replace(e,t,r),!(this.steps.length>z));C--){var S=i[C];S<0||(e=n.before(S),t=o.after(S))}return this},_e.prototype.replaceRangeWith=function(e,t,r){var n;return r.isInline||e!=t||!this.doc.resolve(e).parent.content.size||null!=(n=Oe(this.doc,e,r.type))&&(e=t=n),this.replaceRange(e,t,new A(E.from(r),0,0))},_e.prototype.deleteRange=function(e,t){for(var r=this.doc.resolve(e),n=this.doc.resolve(t),o=Ge(r,n),i=0;i<o.length;i++){var a=o[i],s=i==o.length-1;if(s&&0==a||r.node(a).type.contentMatch.validEnd)return this.delete(r.start(a),n.end(a));if(0<a&&(s||r.node(a-1).canReplace(r.index(a-1),n.indexAfter(a-1))))return this.delete(r.before(a),n.after(a))}for(var c=1;c<=r.depth&&c<=n.depth;c++)if(e-r.start(c)==r.depth-c&&t>r.end(c)&&n.end(c)-t!=n.depth-c)return this.delete(r.before(c),t);return this.delete(e,t)};var Ze=Object.freeze({__proto__:null,AddMarkStep:Le,MapResult:fe,Mapping:ge,RemoveMarkStep:Re,ReplaceAroundStep:Ce,ReplaceStep:ze,Step:ve,StepMap:me,StepResult:xe,Transform:_e,TransformError:ye,canJoin:De,canSplit:Me,dropPoint:Ie,findWrapping:Ae,insertPoint:Oe,joinPoint:Ne,liftTarget:Ee,replaceStep:je}),Ke=Object.create(null),Je=function(e,t,r){this.ranges=r||[new Xe(e.min(t),e.max(t))],this.$anchor=e,this.$head=t},Ye={anchor:{configurable:!0},head:{configurable:!0},from:{configurable:!0},to:{configurable:!0},$from:{configurable:!0},$to:{configurable:!0},empty:{configurable:!0}};Ye.anchor.get=function(){return this.$anchor.pos},Ye.head.get=function(){return this.$head.pos},Ye.from.get=function(){return this.$from.pos},Ye.to.get=function(){return this.$to.pos},Ye.$from.get=function(){return this.ranges[0].$from},Ye.$to.get=function(){return this.ranges[0].$to},Ye.empty.get=function(){for(var e=this.ranges,t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0},Je.prototype.content=function(){return this.$from.node(0).slice(this.from,this.to,!0)},Je.prototype.replace=function(e,t){for(var r=(t=void 0===t?A.empty:t).content.lastChild,n=null,o=0;o<t.openEnd;o++)r=(n=r).lastChild;for(var i=e.steps.length,a=this.ranges,s=0;s<a.length;s++){var c=a[s],l=c.$from,u=c.$to,c=e.mapping.slice(i);e.replaceRange(c.map(l.pos),c.map(u.pos),s?A.empty:t),0==s&&at(e,i,(r?r.isInline:n&&n.isTextblock)?-1:1)}},Je.prototype.replaceWith=function(e,t){for(var r=e.steps.length,n=this.ranges,o=0;o<n.length;o++){var i=n[o],a=i.$from,s=i.$to,i=e.mapping.slice(r),a=i.map(a.pos),s=i.map(s.pos);o?e.deleteRange(a,s):(e.replaceRangeWith(a,s,t),at(e,r,t.isInline?-1:1))}},Je.findFrom=function(e,t,r){var n=e.parent.inlineContent?new Qe(e):it(e.node(0),e.parent,e.pos,e.index(),t,r);if(n)return n;for(var o=e.depth-1;0<=o;o--){var i=t<0?it(e.node(0),e.node(o),e.before(o+1),e.index(o),t,r):it(e.node(0),e.node(o),e.after(o+1),e.index(o)+1,t,r);if(i)return i}},Je.near=function(e,t){return this.findFrom(e,t=void 0===t?1:t)||this.findFrom(e,-t)||new nt(e.node(0))},Je.atStart=function(e){return it(e,e,0,0,1)||new nt(e)},Je.atEnd=function(e){return it(e,e,e.content.size,e.childCount,-1)||new nt(e)},Je.fromJSON=function(e,t){if(!t||!t.type)throw new RangeError("Invalid input for Selection.fromJSON");var r=Ke[t.type];if(!r)throw new RangeError("No selection type "+t.type+" defined");return r.fromJSON(e,t)},Je.jsonID=function(e,t){if(e in Ke)throw new RangeError("Duplicate use of selection JSON ID "+e);return(Ke[e]=t).prototype.jsonID=e,t},Je.prototype.getBookmark=function(){return Qe.between(this.$anchor,this.$head).getBookmark()},Object.defineProperties(Je.prototype,Ye),Je.prototype.visible=!0;var Xe=function(e,t){this.$from=e,this.$to=t},Qe=function(i){function a(e,t){i.call(this,e,t=void 0===t?e:t)}i&&(a.__proto__=i),(a.prototype=Object.create(i&&i.prototype)).constructor=a;var e={$cursor:{configurable:!0}};return e.$cursor.get=function(){return this.$anchor.pos==this.$head.pos?this.$head:null},a.prototype.map=function(e,t){var r=e.resolve(t.map(this.head));if(!r.parent.inlineContent)return i.near(r);t=e.resolve(t.map(this.anchor));return new a(t.parent.inlineContent?t:r,r)},a.prototype.replace=function(e,t){void 0===t&&(t=A.empty),i.prototype.replace.call(this,e,t),t!=A.empty||(t=this.$from.marksAcross(this.$to))&&e.ensureMarks(t)},a.prototype.eq=function(e){return e instanceof a&&e.anchor==this.anchor&&e.head==this.head},a.prototype.getBookmark=function(){return new et(this.anchor,this.head)},a.prototype.toJSON=function(){return{type:"text",anchor:this.anchor,head:this.head}},a.fromJSON=function(e,t){if("number"!=typeof t.anchor||"number"!=typeof t.head)throw new RangeError("Invalid input for TextSelection.fromJSON");return new a(e.resolve(t.anchor),e.resolve(t.head))},a.create=function(e,t,r){void 0===r&&(r=t);var n=e.resolve(t);return new this(n,r==t?n:e.resolve(r))},a.between=function(e,t,r){var n=e.pos-t.pos;if(r&&!n||(r=0<=n?1:-1),!t.parent.inlineContent){var o=i.findFrom(t,r,!0)||i.findFrom(t,-r,!0);if(!o)return i.near(t,r);t=o.$head}return new a(e=!(e.parent.inlineContent||0!=n&&(e=(i.findFrom(e,-r,!0)||i.findFrom(e,r,!0)).$anchor).pos<t.pos==n<0)?t:e,t)},Object.defineProperties(a.prototype,e),a}(Je);Je.jsonID("text",Qe);var et=function(e,t){this.anchor=e,this.head=t};et.prototype.map=function(e){return new et(e.map(this.anchor),e.map(this.head))},et.prototype.resolve=function(e){return Qe.between(e.resolve(this.anchor),e.resolve(this.head))};var tt=function(n){function o(e){var t=e.nodeAfter,r=e.node(0).resolve(e.pos+t.nodeSize);n.call(this,e,r),this.node=t}return n&&(o.__proto__=n),((o.prototype=Object.create(n&&n.prototype)).constructor=o).prototype.map=function(e,t){var r=t.mapResult(this.anchor),t=r.deleted,r=r.pos,r=e.resolve(r);return t?n.near(r):new o(r)},o.prototype.content=function(){return new A(E.from(this.node),0,0)},o.prototype.eq=function(e){return e instanceof o&&e.anchor==this.anchor},o.prototype.toJSON=function(){return{type:"node",anchor:this.anchor}},o.prototype.getBookmark=function(){return new rt(this.anchor)},o.fromJSON=function(e,t){if("number"!=typeof t.anchor)throw new RangeError("Invalid input for NodeSelection.fromJSON");return new o(e.resolve(t.anchor))},o.create=function(e,t){return new this(e.resolve(t))},o.isSelectable=function(e){return!e.isText&&!1!==e.type.spec.selectable},o}(Je);tt.prototype.visible=!1,Je.jsonID("node",tt);var rt=function(e){this.anchor=e};rt.prototype.map=function(e){var t=e.mapResult(this.anchor),e=t.deleted,t=t.pos;return e?new et(t,t):new rt(t)},rt.prototype.resolve=function(e){var t=e.resolve(this.anchor),e=t.nodeAfter;return e&&tt.isSelectable(e)?new tt(t):Je.near(t)};var nt=function(n){function t(e){n.call(this,e.resolve(0),e.resolve(e.content.size))}return n&&(t.__proto__=n),((t.prototype=Object.create(n&&n.prototype)).constructor=t).prototype.replace=function(e,t){var r;(t=void 0===t?A.empty:t)==A.empty?(e.delete(0,e.doc.content.size),(r=n.atStart(e.doc)).eq(e.selection)||e.setSelection(r)):n.prototype.replace.call(this,e,t)},t.prototype.toJSON=function(){return{type:"all"}},t.fromJSON=function(e){return new t(e)},t.prototype.map=function(e){return new t(e)},t.prototype.eq=function(e){return e instanceof t},t.prototype.getBookmark=function(){return ot},t}(Je);Je.jsonID("all",nt);var ot={map:function(){return this},resolve:function(e){return new nt(e)}};function it(e,t,r,n,o,i){if(t.inlineContent)return Qe.create(e,r);for(var a=n-(0<o?0:1);0<o?a<t.childCount:0<=a;a+=o){var s=t.child(a);if(s.isAtom){if(!i&&tt.isSelectable(s))return tt.create(e,r-(o<0?s.nodeSize:0))}else{var c=it(e,s,r+o,o<0?s.childCount:0,o,i);if(c)return c}r+=s.nodeSize*o}}function at(e,t,r){var o,n=e.steps.length-1;n<t||((t=e.steps[n])instanceof ze||t instanceof Ce)&&(e.mapping.maps[n].forEach(function(e,t,r,n){null==o&&(o=n)}),e.setSelection(Je.near(e.doc.resolve(o),r)))}var st=function(r){function e(e){r.call(this,e.doc),this.time=Date.now(),this.curSelection=e.selection,this.curSelectionFor=0,this.storedMarks=e.storedMarks,this.updated=0,this.meta=Object.create(null)}r&&(e.__proto__=r),(e.prototype=Object.create(r&&r.prototype)).constructor=e;var t={selection:{configurable:!0},selectionSet:{configurable:!0},storedMarksSet:{configurable:!0},isGeneric:{configurable:!0},scrolledIntoView:{configurable:!0}};return t.selection.get=function(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection},e.prototype.setSelection=function(e){if(e.$from.doc!=this.doc)throw new RangeError("Selection passed to setSelection must point at the current document");return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=-3&(1|this.updated),this.storedMarks=null,this},t.selectionSet.get=function(){return 0<(1&this.updated)},e.prototype.setStoredMarks=function(e){return this.storedMarks=e,this.updated|=2,this},e.prototype.ensureMarks=function(e){return p.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this},e.prototype.addStoredMark=function(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))},e.prototype.removeStoredMark=function(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))},t.storedMarksSet.get=function(){return 0<(2&this.updated)},e.prototype.addStep=function(e,t){r.prototype.addStep.call(this,e,t),this.updated=-3&this.updated,this.storedMarks=null},e.prototype.setTime=function(e){return this.time=e,this},e.prototype.replaceSelection=function(e){return this.selection.replace(this,e),this},e.prototype.replaceSelectionWith=function(e,t){var r=this.selection;return!1!==t&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||p.none))),r.replaceWith(this,e),this},e.prototype.deleteSelection=function(){return this.selection.replace(this),this},e.prototype.insertText=function(e,t,r){void 0===r&&(r=t);var n=this.doc.type.schema;if(null==t)return e?this.replaceSelectionWith(n.text(e),!0):this.deleteSelection();if(!e)return this.deleteRange(t,r);var o,i=this.storedMarks;return i||(o=this.doc.resolve(t),i=r==t?o.marks():o.marksAcross(this.doc.resolve(r))),this.replaceRangeWith(t,r,n.text(e,i)),this.selection.empty||this.setSelection(Je.near(this.selection.$to)),this},e.prototype.setMeta=function(e,t){return this.meta["string"==typeof e?e:e.key]=t,this},e.prototype.getMeta=function(e){return this.meta["string"==typeof e?e:e.key]},t.isGeneric.get=function(){for(var e in this.meta)return!1;return!0},e.prototype.scrollIntoView=function(){return this.updated|=4,this},t.scrolledIntoView.get=function(){return 0<(4&this.updated)},Object.defineProperties(e.prototype,t),e}(_e);function ct(e,t){return t&&e?e.bind(t):e}function lt(e,t,r){this.name=e,this.init=ct(t.init,r),this.apply=ct(t.apply,r)}function ut(e,t){var r=this;this.schema=e,this.fields=pt.concat(),this.plugins=[],this.pluginsByKey=Object.create(null),t&&t.forEach(function(e){if(r.pluginsByKey[e.key])throw new RangeError("Adding different instances of a keyed plugin ("+e.key+")");r.plugins.push(e),(r.pluginsByKey[e.key]=e).spec.state&&r.fields.push(new lt(e.key,e.spec.state,e))})}function dt(e){this.config=e}var pt=[new lt("doc",{init:function(e){return e.doc||e.schema.topNodeType.createAndFill()},apply:function(e){return e.doc}}),new lt("selection",{init:function(e,t){return e.selection||Je.atStart(t.doc)},apply:function(e){return e.selection}}),new lt("storedMarks",{init:function(e){return e.storedMarks||null},apply:function(e,t,r,n){return n.selection.$cursor?e.storedMarks:null}}),new lt("scrollToSelection",{init:function(){return 0},apply:function(e,t){return e.scrolledIntoView?t+1:t}})],ht={schema:{configurable:!0},plugins:{configurable:!0},tr:{configurable:!0}};ht.schema.get=function(){return this.config.schema},ht.plugins.get=function(){return this.config.plugins},dt.prototype.apply=function(e){return this.applyTransaction(e).state},dt.prototype.filterTransaction=function(e,t){void 0===t&&(t=-1);for(var r=0;r<this.config.plugins.length;r++)if(r!=t){var n=this.config.plugins[r];if(n.spec.filterTransaction&&!n.spec.filterTransaction.call(n,e,this))return!1}return!0},dt.prototype.applyTransaction=function(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};for(var t=[e],r=this.applyInner(e),n=null;;){for(var o=!1,i=0;i<this.config.plugins.length;i++){var a=this.config.plugins[i];if(a.spec.appendTransaction){var s=n?n[i].n:0,c=n?n[i].state:this,c=s<t.length&&a.spec.appendTransaction.call(a,s?t.slice(s):t,c,r);if(c&&r.filterTransaction(c,i)){if(c.setMeta("appendedTransaction",e),!n)for(var n=[],l=0;l<this.config.plugins.length;l++)n.push(l<i?{state:r,n:t.length}:{state:this,n:0});t.push(c),r=r.applyInner(c),o=!0}n&&(n[i]={state:r,n:t.length})}}if(!o)return{state:r,transactions:t}}},dt.prototype.applyInner=function(e){if(!e.before.eq(this.doc))throw new RangeError("Applying a mismatched transaction");for(var t=new dt(this.config),r=this.config.fields,n=0;n<r.length;n++){var o=r[n];t[o.name]=o.apply(e,this[o.name],this,t)}for(var i=0;i<ft.length;i++)ft[i](this,e,t);return t},ht.tr.get=function(){return new st(this)},dt.create=function(e){for(var t=new ut((e.doc?e.doc.type:e).schema,e.plugins),r=new dt(t),n=0;n<t.fields.length;n++)r[t.fields[n].name]=t.fields[n].init(e,r);return r},dt.prototype.reconfigure=function(e){for(var t=new ut(this.schema,e.plugins),r=t.fields,n=new dt(t),o=0;o<r.length;o++){var i=r[o].name;n[i]=this.hasOwnProperty(i)?this[i]:r[o].init(e,n)}return n},dt.prototype.toJSON=function(e){var t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(function(e){return e.toJSON()})),e&&"object"==typeof e)for(var r in e){if("doc"==r||"selection"==r)throw new RangeError("The JSON fields `doc` and `selection` are reserved");var n=e[r],o=n.spec.state;o&&o.toJSON&&(t[r]=o.toJSON.call(n,this[n.key]))}return t},dt.fromJSON=function(o,i,a){if(!i)throw new RangeError("Invalid input for EditorState.fromJSON");if(!o.schema)throw new RangeError("Required config field 'schema' missing");var e=new ut(o.schema,o.plugins),s=new dt(e);return e.fields.forEach(function(e){if("doc"==e.name)s.doc=C.fromJSON(o.schema,i.doc);else if("selection"==e.name)s.selection=Je.fromJSON(s.doc,i.selection);else if("storedMarks"==e.name)i.storedMarks&&(s.storedMarks=i.storedMarks.map(o.schema.markFromJSON));else{if(a)for(var t in a){var r=a[t],n=r.spec.state;if(r.key==e.name&&n&&n.fromJSON&&Object.prototype.hasOwnProperty.call(i,t))return void(s[e.name]=n.fromJSON.call(r,o,i[t],s))}s[e.name]=e.init(o,s)}}),s},dt.addApplyListener=function(e){ft.push(e)},dt.removeApplyListener=function(e){e=ft.indexOf(e);-1<e&&ft.splice(e,1)},Object.defineProperties(dt.prototype,ht);var ft=[];var mt=function(e){this.props={},e.props&&function e(t,r,n){for(var o in t){var i=t[o];i instanceof Function?i=i.bind(r):"handleDOMEvents"==o&&(i=e(i,r,{})),n[o]=i}return n}(e.props,this,this.props),this.spec=e,this.key=e.key?e.key.key:yt("plugin")};mt.prototype.getState=function(e){return e[this.key]};var gt=Object.create(null);function yt(e){return e in gt?e+"$"+ ++gt[e]:(gt[e]=0,e+"$")}var _t=function(e){this.key=yt(e=void 0===e?"key":e)};_t.prototype.get=function(e){return e.config.pluginsByKey[this.key]},_t.prototype.getState=function(e){return e[this.key]};var bt=Object.freeze({__proto__:null,AllSelection:nt,EditorState:dt,NodeSelection:tt,Plugin:mt,PluginKey:_t,Selection:Je,SelectionRange:Xe,TextSelection:Qe,Transaction:st}),wt={};"undefined"!=typeof navigator&&"undefined"!=typeof document&&(ON=/Edge\/(\d+)/.exec(navigator.userAgent),TN=/MSIE \d/.test(navigator.userAgent),NN=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),wt.mac=/Mac/.test(navigator.platform),$N=wt.ie=!!(TN||NN||ON),wt.ie_version=TN?document.documentMode||6:NN?+NN[1]:ON?+ON[1]:null,wt.gecko=!$N&&/gecko\/(\d+)/i.test(navigator.userAgent),wt.gecko_version=wt.gecko&&+(/Firefox\/(\d+)/.exec(navigator.userAgent)||[0,0])[1],IN=!$N&&/Chrome\/(\d+)/.exec(navigator.userAgent),wt.chrome=!!IN,wt.chrome_version=IN&&+IN[1],wt.safari=!$N&&/Apple Computer/.test(navigator.vendor),wt.ios=wt.safari&&(/Mobile\/\w+/.test(navigator.userAgent)||2<navigator.maxTouchPoints),wt.android=/Android \d/.test(navigator.userAgent),wt.webkit="webkitFontSmoothing"in document.documentElement.style,wt.webkit_version=wt.webkit&&+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]);function kt(e,t,r,n){return r&&(Et(e,t,r,n,-1)||Et(e,t,r,n,1))}var vt=function(e){for(var t=0;;t++)if(!(e=e.previousSibling))return t},xt=function(e){e=e.assignedSlot||e.parentNode;return e&&11==e.nodeType?e.host:e},zt=null,Ct=function(e,t,r){var n=zt=zt||document.createRange();return n.setEnd(e,null==r?e.nodeValue.length:r),n.setStart(e,t||0),n},St=/^(img|br|input|textarea|hr)$/i;function Et(e,t,r,n,o){for(;;){if(e==r&&t==n)return!0;if(t==(o<0?0:At(e))){var i=e.parentNode;if(1!=i.nodeType||function(e){for(var t,r=e;r&&!(t=r.pmViewDesc);r=r.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}(e)||St.test(e.nodeName)||"false"==e.contentEditable)return!1;t=vt(e)+(o<0?0:1),e=i}else{if(1!=e.nodeType)return!1;if("false"==(e=e.childNodes[t+(o<0?-1:0)]).contentEditable)return!1;t=o<0?At(e):0}}}function At(e){return(3==e.nodeType?e.nodeValue:e.childNodes).length}function qt(e){var t=e.isCollapsed;return t=t&&wt.chrome&&e.rangeCount&&!e.getRangeAt(0).collapsed?!1:t}function Mt(e,t){var r=document.createEvent("Event");return r.initEvent("keydown",!0,!0),r.keyCode=e,r.key=r.code=t,r}function Dt(e,t){return"number"==typeof e?e:e[t]}function Tt(e,t,r){for(var n=e.someProp("scrollThreshold")||0,o=e.someProp("scrollMargin")||5,i=e.dom.ownerDocument,a=r||e.dom;a;a=xt(a))if(1==a.nodeType){var s,c=a==i.body||1!=a.nodeType,l=c?{left:0,right:i.documentElement.clientWidth,top:0,bottom:i.documentElement.clientHeight}:(s=l=u=void 0,u=(d=a).getBoundingClientRect(),l=u.width/d.offsetWidth||1,s=u.height/d.offsetHeight||1,{left:u.left,right:u.left+d.clientWidth*l,top:u.top,bottom:u.top+d.clientHeight*s}),u=0,d=0;if(t.top<l.top+Dt(n,"top")?d=-(l.top-t.top+Dt(o,"top")):t.bottom>l.bottom-Dt(n,"bottom")&&(d=t.bottom-l.bottom+Dt(o,"bottom")),t.left<l.left+Dt(n,"left")?u=-(l.left-t.left+Dt(o,"left")):t.right>l.right-Dt(n,"right")&&(u=t.right-l.right+Dt(o,"right")),(u||d)&&(c?i.defaultView.scrollBy(u,d):(s=a.scrollLeft,l=a.scrollTop,d&&(a.scrollTop+=d),u&&(a.scrollLeft+=u),s=a.scrollLeft-s,l=a.scrollTop-l,t={left:t.left-s,top:t.top-l,right:t.right-s,bottom:t.bottom-l})),c)break}}function Nt(e){for(var t=[],r=e.ownerDocument;e&&(t.push({dom:e,top:e.scrollTop,left:e.scrollLeft}),e!=r);e=xt(e));return t}function Ot(e,t){for(var r=0;r<e.length;r++){var n=e[r],o=n.dom,i=n.top,n=n.left;o.scrollTop!=i+t&&(o.scrollTop=i+t),o.scrollLeft!=n&&(o.scrollLeft=n)}}var It=null;function $t(e,t){for(var r,n,o=2e8,i=0,a=t.top,s=t.top,c=e.firstChild,l=0;c;c=c.nextSibling,l++){var u=void 0;if(1==c.nodeType)u=c.getClientRects();else{if(3!=c.nodeType)continue;u=Ct(c).getClientRects()}for(var d=0;d<u.length;d++){var p=u[d];if(p.top<=a&&p.bottom>=s){var a=Math.max(p.bottom,a),s=Math.min(p.top,s),h=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(h<o){r=c,n=(o=h)&&3==r.nodeType?{left:p.right<t.left?p.right:p.left,top:t.top}:t,1==c.nodeType&&h&&(i=l+(t.left>=(p.left+p.right)/2?1:0));continue}}!r&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(i=l+1)}}return r&&3==r.nodeType?function(e,t){for(var r=e.nodeValue.length,n=document.createRange(),o=0;o<r;o++){n.setEnd(e,o+1),n.setStart(e,o);var i=jt(n,1);if(i.top!=i.bottom&&Lt(t,i))return{node:e,offset:o+(t.left>=(i.left+i.right)/2?1:0)}}return{node:e,offset:0}}(r,n):!r||o&&1==r.nodeType?{node:e,offset:i}:$t(r,n)}function Lt(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function Rt(e,t){var r,n=e.root;if(n.caretPositionFromPoint)try{var o=n.caretPositionFromPoint(t.left,t.top);o&&(r=o.offsetNode,a=o.offset)}catch(e){}r||!n.caretRangeFromPoint||(s=n.caretRangeFromPoint(t.left,t.top))&&(r=s.startContainer,a=s.startOffset);var i,a,s,c,l,o=n.elementFromPoint(t.left,t.top+1);if(!o||!e.dom.contains(1!=o.nodeType?o.parentNode:o)){var u=e.dom.getBoundingClientRect();if(!Lt(t,u))return null;if(!(o=function e(t,r,n){var o=t.childNodes.length;if(o&&n.top<n.bottom)for(var i=Math.max(0,Math.min(o-1,Math.floor(o*(r.top-n.top)/(n.bottom-n.top))-2)),a=i;;){var s=t.childNodes[a];if(1==s.nodeType)for(var c=s.getClientRects(),l=0;l<c.length;l++){var u=c[l];if(Lt(r,u))return e(s,r,u)}if((a=(a+1)%o)==i)break}return t}(e.dom,t,u)))return null}if(wt.safari)for(var d=o;r&&d;d=xt(d))d.draggable&&(r=a=null);s=t,o=(u=(n=o).parentNode)&&/^li$/i.test(u.nodeName)&&s.left<n.getBoundingClientRect().left?u:n,r&&(wt.gecko&&1==r.nodeType&&(a=Math.min(a,r.childNodes.length))<r.childNodes.length&&("IMG"==(c=r.childNodes[a]).nodeName&&(l=c.getBoundingClientRect()).right<=t.left&&l.bottom>t.top&&a++),r==e.dom&&a==r.childNodes.length-1&&1==r.lastChild.nodeType&&t.top>r.lastChild.getBoundingClientRect().bottom?i=e.state.doc.content.size:0!=a&&1==r.nodeType&&"BR"==r.childNodes[a-1].nodeName||(i=function(e,t,r,n){for(var o=-1,i=t;i!=e.dom;){var a=e.docView.nearestDesc(i,!0);if(!a)return null;if(a.node.isBlock&&a.parent){var s=a.dom.getBoundingClientRect();if(s.left>n.left||s.top>n.top)o=a.posBefore;else{if(!(s.right<n.left||s.bottom<n.top))break;o=a.posAfter}}i=a.dom.parentNode}return-1<o?o:e.docView.posFromDOM(t,r)}(e,r,a,t))),null==i&&(s=e,c=$t(u=o,n=t),l=c.node,t=c.offset,u=-1,1!=l.nodeType||l.firstChild||(u=(c=l.getBoundingClientRect()).left!=c.right&&n.left>(c.left+c.right)/2?1:-1),i=s.docView.posFromDOM(l,t,u));o=e.docView.nearestDesc(o,!0);return{pos:i,inside:o?o.posAtStart-o.border:-1}}function jt(e,t){var r=e.getClientRects();return r.length?r[t<0?0:r.length-1]:e.getBoundingClientRect()}var Pt=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function Bt(e,t,r){var n=e.docView.domFromPos(t,r<0?-1:1),o=n.node,i=n.offset,n=wt.webkit||wt.gecko;if(3==o.nodeType){if(!n||!Pt.test(o.nodeValue)&&(r<0?i:i!=o.nodeValue.length)){var a=i,s=i,c=r<0?1:-1;return r<0&&!i?(s++,c=-1):0<=r&&i==o.nodeValue.length?(a--,c=1):r<0?a--:s++,Ft(jt(Ct(o,a,s),c),c<0)}a=jt(Ct(o,i,i),r);if(wt.gecko&&i&&/\s/.test(o.nodeValue[i-1])&&i<o.nodeValue.length){s=jt(Ct(o,i-1,i-1),-1);if(s.top==a.top){c=jt(Ct(o,i,i+1),-1);if(c.top!=a.top)return Ft(c,c.left<s.left)}}return a}if(!e.state.doc.resolve(t).parent.inlineContent){if(i&&(r<0||i==At(o))){t=o.childNodes[i-1];if(1==t.nodeType)return Ut(t.getBoundingClientRect(),!1)}if(i<At(o)){var l=o.childNodes[i];if(1==l.nodeType)return Ut(l.getBoundingClientRect(),!0)}return Ut(o.getBoundingClientRect(),0<=r)}if(i&&(r<0||i==At(o))){l=o.childNodes[i-1],l=3==l.nodeType?Ct(l,At(l)-(n?0:1)):1!=l.nodeType||"BR"==l.nodeName&&l.nextSibling?null:l;if(l)return Ft(jt(l,1),!1)}if(i<At(o)){i=o.childNodes[i],i=3==i.nodeType?Ct(i,0,n?0:1):1==i.nodeType?i:null;if(i)return Ft(jt(i,-1),!0)}return Ft(jt(3==o.nodeType?Ct(o):o,-r),0<=r)}function Ft(e,t){if(0==e.width)return e;t=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:t,right:t}}function Ut(e,t){if(0==e.height)return e;t=t?e.top:e.bottom;return{top:t,bottom:t,left:e.left,right:e.right}}function Vt(e,t,r){var n=e.state,o=e.root.activeElement;n!=t&&e.updateState(t),o!=e.dom&&e.focus();try{return r()}finally{n!=t&&e.updateState(n),o!=e.dom&&o&&o.focus()}}var Ht=/[\u0590-\u08ac]/;var Wt=null,Gt=null,Zt=!1;function Kt(e,t,r){return Wt==t&&Gt==r?Zt:(Wt=t,Zt="up"==(Gt=r)||"down"==r?(s=e,c=r,n=t.selection,l="up"==c?n.$from:n.$to,Vt(s,t,function(){for(var e=s.docView.domFromPos(l.pos,"up"==c?-1:1).node;;){var t=s.docView.nearestDesc(e,!0);if(!t)break;if(t.node.isBlock){e=t.dom;break}e=t.dom.parentNode}for(var r=Bt(s,l.pos,1),n=e.firstChild;n;n=n.nextSibling){var o=void 0;if(1==n.nodeType)o=n.getClientRects();else{if(3!=n.nodeType)continue;o=Ct(n,0,n.nodeValue.length).getClientRects()}for(var i=0;i<o.length;i++){var a=o[i];if(a.bottom>a.top&&("up"==c?a.bottom<r.top+1:a.top>r.bottom-1))return!1}}return!0})):function(o,e,i){var a=e.selection.$head;if(!a.parent.isTextblock)return!1;var t=!(r=a.parentOffset),r=r==a.parent.content.size,s=o.root.getSelection();return Ht.test(a.parent.textContent)&&s.modify?Vt(o,e,function(){var e=s.getRangeAt(0),t=s.focusNode,r=s.focusOffset,n=s.caretBidiLevel;s.modify("move",i,"character");r=!(a.depth?o.docView.domAfterPos(a.before()):o.dom).contains(1==s.focusNode.nodeType?s.focusNode:s.focusNode.parentNode)||t==s.focusNode&&r==s.focusOffset;return s.removeAllRanges(),s.addRange(e),null!=n&&(s.caretBidiLevel=n),r}):"left"==i||"backward"==i?t:r}(e,t,r));var s,c,n,l}var Jt=function(e,t,r,n){this.parent=e,this.children=t,((this.dom=r).pmViewDesc=this).contentDOM=n,this.dirty=0},Yt={beforePosition:{configurable:!0},size:{configurable:!0},border:{configurable:!0},posBefore:{configurable:!0},posAtStart:{configurable:!0},posAfter:{configurable:!0},posAtEnd:{configurable:!0},contentLost:{configurable:!0},domAtom:{configurable:!0}};Jt.prototype.matchesWidget=function(){return!1},Jt.prototype.matchesMark=function(){return!1},Jt.prototype.matchesNode=function(){return!1},Jt.prototype.matchesHack=function(e){return!1},Yt.beforePosition.get=function(){return!1},Jt.prototype.parseRule=function(){return null},Jt.prototype.stopEvent=function(){return!1},Yt.size.get=function(){for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].size;return e},Yt.border.get=function(){return 0},Jt.prototype.destroy=function(){this.parent=null,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=null);for(var e=0;e<this.children.length;e++)this.children[e].destroy()},Jt.prototype.posBeforeChild=function(e){for(var t=0,r=this.posAtStart;t<this.children.length;t++){var n=this.children[t];if(n==e)return r;r+=n.size}},Yt.posBefore.get=function(){return this.parent.posBeforeChild(this)},Yt.posAtStart.get=function(){return this.parent?this.parent.posBeforeChild(this)+this.border:0},Yt.posAfter.get=function(){return this.posBefore+this.size},Yt.posAtEnd.get=function(){return this.posAtStart+this.size-2*this.border},Jt.prototype.localPosFromDOM=function(e,t,r){if(this.contentDOM&&this.contentDOM.contains(1==e.nodeType?e:e.parentNode)){if(r<0){var n,o;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&(!(o=n.pmViewDesc)||o.parent!=this);)n=n.previousSibling;return n?this.posBeforeChild(o)+o.size:this.posAtStart}var i,a;if(e==this.contentDOM)i=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;i=e.nextSibling}for(;i&&(!(a=i.pmViewDesc)||a.parent!=this);)i=i.nextSibling;return i?this.posBeforeChild(a):this.posAtEnd}var s;if(e==this.dom&&this.contentDOM)s=t>vt(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))s=2&e.compareDocumentPosition(this.contentDOM);else if(this.dom.firstChild){if(0==t)for(var c=e;;c=c.parentNode){if(c==this.dom){s=!1;break}if(c.parentNode.firstChild!=c)break}if(null==s&&t==e.childNodes.length)for(var l=e;;l=l.parentNode){if(l==this.dom){s=!0;break}if(l.parentNode.lastChild!=l)break}}return(null==s?0<r:s)?this.posAtEnd:this.posAtStart},Jt.prototype.nearestDesc=function(e,t){for(var r=!0,n=e;n;n=n.parentNode){var o=this.getDesc(n);if(o&&(!t||o.node)){if(!r||!o.nodeDOM||(1==o.nodeDOM.nodeType?o.nodeDOM.contains(1==e.nodeType?e:e.parentNode):o.nodeDOM==e))return o;r=!1}}},Jt.prototype.getDesc=function(e){for(var t=e.pmViewDesc,r=t;r;r=r.parent)if(r==this)return t},Jt.prototype.posFromDOM=function(e,t,r){for(var n=e;n;n=n.parentNode){var o=this.getDesc(n);if(o)return o.localPosFromDOM(e,t,r)}return-1},Jt.prototype.descAt=function(e){for(var t=0,r=0;t<this.children.length;t++){var n=this.children[t],o=r+n.size;if(r==e&&o!=r){for(;!n.border&&n.children.length;)n=n.children[0];return n}if(e<o)return n.descAt(e-r-n.border);r=o}},Jt.prototype.domFromPos=function(e,t){if(!this.contentDOM)return{node:this.dom,offset:0};for(var r=0,n=0,o=!0;;n++,o=!1){for(;n<this.children.length&&(this.children[n].beforePosition||this.children[n].dom.parentNode!=this.contentDOM);)r+=this.children[n++].size;var i=n==this.children.length?null:this.children[n];if(r==e&&(0==t||!i||!i.size||i.border||t<0&&o)||i&&i.domAtom&&e<r+i.size)return{node:this.contentDOM,offset:i?vt(i.dom):this.contentDOM.childNodes.length};if(!i)throw new Error("Invalid position "+e);var a=r+i.size;if(!i.domAtom&&(t<0&&!i.border?e<=a:e<a)&&(e<a||n+1>=this.children.length||!this.children[n+1].beforePosition))return i.domFromPos(e-r-i.border,t);r=a}},Jt.prototype.parseRange=function(e,t,r){if(0==this.children.length)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};for(var n=-1,o=-1,i=r=void 0===r?0:r,a=0;;a++){var s=this.children[a],c=i+s.size;if(-1==n&&e<=c){var l=i+s.border;if(l<=e&&t<=c-s.border&&s.node&&s.contentDOM&&this.contentDOM.contains(s.contentDOM))return s.parseRange(e,t,l);e=i;for(var u=a;0<u;u--){var d=this.children[u-1];if(d.size&&d.dom.parentNode==this.contentDOM&&!d.emptyChildAt(1)){n=vt(d.dom)+1;break}e-=d.size}-1==n&&(n=0)}if(-1<n&&(t<c||a==this.children.length-1)){t=c;for(var p=a+1;p<this.children.length;p++){var h=this.children[p];if(h.size&&h.dom.parentNode==this.contentDOM&&!h.emptyChildAt(-1)){o=vt(h.dom);break}t+=h.size}-1==o&&(o=this.contentDOM.childNodes.length);break}i=c}return{node:this.contentDOM,from:e,to:t,fromOffset:n,toOffset:o}},Jt.prototype.emptyChildAt=function(e){if(this.border||!this.contentDOM||!this.children.length)return!1;var t=this.children[e<0?0:this.children.length-1];return 0==t.size||t.emptyChildAt(e)},Jt.prototype.domAfterPos=function(e){var t=this.domFromPos(e,0),r=t.node,t=t.offset;if(1!=r.nodeType||t==r.childNodes.length)throw new RangeError("No node after pos "+e);return r.childNodes[t]},Jt.prototype.setSelection=function(e,t,r,n){for(var o=Math.min(e,t),i=Math.max(e,t),a=0,s=0;a<this.children.length;a++){var c=this.children[a],l=s+c.size;if(s<o&&i<l)return c.setSelection(e-s-c.border,t-s-c.border,r,n);s=l}var u=this.domFromPos(e,e?-1:1),d=t==e?u:this.domFromPos(t,t?-1:1),p=r.getSelection(),h=!1;if((wt.gecko||wt.safari)&&e==t){var f=u.node,m=u.offset;if(3==f.nodeType){if((h=m&&"\n"==f.nodeValue[m-1])&&m==f.nodeValue.length)for(var g,y=f;y;y=y.parentNode){if(g=y.nextSibling){"BR"==g.nodeName&&(u=d={node:g.parentNode,offset:vt(g)+1});break}var _=y.pmViewDesc;if(_&&_.node&&_.node.isBlock)break}}else m=f.childNodes[m-1],h=m&&("BR"==m.nodeName||"false"==m.contentEditable)}if(wt.gecko&&p.focusNode&&p.focusNode!=d.node&&1==p.focusNode.nodeType&&((w=p.focusNode.childNodes[p.focusOffset])&&"false"==w.contentEditable&&(n=!0)),n||h&&wt.safari||!kt(u.node,u.offset,p.anchorNode,p.anchorOffset)||!kt(d.node,d.offset,p.focusNode,p.focusOffset)){var b,w=!1;if((p.extend||e==t)&&!h){p.collapse(u.node,u.offset);try{e!=t&&p.extend(d.node,d.offset),w=!0}catch(e){if(!(e instanceof DOMException))throw e}}w||(t<e&&(b=u,u=d,d=b),(b=document.createRange()).setEnd(d.node,d.offset),b.setStart(u.node,u.offset),p.removeAllRanges(),p.addRange(b))}},Jt.prototype.ignoreMutation=function(e){return!this.contentDOM&&"selection"!=e.type},Yt.contentLost.get=function(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)},Jt.prototype.markDirty=function(e,t){for(var r=0,n=0;n<this.children.length;n++){var o=this.children[n],i=r+o.size;if(r==i?e<=i&&r<=t:e<i&&r<t){var a=r+o.border,s=i-o.border;if(a<=e&&t<=s)return this.dirty=e==r||t==i?2:1,void(e!=a||t!=s||!o.contentLost&&o.dom.parentNode==this.contentDOM?o.markDirty(e-a,t-a):o.dirty=3);o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM?2:3}r=i}this.dirty=2},Jt.prototype.markParentsDirty=function(){for(var e=1,t=this.parent;t;t=t.parent,e++){var r=1==e?2:1;t.dirty<r&&(t.dirty=r)}},Yt.domAtom.get=function(){return!1},Object.defineProperties(Jt.prototype,Yt);var Xt=[],Qt=function(a){function e(e,t,r,n){var o,i=t.type.toDOM;"function"==typeof i&&(i=i(r,function(){return o?o.parent?o.parent.posBeforeChild(o):void 0:n})),t.type.spec.raw||(1!=i.nodeType&&((r=document.createElement("span")).appendChild(i),i=r),i.contentEditable=!1,i.classList.add("ProseMirror-widget")),a.call(this,e,Xt,i,null),this.widget=t,o=this}a&&(e.__proto__=a),(e.prototype=Object.create(a&&a.prototype)).constructor=e;var t={beforePosition:{configurable:!0},domAtom:{configurable:!0}};return t.beforePosition.get=function(){return this.widget.type.side<0},e.prototype.matchesWidget=function(e){return 0==this.dirty&&e.type.eq(this.widget.type)},e.prototype.parseRule=function(){return{ignore:!0}},e.prototype.stopEvent=function(e){var t=this.widget.spec.stopEvent;return!!t&&t(e)},e.prototype.ignoreMutation=function(e){return"selection"!=e.type||this.widget.spec.ignoreSelection},t.domAtom.get=function(){return!0},Object.defineProperties(e.prototype,t),e}(Jt),er=function(o){function e(e,t,r,n){o.call(this,e,Xt,t,null),this.textDOM=r,this.text=n}o&&(e.__proto__=o),(e.prototype=Object.create(o&&o.prototype)).constructor=e;var t={size:{configurable:!0}};return t.size.get=function(){return this.text.length},e.prototype.localPosFromDOM=function(e,t){return e!=this.textDOM?this.posAtStart+(t?this.size:0):this.posAtStart+t},e.prototype.domFromPos=function(e){return{node:this.textDOM,offset:e}},e.prototype.ignoreMutation=function(e){return"characterData"===e.type&&e.target.nodeValue==e.oldValue},Object.defineProperties(e.prototype,t),e}(Jt),tr=function(o){function s(e,t,r,n){o.call(this,e,[],r,n),this.mark=t}return o&&(s.__proto__=o),((s.prototype=Object.create(o&&o.prototype)).constructor=s).create=function(e,t,r,n){var o=n.nodeViews[t.type.name],n=o&&o(t,n,r);return n&&n.dom||(n=ce.renderSpec(document,t.type.spec.toDOM(t,r))),new s(e,t,n.dom,n.contentDOM||n.dom)},s.prototype.parseRule=function(){return{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}},s.prototype.matchesMark=function(e){return 3!=this.dirty&&this.mark.eq(e)},s.prototype.markDirty=function(e,t){if(o.prototype.markDirty.call(this,e,t),0!=this.dirty){for(var r=this.parent;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=0}},s.prototype.slice=function(e,t,r){var n=s.create(this.parent,this.mark,!0,r),o=this.children,i=this.size;t<i&&(o=gr(o,t,i,r)),0<e&&(o=gr(o,0,e,r));for(var a=0;a<o.length;a++)o[a].parent=n;return n.children=o,n},s}(Jt),rr=function(l){function d(e,t,r,n,o,i,a,s,c){l.call(this,e,t.isLeaf?Xt:[],o,i),this.nodeDOM=a,this.node=t,this.outerDeco=r,this.innerDeco=n,i&&this.updateChildren(s,c)}l&&(d.__proto__=l);var e={size:{configurable:!0},border:{configurable:!0},domAtom:{configurable:!0}};return((d.prototype=Object.create(l&&l.prototype)).constructor=d).create=function(e,t,r,n,o,i){var a,s=o.nodeViews[t.type.name],c=s&&s(t,o,function(){return a?a.parent?a.parent.posBeforeChild(a):void 0:i},r,n),l=c&&c.dom,s=c&&c.contentDOM;if(t.isText)if(l){if(3!=l.nodeType)throw new RangeError("Text must be rendered as a DOM text node")}else l=document.createTextNode(t.text);else l||(l=(u=ce.renderSpec(document,t.type.spec.toDOM(t))).dom,s=u.contentDOM);s||t.isText||"BR"==l.nodeName||(l.hasAttribute("contenteditable")||(l.contentEditable=!1),t.type.spec.draggable&&(l.draggable=!0));var u=l,l=dr(l,r,t);return c?a=new ar(e,t,r,n,l,s,u,c,o,i+1):t.isText?new or(e,t,r,n,l,u,o):new d(e,t,r,n,l,s,u,o,i+1)},d.prototype.parseRule=function(){var e=this;if(this.node.type.spec.reparseInView)return null;var t={node:this.node.type.name,attrs:this.node.attrs};return this.node.type.spec.code&&(t.preserveWhitespace="full"),this.contentDOM&&!this.contentLost?t.contentElement=this.contentDOM:t.getContent=function(){return e.contentDOM?E.empty:e.node.content},t},d.prototype.matchesNode=function(e,t,r){return 0==this.dirty&&e.eq(this.node)&&pr(t,this.outerDeco)&&r.eq(this.innerDeco)},e.size.get=function(){return this.node.nodeSize},e.border.get=function(){return this.node.isLeaf?0:1},d.prototype.updateChildren=function(i,e){var n=this,a=this.node.inlineContent,s=e,c=i.composing&&this.localCompositionInfo(i,e),e=c&&-1<c.pos?c:null,l=c&&c.pos<0,u=new fr(this,e&&e.node);!function(e,t,r,n){var o=t.locals(e),i=0;if(0!=o.length)for(var a=0,s=[],c=null,l=0;;){if(a<o.length&&o[a].to==i){for(var u=o[a++],d=void 0;a<o.length&&o[a].to==i;)(d=d||[u]).push(o[a++]);if(d){d.sort(mr);for(var p=0;p<d.length;p++)r(d[p],l,!!c)}else r(u,l,!!c)}var h=void 0,f=void 0;if(c)f=-1,h=c,c=null;else{if(!(l<e.childCount))break;f=l,h=e.child(l++)}for(var m=0;m<s.length;m++)s[m].to<=i&&s.splice(m--,1);for(;a<o.length&&o[a].from<=i&&o[a].to>i;)s.push(o[a++]);var g=i+h.nodeSize;if(h.isText){var y=g;a<o.length&&o[a].from<y&&(y=o[a].from);for(var _=0;_<s.length;_++)s[_].to<y&&(y=s[_].to);y<g&&(c=h.cut(y-i),h=h.cut(0,y-i),g=y,f=-1)}var b=s.length?h.isInline&&!h.isLeaf?s.filter(function(e){return!e.inline}):s.slice():Xt;n(h,b,t.forChild(i,h),f),i=g}else for(var w=0;w<e.childCount;w++){var k=e.child(w);n(k,o,t.forChild(i,k),w),i+=k.nodeSize}}(this.node,this.innerDeco,function(e,t,r){e.spec.marks?u.syncToMarks(e.spec.marks,a,i):0<=e.type.side&&!r&&u.syncToMarks(t==n.node.childCount?p.none:n.node.child(t).marks,a,i),u.placeWidget(e,i,s)},function(e,t,r,n){var o;u.syncToMarks(e.marks,a,i),u.findNodeMatch(e,t,r,n)||l&&i.state.selection.from>s&&i.state.selection.to<s+e.nodeSize&&-1<(o=u.findIndexWithChild(c.node))&&u.updateNodeAt(e,t,r,o,i)||u.updateNextNode(e,t,r,i,n)||u.addNode(e,t,r,i,s),s+=e.nodeSize}),u.syncToMarks(Xt,a,i),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),!u.changed&&2!=this.dirty||(e&&this.protectLocalComposition(i,e),function e(t,r,n){var o=t.firstChild,i=!1;for(var a=0;a<r.length;a++){var s,c=r[a],l=c.dom;if(l.parentNode==t){for(;l!=o;)o=hr(o),i=!0;o=o.nextSibling}else i=!0,t.insertBefore(l,o);c instanceof tr&&(s=o?o.previousSibling:t.lastChild,e(c.contentDOM,c.children,n),o=s?s.nextSibling:t.firstChild)}for(;o;)o=hr(o),i=!0;i&&n.trackWrites==t&&(n.trackWrites=null)}(this.contentDOM,this.children,i),wt.ios&&function(e){{var t;"UL"!=e.nodeName&&"OL"!=e.nodeName||(t=e.style.cssText,e.style.cssText=t+"; list-style: square !important",window.getComputedStyle(e).listStyle,e.style.cssText=t)}}(this.dom))},d.prototype.localCompositionInfo=function(e,t){var r=e.state.selection,n=r.from,o=r.to;if(!(!(e.state.selection instanceof Qe)||n<t||o>t+this.node.content.size)){r=e.root.getSelection(),e=function(e,t){for(;;){if(3==e.nodeType)return e;if(1==e.nodeType&&0<t){if(e.childNodes.length>t&&3==e.childNodes[t].nodeType)return e.childNodes[t];e=e.childNodes[t-1],t=At(e)}else{if(!(1==e.nodeType&&t<e.childNodes.length))return null;e=e.childNodes[t],t=0}}}(r.focusNode,r.focusOffset);if(e&&this.dom.contains(e.parentNode)){if(this.node.inlineContent){r=e.nodeValue,t=function(e,t,r,n){for(var o=0,i=0;o<e.childCount&&i<=n;){var a=e.child(o++),s=i;if(i+=a.nodeSize,a.isText){for(var c=a.text;o<e.childCount;){var l=e.child(o++);if(i+=l.nodeSize,!l.isText)break;c+=l.text}if(r<=i){a=c.lastIndexOf(t,n-s);if(0<=a&&a+t.length+s>=r)return s+a}}}return-1}(this.node.content,r,n-t,o-t);return t<0?null:{node:e,pos:t,text:r}}return{node:e,pos:-1}}}},d.prototype.protectLocalComposition=function(e,t){var r=t.node,n=t.pos,t=t.text;if(!this.getDesc(r)){for(var o=r;o.parentNode!=this.contentDOM;o=o.parentNode){for(;o.previousSibling;)o.parentNode.removeChild(o.previousSibling);for(;o.nextSibling;)o.parentNode.removeChild(o.nextSibling);o.pmViewDesc&&(o.pmViewDesc=null)}r=new er(this,o,r,t);e.compositionNodes.push(r),this.children=gr(this.children,n,n+t.length,e,r)}},d.prototype.update=function(e,t,r,n){return!(3==this.dirty||!e.sameMarkup(this.node))&&(this.updateInner(e,t,r,n),!0)},d.prototype.updateInner=function(e,t,r,n){this.updateOuterDeco(t),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(n,this.posAtStart),this.dirty=0},d.prototype.updateOuterDeco=function(e){var t,r;pr(e,this.outerDeco)||(t=1!=this.nodeDOM.nodeType,r=this.dom,this.dom=ur(this.dom,this.nodeDOM,lr(this.outerDeco,this.node,t),lr(e,this.node,t)),this.dom!=r&&(r.pmViewDesc=null,this.dom.pmViewDesc=this),this.outerDeco=e)},d.prototype.selectNode=function(){this.nodeDOM.classList.add("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||(this.dom.draggable=!0)},d.prototype.deselectNode=function(){this.nodeDOM.classList.remove("ProseMirror-selectednode"),!this.contentDOM&&this.node.type.spec.draggable||this.dom.removeAttribute("draggable")},e.domAtom.get=function(){return this.node.isAtom},Object.defineProperties(d.prototype,e),d}(Jt);function nr(e,t,r,n,o){return dr(n,t,e),new rr(null,e,t,r,n,n,n,o,0)}var or=function(s){function n(e,t,r,n,o,i,a){s.call(this,e,t,r,n,o,null,i,a)}s&&(n.__proto__=s);var e={domAtom:{configurable:!0}};return((n.prototype=Object.create(s&&s.prototype)).constructor=n).prototype.parseRule=function(){for(var e=this.nodeDOM.parentNode;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}},n.prototype.update=function(e,t,r,n){return!(3==this.dirty||0!=this.dirty&&!this.inParent()||!e.sameMarkup(this.node))&&(this.updateOuterDeco(t),0==this.dirty&&e.text==this.node.text||e.text==this.nodeDOM.nodeValue||(this.nodeDOM.nodeValue=e.text,n.trackWrites==this.nodeDOM&&(n.trackWrites=null)),this.node=e,!(this.dirty=0))},n.prototype.inParent=function(){for(var e=this.parent.contentDOM,t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1},n.prototype.domFromPos=function(e){return{node:this.nodeDOM,offset:e}},n.prototype.localPosFromDOM=function(e,t,r){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):s.prototype.localPosFromDOM.call(this,e,t,r)},n.prototype.ignoreMutation=function(e){return"characterData"!=e.type&&"selection"!=e.type},n.prototype.slice=function(e,t,r){e=this.node.cut(e,t),t=document.createTextNode(e.text);return new n(this.parent,e,this.outerDeco,this.innerDeco,t,t,r)},n.prototype.markDirty=function(e,t){s.prototype.markDirty.call(this,e,t),this.dom==this.nodeDOM||0!=e&&t!=this.nodeDOM.nodeValue.length||(this.dirty=3)},e.domAtom.get=function(){return!1},Object.defineProperties(n.prototype,e),n}(rr),ir=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e);var r={domAtom:{configurable:!0}};return((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.parseRule=function(){return{ignore:!0}},t.prototype.matchesHack=function(e){return 0==this.dirty&&this.dom.nodeName==e},r.domAtom.get=function(){return!0},Object.defineProperties(t.prototype,r),t}(Jt),ar=function(u){function e(e,t,r,n,o,i,a,s,c,l){u.call(this,e,t,r,n,o,i,a,c,l),this.spec=s}return u&&(e.__proto__=u),((e.prototype=Object.create(u&&u.prototype)).constructor=e).prototype.update=function(e,t,r,n){if(3==this.dirty)return!1;if(this.spec.update){var o=this.spec.update(e,t,r);return o&&this.updateInner(e,t,r,n),o}return!(!this.contentDOM&&!e.isLeaf)&&u.prototype.update.call(this,e,t,r,n)},e.prototype.selectNode=function(){this.spec.selectNode?this.spec.selectNode():u.prototype.selectNode.call(this)},e.prototype.deselectNode=function(){this.spec.deselectNode?this.spec.deselectNode():u.prototype.deselectNode.call(this)},e.prototype.setSelection=function(e,t,r,n){this.spec.setSelection?this.spec.setSelection(e,t,r):u.prototype.setSelection.call(this,e,t,r,n)},e.prototype.destroy=function(){this.spec.destroy&&this.spec.destroy(),u.prototype.destroy.call(this)},e.prototype.stopEvent=function(e){return!!this.spec.stopEvent&&this.spec.stopEvent(e)},e.prototype.ignoreMutation=function(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):u.prototype.ignoreMutation.call(this,e)},e}(rr);function sr(e){e&&(this.nodeName=e)}sr.prototype=Object.create(null);var cr=[new sr];function lr(e,t,r){if(0==e.length)return cr;for(var n=r?cr[0]:new sr,o=[n],i=0;i<e.length;i++){var a=e[i].type.attrs;if(a)for(var s in a.nodeName&&o.push(n=new sr(a.nodeName)),a){var c=a[s];null!=c&&(r&&1==o.length&&o.push(n=new sr(t.isInline?"span":"div")),"class"==s?n.class=(n.class?n.class+" ":"")+c:"style"==s?n.style=(n.style?n.style+";":"")+c:"nodeName"!=s&&(n[s]=c))}}return o}function ur(e,t,r,n){if(r==cr&&n==cr)return t;for(var o=t,i=0;i<n.length;i++){var a,s=n[i],c=r[i];i&&(a=void 0,c&&c.nodeName==s.nodeName&&o!=e&&(a=o.parentNode)&&a.tagName.toLowerCase()==s.nodeName||((a=document.createElement(s.nodeName)).pmIsDeco=!0,a.appendChild(o),c=cr[0]),o=a),function(e,t,r){for(var n in t)"class"==n||"style"==n||"nodeName"==n||n in r||e.removeAttribute(n);for(var o in r)"class"!=o&&"style"!=o&&"nodeName"!=o&&r[o]!=t[o]&&e.setAttribute(o,r[o]);if(t.class!=r.class){for(var i=t.class?t.class.split(" ").filter(Boolean):Xt,a=r.class?r.class.split(" ").filter(Boolean):Xt,s=0;s<i.length;s++)-1==a.indexOf(i[s])&&e.classList.remove(i[s]);for(var c=0;c<a.length;c++)-1==i.indexOf(a[c])&&e.classList.add(a[c])}if(t.style!=r.style){if(t.style)for(var l,u=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g;l=u.exec(t.style);)e.style.removeProperty(l[1]);r.style&&(e.style.cssText+=r.style)}}(o,c||cr[0],s)}return o}function dr(e,t,r){return ur(e,e,cr,lr(t,r,1!=e.nodeType))}function pr(e,t){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!e[r].type.eq(t[r].type))return!1;return!0}function hr(e){var t=e.nextSibling;return e.parentNode.removeChild(e),t}var fr=function(e,t){this.top=e,this.lock=t,this.index=0,this.stack=[],this.changed=!1,this.preMatch=function(e,t){for(var r=e.childCount,n=t.length,o=new Map;0<r&&0<n;n--){var i=t[n-1],a=i.node;if(a){if(a!=e.child(r-1))break;--r,o.set(i,r)}}return{index:r,matched:o}}(e.node.content,e.children)};function mr(e,t){return e.type.side-t.type.side}function gr(e,t,r,n,o){for(var i=[],a=0,s=0;a<e.length;a++){var c=e[a],l=s,u=s+=c.size;r<=l||u<=t?i.push(c):(l<t&&i.push(c.slice(0,t-l,n)),o&&(i.push(o),o=null),r<u&&i.push(c.slice(r-l,c.size,n)))}return i}function yr(e,t){var r=e.root.getSelection(),n=e.state.doc;if(!r.focusNode)return null;var o=e.docView.nearestDesc(r.focusNode),i=o&&0==o.size,a=e.docView.posFromDOM(r.focusNode,r.focusOffset);if(a<0)return null;var s,c,l=n.resolve(a);if(qt(r)){for(s=l;o&&!o.node;)o=o.parent;!(o&&o.node.isAtom&&tt.isSelectable(o.node)&&o.parent)||o.node.isInline&&function(e,t,r){for(var n=0==t,o=t==At(e);n||o;){if(e==r)return 1;var i=vt(e);if(!(e=e.parentNode))return;n=n&&0==i,o=o&&i==At(e)}}(r.focusNode,r.focusOffset,o.dom)||(c=o.posBefore,c=new tt(a==c?l:n.resolve(c)))}else{r=e.docView.posFromDOM(r.anchorNode,r.anchorOffset);if(r<0)return null;s=n.resolve(r)}return c=c||Sr(e,s,l,"pointer"==t||e.state.selection.head<l.pos&&!i?1:-1)}function _r(e){return e.editable?e.hasFocus():Er(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function br(e,t){var r,n,o,i,a=e.state.selection;if(zr(e,a),_r(e)){if(!t&&e.mouseDown&&e.mouseDown.allowDefault)return e.mouseDown.delayedSelectionSync=!0,void e.domObserver.setCurSelection();e.domObserver.disconnectSelection(),e.cursorWrapper?function(e){var t=e.root.getSelection(),r=document.createRange(),n=e.cursorWrapper.dom,o="IMG"==n.nodeName;o?r.setEnd(n.parentNode,vt(n)+1):r.setEnd(n,0);r.collapse(!1),t.removeAllRanges(),t.addRange(r),!o&&!e.state.selection.visible&&wt.ie&&wt.ie_version<=11&&(n.disabled=!0,n.disabled=!1)}(e):(r=a.anchor,n=a.head,!wr||a instanceof Qe||(a.$from.parent.inlineContent||(o=kr(e,a.from)),a.empty||a.$from.parent.inlineContent||(i=kr(e,a.to))),e.docView.setSelection(r,n,e.root,t),wr&&(o&&xr(o),i&&xr(i)),a.visible?e.dom.classList.remove("ProseMirror-hideselection"):(e.dom.classList.add("ProseMirror-hideselection"),"onselectionchange"in document&&function(e){var t=e.dom.ownerDocument;t.removeEventListener("selectionchange",e.hideSelectionGuard);var r=e.root.getSelection(),n=r.anchorNode,o=r.anchorOffset;t.addEventListener("selectionchange",e.hideSelectionGuard=function(){r.anchorNode==n&&r.anchorOffset==o||(t.removeEventListener("selectionchange",e.hideSelectionGuard),setTimeout(function(){_r(e)&&!e.state.selection.visible||e.dom.classList.remove("ProseMirror-hideselection")},20))})}(e))),e.domObserver.setCurSelection(),e.domObserver.connectSelection()}}fr.prototype.destroyBetween=function(e,t){if(e!=t){for(var r=e;r<t;r++)this.top.children[r].destroy();this.top.children.splice(e,t-e),this.changed=!0}},fr.prototype.destroyRest=function(){this.destroyBetween(this.index,this.top.children.length)},fr.prototype.syncToMarks=function(e,t,r){for(var n=0,o=this.stack.length>>1,i=Math.min(o,e.length);n<i&&(n==o-1?this.top:this.stack[n+1<<1]).matchesMark(e[n])&&!1!==e[n].type.spec.spanning;)n++;for(;n<o;)this.destroyRest(),this.top.dirty=0,this.index=this.stack.pop(),this.top=this.stack.pop(),o--;for(;o<e.length;){this.stack.push(this.top,this.index+1);for(var a,s=-1,c=this.index;c<Math.min(this.index+3,this.top.children.length);c++)if(this.top.children[c].matchesMark(e[o])){s=c;break}-1<s?(s>this.index&&(this.changed=!0,this.destroyBetween(this.index,s)),this.top=this.top.children[this.index]):(a=tr.create(this.top,e[o],t,r),this.top.children.splice(this.index,0,a),this.top=a,this.changed=!0),this.index=0,o++}},fr.prototype.findNodeMatch=function(e,t,r,n){var o=this.top.children,i=-1;if(n>=this.preMatch.index){for(var a=this.index;a<o.length;a++)if(o[a].matchesNode(e,t,r)){i=a;break}}else for(var s=this.index,c=Math.min(o.length,s+1);s<c;s++){var l=o[s];if(l.matchesNode(e,t,r)&&!this.preMatch.matched.has(l)){i=s;break}}return!(i<0)&&(this.destroyBetween(this.index,i),this.index++,!0)},fr.prototype.updateNodeAt=function(e,t,r,n,o){return!!this.top.children[n].update(e,t,r,o)&&(this.destroyBetween(this.index,n),this.index=n+1,!0)},fr.prototype.findIndexWithChild=function(e){for(;;){var t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){var r=e.pmViewDesc;if(r)for(var n=this.index;n<this.top.children.length;n++)if(this.top.children[n]==r)return n;return-1}e=t}},fr.prototype.updateNextNode=function(e,t,r,n,o){for(var i=this.index;i<this.top.children.length;i++){var a=this.top.children[i];if(a instanceof rr){var s=this.preMatch.matched.get(a);if(null!=s&&s!=o)return!1;s=a.dom;if(!(this.lock&&(s==this.lock||1==s.nodeType&&s.contains(this.lock.parentNode))&&!(e.isText&&a.node&&a.node.isText&&a.nodeDOM.nodeValue==e.text&&3!=a.dirty&&pr(t,a.outerDeco)))&&a.update(e,t,r,n))return this.destroyBetween(this.index,i),a.dom!=s&&(this.changed=!0),this.index++,!0;break}}return!1},fr.prototype.addNode=function(e,t,r,n,o){this.top.children.splice(this.index++,0,rr.create(this.top,e,t,r,n,o)),this.changed=!0},fr.prototype.placeWidget=function(e,t,r){var n=this.index<this.top.children.length?this.top.children[this.index]:null;!n||!n.matchesWidget(e)||e!=n.widget&&n.widget.type.toDOM.parentNode?(r=new Qt(this.top,e,t,r),this.top.children.splice(this.index++,0,r),this.changed=!0):this.index++},fr.prototype.addTextblockHacks=function(){for(var e=this.top.children[this.index-1];e instanceof tr;)e=e.children[e.children.length-1];e&&e instanceof or&&!/\n$/.test(e.node.text)||((wt.safari||wt.chrome)&&e&&"false"==e.dom.contentEditable&&this.addHackNode("IMG"),this.addHackNode("BR"))},fr.prototype.addHackNode=function(e){var t;this.index<this.top.children.length&&this.top.children[this.index].matchesHack(e)?this.index++:(t=document.createElement(e),"IMG"==e&&(t.className="ProseMirror-separator"),this.top.children.splice(this.index++,0,new ir(this.top,Xt,t,null)),this.changed=!0)};var wr=wt.safari||wt.chrome&&wt.chrome_version<63;function kr(e,t){var r=e.docView.domFromPos(t,0),e=r.node,t=r.offset,r=t<e.childNodes.length?e.childNodes[t]:null,t=t?e.childNodes[t-1]:null;return wt.safari&&r&&"false"==r.contentEditable?vr(r):r&&"false"!=r.contentEditable||t&&"false"!=t.contentEditable?void 0:r?vr(r):t?vr(t):void 0}function vr(e){return e.contentEditable="true",wt.safari&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function xr(e){e.contentEditable="false",e.wasDraggable&&(e.draggable=!0,e.wasDraggable=null)}function zr(e,t){t instanceof tt?(t=e.docView.descAt(t.from))!=e.lastSelectedViewDesc&&(Cr(e),t&&t.selectNode(),e.lastSelectedViewDesc=t):Cr(e)}function Cr(e){e.lastSelectedViewDesc&&(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),e.lastSelectedViewDesc=null)}function Sr(t,r,n,e){return t.someProp("createSelectionBetween",function(e){return e(t,r,n)})||Qe.between(r,n,e)}function Er(e){var t=e.root.getSelection();if(!t.anchorNode)return!1;try{return e.dom.contains(3==t.anchorNode.nodeType?t.anchorNode.parentNode:t.anchorNode)&&(e.editable||e.dom.contains(3==t.focusNode.nodeType?t.focusNode.parentNode:t.focusNode))}catch(e){return!1}}function Ar(e,t){var r=e.selection,n=r.$anchor,r=r.$head,r=0<t?n.max(r):n.min(r),r=r.parent.inlineContent?r.depth?e.doc.resolve(0<t?r.after():r.before()):null:r;return r&&Je.findFrom(r,t)}function qr(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Mr(e,t,r){var n=e.state.selection;if(!(n instanceof Qe)){if(n instanceof tt&&n.node.isInline)return qr(e,new Qe(0<t?n.$to:n.$from));var o=Ar(e.state,t);return!!o&&qr(e,o)}if(!n.empty||-1<r.indexOf("s"))return!1;if(e.endOfTextblock(0<t?"right":"left")){var i=Ar(e.state,t);return i&&i instanceof tt?qr(e,i):!1}if(!(wt.mac&&-1<r.indexOf("m"))){o=n.$head,i=o.textOffset?null:t<0?o.nodeBefore:o.nodeAfter;if(!i||i.isText)return!1;r=t<0?o.pos-i.nodeSize:o.pos;return i.isAtom||(n=e.docView.descAt(r))&&!n.contentDOM?tt.isSelectable(i)?qr(e,new tt(t<0?e.state.doc.resolve(o.pos-i.nodeSize):o)):!!wt.webkit&&qr(e,new Qe(e.state.doc.resolve(t<0?r:r+i.nodeSize))):!1}}function Dr(e){return(3==e.nodeType?e.nodeValue:e.childNodes).length}function Tr(e){var t=e.pmViewDesc;return t&&0==t.size&&(e.nextSibling||"BR"!=e.nodeName)}function Nr(e){var t=e.root.getSelection(),r=t.focusNode,n=t.focusOffset;if(r){var o,i,a=!1;for(wt.gecko&&1==r.nodeType&&n<Dr(r)&&Tr(r.childNodes[n])&&(a=!0);;)if(0<n){if(1!=r.nodeType)break;var s=r.childNodes[n-1];if(Tr(s))o=r,i=--n;else{if(3!=s.nodeType)break;n=(r=s).nodeValue.length}}else{if(Ir(r))break;for(var c=r.previousSibling;c&&Tr(c);)o=r.parentNode,i=vt(c),c=c.previousSibling;if(c)n=Dr(r=c);else{if((r=r.parentNode)==e.dom)break;n=0}}a?$r(e,t,r,n):o&&$r(e,t,o,i)}}function Or(e){var t=e.root.getSelection(),r=t.focusNode,n=t.focusOffset;if(r){for(var o,i,a=Dr(r);;)if(n<a){if(1!=r.nodeType)break;if(!Tr(r.childNodes[n]))break;o=r,i=++n}else{if(Ir(r))break;for(var s=r.nextSibling;s&&Tr(s);)o=s.parentNode,i=vt(s)+1,s=s.nextSibling;if(s)n=0,a=Dr(r=s);else{if((r=r.parentNode)==e.dom)break;n=a=0}}o&&$r(e,t,o,i)}}function Ir(e){e=e.pmViewDesc;return e&&e.node&&e.node.isBlock}function $r(e,t,r,n){var o;qt(t)?((o=document.createRange()).setEnd(r,n),o.setStart(r,n),t.removeAllRanges(),t.addRange(o)):t.extend&&t.extend(r,n),e.domObserver.setCurSelection();var i=e.state;setTimeout(function(){e.state==i&&br(e)},50)}function Lr(e,t,r){var n=e.state.selection;if(n instanceof Qe&&!n.empty||-1<r.indexOf("s"))return!1;if(wt.mac&&-1<r.indexOf("m"))return!1;var o=n.$from,i=n.$to;if(!o.parent.inlineContent||e.endOfTextblock(t<0?"up":"down")){r=Ar(e.state,t);if(r&&r instanceof tt)return qr(e,r)}if(o.parent.inlineContent)return!1;i=t<0?o:i,t=n instanceof nt?Je.near(i,t):Je.findFrom(i,t);return!!t&&qr(e,t)}function Rr(e,t){if(!(e.state.selection instanceof Qe))return!0;var r=e.state.selection,n=r.$head,o=r.$anchor,r=r.empty;if(!n.sameParent(o))return!0;if(!r)return!1;if(e.endOfTextblock(0<t?"forward":"backward"))return!0;o=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(!o||o.isText)return!1;r=e.state.tr;return t<0?r.delete(n.pos-o.nodeSize,n.pos):r.delete(n.pos,n.pos+o.nodeSize),e.dispatch(r),!0}function jr(e,t,r){e.domObserver.stop(),t.contentEditable=r,e.domObserver.start()}function Pr(e,t){var r,n,o,i=t.keyCode,a=(n="",t.ctrlKey&&(n+="c"),t.metaKey&&(n+="m"),t.altKey&&(n+="a"),t.shiftKey&&(n+="s"),n);return 8==i||wt.mac&&72==i&&"c"==a?Rr(e,-1)||Nr(e):46==i||wt.mac&&68==i&&"c"==a?Rr(e,1)||Or(e):13==i||27==i||(37==i?Mr(e,-1,a)||Nr(e):39==i?Mr(e,1,a)||Or(e):38==i?Lr(e,-1,a)||Nr(e):40==i?(r=e,!wt.safari||0<r.state.selection.$head.parentOffset||(n=(t=r.root.getSelection()).focusNode,t=t.focusOffset,n&&1==n.nodeType&&0==t&&n.firstChild&&"false"==n.firstChild.contentEditable&&(o=n.firstChild,jr(r,o,!0),setTimeout(function(){return jr(r,o,!1)},20))),Lr(e,1,a)||Or(e)):a==(wt.mac?"m":"c")&&(66==i||73==i||89==i||90==i))}function Br(e){var t=e.pmViewDesc;if(t)return t.parseRule();if("BR"==e.nodeName&&e.parentNode){if(wt.safari&&/^(ul|ol)$/i.test(e.parentNode.nodeName)){t=document.createElement("div");return t.appendChild(document.createElement("li")),{skip:t}}if(e.parentNode.lastChild==e||wt.safari&&/^(tr|table)$/i.test(e.parentNode.nodeName))return{ignore:!0}}else if("IMG"==e.nodeName&&e.getAttribute("mark-placeholder"))return{ignore:!0}}function Fr(t,e,r,n,o){if(e<0){var i=t.lastSelectionTime>Date.now()-50?t.lastSelectionOrigin:null,a=yr(t,i);a&&!t.state.selection.eq(a)&&(s=t.state.tr.setSelection(a),"pointer"==i?s.setMeta("pointer",!0):"key"==i&&s.scrollIntoView(),t.dispatch(s))}else{var i=t.state.doc.resolve(e),s=i.sharedDepth(r);e=i.before(s+1),r=t.state.doc.resolve(r).after(s+1);s=t.state.selection,e=function(e,t,r){var n=e.docView.parseRange(t,r),o=n.node,i=n.fromOffset,a=n.toOffset,s=n.from,c=n.to,t=e.root.getSelection(),r=null;if((n=t.anchorNode)&&e.dom.contains(1==n.nodeType?n:n.parentNode)&&(r=[{node:n,offset:t.anchorOffset}],qt(t)||r.push({node:t.focusNode,offset:t.focusOffset})),wt.chrome&&8===e.lastKeyCode)for(var l=a;i<l;l--){var u=o.childNodes[l-1],d=u.pmViewDesc;if("BR"==u.nodeName&&!d){a=l;break}if(!d||d.size)break}return n=e.state.doc,t=e.someProp("domParser")||Y.fromSchema(e.state.schema),e=n.resolve(s),n=null,{doc:t.parse(o,{topNode:e.parent,topMatch:e.parent.contentMatchAt(e.index()),topOpen:!0,from:i,to:a,preserveWhitespace:!e.parent.type.spec.code||"full",editableContent:!0,findPositions:r,ruleFromNode:Br,context:e}),sel:n=r&&null!=r[0].pos?{anchor:(e=r[0].pos)+s,head:(r=null==(r=r[1]&&r[1].pos)?e:r)+s}:n,from:s,to:c}}(t,e,r);wt.chrome&&t.cursorWrapper&&e.sel&&e.sel.anchor==t.cursorWrapper.deco.from&&(u=(l=t.cursorWrapper.deco.type.toDOM.nextSibling)&&l.nodeValue?l.nodeValue.length:1,e.sel={anchor:e.sel.anchor+u,head:e.sel.anchor+u});var c,r=t.state.doc,l=r.slice(e.from,e.to),u=8===t.lastKeyCode&&Date.now()-100<t.lastKeyCodeTime?(c=t.state.selection.to,"end"):(c=t.state.selection.from,"start");t.lastKeyCode=null;u=function(e,t,r,n,o){var i=e.findDiffStart(t,r);if(null==i)return null;var a=e.findDiffEnd(t,r+e.size,r+t.size),r=a.a,a=a.b;"end"==o&&(o=Math.max(0,i-Math.min(r,a)),n-=r+o-i);r<i&&e.size<t.size?(a=(i-=n<=i&&r<=n?i-n:0)+(a-r),r=i):a<i&&(r=(i-=n<=i&&a<=n?i-n:0)+(r-a),a=i);return{start:i,endA:r,endB:a}}(l.content,e.doc.content,e.from,c,u);if(!u)if(!(n&&s instanceof Qe&&!s.empty&&s.$head.sameParent(s.$anchor))||t.composing||e.sel&&e.sel.anchor!=e.sel.head)return(wt.ios&&t.lastIOSEnter>Date.now()-225||wt.android)&&o.some(function(e){return"DIV"==e.nodeName||"P"==e.nodeName})&&t.someProp("handleKeyDown",function(e){return e(t,Mt(13,"Enter"))})?void(t.lastIOSEnter=0):void(!e.sel||(p=Ur(t,t.state.doc,e.sel))&&!p.eq(t.state.selection)&&t.dispatch(t.state.tr.setSelection(p)));else u={start:s.from,endA:s.to,endB:s.to};t.domChangeCount++,t.state.selection.from<t.state.selection.to&&u.start==u.endB&&t.state.selection instanceof Qe&&(u.start>t.state.selection.from&&u.start<=t.state.selection.from+2?u.start=t.state.selection.from:u.endA<t.state.selection.to&&u.endA>=t.state.selection.to-2&&(u.endB+=t.state.selection.to-u.endA,u.endA=t.state.selection.to)),wt.ie&&wt.ie_version<=11&&u.endB==u.start+1&&u.endA==u.start&&u.start>e.from&&" "==e.doc.textBetween(u.start-e.from-1,u.start-e.from+1)&&(u.start--,u.endA--,u.endB--);var d,n=e.doc.resolveNoCache(u.start-e.from),p=e.doc.resolveNoCache(u.endB-e.from),s=n.sameParent(p)&&n.parent.inlineContent;if((wt.ios&&t.lastIOSEnter>Date.now()-225&&(!s||o.some(function(e){return"DIV"==e.nodeName||"P"==e.nodeName}))||!s&&n.pos<e.doc.content.size&&(d=Je.findFrom(e.doc.resolve(n.pos+1),1,!0))&&d.head==p.pos)&&t.someProp("handleKeyDown",function(e){return e(t,Mt(13,"Enter"))}))t.lastIOSEnter=0;else if(t.state.selection.anchor>u.start&&function(e,t,r,n,o){if(!n.parent.isTextblock||r-t<=o.pos-n.pos||Vr(n,!0,!1)<o.pos)return!1;t=e.resolve(t);if(t.parentOffset<t.parent.content.size||!t.parent.isTextblock)return!1;t=e.resolve(Vr(t,!0,!0));if(!t.parent.isTextblock||t.pos>r||Vr(t,!0,!1)<r)return!1;return n.parent.content.cut(n.parentOffset).eq(t.parent.content)}(r,u.start,u.endA,n,p)&&t.someProp("handleKeyDown",function(e){return e(t,Mt(8,"Backspace"))}))wt.android&&wt.chrome&&t.domObserver.suppressSelectionUpdates();else{wt.chrome&&wt.android&&u.toB==u.from&&(t.lastAndroidDelete=Date.now()),wt.android&&!s&&n.start()!=p.start()&&0==p.parentOffset&&n.depth==p.depth&&e.sel&&e.sel.anchor==e.sel.head&&e.sel.head==u.endA&&(u.endB-=2,p=e.doc.resolveNoCache(u.endB-e.from),setTimeout(function(){t.someProp("handleKeyDown",function(e){return e(t,Mt(13,"Enter"))})},20));var h,f,m,g,y=u.start,_=u.endA;if(s)if(n.pos==p.pos)wt.ie&&wt.ie_version<=11&&0==n.parentOffset&&(t.domObserver.suppressSelectionUpdates(),setTimeout(function(){return br(t)},20)),h=t.state.tr.delete(y,_),f=r.resolve(u.start).marksAcross(r.resolve(u.endA));else if(u.endA==u.endB&&(g=r.resolve(u.start))&&(m=function(e,t){for(var r,n,o,i=e.firstChild.marks,a=t.firstChild.marks,s=i,c=a,l=0;l<a.length;l++)s=a[l].removeFromSet(s);for(var u=0;u<i.length;u++)c=i[u].removeFromSet(c);if(1==s.length&&0==c.length)n=s[0],r="add",o=function(e){return e.mark(n.addToSet(e.marks))};else{if(0!=s.length||1!=c.length)return null;n=c[0],r="remove",o=function(e){return e.mark(n.removeFromSet(e.marks))}}for(var d=[],p=0;p<t.childCount;p++)d.push(o(t.child(p)));if(E.from(d).eq(e))return{mark:n,type:r}}(n.parent.content.cut(n.parentOffset,p.parentOffset),g.parent.content.cut(g.parentOffset,u.endA-g.start()))))h=t.state.tr,"add"==m.type?h.addMark(y,_,m.mark):h.removeMark(y,_,m.mark);else if(n.parent.child(n.index()).isText&&n.index()==p.index()-(p.textOffset?0:1)){var b=n.parent.textBetween(n.parentOffset,p.parentOffset);if(t.someProp("handleTextInput",function(e){return e(t,y,_,b)}))return;h=t.state.tr.insertText(b,y,_)}h=h||t.state.tr.replace(y,_,e.doc.slice(u.start-e.from,u.endB-e.from)),!e.sel||(e=Ur(t,h.doc,e.sel))&&!(wt.chrome&&wt.android&&t.composing&&e.empty&&(u.start!=u.endB||t.lastAndroidDelete<Date.now()-100)&&(e.head==y||e.head==h.mapping.map(_)-1)||wt.ie&&e.empty&&e.head==y)&&h.setSelection(e),f&&h.ensureMarks(f),t.dispatch(h.scrollIntoView())}}}function Ur(e,t,r){return Math.max(r.anchor,r.head)>t.content.size?null:Sr(e,t.resolve(r.anchor),t.resolve(r.head))}function Vr(e,t,r){for(var n=e.depth,o=t?e.end():e.pos;0<n&&(t||e.indexAfter(n)==e.node(n).childCount);)n--,o++,t=!1;if(r)for(var i=e.node(n).maybeChild(e.indexAfter(n));i&&!i.isLeaf;)i=i.firstChild,o++;return o}function Hr(e,t){for(var r=[],n=t.content,o=t.openStart,i=t.openEnd;1<o&&1<i&&1==n.childCount&&1==n.firstChild.childCount;){o--,i--;var a=n.firstChild;r.push(a.type.name,a.attrs!=a.type.defaultAttrs?a.attrs:null),n=a.content}var s=e.someProp("clipboardSerializer")||ce.fromSchema(e.state.schema),c=Yr(),l=c.createElement("div");l.appendChild(s.serializeFragment(n,{document:c}));for(var u,d=l.firstChild;d&&1==d.nodeType&&(u=Kr[d.nodeName.toLowerCase()]);){for(var p=u.length-1;0<=p;p--){for(var h=c.createElement(u[p]);l.firstChild;)h.appendChild(l.firstChild);l.appendChild(h),"tbody"!=u[p]&&(o++,i++)}d=l.firstChild}return d&&1==d.nodeType&&d.setAttribute("data-pm-slice",o+" "+i+" "+JSON.stringify(r)),{dom:l,text:e.someProp("clipboardTextSerializer",function(e){return e(t)})||t.content.textBetween(0,t.content.size,"\n\n")}}function Wr(e,t,r,n,o){var i=o.parent.type.spec.code;if(!r&&!t)return null;var a=t&&(n||i||!r);if(a){if(e.someProp("transformPastedText",function(e){t=e(t,i||n)}),i)return new A(E.from(e.state.schema.text(t.replace(/\r\n?/g,"\n"))),0,0);var s,c,l,u,d=e.someProp("clipboardTextParser",function(e){return e(t,o,n)});d?p=d:(s=o.marks(),c=e.state.schema,l=ce.fromSchema(c),u=document.createElement("div"),t.trim().split(/(?:\r\n?|\n)+/).forEach(function(e){u.appendChild(document.createElement("p")).appendChild(l.serializeNode(c.text(e,s)))}))}else e.someProp("transformPastedHTML",function(e){r=e(r)}),u=function(e){var t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));var r,n=Yr().createElement("div"),t=/<([a-z][^>\s]+)/i.exec(e);(r=t&&Kr[t[1].toLowerCase()])&&(e=r.map(function(e){return"<"+e+">"}).join("")+e+r.map(function(e){return"</"+e+">"}).reverse().join(""));if(n.innerHTML=e,r)for(var o=0;o<r.length;o++)n=n.querySelector(r[o])||n;return n}(r),wt.webkit&&function(e){for(var t=e.querySelectorAll(wt.chrome?"span:not([class]):not([style])":"span.Apple-converted-space"),r=0;r<t.length;r++){var n=t[r];1==n.childNodes.length&&" "==n.textContent&&n.parentNode&&n.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),n)}}(u);var p,d=u&&u.querySelector("[data-pm-slice]"),d=d&&/^(\d+) (\d+) (.*)/.exec(d.getAttribute("data-pm-slice"));return p=p||(e.someProp("clipboardParser")||e.someProp("domParser")||Y.fromSchema(e.state.schema)).parseSlice(u,{preserveWhitespace:!(!a&&!d),context:o}),p=d?function(t,e){if(!t.size)return t;var r,n=t.content.firstChild.type.schema;try{r=JSON.parse(e)}catch(e){return t}for(var o=t.content,i=t.openStart,a=t.openEnd,s=r.length-2;0<=s;s-=2){var c=n.nodes[r[s]];if(!c||c.hasRequiredAttrs())break;o=E.from(c.create(r[s+1],o)),i++,a++}return new A(o,i,a)}(function(e,t,r){t<e.openStart&&(e=new A(Zr(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd));r<e.openEnd&&(e=new A(Zr(e.content,1,r,e.openEnd,0,0),e.openStart,r));return e}(p,+d[1],+d[2]),d[3]):A.maxOpen(function(t,r){if(t.childCount<2)return t;for(var e=function(e){var n=r.node(e).contentMatchAt(r.index(e)),o=void 0,i=[];if(t.forEach(function(e){if(i){var t,r=n.findWrapping(e.type);if(!r)return i=null;(t=i.length&&o.length&&function e(t,r,n,o,i){if(i<t.length&&i<r.length&&t[i]==r[i]){r=e(t,r,n,o.lastChild,i+1);return r?o.copy(o.content.replaceChild(o.childCount-1,r)):o.contentMatchAt(o.childCount).matchType(i==t.length-1?n.type:t[i+1])?o.copy(o.content.append(E.from(Gr(n,t,i+1)))):void 0}}(r,o,e,i[i.length-1],0))?i[i.length-1]=t:(i.length&&(i[i.length-1]=function e(t,r){if(0==r)return t;var n=t.content.replaceChild(t.childCount-1,e(t.lastChild,r-1));r=t.contentMatchAt(t.childCount).fillBefore(E.empty,!0);return t.copy(n.append(r))}(i[i.length-1],o.length)),e=Gr(e,r),i.push(e),n=n.matchType(e.type,e.attrs),o=r)}}),i)return{v:E.from(i)}},n=r.depth;0<=n;n--){var o=e(n);if(o)return o.v}return t}(p.content,o),!1),e.someProp("transformPasted",function(e){p=e(p)}),p}function Gr(e,t,r){void 0===r&&(r=0);for(var n=t.length-1;r<=n;n--)e=t[n].create(null,E.from(e));return e}function Zr(e,t,r,n,o,i){var a=t<0?e.firstChild:e.lastChild,s=a.content;return o<n-1&&(s=Zr(s,t,r,n,o+1,i)),r<=o&&(s=t<0?a.contentMatchAt(0).fillBefore(s,1<e.childCount||i<=o).append(s):s.append(a.contentMatchAt(a.childCount).fillBefore(E.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,a.copy(s))}var Kr={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]},Jr=null;function Yr(){return Jr=Jr||document.implementation.createHTMLDocument("title")}function Xr(){this.anchorNode=this.anchorOffset=this.focusNode=this.focusOffset=null}var Qr={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},en=wt.ie&&wt.ie_version<=11;Xr.prototype.set=function(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset},Xr.prototype.eq=function(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset};var tn=function(e,t){var r=this;this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=window.MutationObserver&&new window.MutationObserver(function(e){for(var t=0;t<e.length;t++)r.queue.push(e[t]);wt.ie&&wt.ie_version<=11&&e.some(function(e){return"childList"==e.type&&e.removedNodes.length||"characterData"==e.type&&e.oldValue.length>e.target.nodeValue.length})?r.flushSoon():r.flush()}),this.currentSelection=new Xr,en&&(this.onCharData=function(e){r.queue.push({target:e.target,type:"characterData",oldValue:e.prevValue}),r.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.suppressingSelectionUpdates=!1};tn.prototype.flushSoon=function(){var e=this;this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(function(){e.flushingSoon=-1,e.flush()},20))},tn.prototype.forceFlush=function(){-1<this.flushingSoon&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())},tn.prototype.start=function(){this.observer&&this.observer.observe(this.view.dom,Qr),en&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()},tn.prototype.stop=function(){var e=this;if(this.observer){var t=this.observer.takeRecords();if(t.length){for(var r=0;r<t.length;r++)this.queue.push(t[r]);window.setTimeout(function(){return e.flush()},20)}this.observer.disconnect()}en&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()},tn.prototype.connectSelection=function(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)},tn.prototype.disconnectSelection=function(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)},tn.prototype.suppressSelectionUpdates=function(){var e=this;this.suppressingSelectionUpdates=!0,setTimeout(function(){return e.suppressingSelectionUpdates=!1},50)},tn.prototype.onSelectionChange=function(){if((!(e=this.view).editable||e.root.activeElement==e.dom)&&Er(e)){if(this.suppressingSelectionUpdates)return br(this.view);if(wt.ie&&wt.ie_version<=11&&!this.view.state.selection.empty){var e=this.view.root.getSelection();if(e.focusNode&&kt(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}},tn.prototype.setCurSelection=function(){this.currentSelection.set(this.view.root.getSelection())},tn.prototype.ignoreSelectionChange=function(e){if(0==e.rangeCount)return!0;var t=e.getRangeAt(0).commonAncestorContainer,e=this.view.docView.nearestDesc(t);return e&&e.ignoreMutation({type:"selection",target:3==t.nodeType?t.parentNode:t})?(this.setCurSelection(),!0):void 0},tn.prototype.flush=function(){if(this.view.docView&&!(-1<this.flushingSoon)){var e=this.observer?this.observer.takeRecords():[];this.queue.length&&(e=this.queue.concat(e),this.queue.length=0);var t,r,n=this.view.root.getSelection(),o=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Er(this.view)&&!this.ignoreSelectionChange(n),i=-1,a=-1,s=!1,c=[];if(this.view.editable)for(var l=0;l<e.length;l++){var u=this.registerMutation(e[l],c);u&&(i=i<0?u.from:Math.min(u.from,i),a=a<0?u.to:Math.max(u.to,a),u.typeOver&&(s=!0))}wt.gecko&&1<c.length&&(2==(r=c.filter(function(e){return"BR"==e.nodeName})).length&&(t=r[0],r=r[1],(t.parentNode&&t.parentNode.parentNode==r.parentNode?r:t).remove())),(-1<i||o)&&(-1<i&&(this.view.docView.markDirty(i,a),o=this.view,rn||(rn=!0,"normal"==getComputedStyle(o.dom).whiteSpace&&console.warn("ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package."))),this.handleDOMChange(i,a,s,c),this.view.docView.dirty?this.view.updateState(this.view.state):this.currentSelection.eq(n)||br(this.view),this.currentSelection.set(n))}};var rn=!(tn.prototype.registerMutation=function(e,t){if(-1<t.indexOf(e.target))return null;var r=this.view.docView.nearestDesc(e.target);if("attributes"==e.type&&(r==this.view.docView||"contenteditable"==e.attributeName||"style"==e.attributeName&&!e.oldValue&&!e.target.getAttribute("style")))return null;if(!r||r.ignoreMutation(e))return null;if("childList"!=e.type)return"attributes"==e.type?{from:r.posAtStart-r.border,to:r.posAtEnd+r.border}:{from:r.posAtStart,to:r.posAtEnd,typeOver:e.target.nodeValue==e.oldValue};for(var n=0;n<e.addedNodes.length;n++)t.push(e.addedNodes[n]);if(r.contentDOM&&r.contentDOM!=r.dom&&!r.contentDOM.contains(e.target))return{from:r.posBefore,to:r.posAfter};var o=e.previousSibling,i=e.nextSibling;if(wt.ie&&wt.ie_version<=11&&e.addedNodes.length)for(var a=0;a<e.addedNodes.length;a++){var s=e.addedNodes[a],c=s.previousSibling,s=s.nextSibling;(!c||Array.prototype.indexOf.call(e.addedNodes,c)<0)&&(o=c),(!s||Array.prototype.indexOf.call(e.addedNodes,s)<0)&&(i=s)}var l=o&&o.parentNode==e.target?vt(o)+1:0,u=r.localPosFromDOM(e.target,l,-1),l=i&&i.parentNode==e.target?vt(i):e.target.childNodes.length;return{from:u,to:r.localPosFromDOM(e.target,l,1)}});var nn={},on={};function an(o){o.shiftKey=!1,o.mouseDown=null,o.lastKeyCode=null,o.lastKeyCodeTime=0,o.lastClick={time:0,x:0,y:0,type:""},o.lastSelectionOrigin=null,o.lastSelectionTime=0,o.lastIOSEnter=0,o.lastIOSEnterFallbackTimeout=null,o.lastAndroidDelete=0,o.composing=!1,o.composingTimeout=null,o.compositionNodes=[],o.compositionEndedAt=-2e8,o.domObserver=new tn(o,function(e,t,r,n){return Fr(o,e,t,r,n)}),o.domObserver.start(),o.domChangeCount=0,o.eventHandlers=Object.create(null);function e(e){var t=nn[e];o.dom.addEventListener(e,o.eventHandlers[e]=function(e){!function(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(var r=t.target;r!=e.dom;r=r.parentNode)if(!r||11==r.nodeType||r.pmViewDesc&&r.pmViewDesc.stopEvent(t))return!1;return!0}(o,e)||ln(o,e)||!o.editable&&e.type in on||t(o,e)})}for(var t in nn)e(t);wt.safari&&o.dom.addEventListener("input",function(){return null}),cn(o)}function sn(e,t){e.lastSelectionOrigin=t,e.lastSelectionTime=Date.now()}function cn(r){r.someProp("handleDOMEvents",function(e){for(var t in e)r.eventHandlers[t]||r.dom.addEventListener(t,r.eventHandlers[t]=function(e){return ln(r,e)})})}function ln(t,r){return t.someProp("handleDOMEvents",function(e){e=e[r.type];return!!e&&(e(t,r)||r.defaultPrevented)})}function un(e){return{left:e.clientX,top:e.clientY}}function dn(r,e,n,t,o){if(-1==t)return!1;for(var i=r.state.doc.resolve(t),a=i.depth+1;0<a;a--){var s=function(t){if(r.someProp(e,function(e){return t>i.depth?e(r,n,i.nodeAfter,i.before(t),o,!0):e(r,n,i.node(t),i.before(t),o,!1)}))return{v:!0}}(a);if(s)return s.v}return!1}function pn(e,t,r){e.focused||e.focus();t=e.state.tr.setSelection(t);"pointer"==r&&t.setMeta("pointer",!0),e.dispatch(t)}function hn(t,r,e,n,o){return dn(t,"handleClickOn",r,e,n)||t.someProp("handleClick",function(e){return e(t,r,n)})||(o?function(e,t){if(-1==t)return;var r,n,o=e.state.selection;o instanceof tt&&(r=o.node);for(var i=e.state.doc.resolve(t),a=i.depth+1;0<a;a--){var s=a>i.depth?i.nodeAfter:i.node(a);if(tt.isSelectable(s)){n=r&&0<o.$from.depth&&a>=o.$from.depth&&i.before(o.$from.depth+1)==o.$from.pos?i.before(o.$from.depth):i.before(a);break}}return null!=n&&(pn(e,tt.create(e.state.doc,n),"pointer"),!0)}:function(e,t){if(-1==t)return;var r=e.state.doc.resolve(t);return!!((t=r.nodeAfter)&&t.isAtom&&tt.isSelectable(t))&&(pn(e,new tt(r),"pointer"),!0)})(t,e)}function fn(t,r,e,n){return dn(t,"handleTripleClickOn",r,e,n)||t.someProp("handleTripleClick",function(e){return e(t,r,n)})||function(e,t,r){if(0!=r.button)return!1;var n=e.state.doc;if(-1==t)return!!n.inlineContent&&(pn(e,Qe.create(n,0,n.content.size),"pointer"),!0);for(var o=n.resolve(t),i=o.depth+1;0<i;i--){var a=i>o.depth?o.nodeAfter:o.node(i),s=o.before(i);if(a.inlineContent)pn(e,Qe.create(n,s+1,s+1+a.content.size),"pointer");else{if(!tt.isSelectable(a))continue;pn(e,tt.create(n,s),"pointer")}return!0}}(t,e,n)}function mn(e){return vn(e)}on.keydown=function(t,r){var e;t.shiftKey=16==r.keyCode||r.shiftKey,_n(t,r)||(229!=r.keyCode&&t.domObserver.forceFlush(),t.lastKeyCode=r.keyCode,t.lastKeyCodeTime=Date.now(),!wt.ios||13!=r.keyCode||r.ctrlKey||r.altKey||r.metaKey?t.someProp("handleKeyDown",function(e){return e(t,r)})||Pr(t,r)?r.preventDefault():sn(t,"key"):(e=Date.now(),t.lastIOSEnter=e,t.lastIOSEnterFallbackTimeout=setTimeout(function(){t.lastIOSEnter==e&&(t.someProp("handleKeyDown",function(e){return e(t,Mt(13,"Enter"))}),t.lastIOSEnter=0)},200)))},on.keyup=function(e,t){16==t.keyCode&&(e.shiftKey=!1)},on.keypress=function(t,r){var n,o;_n(t,r)||!r.charCode||r.ctrlKey&&!r.altKey||wt.mac&&r.metaKey||(t.someProp("handleKeyPress",function(e){return e(t,r)})?r.preventDefault():(n=t.state.selection)instanceof Qe&&n.$from.sameParent(n.$to)||(o=String.fromCharCode(r.charCode),t.someProp("handleTextInput",function(e){return e(t,n.$from.pos,n.$to.pos,o)})||t.dispatch(t.state.tr.insertText(o).scrollIntoView()),r.preventDefault()))};var gn=wt.mac?"metaKey":"ctrlKey";nn.mousedown=function(e,t){e.shiftKey=t.shiftKey;var r,n,o,i=mn(e),a=Date.now(),s="singleClick";a-e.lastClick.time<500&&(r=t,n=e.lastClick,o=n.x-r.clientX,r=n.y-r.clientY,o*o+r*r<100)&&!t[gn]&&("singleClick"==e.lastClick.type?s="doubleClick":"doubleClick"==e.lastClick.type&&(s="tripleClick")),e.lastClick={time:a,x:t.clientX,y:t.clientY,type:s};a=e.posAtCoords(un(t));a&&("singleClick"==s?(e.mouseDown&&e.mouseDown.done(),e.mouseDown=new yn(e,a,t,i)):("doubleClick"==s?function(t,r,e,n){return dn(t,"handleDoubleClickOn",r,e,n)||t.someProp("handleDoubleClick",function(e){return e(t,r,n)})}:fn)(e,a.pos,a.inside,t)?t.preventDefault():sn(e,"pointer"))};var yn=function(e,t,r,n){var o,i,a=this;this.view=e,this.startDoc=e.state.doc,this.pos=t,this.event=r,this.flushed=n,this.selectNode=r[gn],this.allowDefault=r.shiftKey,this.delayedSelectionSync=!1,i=-1<t.inside?(o=e.state.doc.nodeAt(t.inside),t.inside):(o=(i=e.state.doc.resolve(t.pos)).parent,i.depth?i.before():0),this.mightDrag=null;n=n?null:r.target,n=n?e.docView.nearestDesc(n,!0):null;this.target=n?n.dom:null;n=e.state.selection;(0==r.button&&o.type.spec.draggable&&!1!==o.type.spec.selectable||n instanceof tt&&n.from<=i&&n.to>i)&&(this.mightDrag={node:o,pos:i,addAttr:this.target&&!this.target.draggable,setUneditable:this.target&&wt.gecko&&!this.target.hasAttribute("contentEditable")}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(function(){a.view.mouseDown==a&&a.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),sn(e,"pointer")};function _n(e,t){return e.composing||wt.safari&&Math.abs(t.timeStamp-e.compositionEndedAt)<500&&(e.compositionEndedAt=-2e8)}yn.prototype.done=function(){var e=this;this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(function(){return br(e.view)}),this.view.mouseDown=null},yn.prototype.up=function(e){var t;this.done(),this.view.dom.contains(3==e.target.nodeType?e.target.parentNode:e.target)&&(t=this.pos,this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(un(e))),this.allowDefault||!t?sn(this.view,"pointer"):hn(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():0==e.button&&(this.flushed||wt.safari&&this.mightDrag&&!this.mightDrag.node.isAtom||wt.chrome&&!(this.view.state.selection instanceof Qe)&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(pn(this.view,Je.near(this.view.state.doc.resolve(t.pos)),"pointer"),e.preventDefault()):sn(this.view,"pointer"))},yn.prototype.move=function(e){!this.allowDefault&&(4<Math.abs(this.event.x-e.clientX)||4<Math.abs(this.event.y-e.clientY))&&(this.allowDefault=!0),sn(this.view,"pointer"),0==e.buttons&&this.done()},nn.touchdown=function(e){mn(e),sn(e,"pointer")},nn.contextmenu=mn;var bn=wt.android?5e3:-1;function wn(e,t){clearTimeout(e.composingTimeout),-1<t&&(e.composingTimeout=setTimeout(function(){return vn(e)},t))}function kn(e){var t;for(e.composing&&(e.composing=!1,e.compositionEndedAt=((t=document.createEvent("Event")).initEvent("event",!0,!0),t.timeStamp));0<e.compositionNodes.length;)e.compositionNodes.pop().markParentsDirty()}function vn(e,t){if(e.domObserver.forceFlush(),kn(e),t||e.docView.dirty){t=yr(e);return t&&!t.eq(e.state.selection)?e.dispatch(e.state.tr.setSelection(t)):e.updateState(e.state),!0}return!1}on.compositionstart=on.compositionupdate=function(e){if(!e.composing){e.domObserver.flush();var t=e.state,r=t.selection.$from;if(t.selection.empty&&(t.storedMarks||!r.textOffset&&r.parentOffset&&r.nodeBefore.marks.some(function(e){return!1===e.type.spec.inclusive})))e.markCursor=e.state.storedMarks||r.marks(),vn(e,!0),e.markCursor=null;else if(vn(e),wt.gecko&&t.selection.empty&&r.parentOffset&&!r.textOffset&&r.nodeBefore.marks.length)for(var n=e.root.getSelection(),o=n.focusNode,i=n.focusOffset;o&&1==o.nodeType&&0!=i;){var a=i<0?o.lastChild:o.childNodes[i-1];if(!a)break;if(3==a.nodeType){n.collapse(a,a.nodeValue.length);break}o=a,i=-1}e.composing=!0}wn(e,bn)},on.compositionend=function(e,t){e.composing&&(e.composing=!1,e.compositionEndedAt=t.timeStamp,wn(e,20))};var xn=wt.ie&&wt.ie_version<15||wt.ios&&wt.webkit_version<604;function zn(t,e,r,n){var o=Wr(t,e,r,t.shiftKey,t.state.selection.$from);if(t.someProp("handlePaste",function(e){return e(t,n,o||A.empty)}))return 1;if(o){r=0==(r=o).openStart&&0==r.openEnd&&1==r.content.childCount?r.content.firstChild:null,r=r?t.state.tr.replaceSelectionWith(r,t.shiftKey):t.state.tr.replaceSelection(o);return t.dispatch(r.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),1}}nn.copy=on.cut=function(e,t){var r,n,o,i,a=e.state.selection,s="cut"==t.type;a.empty||(n=xn?null:t.clipboardData,a=(i=Hr(e,a.content())).dom,i=i.text,n?(t.preventDefault(),n.clearData(),n.setData("text/html",a.innerHTML),n.setData("text/plain",i)):(n=a,(r=e).dom.parentNode&&((o=r.dom.parentNode.appendChild(document.createElement("div"))).appendChild(n),o.style.cssText="position: fixed; left: -10000px; top: 10px",i=getSelection(),(a=document.createRange()).selectNodeContents(n),r.dom.blur(),i.removeAllRanges(),i.addRange(a),setTimeout(function(){o.parentNode&&o.parentNode.removeChild(o),r.focus()},50))),s&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut")))},on.paste=function(e,t){var r,n,o,i,a=xn?null:t.clipboardData;a&&zn(e,a.getData("text/plain"),a.getData("text/html"),t)?t.preventDefault():(n=t,(r=e).dom.parentNode&&(o=r.shiftKey||r.state.selection.$from.parent.type.spec.code,i=r.dom.parentNode.appendChild(document.createElement(o?"textarea":"div")),o||(i.contentEditable="true"),i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(function(){r.focus(),i.parentNode&&i.parentNode.removeChild(i),o?zn(r,i.value,null,n):zn(r,i.textContent,i.innerHTML,n)},50)))};function Cn(e,t){this.slice=e,this.move=t}var Sn,En=wt.mac?"altKey":"ctrlKey";for(Sn in nn.dragstart=function(e,t){var r,n,o,i=e.mouseDown;i&&i.done(),t.dataTransfer&&((r=(n=e.state.selection).empty?null:e.posAtCoords(un(t)))&&r.pos>=n.from&&r.pos<=(n instanceof tt?n.to-1:n.to)||(i&&i.mightDrag?e.dispatch(e.state.tr.setSelection(tt.create(e.state.doc,i.mightDrag.pos))):!t.target||1!=t.target.nodeType||(o=e.docView.nearestDesc(t.target,!0))&&o.node.type.spec.draggable&&o!=e.docView&&e.dispatch(e.state.tr.setSelection(tt.create(e.state.doc,o.posBefore)))),n=e.state.selection.content(),o=(i=Hr(e,n)).dom,i=i.text,t.dataTransfer.clearData(),t.dataTransfer.setData(xn?"Text":"text/html",o.innerHTML),t.dataTransfer.effectAllowed="copyMove",xn||t.dataTransfer.setData("text/plain",i),e.dragging=new Cn(n,!t[En]))},nn.dragend=function(e){var t=e.dragging;window.setTimeout(function(){e.dragging==t&&(e.dragging=null)},50)},on.dragover=on.dragenter=function(e,t){return t.preventDefault()},on.drop=function(t,r){var n,o,e,i,a,s,c,l=t.dragging;t.dragging=null,r.dataTransfer&&(!(s=t.posAtCoords(un(r)))||(a=t.state.doc.resolve(s.pos))&&((n=l&&l.slice)?t.someProp("transformPasted",function(e){n=e(n)}):n=Wr(t,r.dataTransfer.getData(xn?"Text":"text/plain"),xn?null:r.dataTransfer.getData("text/html"),!1,a),o=l&&!r[En],t.someProp("handleDrop",function(e){return e(t,r,n||A.empty,o)})?r.preventDefault():n&&(r.preventDefault(),null==(e=n?Ie(t.state.doc,a.pos,n):a.pos)&&(e=a.pos),i=t.state.tr,o&&i.deleteSelection(),s=i.mapping.map(e),l=0==n.openStart&&0==n.openEnd&&1==n.content.childCount,a=i.doc,l?i.replaceRangeWith(s,s,n.content.firstChild):i.replaceRange(s,s,n),i.doc.eq(a)||(s=i.doc.resolve(s),l&&tt.isSelectable(n.content.firstChild)&&s.nodeAfter&&s.nodeAfter.sameMarkup(n.content.firstChild)?i.setSelection(new tt(s)):(c=i.mapping.map(e),i.mapping.maps[i.mapping.maps.length-1].forEach(function(e,t,r,n){return c=n}),i.setSelection(Sr(t,s,i.doc.resolve(c)))),t.focus(),t.dispatch(i.setMeta("uiEvent","drop"))))))},nn.focus=function(e){e.focused||(e.domObserver.stop(),e.dom.classList.add("ProseMirror-focused"),e.domObserver.start(),e.focused=!0,setTimeout(function(){e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.root.getSelection())&&br(e)},20))},nn.blur=function(e,t){e.focused&&(e.domObserver.stop(),e.dom.classList.remove("ProseMirror-focused"),e.domObserver.start(),t.relatedTarget&&e.dom.contains(t.relatedTarget)&&e.domObserver.currentSelection.set({}),e.focused=!1)},nn.beforeinput=function(t,e){var r;wt.chrome&&wt.android&&"deleteContentBackward"==e.inputType&&(r=t.domChangeCount,setTimeout(function(){var e;t.domChangeCount==r&&(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",function(e){return e(t,Mt(8,"Backspace"))})||(e=t.state.selection.$cursor)&&0<e.pos&&t.dispatch(t.state.tr.delete(e.pos-1,e.pos).scrollIntoView()))},50))},on)nn[Sn]=on[Sn];function An(e,t){if(e==t)return!0;for(var r in e)if(e[r]!==t[r])return!1;for(var n in t)if(!(n in e))return!1;return!0}function qn(e,t){this.spec=t||In,this.side=this.spec.side||0,this.toDOM=e}qn.prototype.map=function(e,t,r,n){t=e.mapResult(t.from+n,this.side<0?-1:1),n=t.pos;return t.deleted?null:new Tn(n-r,n-r,this)},qn.prototype.valid=function(){return!0},qn.prototype.eq=function(e){return this==e||e instanceof qn&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&An(this.spec,e.spec))};function Mn(e,t){this.spec=t||In,this.attrs=e}Mn.prototype.map=function(e,t,r,n){var o=e.map(t.from+n,this.spec.inclusiveStart?-1:1)-r,r=e.map(t.to+n,this.spec.inclusiveEnd?1:-1)-r;return r<=o?null:new Tn(o,r,this)},Mn.prototype.valid=function(e,t){return t.from<t.to},Mn.prototype.eq=function(e){return this==e||e instanceof Mn&&An(this.attrs,e.attrs)&&An(this.spec,e.spec)},Mn.is=function(e){return e.type instanceof Mn};function Dn(e,t){this.spec=t||In,this.attrs=e}Dn.prototype.map=function(e,t,r,n){var o=e.mapResult(t.from+n,1);if(o.deleted)return null;n=e.mapResult(t.to+n,-1);return n.deleted||n.pos<=o.pos?null:new Tn(o.pos-r,n.pos-r,this)},Dn.prototype.valid=function(e,t){var r=e.content.findIndex(t.from),n=r.index,r=r.offset;return r==t.from&&r+e.child(n).nodeSize==t.to},Dn.prototype.eq=function(e){return this==e||e instanceof Dn&&An(this.attrs,e.attrs)&&An(this.spec,e.spec)};var Tn=function(e,t,r){this.from=e,this.to=t,this.type=r},Nn={spec:{configurable:!0},inline:{configurable:!0}};Tn.prototype.copy=function(e,t){return new Tn(e,t,this.type)},Tn.prototype.eq=function(e,t){return void 0===t&&(t=0),this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to},Tn.prototype.map=function(e,t,r){return this.type.map(e,this,t,r)},Tn.widget=function(e,t,r){return new Tn(e,e,new qn(t,r))},Tn.inline=function(e,t,r,n){return new Tn(e,t,new Mn(r,n))},Tn.node=function(e,t,r,n){return new Tn(e,t,new Dn(r,n))},Nn.spec.get=function(){return this.type.spec},Nn.inline.get=function(){return this.type instanceof Mn},Object.defineProperties(Tn.prototype,Nn);var On=[],In={},$n=function(e,t){this.local=e&&e.length?e:On,this.children=t&&t.length?t:On};$n.create=function(e,t){return t.length?Fn(t,e,0,In):Ln},$n.prototype.find=function(e,t,r){var n=[];return this.findInner(null==e?0:e,null==t?1e9:t,n,0,r),n},$n.prototype.findInner=function(e,t,r,n,o){for(var i=0;i<this.local.length;i++){var a=this.local[i];a.from<=t&&a.to>=e&&(!o||o(a.spec))&&r.push(a.copy(a.from+n,a.to+n))}for(var s,c=0;c<this.children.length;c+=3)this.children[c]<t&&this.children[c+1]>e&&(s=this.children[c]+1,this.children[c+2].findInner(e-s,t-s,r,n+s,o))},$n.prototype.map=function(e,t,r){return this==Ln||0==e.maps.length?this:this.mapInner(e,t,0,0,r||In)},$n.prototype.mapInner=function(e,t,r,n,o){for(var i,a=0;a<this.local.length;a++){var s=this.local[a].map(e,r,n);s&&s.type.valid(t,s)?(i=i||[]).push(s):o.onRemove&&o.onRemove(this.local[a].spec)}return this.children.length?function(e,t,r,n,s,c,o){for(var l=e.slice(),i=function(e,t,r,n){for(var o=0;o<l.length;o+=3){var i=l[o+1],a=void 0;-1==i||i+c<e||(t>=l[o]+c?l[o+1]=-1:s<=r&&(a=n-r-(t-e))&&(l[o]+=a,l[o+1]+=a))}},a=0;a<r.maps.length;a++)r.maps[a].forEach(i);for(var u=!1,d=0;d<l.length;d+=3){var p,h,f,m,g;-1==l[d+1]&&(g=r.map(e[d]+c),(p=g-s)<0||p>=n.content.size?u=!0:(h=r.map(e[d+1]+c,-1)-s,f=n.content.findIndex(p),m=f.index,f=f.offset,(m=n.maybeChild(m))&&f==p&&f+m.nodeSize==h?(g=l[d+2].mapInner(r,m,g+1,e[d]+c+1,o))!=Ln?(l[d]=p,l[d+1]=h,l[d+2]=g):(l[d+1]=-2,u=!0):u=!0))}if(u){var y=Fn(function(e,t,a,s,c,r,l){for(var n=0;n<e.length;n+=3)-1==e[n+1]&&!function e(t,r){for(var n=0;n<t.local.length;n++){var o=t.local[n].map(s,c,r);o?a.push(o):l.onRemove&&l.onRemove(t.local[n].spec)}for(var i=0;i<t.children.length;i+=3)e(t.children[i+2],t.children[i]+r+1)}(e[n+2],t[n]+r+1);return a}(l,e,t||[],r,s,c,o),n,0,o);t=y.local;for(var _=0;_<l.length;_+=3)l[_+1]<0&&(l.splice(_,3),_-=3);for(var b=0,w=0;b<y.children.length;b+=3){for(var k=y.children[b];w<l.length&&l[w]<k;)w+=3;l.splice(w,0,y.children[b],y.children[b+1],y.children[b+2])}}return new $n(t&&t.sort(Un),l)}(this.children,i,e,t,r,n,o):i?new $n(i.sort(Un)):Ln},$n.prototype.add=function(e,t){return t.length?this==Ln?$n.create(e,t):this.addInner(e,t,0):this},$n.prototype.addInner=function(e,o,i){var a,s=this,c=0;e.forEach(function(e,t){var r,n=t+i;if(r=Pn(o,e,n)){for(a=a||s.children.slice();c<a.length&&a[c]<t;)c+=3;a[c]==t?a[c+2]=a[c+2].addInner(e,r,n+1):a.splice(c,0,t,t+e.nodeSize,Fn(r,e,n+1,In)),c+=3}});for(var t=jn(c?Bn(o):o,-i),r=0;r<t.length;r++)t[r].type.valid(e,t[r])||t.splice(r--,1);return new $n(t.length?this.local.concat(t).sort(Un):this.local,a||this.children)},$n.prototype.remove=function(e){return 0==e.length||this==Ln?this:this.removeInner(e,0)},$n.prototype.removeInner=function(e,t){for(var r=this.children,n=this.local,o=0;o<r.length;o+=3){for(var i,a,s=void 0,c=r[o]+t,l=r[o+1]+t,u=0;u<e.length;u++)(i=e[u])&&i.from>c&&i.to<l&&(e[u]=null,(s=s||[]).push(i));s&&((a=(r=r==this.children?this.children.slice():r)[o+2].removeInner(s,c+1))!=Ln?r[o+2]=a:(r.splice(o,3),o-=3))}if(n.length)for(var d,p=0;p<e.length;p++)if(d=e[p])for(var h=0;h<n.length;h++)n[h].eq(d,t)&&(n=n==this.local?this.local.slice():n).splice(h--,1);return r==this.children&&n==this.local?this:n.length||r.length?new $n(n,r):Ln},$n.prototype.forChild=function(e,t){if(this==Ln)return this;if(t.isLeaf)return $n.empty;for(var r,n,o=0;o<this.children.length;o+=3)if(this.children[o]>=e){this.children[o]==e&&(r=this.children[o+2]);break}for(var i=e+1,a=i+t.content.size,s=0;s<this.local.length;s++){var c,l,u=this.local[s];u.from<a&&u.to>i&&u.type instanceof Mn&&((c=Math.max(i,u.from)-i)<(l=Math.min(a,u.to)-i)&&(n=n||[]).push(u.copy(c,l)))}if(n){t=new $n(n.sort(Un));return r?new Rn([t,r]):t}return r||Ln},$n.prototype.eq=function(e){if(this==e)return!0;if(!(e instanceof $n)||this.local.length!=e.local.length||this.children.length!=e.children.length)return!1;for(var t=0;t<this.local.length;t++)if(!this.local[t].eq(e.local[t]))return!1;for(var r=0;r<this.children.length;r+=3)if(this.children[r]!=e.children[r]||this.children[r+1]!=e.children[r+1]||!this.children[r+2].eq(e.children[r+2]))return!1;return!0},$n.prototype.locals=function(e){return Vn(this.localsInner(e))},$n.prototype.localsInner=function(e){if(this==Ln)return On;if(e.inlineContent||!this.local.some(Mn.is))return this.local;for(var t=[],r=0;r<this.local.length;r++)this.local[r].type instanceof Mn||t.push(this.local[r]);return t};var Ln=new $n;$n.empty=Ln,$n.removeOverlap=Vn;var Rn=function(e){this.members=e};function jn(e,t){if(!t||!e.length)return e;for(var r=[],n=0;n<e.length;n++){var o=e[n];r.push(new Tn(o.from+t,o.to+t,o.type))}return r}function Pn(e,t,r){if(t.isLeaf)return null;for(var n,o=r+t.nodeSize,i=null,a=0;a<e.length;a++)(n=e[a])&&n.from>r&&n.to<o&&((i=i||[]).push(n),e[a]=null);return i}function Bn(e){for(var t=[],r=0;r<e.length;r++)null!=e[r]&&t.push(e[r]);return t}function Fn(n,e,o,i){var a=[],s=!1;e.forEach(function(e,t){var r=Pn(n,e,t+o);r&&(s=!0,(r=Fn(r,e,o+t+1,i))!=Ln&&a.push(t,t+e.nodeSize,r))});for(var t=jn(s?Bn(n):n,-o).sort(Un),r=0;r<t.length;r++)t[r].type.valid(e,t[r])||(i.onRemove&&i.onRemove(t[r].spec),t.splice(r--,1));return t.length||a.length?new $n(t,a):Ln}function Un(e,t){return e.from-t.from||e.to-t.to}function Vn(e){for(var t=e,r=0;r<t.length-1;r++){var n=t[r];if(n.from!=n.to)for(var o=r+1;o<t.length;o++){var i=t[o];if(i.from!=n.from){i.from<n.to&&((t=t==e?e.slice():t)[r]=n.copy(n.from,i.from),Hn(t,o,n.copy(i.from,n.to)));break}i.to!=n.to&&((t=t==e?e.slice():t)[o]=i.copy(i.from,n.to),Hn(t,o+1,i.copy(n.to,i.to)))}}return t}function Hn(e,t,r){for(;t<e.length&&0<Un(r,e[t]);)t++;e.splice(t,0,r)}function Wn(t){var r=[];return t.someProp("decorations",function(e){e=e(t.state);e&&e!=Ln&&r.push(e)}),t.cursorWrapper&&r.push($n.create(t.state.doc,[t.cursorWrapper.deco])),Rn.from(r)}Rn.prototype.map=function(t,r){var e=this.members.map(function(e){return e.map(t,r,In)});return Rn.from(e)},Rn.prototype.forChild=function(e,t){if(t.isLeaf)return $n.empty;for(var r=[],n=0;n<this.members.length;n++){var o=this.members[n].forChild(e,t);o!=Ln&&(o instanceof Rn?r=r.concat(o.members):r.push(o))}return Rn.from(r)},Rn.prototype.eq=function(e){if(!(e instanceof Rn)||e.members.length!=this.members.length)return!1;for(var t=0;t<this.members.length;t++)if(!this.members[t].eq(e.members[t]))return!1;return!0},Rn.prototype.locals=function(e){for(var t,r,n=!0,o=0;o<this.members.length;o++)if((r=this.members[o].localsInner(e)).length)if(t){n&&(t=t.slice(),n=!1);for(var i=0;i<r.length;i++)t.push(r[i])}else t=r;return t?Vn(n?t:t.sort(Un)):On},Rn.from=function(e){switch(e.length){case 0:return Ln;case 1:return e[0];default:return new Rn(e)}};function Gn(e,t){this._props=t,this.state=t.state,this.dispatch=this.dispatch.bind(this),this._root=null,this.focused=!1,this.trackWrites=null,this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):e.apply?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=Yn(this),this.markCursor=null,this.cursorWrapper=null,Jn(this),this.nodeViews=Xn(this),this.docView=nr(this.state.doc,Kn(this),Wn(this),this.dom,this),this.lastSelectedViewDesc=null,this.dragging=null,an(this),this.pluginViews=[],this.updatePluginViews()}var Zn={props:{configurable:!0},root:{configurable:!0}};function Kn(r){var n=Object.create(null);return n.class="ProseMirror",n.contenteditable=String(r.editable),n.translate="no",r.someProp("attributes",function(e){if(e="function"==typeof e?e(r.state):e)for(var t in e)"class"==t?n.class+=" "+e[t]:n[t]||"contenteditable"==t||"nodeName"==t||(n[t]=String(e[t]))}),[Tn.node(0,r.state.doc.content.size,n)]}function Jn(e){var t;e.markCursor?((t=document.createElement("img")).className="ProseMirror-separator",t.setAttribute("mark-placeholder","true"),e.cursorWrapper={dom:t,deco:Tn.widget(e.state.selection.head,t,{raw:!0,marks:e.markCursor})}):e.cursorWrapper=null}function Yn(t){return!t.someProp("editable",function(e){return!1===e(t.state)})}function Xn(e){var r={};return e.someProp("nodeViews",function(e){for(var t in e)Object.prototype.hasOwnProperty.call(r,t)||(r[t]=e[t])}),r}Zn.props.get=function(){if(this._props.state!=this.state){var e,t=this._props;for(e in this._props={},t)this._props[e]=t[e];this._props.state=this.state}return this._props},Gn.prototype.update=function(e){e.handleDOMEvents!=this._props.handleDOMEvents&&cn(this),this._props=e,this.updateStateInner(e.state,!0)},Gn.prototype.setProps=function(e){var t,r,n={};for(t in this._props)n[t]=this._props[t];for(r in n.state=this.state,e)n[r]=e[r];this.update(n)},Gn.prototype.updateState=function(e){this.updateStateInner(e,this.state.plugins!=e.plugins)},Gn.prototype.updateStateInner=function(e,t){var r=this,n=this.state,o=!1,i=!1;e.storedMarks&&this.composing&&(kn(this),i=!0),this.state=e,t&&(function(e,t){var r,n,o=0,i=0;for(r in e){if(e[r]!=t[r])return!0;o++}for(n in t)i++;return o!=i}(h=Xn(this),this.nodeViews)&&(this.nodeViews=h,o=!0),cn(this)),this.editable=Yn(this),Jn(this);var a=Wn(this),s=Kn(this),c=t?"reset":e.scrollToSelection>n.scrollToSelection?"to selection":"preserve",l=o||!this.docView.matchesNode(e.doc,s,a);!l&&e.selection.eq(n.selection)||(i=!0);var u,d,p,h="preserve"==c&&i&&null==this.dom.style.overflowAnchor&&function(e){for(var t,r,n=e.dom.getBoundingClientRect(),o=Math.max(0,n.top),i=(n.left+n.right)/2,a=o+1;a<Math.min(innerHeight,n.bottom);a+=5){var s=e.root.elementFromPoint(i,a);if(s!=e.dom&&e.dom.contains(s)){var c=s.getBoundingClientRect();if(c.top>=o-20){t=s,r=c.top;break}}}return{refDOM:t,refTop:r,stack:Nt(e.dom)}}(this);i&&(this.domObserver.stop(),d=l&&(wt.ie||wt.chrome)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&(t=n.selection,i=e.selection,d=Math.min(t.$anchor.sharedDepth(t.head),i.$anchor.sharedDepth(i.head)),t.$anchor.start(d)!=i.$anchor.start(d)),l&&(u=wt.chrome?this.trackWrites=this.root.getSelection().focusNode:null,!o&&this.docView.update(e.doc,s,a,this)||(this.docView.updateOuterDeco([]),this.docView.destroy(),this.docView=nr(e.doc,s,a,this.dom,this)),u&&!this.trackWrites&&(d=!0)),d||!(this.mouseDown&&this.domObserver.currentSelection.eq(this.root.getSelection())&&(u=(a=this).docView.domFromPos(a.state.selection.anchor,0),a=a.root.getSelection(),kt(u.node,u.offset,a.anchorNode,a.anchorOffset)))?br(this,d):(zr(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()),this.updatePluginViews(n),"reset"==c?this.dom.scrollTop=0:"to selection"==c?(p=this.root.getSelection().focusNode,this.someProp("handleScrollToSelection",function(e){return e(r)})||(e.selection instanceof tt?Tt(this,this.docView.domAfterPos(e.selection.from).getBoundingClientRect(),p):Tt(this,this.coordsAtPos(e.selection.head,1),p))):h&&(e=(c=h).refDOM,p=h.refTop,c=h.stack,e=e?e.getBoundingClientRect().top:0,Ot(c,0==e?0:e-p))},Gn.prototype.destroyPluginViews=function(){for(var e;e=this.pluginViews.pop();)e.destroy&&e.destroy()},Gn.prototype.updatePluginViews=function(e){if(e&&e.plugins==this.state.plugins)for(var t=0;t<this.pluginViews.length;t++){var r=this.pluginViews[t];r.update&&r.update(this,e)}else{this.destroyPluginViews();for(var n=0;n<this.state.plugins.length;n++){var o=this.state.plugins[n];o.spec.view&&this.pluginViews.push(o.spec.view(this))}}},Gn.prototype.someProp=function(e,t){var r,n=this._props&&this._props[e];if(null!=n&&(r=t?t(n):n))return r;var o=this.state.plugins;if(o)for(var i=0;i<o.length;i++){var a=o[i].props[e];if(null!=a&&(r=t?t(a):a))return r}},Gn.prototype.hasFocus=function(){return this.root.activeElement==this.dom},Gn.prototype.focus=function(){this.domObserver.stop(),this.editable&&function(e){if(e.setActive)return e.setActive();if(It)return e.focus(It);var t=Nt(e);e.focus(null==It?{get preventScroll(){return It={preventScroll:!0},!0}}:void 0),It||(It=!1,Ot(t,0))}(this.dom),br(this),this.domObserver.start()},Zn.root.get=function(){var e=this._root;if(null==e)for(var t=this.dom.parentNode;t;t=t.parentNode)if(9==t.nodeType||11==t.nodeType&&t.host)return t.getSelection||(Object.getPrototypeOf(t).getSelection=function(){return document.getSelection()}),this._root=t;return e||document},Gn.prototype.posAtCoords=function(e){return Rt(this,e)},Gn.prototype.coordsAtPos=function(e,t){return Bt(this,e,t=void 0===t?1:t)},Gn.prototype.domAtPos=function(e,t){return this.docView.domFromPos(e,t=void 0===t?0:t)},Gn.prototype.nodeDOM=function(e){e=this.docView.descAt(e);return e?e.nodeDOM:null},Gn.prototype.posAtDOM=function(e,t,r){r=this.docView.posFromDOM(e,t,r=void 0===r?-1:r);if(null==r)throw new RangeError("DOM position not inside the editor");return r},Gn.prototype.endOfTextblock=function(e,t){return Kt(this,t||this.state,e)},Gn.prototype.destroy=function(){this.docView&&(function(e){for(var t in e.domObserver.stop(),e.eventHandlers)e.dom.removeEventListener(t,e.eventHandlers[t]);clearTimeout(e.composingTimeout),clearTimeout(e.lastIOSEnterFallbackTimeout)}(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],Wn(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null)},Gn.prototype.dispatchEvent=function(e){var t;ln(t=this,e=e)||!nn[e.type]||!t.editable&&e.type in on||nn[e.type](t,e)},Gn.prototype.dispatch=function(e){var t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))},Object.defineProperties(Gn.prototype,Zn);var Qn=Object.freeze({__proto__:null,Decoration:Tn,DecorationSet:$n,EditorView:Gn,__endComposition:vn,__parseFromClipboard:Wr,__serializeForClipboard:Hr}),eo=function(e,t){var s;this.match=e,this.handler="string"==typeof t?(s=t,function(e,t,r,n){var o,i,a=s;return t[1]&&(o=t[0].lastIndexOf(t[1]),a+=t[0].slice(o+t[1].length),0<(i=(r+=o)-n)&&(a=t[0].slice(o-i,o)+a,r=n)),e.tr.insertText(a,r,n)}):t};var to=500;function ro(e){var o=e.rules,i=new mt({state:{init:function(){return null},apply:function(e,t){var r=e.getMeta(this);return r||(e.selectionSet||e.docChanged?null:t)}},props:{handleTextInput:function(e,t,r,n){return no(e,t,r,n,o,i)},handleDOMEvents:{compositionend:function(t){setTimeout(function(){var e=t.state.selection.$cursor;e&&no(t,e.pos,e.pos,"",o,i)})}}},isInputRules:!0});return i}function no(e,t,r,n,o,i){if(e.composing)return!1;var a=e.state,s=a.doc.resolve(t);if(s.parent.type.spec.code)return!1;for(var c=s.parent.textBetween(Math.max(0,s.parentOffset-to),s.parentOffset,null,"")+n,l=0;l<o.length;l++){var u=o[l].match.exec(c),u=u&&o[l].handler(a,u,t-(u[0].length-n.length),r);if(u)return e.dispatch(u.setMeta(i,{transform:u,from:t,to:r,text:n})),!0}return!1}function oo(e,t){for(var r=e.plugins,n=0;n<r.length;n++){var o=r[n],i=void 0;if(o.spec.isInputRules&&(i=o.getState(e))){if(t){for(var a=e.tr,s=i.transform,c=s.steps.length-1;0<=c;c--)a.step(s.steps[c].invert(s.docs[c]));i.text?(o=a.doc.resolve(i.from).marks(),a.replaceWith(i.from,i.to,e.schema.text(i.text,o))):a.delete(i.from,i.to),t(a)}return!0}}return!1}var io=new eo(/--$/,"—"),ao=new eo(/\.\.\.$/,"…"),so=new eo(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(")$/,"“"),co=new eo(/"$/,"”"),lo=new eo(/(?:^|[\s\{\[\(\<'"\u2018\u201C])(')$/,"‘"),uo=new eo(/'$/,"’"),po=[so,co,lo,uo];function ho(e,i,a,s){return new eo(e,function(e,t,r,n){var o=a instanceof Function?a(t):a,e=e.tr.delete(r,n),n=e.doc.resolve(r).blockRange(),o=n&&Ae(n,i,o);if(!o)return null;e.wrap(n,o);o=e.doc.resolve(r-1).nodeBefore;return o&&o.type==i&&De(e.doc,r-1)&&(!s||s(t,o))&&e.join(r-1),e})}function fo(e,i,a){return new eo(e,function(e,t,r,n){var o=e.doc.resolve(r),t=a instanceof Function?a(t):a;return o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),i)?e.tr.delete(r,n).setBlockType(r,r,i,t):null})}var mo=Object.freeze({__proto__:null,InputRule:eo,closeDoubleQuote:co,closeSingleQuote:uo,ellipsis:ao,emDash:io,inputRules:ro,openDoubleQuote:so,openSingleQuote:lo,smartQuotes:po,textblockTypeInputRule:fo,undoInputRule:oo,wrappingInputRule:ho});function go(e,t){return!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0)}function yo(e,t,r){var n=e.selection.$cursor;if(!n||(r?!r.endOfTextblock("backward",e):0<n.parentOffset))return!1;var o=wo(n);if(!o){var r=n.blockRange(),i=r&&Ee(r);return null==i?!1:(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)}i=o.nodeBefore;return!(i.type.spec.isolating||!Io(e,o,t))||(0!=n.parent.content.size||!_o(i,"end")&&!tt.isSelectable(i)?!(!i.isAtom||o.depth!=n.depth-1)&&(t&&t(e.tr.delete(o.pos-i.nodeSize,o.pos).scrollIntoView()),!0):(t&&((n=e.tr.deleteRange(n.before(),n.after())).setSelection(_o(i,"end")?Je.findFrom(n.doc.resolve(n.mapping.map(o.pos,-1)),-1):tt.create(n.doc,o.pos-i.nodeSize)),t(n.scrollIntoView())),!0))}function _o(e,t,r){for(;e;e="start"==t?e.firstChild:e.lastChild){if(e.isTextblock)return 1;if(r&&1!=e.childCount)return}}function bo(e,t,r){var n=e.selection,o=n.$head,i=o;if(!n.empty)return!1;if(o.parent.isTextblock){if(r?!r.endOfTextblock("backward",e):0<o.parentOffset)return!1;i=wo(o)}o=i&&i.nodeBefore;return!(!o||!tt.isSelectable(o))&&(t&&t(e.tr.setSelection(tt.create(e.doc,i.pos-o.nodeSize)).scrollIntoView()),!0)}function wo(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;0<=t;t--){if(0<e.index(t))return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function ko(e,t,r){var n=e.selection.$cursor;if(!n||(r?!r.endOfTextblock("forward",e):n.parentOffset<n.parent.content.size))return!1;var o=xo(n);if(!o)return!1;r=o.nodeAfter;return!!Io(e,o,t)||(0!=n.parent.content.size||!_o(r,"start")&&!tt.isSelectable(r)?!(!r.isAtom||o.depth!=n.depth-1)&&(t&&t(e.tr.delete(o.pos,o.pos+r.nodeSize).scrollIntoView()),!0):(t&&((n=e.tr.deleteRange(n.before(),n.after())).setSelection(_o(r,"start")?Je.findFrom(n.doc.resolve(n.mapping.map(o.pos)),1):tt.create(n.doc,n.mapping.map(o.pos))),t(n.scrollIntoView())),!0))}function vo(e,t,r){var n=e.selection,o=n.$head,i=o;if(!n.empty)return!1;if(o.parent.isTextblock){if(r?!r.endOfTextblock("forward",e):o.parentOffset<o.parent.content.size)return!1;i=xo(o)}o=i&&i.nodeAfter;return!(!o||!tt.isSelectable(o))&&(t&&t(e.tr.setSelection(tt.create(e.doc,i.pos)).scrollIntoView()),!0)}function xo(e){if(!e.parent.type.spec.isolating)for(var t=e.depth-1;0<=t;t--){var r=e.node(t);if(e.index(t)+1<r.childCount)return e.doc.resolve(e.after(t+1));if(r.type.spec.isolating)break}return null}function zo(e,t){var r,n=e.selection,o=n instanceof tt;if(o){if(n.node.isTextblock||!De(e.doc,n.from))return!1;r=n.from}else if(null==(r=Ne(e.doc,n.from,-1)))return!1;return t&&(n=e.tr.join(r),o&&n.setSelection(tt.create(n.doc,r-e.doc.resolve(r).nodeBefore.nodeSize)),t(n.scrollIntoView())),!0}function Co(e,t){var r,n=e.selection;if(n instanceof tt){if(n.node.isTextblock||!De(e.doc,n.to))return!1;r=n.to}else if(null==(r=Ne(e.doc,n.to,1)))return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0}function So(e,t){var r=e.selection,n=r.$from,r=r.$to,n=n.blockRange(r),r=n&&Ee(n);return null!=r&&(t&&t(e.tr.lift(n,r).scrollIntoView()),!0)}function Eo(e,t){var r=e.selection,n=r.$head,r=r.$anchor;return!(!n.parent.type.spec.code||!n.sameParent(r))&&(t&&t(e.tr.insertText("\n").scrollIntoView()),!0)}function Ao(e){for(var t=0;t<e.edgeCount;t++){var r=e.edge(t).type;if(r.isTextblock&&!r.hasRequiredAttrs())return r}return null}function qo(e,t){var r=e.selection,n=r.$head,o=r.$anchor;if(!n.parent.type.spec.code||!n.sameParent(o))return!1;var i=n.node(-1),r=n.indexAfter(-1),o=Ao(i.contentMatchAt(r));return!!i.canReplaceWith(r,r,o)&&(t&&(n=n.after(),(o=e.tr.replaceWith(n,n,o.createAndFill())).setSelection(Je.near(o.doc.resolve(n),1)),t(o.scrollIntoView())),!0)}function Mo(e,t){var r=e.selection,n=r.$from,o=r.$to;if(r instanceof nt||n.parent.inlineContent||o.parent.inlineContent)return!1;r=Ao(o.parent.contentMatchAt(o.indexAfter()));return!(!r||!r.isTextblock)&&(t&&(o=(!n.parentOffset&&o.index()<o.parent.childCount?n:o).pos,(r=e.tr.insert(o,r.createAndFill())).setSelection(Qe.create(r.doc,o+1)),t(r.scrollIntoView())),!0)}function Do(e,t){var r=e.selection.$cursor;if(!r||r.parent.content.size)return!1;if(1<r.depth&&r.after()!=r.end(-1)){var n=r.before();if(Me(e.doc,n))return t&&t(e.tr.split(n).scrollIntoView()),!0}n=r.blockRange(),r=n&&Ee(n);return null!=r&&(t&&t(e.tr.lift(n,r).scrollIntoView()),!0)}function To(e,t){var r,n,o=e.selection,i=o.$from,a=o.$to;return e.selection instanceof tt&&e.selection.node.isBlock?!(!i.parentOffset||!Me(e.doc,i.pos))&&(t&&t(e.tr.split(i.pos).scrollIntoView()),!0):!!i.parent.isBlock&&(t&&(n=a.parentOffset==a.parent.content.size,r=e.tr,(e.selection instanceof Qe||e.selection instanceof nt)&&r.deleteSelection(),o=0==i.depth?null:Ao(i.node(-1).contentMatchAt(i.indexAfter(-1))),a=n&&o?[{type:o}]:null,e=Me(r.doc,r.mapping.map(i.pos),1,a),a||e||!Me(r.doc,r.mapping.map(i.pos),1,o&&[{type:o}])||(a=[{type:o}],e=!0),e&&(r.split(r.mapping.map(i.pos),1,a),n||i.parentOffset||i.parent.type==o||(n=r.mapping.map(i.before()),n=r.doc.resolve(n),i.node(-1).canReplaceWith(n.index(),n.index()+1,o)&&r.setNodeMarkup(r.mapping.map(i.before()),o))),t(r.scrollIntoView())),!0)}function No(e,t){var r=e.selection,n=r.$from,r=r.to,r=n.sharedDepth(r);return 0!=r&&(r=n.before(r),t&&t(e.tr.setSelection(tt.create(e.doc,r))),!0)}function Oo(e,t){return t&&t(e.tr.setSelection(new nt(e.doc))),!0}function Io(e,t,r){var n,o,i=t.nodeBefore,a=t.nodeAfter;if(!i.type.spec.isolating&&!a.type.spec.isolating){if(s=e,c=r,l=(p=t).nodeBefore,u=p.nodeAfter,d=p.index(),l&&u&&l.type.compatibleContent(u.type)&&(!l.content.size&&p.parent.canReplace(d-1,d)?(c&&c(s.tr.delete(p.pos-l.nodeSize,p.pos).scrollIntoView()),1):p.parent.canReplace(d,d+1)&&(u.isTextblock||De(s.doc,p.pos))&&(c&&c(s.tr.clearIncompatible(p.pos,l.type,l.contentMatchAt(l.childCount)).join(p.pos).scrollIntoView()),1)))return 1;var s,c,l,u,d,p=t.parent.canReplace(t.index(),t.index()+1);if(p&&(n=(o=i.contentMatchAt(i.childCount)).findWrapping(a.type))&&o.matchType(n[0]||a.type).validEnd){if(r){for(var h=t.pos+a.nodeSize,f=E.empty,m=n.length-1;0<=m;m--)f=E.from(n[m].create(null,f));var f=E.from(i.copy(f)),g=e.tr.step(new Ce(t.pos-1,h,t.pos,h,new A(f,1,0),n.length,!0)),h=h+2*n.length;De(g.doc,h)&&g.join(h),r(g.scrollIntoView())}return 1}h=Je.findFrom(t,1),g=h&&h.$from.blockRange(h.$to),h=g&&Ee(g);if(null!=h&&h>=t.depth)return r&&r(e.tr.lift(g,h).scrollIntoView()),1;if(p&&_o(a,"start",!0)&&_o(i,"end")){for(var y=i,_=[];_.push(y),!y.isTextblock;)y=y.lastChild;for(var b=a,w=1;!b.isTextblock;b=b.firstChild)w++;if(y.canReplace(y.childCount,y.childCount,b.content)){if(r){for(var k=E.empty,v=_.length-1;0<=v;v--)k=E.from(_[v].copy(k));r(e.tr.step(new Ce(t.pos-_.length,t.pos+a.nodeSize,t.pos+w,t.pos+a.nodeSize-w,new A(k,_.length,0),0,!0)).scrollIntoView())}return 1}}}}function $o(o,i){return function(e,t){var r=e.selection,n=r.$from,r=r.$to,n=n.blockRange(r),r=n&&Ae(n,o,i);return!!r&&(t&&t(e.tr.wrap(n,r).scrollIntoView()),!0)}}function Lo(i,a){return function(r,e){var t=r.selection,n=t.from,t=t.to,o=!1;return r.doc.nodesBetween(n,t,function(e,t){return!o&&void(e.isTextblock&&!e.hasMarkup(i,a)&&(o=e.type==i||(t=(e=r.doc.resolve(t)).index(),e.parent.canReplaceWith(t,t+1,i))))}),!!o&&(e&&e(r.tr.setBlockType(n,t,i,a).scrollIntoView()),!0)}}function Ro(n,o,i){for(var e=0;e<o.length;e++){var t=function(e){var t=o[e],e=t.$from,t=t.$to,r=0==e.depth&&n.type.allowsMarkType(i);if(n.nodesBetween(e.pos,t.pos,function(e){return!r&&void(r=e.inlineContent&&e.type.allowsMarkType(i))}),r)return{v:!0}}(e);if(t)return t.v}}function jo(g,y){return function(e,t){var r=e.selection,n=r.empty,o=r.$cursor,i=r.ranges;if(n&&!o||!Ro(e.doc,i,g))return!1;if(t)if(o)g.isInSet(e.storedMarks||o.marks())?t(e.tr.removeStoredMark(g)):t(e.tr.addStoredMark(g.create(y)));else{for(var a=!1,s=e.tr,c=0;!a&&c<i.length;c++)var l=i[c],u=l.$from,l=l.$to,a=e.doc.rangeHasMark(u.pos,l.pos,g);for(var d=0;d<i.length;d++){var p,h=i[d],f=h.$from,m=h.$to;a?s.removeMark(f.pos,m.pos,g):(p=f.pos,h=m.pos,f=f.nodeAfter,m=m.nodeBefore,f=f&&f.isText?/^\s*/.exec(f.text)[0].length:0,m=m&&m.isText?/\s*$/.exec(m.text)[0].length:0,p+f<h&&(p+=f,h-=m),s.addMark(p,h,g.create(y)))}t(s.scrollIntoView())}return!0}}function Po(){for(var e=arguments,o=[],t=arguments.length;t--;)o[t]=e[t];return function(e,t,r){for(var n=0;n<o.length;n++)if(o[n](e,t,r))return!0;return!1}}var Bo,Fo=Po(go,yo,bo),Uo=Po(go,ko,vo),Vo={Enter:Po(Eo,Mo,Do,To),"Mod-Enter":qo,Backspace:Fo,"Mod-Backspace":Fo,Delete:Uo,"Mod-Delete":Uo,"Mod-a":Oo},Ho={"Ctrl-h":Vo.Backspace,"Alt-Backspace":Vo["Mod-Backspace"],"Ctrl-d":Vo.Delete,"Ctrl-Alt-Backspace":Vo["Mod-Delete"],"Alt-Delete":Vo["Mod-Delete"],"Alt-d":Vo["Mod-Delete"]};for(Bo in Vo)Ho[Bo]=Vo[Bo];function Wo(){}var Go=("undefined"!=typeof navigator?/Mac/.test(navigator.platform):"undefined"!=typeof os&&"darwin"==os.platform())?Ho:Vo,Zo=Object.freeze({__proto__:null,autoJoin:function(r,n){var t;return Array.isArray(n)&&(t=n,n=function(e){return-1<t.indexOf(e.type.name)}),function(e,t){return r(e,t&&(g=t,y=n,function(e){if(!e.isGeneric)return g(e);for(var o=[],t=0;t<e.mapping.maps.length;t++){for(var r=e.mapping.maps[t],n=0;n<o.length;n++)o[n]=r.map(o[n]);r.forEach(function(e,t,r,n){return o.push(r,n)})}for(var i=[],a=0;a<o.length;a+=2)for(var s=o[a],c=o[a+1],l=e.doc.resolve(s),s=l.sharedDepth(c),u=l.node(s),d=l.indexAfter(s),p=l.after(s+1);p<=c;++d){var h,f=u.maybeChild(d);if(!f)break;!d||-1!=i.indexOf(p)||(h=u.child(d-1)).type==f.type&&y(h,f)&&i.push(p),p+=f.nodeSize}i.sort(function(e,t){return e-t});for(var m=i.length-1;0<=m;m--)De(e.doc,i[m])&&e.join(i[m]);g(e)}));var g,y}},baseKeymap:Go,chainCommands:Po,createParagraphNear:Mo,deleteSelection:go,exitCode:qo,joinBackward:yo,joinDown:Co,joinForward:ko,joinUp:zo,lift:So,liftEmptyBlock:Do,macBaseKeymap:Ho,newlineInCode:Eo,pcBaseKeymap:Vo,selectAll:Oo,selectNodeBackward:bo,selectNodeForward:vo,selectParentNode:No,setBlockType:Lo,splitBlock:To,splitBlockKeepMarks:function(r,n){return To(r,n&&function(e){var t=r.storedMarks||r.selection.$to.parentOffset&&r.selection.$from.marks();t&&e.ensureMarks(t),n(e)})},toggleMark:jo,wrapIn:$o});Wo.prototype.append=function(e){return e.length?(e=Wo.from(e),!this.length&&e||e.length<200&&this.leafAppend(e)||this.length<200&&e.leafPrepend(this)||this.appendInner(e)):this},Wo.prototype.prepend=function(e){return e.length?Wo.from(e).append(this):this},Wo.prototype.appendInner=function(e){return new Jo(this,e)},Wo.prototype.slice=function(e,t){return(t=void 0===t?this.length:t)<=(e=void 0===e?0:e)?Wo.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},Wo.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},Wo.prototype.forEach=function(e,t,r){(t=void 0===t?0:t)<=(r=void 0===r?this.length:r)?this.forEachInner(e,t,r,0):this.forEachInvertedInner(e,t,r,0)},Wo.prototype.map=function(r,e,t){void 0===t&&(t=this.length);var n=[];return this.forEach(function(e,t){return n.push(r(e,t))},e=void 0===e?0:e,t),n},Wo.from=function(e){return e instanceof Wo?e:e&&e.length?new Ko(e):Wo.empty};var Ko=function(t){function r(e){t.call(this),this.values=e}t&&(r.__proto__=t);var e={length:{configurable:!0},depth:{configurable:!0}};return((r.prototype=Object.create(t&&t.prototype)).constructor=r).prototype.flatten=function(){return this.values},r.prototype.sliceInner=function(e,t){return 0==e&&t==this.length?this:new r(this.values.slice(e,t))},r.prototype.getInner=function(e){return this.values[e]},r.prototype.forEachInner=function(e,t,r,n){for(var o=t;o<r;o++)if(!1===e(this.values[o],n+o))return!1},r.prototype.forEachInvertedInner=function(e,t,r,n){for(var o=t-1;r<=o;o--)if(!1===e(this.values[o],n+o))return!1},r.prototype.leafAppend=function(e){if(this.length+e.length<=200)return new r(this.values.concat(e.flatten()))},r.prototype.leafPrepend=function(e){if(this.length+e.length<=200)return new r(e.flatten().concat(this.values))},e.length.get=function(){return this.values.length},e.depth.get=function(){return 0},Object.defineProperties(r.prototype,e),r}(Wo);Wo.empty=new Ko([]);var Jo=function(r){function t(e,t){r.call(this),this.left=e,this.right=t,this.length=e.length+t.length,this.depth=Math.max(e.depth,t.depth)+1}return r&&(t.__proto__=r),((t.prototype=Object.create(r&&r.prototype)).constructor=t).prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,r,n){var o=this.left.length;return!(t<o&&!1===this.left.forEachInner(e,t,Math.min(r,o),n))&&(!(o<r&&!1===this.right.forEachInner(e,Math.max(t-o,0),Math.min(this.length,r)-o,n+o))&&void 0)},t.prototype.forEachInvertedInner=function(e,t,r,n){var o=this.left.length;return!(o<t&&!1===this.right.forEachInvertedInner(e,t-o,Math.max(r,o)-o,n+o))&&(!(r<o&&!1===this.left.forEachInvertedInner(e,Math.min(t,o),r,n))&&void 0)},t.prototype.sliceInner=function(e,t){if(0==e&&t==this.length)return this;var r=this.left.length;return t<=r?this.left.slice(e,t):r<=e?this.right.slice(e-r,t-r):this.left.slice(e,r).append(this.right.slice(0,t-r))},t.prototype.leafAppend=function(e){e=this.right.leafAppend(e);if(e)return new t(this.left,e)},t.prototype.leafPrepend=function(e){e=this.left.leafPrepend(e);if(e)return new t(e,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(Wo),Yo=Wo,Xo=function(e,t){this.items=e,this.eventCount=t};Xo.prototype.popEvent=function(e,t){var o=this;if(0==this.eventCount)return null;for(var i,a,s=this.items.length;;s--)if(this.items.get(s-1).selection){--s;break}t&&(i=this.remapping(s,this.items.length),a=i.maps.length);var c,l,u=e.tr,d=[],p=[];return this.items.forEach(function(e,t){return e.step?(i?(p.push(new Qo(e.map)),(r=e.step.map(i.slice(a)))&&u.maybeStep(r).doc&&(n=u.mapping.maps[u.mapping.maps.length-1],d.push(new Qo(n,null,null,d.length+p.length))),a--,n&&i.appendMap(n,a)):u.maybeStep(e.step),e.selection?(c=i?e.selection.map(i.slice(a)):e.selection,l=new Xo(o.items.slice(0,s).append(p.reverse().concat(d)),o.eventCount-1),!1):void 0):(i||(i=o.remapping(s,t+1),a=i.maps.length),a--,void p.push(e));var r,n},this.items.length,0),{remaining:l,transform:u,selection:c}},Xo.prototype.addTransform=function(e,t,r,n){for(var o=[],i=this.eventCount,a=this.items,s=!n&&a.length?a.get(a.length-1):null,c=0;c<e.steps.length;c++){var l=e.steps[c].invert(e.docs[c]),u=new Qo(e.mapping.maps[c],l,t);(l=s&&s.merge(u))&&(u=l,c?o.pop():a=a.slice(0,a.length-1)),o.push(u),t&&(i++,t=null),n||(s=u)}var d,p,h=i-r.depth;return ti<h&&(d=h,(r=a).forEach(function(e,t){if(e.selection&&0==d--)return p=t,!1}),a=r.slice(p),i-=h),new Xo(a.append(o),i)},Xo.prototype.remapping=function(r,e){var n=new ge;return this.items.forEach(function(e,t){t=null!=e.mirrorOffset&&t-e.mirrorOffset>=r?n.maps.length-e.mirrorOffset:null;n.appendMap(e.map,t)},r,e),n},Xo.prototype.addMaps=function(e){return 0==this.eventCount?this:new Xo(this.items.append(e.map(function(e){return new Qo(e)})),this.eventCount)},Xo.prototype.rebased=function(o,e){if(!this.eventCount)return this;var i=[],t=Math.max(0,this.items.length-e),a=o.mapping,s=o.steps.length,c=this.eventCount;this.items.forEach(function(e){e.selection&&c--},t);var l=e;this.items.forEach(function(e){var t,r,n=a.getMirror(--l);null!=n&&(s=Math.min(s,n),t=a.maps[n],e.step?(r=o.steps[n].invert(o.docs[n]),(n=e.selection&&e.selection.map(a.slice(l+1,n)))&&c++,i.push(new Qo(t,r,n))):i.push(new Qo(t)))},t);for(var r=[],n=e;n<s;n++)r.push(new Qo(a.maps[n]));t=this.items.slice(0,t).append(r).append(i),t=new Xo(t,c);return t=500<t.emptyItemCount()?t.compress(this.items.length-i.length):t},Xo.prototype.emptyItemCount=function(){var t=0;return this.items.forEach(function(e){e.step||t++}),t},Xo.prototype.compress=function(o){void 0===o&&(o=this.items.length);var i=this.remapping(0,o),a=i.maps.length,s=[],c=0;return this.items.forEach(function(e,t){var r,n;o<=t?(s.push(e),e.selection&&c++):e.step?(r=(n=e.step.map(i.slice(a)))&&n.getMap(),a--,r&&i.appendMap(r,a),n&&((t=e.selection&&e.selection.map(i.slice(a)))&&c++,r=new Qo(r.invert(),n,t),n=s.length-1,(t=s.length&&s[n].merge(r))?s[n]=t:s.push(r))):e.map&&a--},this.items.length,0),new Xo(Yo.from(s.reverse()),c)},Xo.empty=new Xo(Yo.empty,0);var Qo=function(e,t,r,n){this.map=e,this.step=t,this.selection=r,this.mirrorOffset=n};Qo.prototype.merge=function(e){if(this.step&&e.step&&!e.selection){e=e.step.merge(this.step);if(e)return new Qo(e.getMap().invert(),e,this.selection)}};var ei=function(e,t,r,n){this.done=e,this.undone=t,this.prevRanges=r,this.prevTime=n},ti=20;function ri(e,t,r,n){var o=r.getMeta(li);if(o)return o.historyState;r.getMeta(ui)&&(e=new ei(e.done,e.undone,null,0));o=r.getMeta("appendedTransaction");if(0==r.steps.length)return e;if(o&&o.getMeta(li))return o.getMeta(li).redo?new ei(e.done.addTransform(r,null,n,ci(t)),e.undone,ni(r.mapping.maps[r.steps.length-1]),e.prevTime):new ei(e.done,e.undone.addTransform(r,null,n,ci(t)),null,e.prevTime);if(!1===r.getMeta("addToHistory")||o&&!1===o.getMeta("addToHistory"))return(i=r.getMeta("rebased"))?new ei(e.done.rebased(r,i),e.undone.rebased(r,i),oi(e.prevRanges,r.mapping),e.prevTime):new ei(e.done.addMaps(r.mapping.maps),e.undone.addMaps(r.mapping.maps),oi(e.prevRanges,r.mapping),e.prevTime);var i=0==e.prevTime||!o&&(e.prevTime<(r.time||0)-n.newGroupDelay||!function(e,n){if(!n)return!1;if(!e.docChanged)return!0;var o=!1;return e.mapping.maps[0].forEach(function(e,t){for(var r=0;r<n.length;r+=2)e<=n[r+1]&&t>=n[r]&&(o=!0)}),o}(r,e.prevRanges)),o=o?oi(e.prevRanges,r.mapping):ni(r.mapping.maps[r.steps.length-1]);return new ei(e.done.addTransform(r,i?t.selection.getBookmark():null,n,ci(t)),Xo.empty,o,r.time)}function ni(e){var o=[];return e.forEach(function(e,t,r,n){return o.push(r,n)}),o}function oi(e,t){if(!e)return null;for(var r=[],n=0;n<e.length;n+=2){var o=t.map(e[n],1),i=t.map(e[n+1],-1);o<=i&&r.push(o,i)}return r}function ii(e,t,r,n){var o,i=ci(t),a=li.get(t).spec.config,s=(n?e.undone:e.done).popEvent(t,i);s&&(o=s.selection.resolve(s.transform.doc),i=(n?e.done:e.undone).addTransform(s.transform,t.selection.getBookmark(),a,i),i=new ei(n?i:s.remaining,n?s.remaining:i,null,0),r(s.transform.setSelection(o).setMeta(li,{redo:n,historyState:i}).scrollIntoView()))}var ai=!1,si=null;function ci(e){var t=e.plugins;if(si!=t){ai=!1,si=t;for(var r=0;r<t.length;r++)if(t[r].spec.historyPreserveItems){ai=!0;break}}return ai}var li=new _t("history"),ui=new _t("closeHistory");function di(n){return n={depth:n&&n.depth||100,newGroupDelay:n&&n.newGroupDelay||500},new mt({key:li,state:{init:function(){return new ei(Xo.empty,Xo.empty,null,0)},apply:function(e,t,r){return ri(t,r,e,n)}},config:n,props:{handleDOMEvents:{beforeinput:function(e,t){e="historyUndo"==t.inputType?pi(e.state,e.dispatch):"historyRedo"==t.inputType&&hi(e.state,e.dispatch);return e&&t.preventDefault(),e}}}})}function pi(e,t){var r=li.getState(e);return!(!r||0==r.done.eventCount)&&(t&&ii(r,e,t,!1),!0)}function hi(e,t){var r=li.getState(e);return!(!r||0==r.undone.eventCount)&&(t&&ii(r,e,t,!0),!0)}for(var fi=Object.freeze({__proto__:null,HistoryState:ei,closeHistory:function(e){return e.setMeta(ui,!0)},history:di,redo:hi,redoDepth:function(e){return(e=li.getState(e))?e.undone.eventCount:0},undo:pi,undoDepth:function(e){return(e=li.getState(e))?e.done.eventCount:0}}),mi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",229:"q"},gi={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"',229:"Q"},yi="undefined"!=typeof navigator&&/Chrome\/(\d+)/.exec(navigator.userAgent),_i="undefined"!=typeof navigator&&/Apple Computer/.test(navigator.vendor),bi="undefined"!=typeof navigator&&/Gecko\/\d+/.test(navigator.userAgent),wi="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),ki="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),vi=yi&&(wi||+yi[1]<57)||bi&&wi,xi=0;xi<10;xi++)mi[48+xi]=mi[96+xi]=String(xi);for(xi=1;xi<=24;xi++)mi[xi+111]="F"+xi;for(var zi,xi=65;xi<=90;xi++)mi[xi]=String.fromCharCode(xi+32),gi[xi]=String.fromCharCode(xi);for(zi in mi)gi.hasOwnProperty(zi)||(gi[zi]=mi[zi]);var Ci="undefined"!=typeof navigator&&/Mac/.test(navigator.platform);function Si(e){var t,r=Object.create(null);for(t in e)r[function(e){var t,r,n,o,i=e.split(/-(?!$)/);"Space"==(e=i[i.length-1])&&(e=" ");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))r=!0;else if(/^s(hift)?$/i.test(s))n=!0;else{if(!/^mod$/i.test(s))throw new Error("Unrecognized modifier name: "+s);Ci?o=!0:r=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),o&&(e="Meta-"+e),e=n?"Shift-"+e:e}(t)]=e[t];return r}function Ei(e,t,r){return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),e=!1!==r&&t.shiftKey?"Shift-"+e:e}function Ai(e){return new mt({props:{handleKeyDown:qi(e)}})}function qi(e){var a=Si(e);return function(e,t){var r=(o=t,o="Down"==(o="Right"==(o="Up"==(o="Left"==(o="Del"==(o="Esc"==(o=!(vi&&(o.ctrlKey||o.altKey||o.metaKey)||(_i||ki)&&o.shiftKey&&o.key&&1==o.key.length)&&o.key||(o.shiftKey?gi:mi)[o.keyCode]||o.key||"Unidentified")?"Escape":o)?"Delete":o)?"ArrowLeft":o)?"ArrowUp":o)?"ArrowRight":o)?"ArrowDown":o),n=1==r.length&&" "!=r,o=a[Ei(r,t,!n)];if(o&&o(e.state,e.dispatch,e))return!0;if(n&&(t.shiftKey||t.altKey||t.metaKey||127<r.charCodeAt(0))&&(i=mi[t.keyCode])&&i!=r){var i=a[Ei(i,t,!0)];if(i&&i(e.state,e.dispatch,e))return!0}else if(n&&t.shiftKey){t=a[Ei(r,t,!0)];if(t&&t(e.state,e.dispatch,e))return!0}return!1}}var Mi=Object.freeze({__proto__:null,keydownHandler:qi,keymap:Ai});function Di(e,t){var r=arguments,n=e;"string"==typeof n&&(n=document.createElement(n));var o,i=1,a=t;if(a&&"object"==typeof a&&null==a.nodeType&&!Array.isArray(a)){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&("string"==typeof(o=a[s])?n.setAttribute(s,o):null!=o&&(n[s]=o));i++}for(;i<arguments.length;i++)!function e(t,r){if("string"==typeof r)t.appendChild(document.createTextNode(r));else if(null!=r)if(null!=r.nodeType)t.appendChild(r);else{if(!Array.isArray(r))throw new RangeError("Unsupported child node: "+r);for(var n=0;n<r.length;n++)e(t,r[n])}}(n,r[i]);return n}var Ti="http://www.w3.org/2000/svg",Ni="ProseMirror-icon";function Oi(e){var t,r,n=document.createElement("div");return n.className=Ni,e.path?(t="pm-icon-"+function(t){var e;Array.isArray(t)&&(e=t,t="",e.forEach(function(e){t+=e}));for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return r}(e.path).toString(16),document.getElementById(t)||function(e,t){var r=document.getElementById(Ni+"-collection");r||((r=document.createElementNS(Ti,"svg")).id=Ni+"-collection",r.style.display="none",document.body.insertBefore(r,document.body.firstChild));var n=document.createElementNS(Ti,"symbol");n.id=e,n.setAttribute("viewBox","0 0 "+t.width+" "+t.height),(Array.isArray(t.path)?t.path:[t.path]).forEach(function(e){n.appendChild(document.createElementNS(Ti,"path")).setAttribute("d",e),r.appendChild(n)})}(t,e),(r=n.appendChild(document.createElementNS(Ti,"svg"))).style.width=e.width/e.height+"em",r.appendChild(document.createElementNS(Ti,"use")).setAttributeNS("http://www.w3.org/1999/xlink","href",/([^#]*)/.exec(document.location)[1]+"#"+t)):e.dom?n.appendChild(e.dom.cloneNode(!0)):(n.appendChild(document.createElement("span")).textContent=e.text||"",e.css&&(n.firstChild.style.cssText=e.css)),n}var Ii="ProseMirror-menu";function $i(t,e){var r,n={label:e.title,run:t};for(r in e)n[r]=e[r];return e.enable&&!0!==e.enable||e.select||(n[e.enable?"enable":"select"]=function(e){return t(e)}),new ji(n)}function Li(t,e){var r,n={active:function(e){return Ri(e,t)},enable:!0};for(r in e)n[r]=e[r];return $i(jo(t),n)}function Ri(e,t){var r=e.selection,n=r.from,o=r.$from,i=r.to;return r.empty?t.isInSet(e.storedMarks||o.marks()):e.doc.rangeHasMark(n,i,t)}var ji=function(e){this.options=e||{},this.sortOrder=this.options.sortOrder};function Pi(e,t){return e._props.translate?e._props.translate(t):t}ji.prototype.render=function(t){var e,r=this,n=this.options;if("function"==typeof this.options.render)return this.options.render.apply(this,[n]);if(this.dom=n.icon?Oi(n.icon):n.label?$("<div>").html(Pi(t,n.label))[0]:null,this.options.id&&this.dom.classList.add(Ii+"-"+this.options.id),!this.dom)throw new RangeError("MenuItem without icon or label property");return"undefined"!==n.title&&(e="function"==typeof n.title?n.title(t.state):n.title,this.dom.setAttribute("title",Pi(t,e))),n.class&&this.dom.classList.add(n.class),n.css&&(this.dom.style.cssText+=n.css),$(this.dom).on("mousedown",function(e){e.preventDefault(),$(r.dom).hasClass(Ii+"-disabled")||n.run.call(r,t.state,t.dispatch,t,e)}),this.dom},ji.prototype.switchIcon=function(e,t){t&&$(this.dom).attr("title",t),$(this.dom).find("svg").replaceWith($(Oi(e)).find("svg"))},ji.prototype.update=function(e){return this.adoptItemState(e),this.selected},ji.prototype.adoptItemState=function(e,t,r){this.setEnabledItemState(e,t),this.setActiveItemState(e,r),this.setSelectedItemState(e,t)},ji.prototype.setActiveItemState=function(e,t){this.active=!1,this.options.active&&(this.active=this.options.active(e)||t||!1,ta(this.dom,Ii+"-active",this.active))},ji.prototype.setEnabledItemState=function(e,t){this.enabled=!0,this.options.enable&&(this.enabled=this.options.enable(e)||t||!1,ta(this.dom,Ii+"-disabled",!this.enabled))},ji.prototype.setSelectedItemState=function(e,t){if(this.selected=!0,this.options.select&&(this.selected=this.options.select(e),this.dom.style.display=this.selected||t?"":"none",this.selected?this.dom.classList.remove("hidden"):this.dom.classList.add("hidden"),!this.selected))return!1};var Bi={time:0,node:null};function Fi(e){Bi.time=Date.now(),Bi.node=e.target}function Ui(e){return Date.now()-100<Bi.time&&Bi.node&&e.contains(Bi.node)}function Vi(e){var t=[];return e.forEach(function(e){e&&e.type&&"dropdown"===e.type?t.push(new Gi(Vi(e.items),e)):e&&e.type&&"group"===e.type?t.push(new Wi(Vi(e.items),e)):e&&t.push(e)}),t.sort(function(e,t){return void 0===e.sortOrder?1:void 0===t.sortOrder?-1:e.sortOrder-t.sortOrder})}function Hi(){return new ji({title:"Lift out of enclosing block",run:Ji,select:function(e){return Ji(e)},icon:Ki.outdent})}var Wi=function(r){function e(e,t){var i=this;r.call(this,t),this.content={items:Vi(Array.isArray(e)?e:[e]),update:function(n){var o=!1;return Vi(i.content.items).forEach(function(e,t){var r=e.update(n),e=$(e.dom);r?e.show():e.hide(),t===i.content.items.length-1&&e.addClass("last"),o=o||r}),o}}}return r&&(e.__proto__=r),((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.render=function(e){var t=$("<div>").addClass(Ii+"-group");return this.options.id&&t.addClass(this.options.id),this.renderItems(e).forEach(function(e){t.append(e)}),this.dom=t[0]},e.prototype.update=function(e){return this.content.update(e)},e.prototype.renderItems=function(t){var r=[];return this.content.items.forEach(function(e){e=e.render(t);r.push(Di("div",{class:Ii+"item"},e))}),r},e}(ji),Gi=function(r){function e(e,t){var o=this;r.call(this,e,t),this.content.update=function(r){var n=!1;return o.content.items.forEach(function(e){var t=e.update(r);e.dom.style.display=t?"":"none",n=n||t}),n}}return r&&(e.__proto__=r),((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.render=function(e){var t=this,r=this.renderItems(e),n=this.options.icon?Oi(this.options.icon):this.options.label?Di("div",{style:this.options.css},Pi(e,this.options.label)):null;if(!n)throw new RangeError("Dropdown without icon or label property");n.className+=" "+Ii+"-dropdown "+(this.options.class||""),this.options.title&&n.setAttribute("title",Pi(e,this.options.title)),this.options.id&&n.classList.add(this.options.id),this.dom=Di("div",{class:Ii+"-dropdown-wrap"},n),this.options.seperator&&(this.dom.className+=" seperator");function o(){i&&i.close()&&(i=null,window.removeEventListener("mousedown",a))}var i=null,a=null;return n.addEventListener("mousedown",function(e){e.preventDefault(),t.selected&&t.enabled&&(Fi(e),i?o():(i=t.expand(t.dom,r),window.addEventListener("mousedown",a=function(){Ui(t.dom)||o()})))}),this.dom},e.prototype.renderItems=function(t){var r=[];return this.content.items.forEach(function(e){e=e.render(t);r.push(Di("div",{class:Ii+"-dropdown-item"},e))}),r},e.prototype.update=function(e){var t=this.content.update(e);this.dom.style.display=t?"":"none";var r=!1,n=!1;return this.content.items.forEach(function(e){r=r||e.enabled,n=n||e.active}),this.adoptItemState(e,r,n),t},e.prototype.expand=function(e,t){var r=Di("div",{class:Ii+"-dropdown-menu "+(this.options.class||"")},t),n=!1;e.appendChild(r);t=$(r);return t.offset().left+t.width()>$(window).width()/2?t.addClass(Ii+"-dropdown-right"):t.removeClass(Ii+"-dropdown-right"),{close:function(){if(!n)return n=!0,e.removeChild(r),!0},node:r}},e}(Wi),Zi=function(r){function e(e,t){r.call(this,e,t)}return r&&(e.__proto__=r),((e.prototype=Object.create(r&&r.prototype)).constructor=e).prototype.render=function(e){var t=this,r=this.renderItems(e),e=$("<div>").addClass(Ii+"-submenu-label").html(Pi(e,this.options.label))[0];this.dom=Di("div",{class:Ii+"-submenu-wrap"},e,Di("div",{class:Ii+"-submenu"},r));var n=null;return e.addEventListener("mousedown",function(e){e.preventDefault(),Fi(e),ta(t.dom,Ii+"-submenu-wrap-active"),n||window.addEventListener("mousedown",n=function(){Ui(t.dom)||(t.dom.classList.remove(Ii+"-submenu-wrap-active"),window.removeEventListener("mousedown",n),n=null)})}),this.dom},e.prototype.update=function(e){e=this.content.update(e);return this.dom.style.display=e?"":"none",e},e}(Gi),Ki={headline:{width:27,height:27,path:"M26.281 26c-1.375 0-2.766-0.109-4.156-0.109-1.375 0-2.75 0.109-4.125 0.109-0.531 0-0.781-0.578-0.781-1.031 0-1.391 1.563-0.797 2.375-1.328 0.516-0.328 0.516-1.641 0.516-2.188l-0.016-6.109c0-0.172 0-0.328-0.016-0.484-0.25-0.078-0.531-0.063-0.781-0.063h-10.547c-0.266 0-0.547-0.016-0.797 0.063-0.016 0.156-0.016 0.313-0.016 0.484l-0.016 5.797c0 0.594 0 2.219 0.578 2.562 0.812 0.5 2.656-0.203 2.656 1.203 0 0.469-0.219 1.094-0.766 1.094-1.453 0-2.906-0.109-4.344-0.109-1.328 0-2.656 0.109-3.984 0.109-0.516 0-0.75-0.594-0.75-1.031 0-1.359 1.437-0.797 2.203-1.328 0.5-0.344 0.516-1.687 0.516-2.234l-0.016-0.891v-12.703c0-0.75 0.109-3.156-0.594-3.578-0.781-0.484-2.453 0.266-2.453-1.141 0-0.453 0.203-1.094 0.75-1.094 1.437 0 2.891 0.109 4.328 0.109 1.313 0 2.641-0.109 3.953-0.109 0.562 0 0.781 0.625 0.781 1.094 0 1.344-1.547 0.688-2.312 1.172-0.547 0.328-0.547 1.937-0.547 2.5l0.016 5c0 0.172 0 0.328 0.016 0.5 0.203 0.047 0.406 0.047 0.609 0.047h10.922c0.187 0 0.391 0 0.594-0.047 0.016-0.172 0.016-0.328 0.016-0.5l0.016-5c0-0.578 0-2.172-0.547-2.5-0.781-0.469-2.344 0.156-2.344-1.172 0-0.469 0.219-1.094 0.781-1.094 1.375 0 2.75 0.109 4.125 0.109 1.344 0 2.688-0.109 4.031-0.109 0.562 0 0.781 0.625 0.781 1.094 0 1.359-1.609 0.672-2.391 1.156-0.531 0.344-0.547 1.953-0.547 2.516l0.016 14.734c0 0.516 0.031 1.875 0.531 2.188 0.797 0.5 2.484-0.141 2.484 1.219 0 0.453-0.203 1.094-0.75 1.094z"},plus:{width:32,height:32,path:"M31 12h-11v-11c0-0.552-0.448-1-1-1h-6c-0.552 0-1 0.448-1 1v11h-11c-0.552 0-1 0.448-1 1v6c0 0.552 0.448 1 1 1h11v11c0 0.552 0.448 1 1 1h6c0.552 0 1-0.448 1-1v-11h11c0.552 0 1-0.448 1-1v-6c0-0.552-0.448-1-1-1z"},table:{width:32,height:32,path:"M0 2v28h32v-28h-32zM12 20v-6h8v6h-8zM20 22v6h-8v-6h8zM20 6v6h-8v-6h8zM10 6v6h-8v-6h8zM2 14h8v6h-8v-6zM22 14h8v6h-8v-6zM22 12v-6h8v6h-8zM2 22h8v6h-8v-6zM22 28v-6h8v6h-8z"},join:{width:800,height:900,path:"M0 75h800v125h-800z M0 825h800v-125h-800z M250 400h100v-100h100v100h100v100h-100v100h-100v-100h-100z"},lift:{width:1024,height:1024,path:"M219 310v329q0 7-5 12t-12 5q-8 0-13-5l-164-164q-5-5-5-13t5-13l164-164q5-5 13-5 7 0 12 5t5 12zM1024 749v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12zM1024 530v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 310v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 91v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12z"},indent:{width:28,height:28,path:"M5.5 13c0 0.125-0.047 0.266-0.141 0.359l-4.5 4.5c-0.094 0.094-0.234 0.141-0.359 0.141-0.266 0-0.5-0.234-0.5-0.5v-9c0-0.266 0.234-0.5 0.5-0.5 0.125 0 0.266 0.047 0.359 0.141l4.5 4.5c0.094 0.094 0.141 0.234 0.141 0.359zM28 20.5v3c0 0.266-0.234 0.5-0.5 0.5h-27c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h27c0.266 0 0.5 0.234 0.5 0.5zM28 14.5v3c0 0.266-0.234 0.5-0.5 0.5h-17c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h17c0.266 0 0.5 0.234 0.5 0.5zM28 8.5v3c0 0.266-0.234 0.5-0.5 0.5h-17c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h17c0.266 0 0.5 0.234 0.5 0.5zM28 2.5v3c0 0.266-0.234 0.5-0.5 0.5h-27c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h27c0.266 0 0.5 0.234 0.5 0.5z"},outdent:{width:28,height:28,path:"M6 8.5v9c0 0.266-0.234 0.5-0.5 0.5-0.125 0-0.266-0.047-0.359-0.141l-4.5-4.5c-0.094-0.094-0.141-0.234-0.141-0.359s0.047-0.266 0.141-0.359l4.5-4.5c0.094-0.094 0.234-0.141 0.359-0.141 0.266 0 0.5 0.234 0.5 0.5zM28 20.5v3c0 0.266-0.234 0.5-0.5 0.5h-27c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h27c0.266 0 0.5 0.234 0.5 0.5zM28 14.5v3c0 0.266-0.234 0.5-0.5 0.5h-17c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h17c0.266 0 0.5 0.234 0.5 0.5zM28 8.5v3c0 0.266-0.234 0.5-0.5 0.5h-17c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h17c0.266 0 0.5 0.234 0.5 0.5zM28 2.5v3c0 0.266-0.234 0.5-0.5 0.5h-27c-0.266 0-0.5-0.234-0.5-0.5v-3c0-0.266 0.234-0.5 0.5-0.5h27c0.266 0 0.5 0.234 0.5 0.5z"},selectParentNode:{text:"⬚",css:"font-weight: bold"},undo:{width:1024,height:1024,path:"M761 1024c113-206 132-520-313-509v253l-384-384 384-384v248c534-13 594 472 313 775z"},redo:{width:1024,height:1024,path:"M576 248v-248l384 384-384 384v-253c-446-10-427 303-313 509-280-303-221-789 313-775z"},strong:{width:805,height:1024,path:"M317 869q42 18 80 18 214 0 214-191 0-65-23-102-15-25-35-42t-38-26-46-14-48-6-54-1q-41 0-57 5 0 30-0 90t-0 90q0 4-0 38t-0 55 2 47 6 38zM309 442q24 4 62 4 46 0 81-7t62-25 42-51 14-81q0-40-16-70t-45-46-61-24-70-8q-28 0-74 7 0 28 2 86t2 86q0 15-0 45t-0 45q0 26 0 39zM0 950l1-53q8-2 48-9t60-15q4-6 7-15t4-19 3-18 1-21 0-19v-37q0-561-12-585-2-4-12-8t-25-6-28-4-27-2-17-1l-2-47q56-1 194-6t213-5q13 0 39 0t38 0q40 0 78 7t73 24 61 40 42 59 16 78q0 29-9 54t-22 41-36 32-41 25-48 22q88 20 146 76t58 141q0 57-20 102t-53 74-78 48-93 27-100 8q-25 0-75-1t-75-1q-60 0-175 6t-132 6z"},em:{width:585,height:1024,path:"M0 949l9-48q3-1 46-12t63-21q16-20 23-57 0-4 35-165t65-310 29-169v-14q-13-7-31-10t-39-4-33-3l10-58q18 1 68 3t85 4 68 1q27 0 56-1t69-4 56-3q-2 22-10 50-17 5-58 16t-62 19q-4 10-8 24t-5 22-4 26-3 24q-15 84-50 239t-44 203q-1 5-7 33t-11 51-9 47-3 32l0 10q9 2 105 17-1 25-9 56-6 0-18 0t-18 0q-16 0-49-5t-49-5q-78-1-117-1-29 0-81 5t-69 6z"},emoji:{width:20,height:20,path:"M10 0.4c-5.302 0-9.6 4.298-9.6 9.6s4.298 9.6 9.6 9.6c5.301 0 9.6-4.298 9.6-9.601 0-5.301-4.299-9.599-9.6-9.599zM10 17.599c-4.197 0-7.6-3.402-7.6-7.6s3.402-7.599 7.6-7.599c4.197 0 7.601 3.402 7.601 7.6s-3.404 7.599-7.601 7.599zM7.501 9.75c0.828 0 1.499-0.783 1.499-1.75s-0.672-1.75-1.5-1.75-1.5 0.783-1.5 1.75 0.672 1.75 1.501 1.75zM12.5 9.75c0.829 0 1.5-0.783 1.5-1.75s-0.672-1.75-1.5-1.75-1.5 0.784-1.5 1.75 0.672 1.75 1.5 1.75zM14.341 11.336c-0.363-0.186-0.815-0.043-1.008 0.32-0.034 0.066-0.869 1.593-3.332 1.593-2.451 0-3.291-1.513-3.333-1.592-0.188-0.365-0.632-0.514-1.004-0.329-0.37 0.186-0.52 0.636-0.335 1.007 0.050 0.099 1.248 2.414 4.672 2.414 3.425 0 4.621-2.316 4.67-2.415 0.184-0.367 0.036-0.81-0.33-0.998z"},code:{width:896,height:1024,path:"M608 192l-96 96 224 224-224 224 96 96 288-320-288-320zM288 192l-288 320 288 320 96-96-224-224 224-224-96-96z"},embed:{width:40,height:32,path:["M26 23l3 3 10-10-10-10-3 3 7 7z","M14 9l-3-3-10 10 10 10 3-3-7-7z","M21.916 4.704l2.171 0.592-6 22.001-2.171-0.592 6-22.001z"]},text:{width:768,height:768,path:["M688.5 288v96h-96v223.5h-96v-223.5h-96v-96h288z","M79.5 127.5h417v96h-160.5v384h-96v-384h-160.5v-96z"]},image:{width:512,height:512,path:["M479.942 64c0.020 0.017 0.041 0.038 0.058 0.058v383.885c-0.017 0.020-0.038 0.041-0.058 0.058h-447.885c-0.020-0.017-0.041-0.038-0.057-0.058v-383.886c0.017-0.020 0.038-0.041 0.057-0.057h447.885zM480 32h-448c-17.6 0-32 14.4-32 32v384c0 17.6 14.4 32 32 32h448c17.6 0 32-14.4 32-32v-384c0-17.6-14.4-32-32-32v0z","M416 144c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48z","M448 416h-384v-64l112-192 128 160h32l112-96z"]},add:{width:22,height:28,path:"M18 12.5v1c0 0.281-0.219 0.5-0.5 0.5h-5.5v5.5c0 0.281-0.219 0.5-0.5 0.5h-1c-0.281 0-0.5-0.219-0.5-0.5v-5.5h-5.5c-0.281 0-0.5-0.219-0.5-0.5v-1c0-0.281 0.219-0.5 0.5-0.5h5.5v-5.5c0-0.281 0.219-0.5 0.5-0.5h1c0.281 0 0.5 0.219 0.5 0.5v5.5h5.5c0.281 0 0.5 0.219 0.5 0.5zM20 19.5v-13c0-1.375-1.125-2.5-2.5-2.5h-13c-1.375 0-2.5 1.125-2.5 2.5v13c0 1.375 1.125 2.5 2.5 2.5h13c1.375 0 2.5-1.125 2.5-2.5zM22 6.5v13c0 2.484-2.016 4.5-4.5 4.5h-13c-2.484 0-4.5-2.016-4.5-4.5v-13c0-2.484 2.016-4.5 4.5-4.5h13c2.484 0 4.5 2.016 4.5 4.5z"},link:{width:951,height:1024,path:"M832 694q0-22-16-38l-118-118q-16-16-38-16-24 0-41 18 1 1 10 10t12 12 8 10 7 14 2 15q0 22-16 38t-38 16q-8 0-15-2t-14-7-10-8-12-12-10-10q-18 17-18 41 0 22 16 38l117 118q15 15 38 15 22 0 38-14l84-83q16-16 16-38zM430 292q0-22-16-38l-117-118q-16-16-38-16-22 0-38 15l-84 83q-16 16-16 38 0 22 16 38l118 118q15 15 38 15 24 0 41-17-1-1-10-10t-12-12-8-10-7-14-2-15q0-22 16-38t38-16q8 0 15 2t14 7 10 8 12 12 10 10q18-17 18-41zM941 694q0 68-48 116l-84 83q-47 47-116 47-69 0-116-48l-117-118q-47-47-47-116 0-70 50-119l-50-50q-49 50-118 50-68 0-116-48l-118-118q-48-48-48-116t48-116l84-83q47-47 116-47 69 0 116 48l117 118q47 47 47 116 0 70-50 119l50 50q49-50 118-50 68 0 116 48l118 118q48 48 48 116z"},bulletList:{width:768,height:896,path:"M0 512h128v-128h-128v128zM0 256h128v-128h-128v128zM0 768h128v-128h-128v128zM256 512h512v-128h-512v128zM256 256h512v-128h-512v128zM256 768h512v-128h-512v128z"},orderedList:{width:768,height:896,path:"M320 512h448v-128h-448v128zM320 768h448v-128h-448v128zM320 128v128h448v-128h-448zM79 384h78v-256h-36l-85 23v50l43-2v185zM189 590c0-36-12-78-96-78-33 0-64 6-83 16l1 66c21-10 42-15 67-15s32 11 32 28c0 26-30 58-110 112v50h192v-67l-91 2c49-30 87-66 87-113l1-1z"},blockquote:{width:640,height:896,path:"M0 448v256h256v-256h-128c0 0 0-128 128-128v-128c0 0-256 0-256 256zM640 320v-128c0 0-256 0-256 256v256h256v-256h-128c0 0 0-128 128-128z"},strikethrough:{width:28,height:28,path:"M27.5 14c0.281 0 0.5 0.219 0.5 0.5v1c0 0.281-0.219 0.5-0.5 0.5h-27c-0.281 0-0.5-0.219-0.5-0.5v-1c0-0.281 0.219-0.5 0.5-0.5h27zM7.547 13c-0.297-0.375-0.562-0.797-0.797-1.25-0.5-1.016-0.75-2-0.75-2.938 0-1.906 0.703-3.5 2.094-4.828s3.437-1.984 6.141-1.984c0.594 0 1.453 0.109 2.609 0.297 0.688 0.125 1.609 0.375 2.766 0.75 0.109 0.406 0.219 1.031 0.328 1.844 0.141 1.234 0.219 2.187 0.219 2.859 0 0.219-0.031 0.453-0.078 0.703l-0.187 0.047-1.313-0.094-0.219-0.031c-0.531-1.578-1.078-2.641-1.609-3.203-0.922-0.953-2.031-1.422-3.281-1.422-1.188 0-2.141 0.313-2.844 0.922s-1.047 1.375-1.047 2.281c0 0.766 0.344 1.484 1.031 2.188s2.141 1.375 4.359 2.016c0.75 0.219 1.641 0.562 2.703 1.031 0.562 0.266 1.062 0.531 1.484 0.812h-11.609zM15.469 17h6.422c0.078 0.438 0.109 0.922 0.109 1.437 0 1.125-0.203 2.234-0.641 3.313-0.234 0.578-0.594 1.109-1.109 1.625-0.375 0.359-0.938 0.781-1.703 1.266-0.781 0.469-1.563 0.828-2.391 1.031-0.828 0.219-1.875 0.328-3.172 0.328-0.859 0-1.891-0.031-3.047-0.359l-2.188-0.625c-0.609-0.172-0.969-0.313-1.125-0.438-0.063-0.063-0.125-0.172-0.125-0.344v-0.203c0-0.125 0.031-0.938-0.031-2.438-0.031-0.781 0.031-1.328 0.031-1.641v-0.688l1.594-0.031c0.578 1.328 0.844 2.125 1.016 2.406 0.375 0.609 0.797 1.094 1.25 1.469s1 0.672 1.641 0.891c0.625 0.234 1.328 0.344 2.063 0.344 0.656 0 1.391-0.141 2.172-0.422 0.797-0.266 1.437-0.719 1.906-1.344 0.484-0.625 0.734-1.297 0.734-2.016 0-0.875-0.422-1.687-1.266-2.453-0.344-0.297-1.062-0.672-2.141-1.109z"},enlarge:{width:32,height:32,path:"M32 0v13l-5-5-6 6-3-3 6-6-5-5zM14 21l-6 6 5 5h-13v-13l5 5 6-6z"},angleDoubleRight:{width:16,height:28,path:"M9.297 15c0 0.125-0.063 0.266-0.156 0.359l-7.281 7.281c-0.094 0.094-0.234 0.156-0.359 0.156s-0.266-0.063-0.359-0.156l-0.781-0.781c-0.094-0.094-0.156-0.234-0.156-0.359s0.063-0.266 0.156-0.359l6.141-6.141-6.141-6.141c-0.094-0.094-0.156-0.234-0.156-0.359s0.063-0.266 0.156-0.359l0.781-0.781c0.094-0.094 0.234-0.156 0.359-0.156s0.266 0.063 0.359 0.156l7.281 7.281c0.094 0.094 0.156 0.234 0.156 0.359zM15.297 15c0 0.125-0.063 0.266-0.156 0.359l-7.281 7.281c-0.094 0.094-0.234 0.156-0.359 0.156s-0.266-0.063-0.359-0.156l-0.781-0.781c-0.094-0.094-0.156-0.234-0.156-0.359s0.063-0.266 0.156-0.359l6.141-6.141-6.141-6.141c-0.094-0.094-0.156-0.234-0.156-0.359s0.063-0.266 0.156-0.359l0.781-0.781c0.094-0.094 0.234-0.156 0.359-0.156s0.266 0.063 0.359 0.156l7.281 7.281c0.094 0.094 0.156 0.234 0.156 0.359z"},angleDoubleLeft:{width:16,height:28,path:"M9.797 21.5c0 0.125-0.063 0.266-0.156 0.359l-0.781 0.781c-0.094 0.094-0.234 0.156-0.359 0.156s-0.266-0.063-0.359-0.156l-7.281-7.281c-0.094-0.094-0.156-0.234-0.156-0.359s0.063-0.266 0.156-0.359l7.281-7.281c0.094-0.094 0.234-0.156 0.359-0.156s0.266 0.063 0.359 0.156l0.781 0.781c0.094 0.094 0.156 0.234 0.156 0.359s-0.063 0.266-0.156 0.359l-6.141 6.141 6.141 6.141c0.094 0.094 0.156 0.234 0.156 0.359zM15.797 21.5c0 0.125-0.063 0.266-0.156 0.359l-0.781 0.781c-0.094 0.094-0.234 0.156-0.359 0.156s-0.266-0.063-0.359-0.156l-7.281-7.281c-0.094-0.094-0.156-0.234-0.156-0.359s0.063-0.266 0.156-0.359l7.281-7.281c0.094-0.094 0.234-0.156 0.359-0.156s0.266 0.063 0.359 0.156l0.781 0.781c0.094 0.094 0.156 0.234 0.156 0.359s-0.063 0.266-0.156 0.359l-6.141 6.141 6.141 6.141c0.094 0.094 0.156 0.234 0.156 0.359z"},shrink:{width:32,height:32,path:"M14 18v13l-5-5-6 6-3-3 6-6-5-5zM32 3l-6 6 5 5h-13v-13l5 5 6-6z"}};function Ji(e,t){var r=e.selection,n=r.$from,r=r.$to;if(n.blockRange(r,function(e){return e.childCount&&"list_item"===e.firstChild.type.name}))return!1;n=n.blockRange(r),r=n&&Ee(n);return null!=r&&(t&&t(e.tr.lift(n,r).scrollIntoView()),!0)}function Yi(){return new ji({title:"Undo last change",run:pi,enable:function(e){return pi(e)},icon:Ki.undo})}function Xi(){return new ji({title:"Redo last undone change",run:hi,enable:function(e){return hi(e)},icon:Ki.redo})}function Qi(r,n){var e,t={run:function(e,t){return $o(r,n.attrs)(e,t)},select:function(e){return $o(r,n.attrs instanceof Function?null:n.attrs)(e)}};for(e in n)t[e]=n[e];return new ji(t)}function ea(n,o){var e,t=Lo(n,o.attrs),r={run:t,enable:function(e){return t(e)},active:function(e){var t=e.selection,r=t.$from,e=t.to,t=t.node;return t?t.hasMarkup(n,o.attrs):e<=r.end()&&r.parent.hasMarkup(n,o.attrs)}};for(e in o)r[e]=o[e];return new ji(r)}function ta(e,t,r){r?e.classList.add(t):e.classList.remove(t)}function ra(e,t){for(var r=e.selection.$from,n=r.depth;0<=n;n--){var o=r.index(n);if(r.node(n).canReplaceWith(o,o,t))return!0}return!1}function na(e){var t=!0;return e.doc.nodesBetween(e.selection.$from.pos,e.selection.$to.pos,function(e){e.type.spec.code?t=!1:e.marks.forEach(function(e){e=e.type.spec;e.preventMarks&&0<=$.inArray("link",e.preventMarks)&&(t=!1)})}),t}var oa="ProseMirror-menubar";function ia(t){var r={types:{type:"dropdown",sortOrder:100,label:t.translate("Type"),seperator:!0,icon:Ki.text,items:[]},marks:{type:"group",id:"marks-group",sortOrder:200,items:[]},format:{type:"group",id:"format-group",sortOrder:300,items:[Hi()]},insert:{type:"dropdown",id:"insert-dropdown",sortOrder:400,label:t.translate("Insert"),seperator:!0,icon:Ki.image,items:[]},helper:{type:"group",id:"helper-group",sortOrder:500,items:[Yi(),Xi()]},resize:{type:"group",id:"resize-group",sortOrder:600,items:[]}},n=[r.types,r.insert,r.marks,r.format,r.helper,r.resize];return t.plugins.forEach(function(e){e.menu&&e.menu(t).forEach(function(e){!function(e,t){if(!t||t.node&&!e.schema.nodes[t.node])return!1;if(t.mark&&!e.schema.marks[t.mark])return!1;if(e.options.menu&&Array.isArray(e.options.menu.exclude)&&e.options.menu.exclude[t.id])return!1;return!0}(t,e)||(e.item.options.id=e.id,e.group&&r[e.group]?r[e.group].items.push(e.item):e.group||n.push(e.item))})}),n}function aa(t){return new mt({view:function(e){return t.context.menu=new sa(e,t),t.context.event.trigger("afterMenuBarInit",t.context.menu),t.context.menu}})}function sa(e,t){var r=this;this.editorView=e,this.options=t,this.context=this.options.context,this.wrapper=Di("div",{class:oa+"-wrapper"}),this.menu=this.wrapper.appendChild(Di("div",{class:oa})),this.menu.className=oa,this.spacer=null,e.dom.parentNode.replaceChild(this.wrapper,e.dom),this.wrapper.appendChild(e.dom),this.maxHeight=0,this.widthForMaxHeight=0,this.floating=!1,this.groupItem=new Wi(this.options.content),e=this.groupItem.render(this.editorView),this.menu.appendChild(e),$(this.menu).on("mousedown",function(e){e.preventDefault()}),this.update(),t.floating&&!function(){if("undefined"!=typeof navigator){var e=navigator.userAgent;return!/Edge\/\d/.test(e)&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e)}}()&&(this.updateFloat(),this.scrollFunc=function(){var e=r.editorView.root;(e.body||e).contains(r.wrapper)?r.updateFloat():window.removeEventListener("scroll",r.scrollFunc)},window.addEventListener("scroll",this.scrollFunc))}sa.prototype.update=function(){this.groupItem.update(this.editorView.state),$(this.menu).find("."+oa+"-menu-group:first").find(""),this.floating?this.updateScrollCursor():(this.menu.offsetWidth!=this.widthForMaxHeight&&(this.widthForMaxHeight=this.menu.offsetWidth,this.maxHeight=0),this.menu.offsetHeight>this.maxHeight&&(this.maxHeight=this.menu.offsetHeight)),this.context.event.trigger("afterMenuBarUpdate",this)},sa.prototype.updateScrollCursor=function(){var e,t,r=this.editorView.root.getSelection();!r.focusNode||(r=(t=r.getRangeAt(0).getClientRects())[((e=r).anchorNode!=e.focusNode?e.anchorNode.compareDocumentPosition(e.focusNode)==Node.DOCUMENT_POSITION_FOLLOWING:e.anchorOffset>e.focusOffset)?0:t.length-1])&&(e=this.menu.getBoundingClientRect(),r.top<e.bottom&&r.bottom>e.top&&((t=function(e){for(var t=e.parentNode;t;t=t.parentNode)if(t.scrollHeight>t.clientHeight)return t}(this.wrapper))&&(t.scrollTop-=e.bottom-r.top)))},sa.prototype.updateFloat=function(){var e,t=this.wrapper,r=t.getBoundingClientRect();this.floating?0<=r.top||r.bottom<this.menu.offsetHeight+10?(this.floating=!1,this.menu.style.position=this.menu.style.left=this.menu.style.width="",this.menu.style.display="",this.spacer.parentNode.removeChild(this.spacer),this.spacer=null):(e=(t.offsetWidth-t.clientWidth)/2,this.menu.style.left=r.left+e+"px",this.menu.style.display=r.top>window.innerHeight?"none":""):r.top<0&&r.bottom>=this.menu.offsetHeight+10&&(this.floating=!0,r=this.menu.getBoundingClientRect(),this.menu.style.left=r.left+"px",this.menu.style.width=r.width+"px",this.menu.style.position="fixed",this.spacer=crel("div",{class:oa+"-spacer",style:"height: "+r.height+"px"}),t.insertBefore(this.spacer,this.menu))},sa.prototype.destroy=function(){this.wrapper.parentNode&&this.wrapper.parentNode.replaceChild(this.editorView.dom,this.wrapper)};var ca=Object.freeze({__proto__:null,menuBar:aa,cmdItem:$i,markItem:Li,markActive:Ri,wrapListItem:function(e,t){return $i(wrapInList(e,t.attrs),t)},MenuItem:ji,MenuItemGroup:Wi,Dropdown:Gi,DropdownSubmenu:Zi,icons:Ki,joinUpItem:function(){return new ji({title:"Join with above block",run:zo,select:function(e){return zo(e)},icon:Ki.join})},liftItem:Hi,selectParentNodeItem:function(){return new ji({title:"Select parent node",run:No,select:function(e){return No(e)},icon:Ki.selectParentNode})},undoItem:Yi,redoItem:Xi,wrapItem:Qi,blockTypeItem:ea,canInsert:ra,canInsertLink:na}),la="http://www.w3.org/2000/svg",ua="ProseMirror-icon";function da(e){var t,r,n=document.createElement("div");return n.className=ua,e.path?(t="pm-icon-"+function(e){for(var t=0,r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r)|0;return t}(e.path).toString(16),document.getElementById(t)||function(e,t){var r=document.getElementById(ua+"-collection");r||((r=document.createElementNS(la,"svg")).id=ua+"-collection",r.style.display="none",document.body.insertBefore(r,document.body.firstChild));var n=document.createElementNS(la,"symbol");n.id=e,n.setAttribute("viewBox","0 0 "+t.width+" "+t.height),n.appendChild(document.createElementNS(la,"path")).setAttribute("d",t.path),r.appendChild(n)}(t,e),(r=n.appendChild(document.createElementNS(la,"svg"))).style.width=e.width/e.height+"em",r.appendChild(document.createElementNS(la,"use")).setAttributeNS("http://www.w3.org/1999/xlink","href",/([^#]*)/.exec(document.location)[1]+"#"+t)):e.dom?n.appendChild(e.dom.cloneNode(!0)):(n.appendChild(document.createElement("span")).textContent=e.text||"",e.css&&(n.firstChild.style.cssText=e.css)),n}function pa(e){this.spec=e}var ha="ProseMirror-menu";function fa(e,t){return e._props.translate?e._props.translate(t):t}pa.prototype.render=function(t){var e,r=this.spec,n=r.render?r.render(t):r.icon?da(r.icon):r.label?Di("div",null,fa(t,r.label)):null;if(!n)throw new RangeError("MenuItem without icon or label property");return r.title&&(e="function"==typeof r.title?r.title(t.state):r.title,n.setAttribute("title",fa(t,e))),r.class&&n.classList.add(r.class),r.css&&(n.style.cssText+=r.css),n.addEventListener("mousedown",function(e){e.preventDefault(),n.classList.contains(ha+"-disabled")||r.run(t.state,t.dispatch,t,e)}),{dom:n,update:function(e){if(r.select){var t=r.select(e);if(n.style.display=t?"":"none",!t)return!1}return t=!0,r.enable&&(t=r.enable(e)||!1,qa(n,ha+"-disabled",!t)),r.active&&(e=t&&r.active(e)||!1,qa(n,ha+"-active",e)),!0}}};var ma={time:0,node:null};function ga(e){ma.time=Date.now(),ma.node=e.target}function ya(e){return Date.now()-100<ma.time&&ma.node&&e.contains(ma.node)}var _a=function(e,t){this.options=t||{},this.content=Array.isArray(e)?e:[e]};function ba(e,t){for(var r=[],n=[],o=0;o<e.length;o++){var i=e[o].render(t),a=i.dom,i=i.update;r.push(Di("div",{class:ha+"-dropdown-item"},a)),n.push(i)}return{dom:r,update:wa(n,r)}}function wa(o,i){return function(e){for(var t=!1,r=0;r<o.length;r++){var n=o[r](e);i[r].style.display=n?"":"none",n&&(t=!0)}return t}}_a.prototype.render=function(e){var t=this,r=ba(this.content,e),n=Di("div",{class:ha+"-dropdown "+(this.options.class||""),style:this.options.css},fa(e,this.options.label));this.options.title&&n.setAttribute("title",fa(e,this.options.title));function o(){a&&a.close()&&(a=null,window.removeEventListener("mousedown",s))}var i=Di("div",{class:ha+"-dropdown-wrap"},n),a=null,s=null;return n.addEventListener("mousedown",function(e){e.preventDefault(),ga(e),a?o():(a=t.expand(i,r.dom),window.addEventListener("mousedown",s=function(){ya(i)||o()}))}),{dom:i,update:function(e){return e=r.update(e),i.style.display=e?"":"none",e}}},_a.prototype.expand=function(e,t){var r=Di("div",{class:ha+"-dropdown-menu "+(this.options.class||"")},t),n=!1;return e.appendChild(r),{close:function(){if(!n)return n=!0,e.removeChild(r),!0},node:r}};var ka=function(e,t){this.options=t||{},this.content=Array.isArray(e)?e:[e]};function va(e,t){for(var r=document.createDocumentFragment(),i=[],a=[],n=0;n<t.length;n++){for(var o=t[n],s=[],c=[],l=0;l<o.length;l++){var u=o[l].render(e),d=u.dom,u=u.update,d=Di("span",{class:ha+"item"},d);r.appendChild(d),c.push(d),s.push(u)}s.length&&(i.push(wa(s,c)),n<t.length-1&&a.push(r.appendChild(Di("span",{class:ha+"separator"}))))}return{dom:r,update:function(e){for(var t=!1,r=!1,n=0;n<i.length;n++){var o=i[n](e);n&&(a[n-1].style.display=r&&o?"":"none"),(r=o)&&(t=!0)}return t}}}ka.prototype.render=function(e){var t=ba(this.content,e),e=Di("div",{class:ha+"-submenu-label"},fa(e,this.options.label)),r=Di("div",{class:ha+"-submenu-wrap"},e,Di("div",{class:ha+"-submenu"},t.dom)),n=null;return e.addEventListener("mousedown",function(e){e.preventDefault(),ga(e),qa(r,ha+"-submenu-wrap-active"),n||window.addEventListener("mousedown",n=function(){ya(r)||(r.classList.remove(ha+"-submenu-wrap-active"),window.removeEventListener("mousedown",n),n=null)})}),{dom:r,update:function(e){return e=t.update(e),r.style.display=e?"":"none",e}}};var xa={join:{width:800,height:900,path:"M0 75h800v125h-800z M0 825h800v-125h-800z M250 400h100v-100h100v100h100v100h-100v100h-100v-100h-100z"},lift:{width:1024,height:1024,path:"M219 310v329q0 7-5 12t-12 5q-8 0-13-5l-164-164q-5-5-5-13t5-13l164-164q5-5 13-5 7 0 12 5t5 12zM1024 749v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12zM1024 530v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 310v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 91v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12z"},selectParentNode:{text:"⬚",css:"font-weight: bold"},undo:{width:1024,height:1024,path:"M761 1024c113-206 132-520-313-509v253l-384-384 384-384v248c534-13 594 472 313 775z"},redo:{width:1024,height:1024,path:"M576 248v-248l384 384-384 384v-253c-446-10-427 303-313 509-280-303-221-789 313-775z"},strong:{width:805,height:1024,path:"M317 869q42 18 80 18 214 0 214-191 0-65-23-102-15-25-35-42t-38-26-46-14-48-6-54-1q-41 0-57 5 0 30-0 90t-0 90q0 4-0 38t-0 55 2 47 6 38zM309 442q24 4 62 4 46 0 81-7t62-25 42-51 14-81q0-40-16-70t-45-46-61-24-70-8q-28 0-74 7 0 28 2 86t2 86q0 15-0 45t-0 45q0 26 0 39zM0 950l1-53q8-2 48-9t60-15q4-6 7-15t4-19 3-18 1-21 0-19v-37q0-561-12-585-2-4-12-8t-25-6-28-4-27-2-17-1l-2-47q56-1 194-6t213-5q13 0 39 0t38 0q40 0 78 7t73 24 61 40 42 59 16 78q0 29-9 54t-22 41-36 32-41 25-48 22q88 20 146 76t58 141q0 57-20 102t-53 74-78 48-93 27-100 8q-25 0-75-1t-75-1q-60 0-175 6t-132 6z"},em:{width:585,height:1024,path:"M0 949l9-48q3-1 46-12t63-21q16-20 23-57 0-4 35-165t65-310 29-169v-14q-13-7-31-10t-39-4-33-3l10-58q18 1 68 3t85 4 68 1q27 0 56-1t69-4 56-3q-2 22-10 50-17 5-58 16t-62 19q-4 10-8 24t-5 22-4 26-3 24q-15 84-50 239t-44 203q-1 5-7 33t-11 51-9 47-3 32l0 10q9 2 105 17-1 25-9 56-6 0-18 0t-18 0q-16 0-49-5t-49-5q-78-1-117-1-29 0-81 5t-69 6z"},code:{width:896,height:1024,path:"M608 192l-96 96 224 224-224 224 96 96 288-320-288-320zM288 192l-288 320 288 320 96-96-224-224 224-224-96-96z"},link:{width:951,height:1024,path:"M832 694q0-22-16-38l-118-118q-16-16-38-16-24 0-41 18 1 1 10 10t12 12 8 10 7 14 2 15q0 22-16 38t-38 16q-8 0-15-2t-14-7-10-8-12-12-10-10q-18 17-18 41 0 22 16 38l117 118q15 15 38 15 22 0 38-14l84-83q16-16 16-38zM430 292q0-22-16-38l-117-118q-16-16-38-16-22 0-38 15l-84 83q-16 16-16 38 0 22 16 38l118 118q15 15 38 15 24 0 41-17-1-1-10-10t-12-12-8-10-7-14-2-15q0-22 16-38t38-16q8 0 15 2t14 7 10 8 12 12 10 10q18-17 18-41zM941 694q0 68-48 116l-84 83q-47 47-116 47-69 0-116-48l-117-118q-47-47-47-116 0-70 50-119l-50-50q-49 50-118 50-68 0-116-48l-118-118q-48-48-48-116t48-116l84-83q47-47 116-47 69 0 116 48l117 118q47 47 47 116 0 70-50 119l50 50q49-50 118-50 68 0 116 48l118 118q48 48 48 116z"},bulletList:{width:768,height:896,path:"M0 512h128v-128h-128v128zM0 256h128v-128h-128v128zM0 768h128v-128h-128v128zM256 512h512v-128h-512v128zM256 256h512v-128h-512v128zM256 768h512v-128h-512v128z"},orderedList:{width:768,height:896,path:"M320 512h448v-128h-448v128zM320 768h448v-128h-448v128zM320 128v128h448v-128h-448zM79 384h78v-256h-36l-85 23v50l43-2v185zM189 590c0-36-12-78-96-78-33 0-64 6-83 16l1 66c21-10 42-15 67-15s32 11 32 28c0 26-30 58-110 112v50h192v-67l-91 2c49-30 87-66 87-113l1-1z"},blockquote:{width:640,height:896,path:"M0 448v256h256v-256h-128c0 0 0-128 128-128v-128c0 0-256 0-256 256zM640 320v-128c0 0-256 0-256 256v256h256v-256h-128c0 0 0-128 128-128z"}},za=new pa({title:"Join with above block",run:zo,select:function(e){return zo(e)},icon:xa.join}),Ca=new pa({title:"Lift out of enclosing block",run:So,select:function(e){return So(e)},icon:xa.lift}),Sa=new pa({title:"Select parent node",run:No,select:function(e){return No(e)},icon:xa.selectParentNode}),Ea=new pa({title:"Undo last change",run:pi,enable:function(e){return pi(e)},icon:xa.undo}),Aa=new pa({title:"Redo last undone change",run:hi,enable:function(e){return hi(e)},icon:xa.redo});function qa(e,t,r){r?e.classList.add(t):e.classList.remove(t)}var Ma="ProseMirror-menubar";function Da(e,t){var r=this;this.editorView=e,this.options=t,this.wrapper=Di("div",{class:Ma+"-wrapper"}),this.menu=this.wrapper.appendChild(Di("div",{class:Ma})),this.menu.className=Ma,this.spacer=null,e.dom.parentNode.replaceChild(this.wrapper,e.dom),this.wrapper.appendChild(e.dom),this.maxHeight=0,this.widthForMaxHeight=0,this.floating=!1;var n,e=(o=va(this.editorView,this.options.content)).dom,o=o.update;this.contentUpdate=o,this.menu.appendChild(e),this.update(),t.floating&&!function(){if("undefined"!=typeof navigator){var e=navigator.userAgent;return!/Edge\/\d/.test(e)&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e)}}()&&(this.updateFloat(),n=function(e){for(var t=[window],r=e.parentNode;r;r=r.parentNode)t.push(r);return t}(this.wrapper),this.scrollFunc=function(e){var t=r.editorView.root;(t.body||t).contains(r.wrapper)?r.updateFloat(e.target.getBoundingClientRect&&e.target):n.forEach(function(e){return e.removeEventListener("scroll",r.scrollFunc)})},n.forEach(function(e){return e.addEventListener("scroll",r.scrollFunc)}))}Da.prototype.update=function(){this.contentUpdate(this.editorView.state),this.floating?this.updateScrollCursor():(this.menu.offsetWidth!=this.widthForMaxHeight&&(this.widthForMaxHeight=this.menu.offsetWidth,this.maxHeight=0),this.menu.offsetHeight>this.maxHeight&&(this.maxHeight=this.menu.offsetHeight,this.menu.style.minHeight=this.maxHeight+"px"))},Da.prototype.updateScrollCursor=function(){var e,t,r=this.editorView.root.getSelection();!r.focusNode||(r=(t=r.getRangeAt(0).getClientRects())[((e=r).anchorNode!=e.focusNode?e.anchorNode.compareDocumentPosition(e.focusNode)==Node.DOCUMENT_POSITION_FOLLOWING:e.anchorOffset>e.focusOffset)?0:t.length-1])&&(e=this.menu.getBoundingClientRect(),r.top<e.bottom&&r.bottom>e.top&&((t=function(e){for(var t=e.parentNode;t;t=t.parentNode)if(t.scrollHeight>t.clientHeight)return t}(this.wrapper))&&(t.scrollTop-=e.bottom-r.top)))},Da.prototype.updateFloat=function(e){var t,r=this.wrapper,n=r.getBoundingClientRect(),o=e?Math.max(0,e.getBoundingClientRect().top):0;this.floating?n.top>=o||n.bottom<this.menu.offsetHeight+10?(this.floating=!1,this.menu.style.position=this.menu.style.left=this.menu.style.top=this.menu.style.width="",this.menu.style.display="",this.spacer.parentNode.removeChild(this.spacer),this.spacer=null):(t=(r.offsetWidth-r.clientWidth)/2,this.menu.style.left=n.left+t+"px",this.menu.style.display=n.top>window.innerHeight?"none":"",e&&(this.menu.style.top=o+"px")):n.top<o&&n.bottom>=this.menu.offsetHeight+10&&(this.floating=!0,n=this.menu.getBoundingClientRect(),this.menu.style.left=n.left+"px",this.menu.style.width=n.width+"px",e&&(this.menu.style.top=o+"px"),this.menu.style.position="fixed",this.spacer=Di("div",{class:Ma+"-spacer",style:"height: "+n.height+"px"}),r.insertBefore(this.spacer,this.menu))},Da.prototype.destroy=function(){this.wrapper.parentNode&&this.wrapper.parentNode.replaceChild(this.editorView.dom,this.wrapper)};function Ta(o){return new mt({state:{init:function(){return $n.empty},apply:function(e,t){t=t.map(e.mapping,e.doc);var r,n=e.getMeta(this);return n&&n.add?(r=humhub.require("ui.loader").set($('<span class="ProseMirror-placeholder">'),{span:!0,size:"8px",css:{padding:"0px",width:"60px"}})[0],r=Tn.widget(n.add.pos,r,{id:n.add.id,content:!0}),t=t.add(e.doc,[r]),o.addContentDecoration("loader")):n&&n.remove&&(t=t.remove(t.find(null,null,function(e){return e.id===n.remove.id})),o.removeContentDecoration("loader")),t}},props:{decorations:function(e){return this.getState(e)}}})}var Na=Object.freeze({__proto__:null,Dropdown:_a,DropdownSubmenu:ka,MenuItem:pa,blockTypeItem:function(n,o){var e,t=Lo(n,o.attrs),r={run:t,enable:function(e){return t(e)},active:function(e){var t=e.selection,r=t.$from,e=t.to,t=t.node;return t?t.hasMarkup(n,o.attrs):e<=r.end()&&r.parent.hasMarkup(n,o.attrs)}};for(e in o)r[e]=o[e];return new pa(r)},icons:xa,joinUpItem:za,liftItem:Ca,menuBar:function(t){return new mt({view:function(e){return new Da(e,t)}})},redoItem:Aa,renderGrouped:va,selectParentNodeItem:Sa,undoItem:Ea,wrapItem:function(r,n){var e,t={run:function(e,t){return $o(r,n.attrs)(e,t)},select:function(e){return $o(r,n.attrs instanceof Function?null:n.attrs)(e)}};for(e in n)t[e]=n[e];return new pa(t)}});function Oa(e,t){e=e.getProsemirrorPlugins("loader")[0].getState(e.editor.view.state).find(null,null,function(e){return e.id===t});return e.length?e[0].from:null}function Ia(e,t,r){var n=e.editor.view,o=n.state.tr;return o.selection.empty||o.deleteSelection(),o.setMeta(e.getProsemirrorPlugins("loader")[0],{add:{id:t,pos:o.selection.from}}),r&&n.dispatch(o),o}function $a(e,t,r,n){var o=e.editor.view,i=Oa(e,t);if(null!==i){t=o.state.tr.replaceWith(i,i,r).setMeta(e.getProsemirrorPlugins("loader")[0],{remove:{id:t}});return n&&o.dispatch(t),t}}function La(e,t,r){var n=e.editor.view,o=Oa(e,t);if(n.focus(),null!==o){t=n.state.tr.setMeta(e.getProsemirrorPlugins("loader")[0],{remove:{id:t}});return r&&n.dispatch(t),t}}var Ra,ja,Pa,Ba,Fa,Ua=Object.freeze({__proto__:null,loaderPlugin:Ta,loaderStart:Ia,replaceLoader:$a,removeLoader:La});Pa="undefined"!=typeof WeakMap?(Ra=new WeakMap,ja=function(e){return Ra.get(e)},function(e,t){return Ra.set(e,t),t}):(Ba=[],Fa=0,ja=function(e){for(var t=0;t<Ba.length;t+=2)if(Ba[t]==e)return Ba[t+1]},function(e,t){return 10==Fa&&(Fa=0),Ba[Fa++]=e,Ba[Fa++]=t});var Va=function(e,t,r,n){this.left=e,this.top=t,this.right=r,this.bottom=n},Ha=function(e,t,r,n){this.width=e,this.height=t,this.map=r,this.problems=n};function Wa(e,t){var r,n=e.getAttribute("data-colwidth"),o=n&&/^\d+(,\d+)*$/.test(n)?n.split(",").map(function(e){return Number(e)}):null,n=Number(e.getAttribute("colspan")||1),i={colspan:n,rowspan:Number(e.getAttribute("rowspan")||1),colwidth:o&&o.length==n?o:null};for(r in t){var a=t[r].getFromDOM,a=a&&a(e);null!=a&&(i[r]=a)}return i}function Ga(e,t){var r,n={};for(r in 1!=e.attrs.colspan&&(n.colspan=e.attrs.colspan),1!=e.attrs.rowspan&&(n.rowspan=e.attrs.rowspan),e.attrs.colwidth&&(n["data-colwidth"]=e.attrs.colwidth.join(",")),t){var o=t[r].setDOMAttr;o&&o(e.attrs[r],n)}return n}function Za(e){var t=e.cached.tableNodeTypes;if(!t)for(var r in t=e.cached.tableNodeTypes={},e.nodes){var n=e.nodes[r],r=n.spec.tableRole;r&&(t[r]=n)}return t}Ha.prototype.findCell=function(e){for(var t=0;t<this.map.length;t++){var r=this.map[t];if(r==e){for(var n=t%this.width,o=t/this.width|0,i=1+n,a=1+o,s=1;i<this.width&&this.map[t+s]==r;s++)i++;for(var c=1;a<this.height&&this.map[t+this.width*c]==r;c++)a++;return new Va(n,o,i,a)}}throw new RangeError("No cell with offset "+e+" found")},Ha.prototype.colCount=function(e){for(var t=0;t<this.map.length;t++)if(this.map[t]==e)return t%this.width;throw new RangeError("No cell with offset "+e+" found")},Ha.prototype.nextCell=function(e,t,r){var n=this.findCell(e),o=n.left,i=n.right,e=n.top,n=n.bottom;return"horiz"==t?(r<0?0==o:i==this.width)?null:this.map[e*this.width+(r<0?o-1:i)]:(r<0?0==e:n==this.height)?null:this.map[o+this.width*(r<0?e-1:n)]},Ha.prototype.rectBetween=function(e,t){var r=this.findCell(e),n=r.left,o=r.right,i=r.top,a=r.bottom,s=this.findCell(t),e=s.left,r=s.right,t=s.top,s=s.bottom;return new Va(Math.min(n,e),Math.min(i,t),Math.max(o,r),Math.max(a,s))},Ha.prototype.cellsInRect=function(e){for(var t=[],r={},n=e.top;n<e.bottom;n++)for(var o=e.left;o<e.right;o++){var i=n*this.width+o,a=this.map[i];r[a]||(r[a]=!0,o==e.left&&o&&this.map[i-1]==a||n==e.top&&n&&this.map[i-this.width]==a||t.push(a))}return t},Ha.prototype.positionAt=function(e,t,r){for(var n=0,o=0;;n++){var i=o+r.child(n).nodeSize;if(n==e){for(var a=t+e*this.width,s=(e+1)*this.width;a<s&&this.map[a]<o;)a++;return a==s?i-1:this.map[a]}o=i}},Ha.get=function(e){return ja(e)||Pa(e,function(e){if("table"!=e.type.spec.tableRole)throw new RangeError("Not a table node: "+e.type.name);for(var t=function(e){for(var t=-1,r=!1,n=0;n<e.childCount;n++){var o=e.child(n),i=0;if(r)for(var a=0;a<n;a++)for(var s=e.child(a),c=0;c<s.childCount;c++){var l=s.child(c);a+l.attrs.rowspan>n&&(i+=l.attrs.colspan)}for(var u=0;u<o.childCount;u++){var d=o.child(u);i+=d.attrs.colspan,1<d.attrs.rowspan&&(r=!0)}-1==t?t=i:t!=i&&(t=Math.max(t,i))}return t}(e),r=e.childCount,n=[],o=0,i=null,a=[],s=0,c=t*r;s<c;s++)n[s]=0;for(var l=0,u=0;l<r;l++){var d=e.child(l);u++;for(var p=0;;p++){for(;o<n.length&&0!=n[o];)o++;if(p==d.childCount)break;for(var h=d.child(p),f=h.attrs,m=f.colspan,g=f.rowspan,y=f.colwidth,_=0;_<g;_++){if(r<=_+l){(i=i||[]).push({type:"overlong_rowspan",pos:u,n:g-_});break}for(var b=o+_*t,w=0;w<m;w++){0==n[b+w]?n[b+w]=u:(i=i||[]).push({type:"collision",row:l,pos:u,n:m-w});var k,v,x=y&&y[w];x&&(null==(v=a[k=(b+w)%t*2])||v!=x&&1==a[1+k]?(a[k]=x,a[1+k]=1):v==x&&a[1+k]++)}}o+=m,u+=h.nodeSize}for(var z=(l+1)*t,C=0;o<z;)0==n[o++]&&C++;C&&(i=i||[]).push({type:"missing",row:l,n:C}),u++}for(var S=new Ha(t,r,n,i),E=!1,A=0;!E&&A<a.length;A+=2)null!=a[A]&&a[A+1]<r&&(E=!0);E&&function(e,t,r){e.problems||(e.problems=[]);for(var n=0,o={};n<e.map.length;n++){var i=e.map[n];if(!o[i]){o[i]=!0;for(var a=r.nodeAt(i),s=null,c=0;c<a.attrs.colspan;c++){var l=(n+c)%e.width,l=t[2*l];null==l||a.attrs.colwidth&&a.attrs.colwidth[c]==l||((s=s||function(e){if(e.colwidth)return e.colwidth.slice();for(var t=[],r=0;r<e.colspan;r++)t.push(0);return t}(a.attrs))[c]=l)}s&&e.problems.unshift({type:"colwidth mismatch",pos:i,colwidth:s})}}}(S,a,e);return S}(e))};var Ka=new _t("selectingCells");function Ja(e){for(var t=e.depth-1;0<t;t--)if("row"==e.node(t).type.spec.tableRole)return e.node(0).resolve(e.before(t+1));return null}function Ya(e){for(var t=e.selection.$head,r=t.depth;0<r;r--)if("row"==t.node(r).type.spec.tableRole)return 1}function Xa(e){e=e.selection;return e.$anchorCell?e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell:e.node&&"cell"==e.node.type.spec.tableRole?e.$anchor:Ja(e.$head)||function(e){for(var t=e.nodeAfter,r=e.pos;t;t=t.firstChild,r++){var n=t.type.spec.tableRole;if("cell"==n||"header_cell"==n)return e.doc.resolve(r)}for(var o=e.nodeBefore,i=e.pos;o;o=o.lastChild,i--){var a=o.type.spec.tableRole;if("cell"==a||"header_cell"==a)return e.doc.resolve(i-o.nodeSize)}}(e.$head)}function Qa(e){return"row"==e.parent.type.spec.tableRole&&e.nodeAfter}function es(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function ts(e,t,r){var n=e.start(-1),r=Ha.get(e.node(-1)).nextCell(e.pos-n,t,r);return null==r?null:e.node(0).resolve(n+r)}function rs(e,t,r){var n,o={};for(n in e)o[n]=e[n];return o[t]=r,o}function ns(e,t,r){e=rs(e,"colspan",e.colspan-(r=void 0===r?1:r));return e.colwidth&&(e.colwidth=e.colwidth.slice(),e.colwidth.splice(t,r),e.colwidth.some(function(e){return 0<e})||(e.colwidth=null)),e}var is=function(l){function s(e,t){void 0===t&&(t=e);var r=e.node(-1),n=Ha.get(r),o=e.start(-1),i=n.rectBetween(e.pos-o,t.pos-o),a=e.node(0),i=n.cellsInRect(i).filter(function(e){return e!=t.pos-o});i.unshift(t.pos-o);i=i.map(function(e){var t=r.nodeAt(e),e=e+o+1;return new Xe(a.resolve(e),a.resolve(e+t.content.size))});l.call(this,i[0].$from,i[0].$to,i),this.$anchorCell=e,this.$headCell=t}return l&&(s.__proto__=l),((s.prototype=Object.create(l&&l.prototype)).constructor=s).prototype.map=function(e,t){var r=e.resolve(t.map(this.$anchorCell.pos)),e=e.resolve(t.map(this.$headCell.pos));if(Qa(r)&&Qa(e)&&es(r,e)){t=this.$anchorCell.node(-1)!=r.node(-1);return t&&this.isRowSelection()?s.rowSelection(r,e):t&&this.isColSelection()?s.colSelection(r,e):new s(r,e)}return Qe.between(r,e)},s.prototype.content=function(){for(var e=this.$anchorCell.node(-1),t=Ha.get(e),r=this.$anchorCell.start(-1),n=t.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},i=[],a=n.top;a<n.bottom;a++){for(var s=[],c=a*t.width+n.left,l=n.left;l<n.right;l++,c++){var u,d,p,h,f=t.map[c];o[f]||(o[f]=!0,u=t.findCell(f),h=e.nodeAt(f),d=n.left-u.left,f=u.right-n.right,(0<d||0<f)&&(p=h.attrs,0<d&&(p=ns(p,0,d)),0<f&&(p=ns(p,p.colspan-f,f)),h=u.left<n.left?h.type.createAndFill(p):h.type.create(p,h.content)),(u.top<n.top||u.bottom>n.bottom)&&(p=rs(h.attrs,"rowspan",Math.min(u.bottom,n.bottom)-Math.max(u.top,n.top)),h=u.top<n.top?h.type.createAndFill(p):h.type.create(p,h.content)),s.push(h))}i.push(e.child(a).copy(E.from(s)))}r=this.isColSelection()&&this.isRowSelection()?e:i;return new A(E.from(r),1,1)},s.prototype.replace=function(e,t){void 0===t&&(t=A.empty);for(var r=e.steps.length,n=this.ranges,o=0;o<n.length;o++){var i=n[o],a=i.$from,s=i.$to,i=e.mapping.slice(r);e.replace(i.map(a.pos),i.map(s.pos),o?A.empty:t)}var c=l.findFrom(e.doc.resolve(e.mapping.slice(r).map(this.to)),-1);c&&e.setSelection(c)},s.prototype.replaceWith=function(e,t){this.replace(e,new A(E.from(t),0,0))},s.prototype.forEachCell=function(e){for(var t=this.$anchorCell.node(-1),r=Ha.get(t),n=this.$anchorCell.start(-1),o=r.cellsInRect(r.rectBetween(this.$anchorCell.pos-n,this.$headCell.pos-n)),i=0;i<o.length;i++)e(t.nodeAt(o[i]),n+o[i])},s.prototype.isColSelection=function(){var e=this.$anchorCell.index(-1),t=this.$headCell.index(-1);if(0<Math.min(e,t))return!1;e+=this.$anchorCell.nodeAfter.attrs.rowspan,t+=this.$headCell.nodeAfter.attrs.rowspan;return Math.max(e,t)==this.$headCell.node(-1).childCount},s.colSelection=function(e,t){void 0===t&&(t=e);var r=Ha.get(e.node(-1)),n=e.start(-1),o=r.findCell(e.pos-n),i=r.findCell(t.pos-n),a=e.node(0);return o.top<=i.top?(0<o.top&&(e=a.resolve(n+r.map[o.left])),i.bottom<r.height&&(t=a.resolve(n+r.map[r.width*(r.height-1)+i.right-1]))):(0<i.top&&(t=a.resolve(n+r.map[i.left])),o.bottom<r.height&&(e=a.resolve(n+r.map[r.width*(r.height-1)+o.right-1]))),new s(e,t)},s.prototype.isRowSelection=function(){var e=Ha.get(this.$anchorCell.node(-1)),t=this.$anchorCell.start(-1),r=e.colCount(this.$anchorCell.pos-t),t=e.colCount(this.$headCell.pos-t);if(0<Math.min(r,t))return!1;r+=this.$anchorCell.nodeAfter.attrs.colspan,t+=this.$headCell.nodeAfter.attrs.colspan;return Math.max(r,t)==e.width},s.prototype.eq=function(e){return e instanceof s&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos},s.rowSelection=function(e,t){void 0===t&&(t=e);var r=Ha.get(e.node(-1)),n=e.start(-1),o=r.findCell(e.pos-n),i=r.findCell(t.pos-n),a=e.node(0);return o.left<=i.left?(0<o.left&&(e=a.resolve(n+r.map[o.top*r.width])),i.right<r.width&&(t=a.resolve(n+r.map[r.width*(i.top+1)-1]))):(0<i.left&&(t=a.resolve(n+r.map[i.top*r.width])),o.right<r.width&&(e=a.resolve(n+r.map[r.width*(o.top+1)-1]))),new s(e,t)},s.prototype.toJSON=function(){return{type:"cell",anchor:this.$anchorCell.pos,head:this.$headCell.pos}},s.fromJSON=function(e,t){return new s(e.resolve(t.anchor),e.resolve(t.head))},s.create=function(e,t,r){return void 0===r&&(r=t),new s(e.resolve(t),e.resolve(r))},s.prototype.getBookmark=function(){return new as(this.$anchorCell.pos,this.$headCell.pos)},s}(Je);is.prototype.visible=!1,Je.jsonID("cell",is);var as=function(e,t){this.anchor=e,this.head=t};function ss(e){if(!(e.selection instanceof is))return null;var r=[];return e.selection.forEachCell(function(e,t){r.push(Tn.node(t,t+e.nodeSize,{class:"selectedCell"}))}),$n.create(e.doc,r)}function cs(e,t,r){var n,o,i,a=(t||e).selection,s=(t||e).doc;return a instanceof tt&&(n=a.node.type.spec.tableRole)?"cell"==n||"header_cell"==n?o=is.create(s,a.from):"row"==n?(i=s.resolve(a.from+1),o=is.rowSelection(i,i)):r||(i=Ha.get(a.node),i=(r=a.from+1)+i.map[i.width*i.height-1],o=is.create(s,r+1,i)):a instanceof Qe&&function(e){var t=e.$from,r=e.$to;if(!(t.pos==r.pos||t.pos<t.pos-6)){for(var n=t.pos,o=r.pos,i=t.depth;0<=i&&!(t.after(i+1)<t.end(i));i--,n++);for(var a=r.depth;0<=a&&!(r.before(a+1)>r.start(a));a--,o--);return n==o&&/row|table/.test(t.node(i).type.spec.tableRole)}}(a)?o=Qe.create(s,a.from):a instanceof Qe&&function(e){for(var t,r,n=e.$from,o=e.$to,i=n.depth;0<i;i--){var a=n.node(i);if("cell"===a.type.spec.tableRole||"header_cell"===a.type.spec.tableRole){t=a;break}}for(var s=o.depth;0<s;s--){var c=o.node(s);if("cell"===c.type.spec.tableRole||"header_cell"===c.type.spec.tableRole){r=c;break}}return t!==r&&0===o.parentOffset}(a)&&(o=Qe.create(s,a.$from.start(),a.$from.end())),o&&(t=t||e.tr).setSelection(o),t}function ls(e){if(!e.size)return null;for(var t=e.content,r=e.openStart,n=e.openEnd;1==t.childCount&&(0<r&&0<n||"table"==t.firstChild.type.spec.tableRole);)r--,n--,t=t.firstChild.content;var o=t.firstChild,e=o.type.spec.tableRole,i=o.type.schema,a=[];if("row"==e)for(var s=0;s<t.childCount;s++){var c=t.child(s).content,l=s?0:Math.max(0,r-1),u=s<t.childCount-1?0:Math.max(0,n-1);(l||u)&&(c=us(Za(i).row,new A(c,l,u)).content),a.push(c)}else{if("cell"!=e&&"header_cell"!=e)return null;a.push(r||n?us(Za(i).row,new A(t,r,n)).content:t)}return function(e,t){for(var r=[],n=0;n<t.length;n++)for(var o=t[n],i=o.childCount-1;0<=i;i--)for(var a=o.child(i).attrs,s=a.rowspan,c=a.colspan,l=n;l<n+s;l++)r[l]=(r[l]||0)+c;for(var u=0,d=0;d<r.length;d++)u=Math.max(u,r[d]);for(var p=0;p<r.length;p++)if(p>=t.length&&t.push(E.empty),r[p]<u){for(var h=Za(e).cell.createAndFill(),f=[],m=r[p];m<u;m++)f.push(h);t[p]=t[p].append(E.from(f))}return{height:t.length,width:u,rows:t}}(i,a)}function us(e,t){e=e.createAndFill();return new _e(e).replace(0,e.content.size,t).doc}function ds(e,t,r,n,o,i,a,s){if(0!=a&&a!=t.height){for(var c=!1,l=o;l<i;l++){var u,d,p=a*t.width+l,h=t.map[p];t.map[p-t.width]==h&&(c=!0,u=r.nodeAt(h),p=(d=t.findCell(h)).top,d=d.left,e.setNodeMarkup(e.mapping.slice(s).map(h+n),null,rs(u.attrs,"rowspan",a-p)),e.insert(e.mapping.slice(s).map(t.positionAt(a,d,r)),u.type.createAndFill(rs(u.attrs,"rowspan",p+u.attrs.rowspan-a))),l+=u.attrs.colspan-1)}return c}}function ps(e,t,r,n,o,i,a,s){if(0!=a&&a!=t.width){for(var c=!1,l=o;l<i;l++){var u,d=l*t.width+a,p=t.map[d];t.map[d-1]==p&&(c=!0,u=r.nodeAt(p),d=t.colCount(p),p=e.mapping.slice(s).map(p+n),e.setNodeMarkup(p,null,ns(u.attrs,a-d,u.attrs.colspan-(a-d))),e.insert(p+u.nodeSize,u.type.createAndFill(ns(u.attrs,0,a-d))),l+=u.attrs.rowspan-1)}return c}}function hs(e,t,r,n,o){var i=r?e.doc.nodeAt(r-1):e.doc,a=Ha.get(i),s=n.top,c=n.left,l=c+o.width,u=s+o.height,d=e.tr,p=0;function h(){i=r?d.doc.nodeAt(r-1):d.doc,a=Ha.get(i),p=d.mapping.maps.length}!function(e,t,r,n,o,i,a){var s,c,l=Za(e.doc.type.schema);if(o>t.width)for(var u=0,d=0;u<t.height;u++){var p=r.child(u);d+=p.nodeSize;for(var h=[],f=void 0,f=null==p.lastChild||p.lastChild.type==l.cell?s=s||l.cell.createAndFill():c=c||l.header_cell.createAndFill(),m=t.width;m<o;m++)h.push(f);e.insert(e.mapping.slice(a).map(d-1+n),h)}if(i>t.height){for(var g=[],y=0,_=(t.height-1)*t.width;y<Math.max(t.width,o);y++){var b=!(y>=t.width)&&r.nodeAt(t.map[_+y]).type==l.header_cell;g.push(b?c=c||l.header_cell.createAndFill():s=s||l.cell.createAndFill())}for(var w=l.row.create(null,E.from(g)),k=[],v=t.height;v<i;v++)k.push(w);e.insert(e.mapping.slice(a).map(n+r.nodeSize-2),k)}return s||c}(d,a,i,r,l,u,p)||h(),ds(d,a,i,r,c,l,s,p)&&h(),ds(d,a,i,r,c,l,u,p)&&h(),ps(d,a,i,r,s,u,c,p)&&h(),ps(d,a,i,r,s,u,l,p)&&h();for(var f=s;f<u;f++){var m=a.positionAt(f,c,i),g=a.positionAt(f,l,i);d.replace(d.mapping.slice(p).map(m+r),d.mapping.slice(p).map(g+r),new A(o.rows[f-s],0,0))}h(),d.setSelection(new is(d.doc.resolve(r+a.positionAt(s,c,i)),d.doc.resolve(r+a.positionAt(u-1,l-1,i)))),t(d)}as.prototype.map=function(e){return new as(e.map(this.anchor),e.map(this.head))},as.prototype.resolve=function(e){var t=e.resolve(this.anchor),e=e.resolve(this.head);return"row"==t.parent.type.spec.tableRole&&"row"==e.parent.type.spec.tableRole&&t.index()<t.parent.childCount&&e.index()<e.parent.childCount&&es(t,e)?new is(t,e):Je.near(e,1)};var fs=qi({ArrowLeft:gs("horiz",-1),ArrowRight:gs("horiz",1),ArrowUp:gs("vert",-1),ArrowDown:gs("vert",1),"Shift-ArrowLeft":ys("horiz",-1),"Shift-ArrowRight":ys("horiz",1),"Shift-ArrowUp":ys("vert",-1),"Shift-ArrowDown":ys("vert",1),Backspace:_s,"Mod-Backspace":_s,Delete:_s,"Mod-Delete":_s});function ms(e,t,r){return!r.eq(e.selection)&&(t&&t(e.tr.setSelection(r).scrollIntoView()),!0)}function gs(o,i){return function(e,t,r){var n=e.selection;if(n instanceof is)return ms(e,t,Je.near(n.$headCell,i));if("horiz"!=o&&!n.empty)return!1;r=vs(r,o,i);if(null==r)return!1;if("horiz"==o)return ms(e,t,Je.near(e.doc.resolve(n.head+i),i));n=e.doc.resolve(r),r=ts(n,o,i),n=r?Je.near(r,1):i<0?Je.near(e.doc.resolve(n.before(-1)),-1):Je.near(e.doc.resolve(n.after(-1)),1);return ms(e,t,n)}}function ys(i,a){return function(e,t,r){var n=e.selection;if(!(n instanceof is)){var o=vs(r,i,a);if(null==o)return!1;n=new is(e.doc.resolve(o))}o=ts(n.$headCell,i,a);return!!o&&ms(e,t,new is(n.$anchorCell,o))}}function _s(e,t){var r,n,o=e.selection;return o instanceof is&&(t&&(r=e.tr,n=Za(e.schema).cell.createAndFill().content,o.forEachCell(function(e,t){e.content.eq(n)||r.replace(r.mapping.map(t+1),r.mapping.map(t+e.nodeSize-1),new A(n,0,0))}),r.docChanged&&t(r)),!0)}function bs(e,t){t=Ja(e.state.doc.resolve(t));return!!t&&(e.dispatch(e.state.tr.setSelection(new is(t))),!0)}function ws(e,t,r){if(!Ya(e.state))return!1;var n=ls(r),o=e.state.selection;if(o instanceof is){var n=n||{width:1,height:1,rows:[E.from(us(Za(e.state.schema).cell,r))]},i=o.$anchorCell.node(-1),a=o.$anchorCell.start(-1),i=Ha.get(i).rectBetween(o.$anchorCell.pos-a,o.$headCell.pos-a);return n=function(e,t,r){var n=e.width,o=e.height,i=e.rows;if(n!=t){for(var a=[],s=[],c=0;c<i.length;c++){for(var l=i[c],u=[],d=a[c]||0,p=0;d<t;p++){var h=l.child(p%l.childCount);d+h.attrs.colspan>t&&(h=h.type.create(ns(h.attrs,h.attrs.colspan,d+h.attrs.colspan-t),h.content)),u.push(h),d+=h.attrs.colspan;for(var f=1;f<h.attrs.rowspan;f++)a[c+f]=(a[c+f]||0)+h.attrs.colspan}s.push(E.from(u))}i=s,n=t}if(o!=r){for(var m=[],g=0,y=0;g<r;g++,y++){for(var _=[],b=i[y%o],w=0;w<b.childCount;w++){var k=b.child(w);g+k.attrs.rowspan>r&&(k=k.type.create(rs(k.attrs,"rowspan",Math.max(1,r-k.attrs.rowspan)),k.content)),_.push(k)}m.push(E.from(_))}i=m,o=r}return{width:n,height:o,rows:i}}(n,i.right-i.left,i.bottom-i.top),hs(e.state,e.dispatch,a,i,n),!0}if(n){a=Xa(e.state),i=a.start(-1);return hs(e.state,e.dispatch,i,Ha.get(a.node(-1)).findCell(a.pos-i),n),!0}return!1}function ks(n,o){if(!o.ctrlKey&&!o.metaKey){var e,i=xs(n,o.target);if(o.shiftKey&&n.state.selection instanceof is)a(n.state.selection.$anchorCell,o),o.preventDefault();else if(o.shiftKey&&i&&null!=(e=Ja(n.state.selection.$anchor))&&zs(n,o).pos!=e.pos)a(e,o),o.preventDefault();else if(!i)return;n.root.addEventListener("mouseup",s),n.root.addEventListener("dragstart",s),n.root.addEventListener("mousemove",t)}function a(e,t){var r=zs(n,t),t=null==Ka.getState(n.state);if(!r||!es(e,r)){if(!t)return;r=e}r=new is(e,r);!t&&n.state.selection.eq(r)||(r=n.state.tr.setSelection(r),t&&r.setMeta(Ka,e.pos),n.dispatch(r))}function s(){n.root.removeEventListener("mouseup",s),n.root.removeEventListener("dragstart",s),n.root.removeEventListener("mousemove",t),null!=Ka.getState(n.state)&&n.dispatch(n.state.tr.setMeta(Ka,-1))}function t(e){var t,r=Ka.getState(n.state);if(null!=r)t=n.state.doc.resolve(r);else if(xs(n,e.target)!=i&&!(t=zs(n,o)))return s();t&&a(t,e)}}function vs(e,t,r){if(!(e.state.selection instanceof Qe))return null;for(var n=e.state.selection.$head,o=n.depth-1;0<=o;o--){var i=n.node(o);if((r<0?n.index(o):n.indexAfter(o))!=(r<0?0:i.childCount))return null;if("cell"==i.type.spec.tableRole||"header_cell"==i.type.spec.tableRole){i=n.before(o);return e.endOfTextblock("vert"==t?0<r?"down":"up":0<r?"right":"left")?i:null}}return null}function xs(e,t){for(;t&&t!=e.dom;t=t.parentNode)if("TD"==t.nodeName||"TH"==t.nodeName)return t}function zs(e,t){t=e.posAtCoords({left:t.clientX,top:t.clientY});return t?Ja(e.state.doc.resolve(t.pos)):null}var Cs=new _t("fix-tables");function Ss(r,e){function t(e,t){"table"==e.type.spec.tableRole&&(n=function(e,t,r,n){var o=Ha.get(t);if(!o.problems)return n;n=n||e.tr;for(var i=[],a=0;a<o.height;a++)i.push(0);for(var s,c,l=0;l<o.problems.length;l++){var u,d=o.problems[l];if("collision"==d.type){for(var p=t.nodeAt(d.pos),h=0;h<p.attrs.rowspan;h++)i[d.row+h]+=d.n;n.setNodeMarkup(n.mapping.map(r+1+d.pos),null,ns(p.attrs,p.attrs.colspan-d.n,d.n))}else"missing"==d.type?i[d.row]+=d.n:"overlong_rowspan"==d.type?(u=t.nodeAt(d.pos),n.setNodeMarkup(n.mapping.map(r+1+d.pos),null,rs(u.attrs,"rowspan",u.attrs.rowspan-d.n))):"colwidth mismatch"==d.type&&(u=t.nodeAt(d.pos),n.setNodeMarkup(n.mapping.map(r+1+d.pos),null,rs(u.attrs,"colwidth",d.colwidth)))}for(var f=0;f<i.length;f++)i[f]&&(null==s&&(s=f),c=f);for(var m=0,g=r+1;m<o.height;m++){var y=t.child(m),_=g+y.nodeSize,b=i[m];if(0<b){var w="cell";y.firstChild&&(w=y.firstChild.type.spec.tableRole);for(var k=[],v=0;v<b;v++)k.push(Za(e.schema)[w].createAndFill());y=0!=m&&s!=m-1||c!=m?_-1:g+1;n.insert(n.mapping.map(y),k)}g=_}return n.setMeta(Cs,{fixTables:!0})}(r,e,t,n))}var n;return e?e.doc!=r.doc&&function e(t,r,n,o){var i=t.childCount,a=r.childCount;e:for(var s=0,c=0;s<a;s++){for(var l=r.child(s),u=c,d=Math.min(i,s+3);u<d;u++)if(t.child(u)==l){c=u+1,n+=l.nodeSize;continue e}o(l,n),c<i&&t.child(c).sameMarkup(l)?e(t.child(c),l,n+1,o):l.nodesBetween(0,l.content.size,o,n+1),n+=l.nodeSize}}(e.doc,r.doc,0,t):r.doc.descendants(t),n}function Es(e){var t=e.selection,r=Xa(e),n=r.node(-1),o=r.start(-1),e=Ha.get(n),r=t instanceof is?e.rectBetween(t.$anchorCell.pos-o,t.$headCell.pos-o):e.findCell(r.pos-o);return r.tableStart=o,r.map=e,r.table=n,r}function As(e,t,r){var n=t.map,o=t.tableStart,i=t.table,a=0<r?-1:0;!function(e,t,r){for(var n=Za(t.type.schema).header_cell,o=0;o<e.height;o++)if(t.nodeAt(e.map[r+o*e.width]).type!=n)return;return 1}(n,i,r+a)||(a=0==r||r==n.width?null:0);for(var s=0;s<n.height;s++){var c,l,u=s*n.width+r;0<r&&r<n.width&&n.map[u-1]==n.map[u]?(c=n.map[u],l=i.nodeAt(c),e.setNodeMarkup(e.mapping.map(o+c),null,function(e,t,r){var n=rs(e,"colspan",e.colspan+(r=void 0===r?1:r));if(n.colwidth){n.colwidth=n.colwidth.slice();for(var o=0;o<r;o++)n.colwidth.splice(t,0,0)}return n}(l.attrs,r-n.colCount(c))),s+=l.attrs.rowspan-1):(l=null==a?Za(i.type.schema).cell:i.nodeAt(n.map[u+a]).type,u=n.positionAt(s,r,i),e.insert(e.mapping.map(o+u),l.createAndFill()))}return e}function qs(e,t){return!!Ya(e)&&(t&&(r=Es(e),t(As(e.tr,r,r.left))),!0);var r}function Ms(e,t){return!!Ya(e)&&(t&&(r=Es(e),t(As(e.tr,r,r.right))),!0);var r}function Ds(e,t){if(!Ya(e))return!1;if(t){var r=Es(e),n=e.tr;if(0==r.left&&r.right==r.map.width)return!1;for(var o=r.right-1;!function(e,t,r){for(var n=t.map,o=t.table,i=t.tableStart,a=e.mapping.maps.length,s=0;s<n.height;){var c=s*n.width+r,l=n.map[c],u=o.nodeAt(l);0<r&&n.map[c-1]==l||r<n.width-1&&n.map[c+1]==l?e.setNodeMarkup(e.mapping.slice(a).map(i+l),null,ns(u.attrs,r-n.colCount(l))):(l=e.mapping.slice(a).map(i+l),e.delete(l,l+u.nodeSize)),s+=u.attrs.rowspan}}(n,r,o),o!=r.left;o--)r.table=r.tableStart?n.doc.nodeAt(r.tableStart-1):n.doc,r.map=Ha.get(r.table);t(n)}return!0}function Ts(e,t,r){for(var n=t.map,o=t.tableStart,i=t.table,a=o,s=0;s<r;s++)a+=i.child(s).nodeSize;var c=[],l=0<r?-1:0;!function(e,t,r){for(var n=Za(t.type.schema).header_cell,o=0;o<e.width;o++)if(t.nodeAt(e.map[o+r*e.width]).type!=n)return;return 1}(n,i,r+l)||(l=0==r||r==n.height?null:0);for(var u,d,p=0,h=n.width*r;p<n.width;p++,h++)0<r&&r<n.height&&n.map[h]==n.map[h-n.width]?(u=n.map[h],d=i.nodeAt(u).attrs,e.setNodeMarkup(o+u,null,rs(d,"rowspan",d.rowspan+1)),p+=d.colspan-1):(d=null==l?Za(i.type.schema).cell:i.nodeAt(n.map[h+l*n.width]).type,c.push(d.createAndFill()));return e.insert(a,Za(i.type.schema).row.create(null,c)),e}function Ns(e,t){return!!Ya(e)&&(t&&(r=Es(e),t(Ts(e.tr,r,r.top))),!0);var r}function Os(e,t){return!!Ya(e)&&(t&&(r=Es(e),t(Ts(e.tr,r,r.bottom))),!0);var r}function Is(e,t){if(!Ya(e))return!1;if(t){var r=Es(e),n=e.tr;if(0==r.top&&r.bottom==r.map.height)return!1;for(var o=r.bottom-1;!function(e,t,r){for(var n=t.map,o=t.table,i=t.tableStart,a=0,s=0;s<r;s++)a+=o.child(s).nodeSize;var t=a+o.child(r).nodeSize,c=e.mapping.maps.length;e.delete(a+i,t+i);for(var l=0,u=r*n.width;l<n.width;l++,u++){var d,p,h=n.map[u];0<r&&h==n.map[u-n.width]?(p=o.nodeAt(h).attrs,e.setNodeMarkup(e.mapping.slice(c).map(h+i),null,rs(p,"rowspan",p.rowspan-1)),l+=p.colspan-1):r<n.width&&h==n.map[u+n.width]&&(p=(d=o.nodeAt(h)).type.create(rs(d.attrs,"rowspan",d.attrs.rowspan-1),d.content),h=n.positionAt(r+1,l,o),e.insert(e.mapping.slice(c).map(i+h),p),l+=d.attrs.colspan-1)}}(n,r,o),o!=r.top;o--)r.table=r.tableStart?n.doc.nodeAt(r.tableStart-1):n.doc,r.map=Ha.get(r.table);t(n)}return!0}function $s(e,t,r){for(var n=t.map.cellsInRect({left:0,top:0,right:"row"==e?t.map.width:1,bottom:"column"==e?t.map.height:1}),o=0;o<n.length;o++){var i=t.table.nodeAt(n[o]);if(i&&i.type!==r.header_cell)return!1}return!0}function Ls(c,e){return(e=e||{useDeprecatedLogic:!1}).useDeprecatedLogic?(l=c,function(e,t){if(!Ya(e))return!1;if(t){for(var r=Za(e.schema),n=Es(e),o=e.tr,i=n.map.cellsInRect("column"==l?new Va(n.left,0,n.right,n.map.height):"row"==l?new Va(0,n.top,n.map.width,n.bottom):n),a=i.map(function(e){return n.table.nodeAt(e)}),s=0;s<i.length;s++)a[s].type==r.header_cell&&o.setNodeMarkup(n.tableStart+i[s],r.cell,a[s].attrs);if(0==o.steps.length)for(var c=0;c<i.length;c++)o.setNodeMarkup(n.tableStart+i[c],r.header_cell,a[c].attrs);t(o)}return!0}):function(e,t){return!!Ya(e)&&(t&&(r=Za(e.schema),n=Es(e),o=e.tr,i=$s("row",n,r),a=$s("column",n,r),e=("column"===c?i:"row"===c&&a)?1:0,e="column"==c?new Va(0,e,1,n.map.height):"row"==c?new Va(e,0,n.map.width,1):n,s="column"==c?a?r.cell:r.header_cell:"row"!=c||i?r.cell:r.header_cell,n.map.cellsInRect(e).forEach(function(e){var t=e+n.tableStart,e=o.doc.nodeAt(t);e&&o.setNodeMarkup(t,s,e.attrs)}),t(o)),!0);var r,n,o,i,a,s};var l}var Rs=Ls("row",{useDeprecatedLogic:!0});function js(n){return function(e,t){if(!Ya(e))return!1;var r=function(e,t){if(t<0){t=e.nodeBefore;if(t)return e.pos-t.nodeSize;for(var r=e.index(-1)-1,n=e.before();0<=r;r--){var o=e.node(-1).child(r);if(o.childCount)return n-1-o.lastChild.nodeSize;n-=o.nodeSize}}else{if(e.index()<e.parent.childCount-1)return e.pos+e.nodeAfter.nodeSize;for(var i=e.node(-1),a=e.indexAfter(-1),s=e.after();a<i.childCount;a++){var c=i.child(a);if(c.childCount)return s+1;s+=c.nodeSize}}}(Xa(e),n);return null!=r?(t&&(r=e.doc.resolve(r),t(e.tr.setSelection(Qe.between(r,(r=r).node(0).resolve(r.pos+r.nodeAfter.nodeSize))).scrollIntoView())),!0):void 0}}function Ps(e,t){for(var r=e.selection.$anchor,n=r.depth;0<n;n--)if("table"==r.node(n).type.spec.tableRole)return t&&t(e.tr.delete(r.before(n),r.after(n)).scrollIntoView()),!0;return!1}Ls("column",{useDeprecatedLogic:!0}),Ls("cell",{useDeprecatedLogic:!0}),new _t("tableColumnResizing");function Bs(e){this.options=e,this.render()}var Fs="ProseMirror-prompt";function Us(e){return new Bs(e)}Bs.prototype.render=function(){$(".ProseMirror-prompt").remove(),this.$wrapper=$("<div>").addClass(Fs).appendTo($("body")),this.buildForm(),this.initEvents(),this.initWrapper()},Bs.prototype.initWrapper=function(){var e=this.$wrapper[0].getBoundingClientRect();this.$wrapper.css({top:(window.innerHeight-e.height)/2+"px",left:(window.innerWidth-e.width)/2+"px"}),this.$wrapper.find('select:visible, input[type="text"]:visible, textarea:visible, [contenteditable="true"]:visible').first().focus()},Bs.prototype.buildForm=function(){var t=this;this.$form=$("<form>").appendTo(this.$wrapper),this.options.title&&this.$form.append("<h5>"+this.options.title+"</h5>"),this.buildFormFields(),this.domFields.forEach(function(e){t.$form.append(e)}),this.$form.on("submit",function(e){e.preventDefault(),t.submit()}),this.buildButtons()},Bs.prototype.buildFormFields=function(){for(var e in this.domFields=[],this.options.fields){var t=this.options.fields[e],e=$("<div>").append("<label>"+(t.options.label||e)+":</label>").append(this.options.fields[e].render());this.domFields.push(e[0])}},Bs.prototype.buildButtons=function(){var e=this;this.$buttons=$("<div>").addClass(Fs+"-buttons"),$('<button type="submit" class="btn btn-primary">').addClass(Fs+"-submit").text("OK").appendTo(this.$buttons),this.$buttons.append(document.createTextNode(" ")),$('<button type="button" class="btn btn-default">').addClass(Fs+"-cancel").text("Cancel").appendTo(this.$buttons).on("click",function(){e.close()}),this.$form.append(this.$buttons)},Bs.prototype.submit=function(){var e=this.getValues();e&&(this.close(),this.options.callback(e))},Bs.prototype.getValues=function(){var e,t=Object.create(null),r=0;for(e in this.options.fields){var n=this.options.fields[e],o=this.domFields[r++],i=n.read(o),a=n.validate(i);if(a)return this.reportInvalid(o,a),null;t[e]=n.clean(i)}return t},Bs.prototype.reportInvalid=function(e,t){var r=e.parentNode,n=r.appendChild(document.createElement("div"));n.style.left=e.offsetLeft+e.offsetWidth+2+"px",n.style.top=e.offsetTop-5+"px",n.className="ProseMirror-invalid",n.textContent=t,setTimeout(function(){return r.removeChild(n)},1500)},Bs.prototype.initEvents=function(){var t=this;this.$form.on("keydown",function(e){27==e.keyCode?(e.preventDefault(),t.close()):13!=e.keyCode||e.ctrlKey||e.metaKey||e.shiftKey?9==e.keyCode&&window.setTimeout(function(){$.contains(t.$wrapper[0],document.activeElement)||t.close()},500):(e.preventDefault(),t.submit())}).on("mousedown",function(e){$.contains(t.$wrapper[0],e.target)||t.close()})},Bs.prototype.close=function(){this.$wrapper.remove()};var Vs=function(e){this.options=e};Vs.prototype.read=function(e){return e.value||$(e).find("input, select")[0].value},Vs.prototype.validateType=function(e){},Vs.prototype.validate=function(e){return!e&&this.options.required?"Required field":this.validateType(e)||this.options.validate&&this.options.validate(e)},Vs.prototype.clean=function(e){return this.options.clean?this.options.clean(e):e};var Hs=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.render=function(){var e=document.createElement("input");return e.type="text",e.className="form-control",e.value=this.options.value||"",e.autocomplete="off",e},t}(Vs),Ws=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.render=function(){var r=this,n=document.createElement("select");return n.className="form-control",this.options.options.forEach(function(e){var t=n.appendChild(document.createElement("option"));t.value=e.value,t.selected=e.value==r.options.value,t.label=e.label}),n},t}(Vs),Gs=Object.freeze({__proto__:null,openPrompt:Us,Field:Vs,TextField:Hs,SelectField:Ws});function Zs(e,t){return e(t={exports:{}},t.exports),t.exports}function Ks(e){return e&&e.default||e}var Js=Ks(Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:"",default:{Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}})),Ys=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Xs={};function Qs(e,t,r){var n,o,i,a,s,c="";for("string"!=typeof t&&(r=t,t=Qs.defaultChars),void 0===r&&(r=!0),s=function(e){var t,r,n=Xs[e];if(n)return n;for(n=Xs[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t<e.length;t++)n[e.charCodeAt(t)]=e[t];return n}(t),n=0,o=e.length;n<o;n++)i=e.charCodeAt(n),r&&37===i&&n+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(n+1,n+3))?(c+=e.slice(n,n+3),n+=2):i<128?c+=s[i]:55296<=i&&i<=57343?55296<=i&&i<=56319&&n+1<o&&56320<=(a=e.charCodeAt(n+1))&&a<=57343?(c+=encodeURIComponent(e[n]+e[n+1]),n++):c+="%EF%BF%BD":c+=encodeURIComponent(e[n]);return c}Qs.defaultChars=";/?:@&=+$,-_.!~*'()#",Qs.componentChars="-_.!~*'()";var ec=Qs,tc={};function rc(e,t){var l=function(e){var t,r,n=tc[e];if(n)return n;for(n=tc[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t<e.length;t++)n[r=e.charCodeAt(t)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return n}(t="string"!=typeof t?rc.defaultChars:t);return e.replace(/(%[a-f0-9]{2})+/gi,function(e){for(var t,r,n,o,i,a="",s=0,c=e.length;s<c;s+=3)(t=parseInt(e.slice(s+1,s+3),16))<128?a+=l[t]:192==(224&t)&&s+3<c&&128==(192&(r=parseInt(e.slice(s+4,s+6),16)))?(a+=(i=t<<6&1984|63&r)<128?"��":String.fromCharCode(i),s+=3):224==(240&t)&&s+6<c&&(r=parseInt(e.slice(s+4,s+6),16),n=parseInt(e.slice(s+7,s+9),16),128==(192&r)&&128==(192&n))?(a+=(i=t<<12&61440|r<<6&4032|63&n)<2048||55296<=i&&i<=57343?"���":String.fromCharCode(i),s+=6):240==(248&t)&&s+9<c&&(r=parseInt(e.slice(s+4,s+6),16),n=parseInt(e.slice(s+7,s+9),16),o=parseInt(e.slice(s+10,s+12),16),128==(192&r)&&128==(192&n)&&128==(192&o))?((i=t<<18&1835008|r<<12&258048|n<<6&4032|63&o)<65536||1114111<i?a+="����":(i-=65536,a+=String.fromCharCode(55296+(i>>10),56320+(1023&i))),s+=9):a+="�";return a})}rc.defaultChars=";/?:@&=+$,#",rc.componentChars="";var nc=rc;function oc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var ic=/^([a-z0-9.+-]+:)/i,ac=/:[0-9]*$/,sc=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,cc=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),lc=["'"].concat(cc),uc=["%","/","?",";","#"].concat(lc),dc=["/","?","#"],pc=/^[+a-z0-9A-Z_-]{0,63}$/,hc=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,fc={javascript:!0,"javascript:":!0},mc={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};oc.prototype.parse=function(e,t){var r,n,o;if(c=(c=e).trim(),!t&&1===e.split("#").length){var i=sc.exec(c);if(i)return this.pathname=i[1],i[2]&&(this.search=i[2]),this}i=ic.exec(c);if(i&&(r=(i=i[0]).toLowerCase(),this.protocol=i,c=c.substr(i.length)),(t||i||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(o="//"===c.substr(0,2))||i&&fc[i]||(c=c.substr(2),this.slashes=!0)),!fc[i]&&(o||i&&!mc[i])){var a=-1;for(u=0;u<dc.length;u++)-1!==(n=c.indexOf(dc[u]))&&(-1===a||n<a)&&(a=n);for(-1!==(i=-1===a?c.lastIndexOf("@"):c.lastIndexOf("@",a))&&(s=c.slice(0,i),c=c.slice(i+1),this.auth=s),a=-1,u=0;u<uc.length;u++)-1!==(n=c.indexOf(uc[u]))&&(-1===a||n<a)&&(a=n);":"===c[(a=-1===a?c.length:a)-1]&&a--;var s=c.slice(0,a),c=c.slice(a);this.parseHost(s),this.hostname=this.hostname||"";s="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!s)for(var l=this.hostname.split(/\./),u=0,d=l.length;u<d;u++){var p=l[u];if(p&&!p.match(pc)){for(var h="",f=0,m=p.length;f<m;f++)127<p.charCodeAt(f)?h+="x":h+=p[f];if(!h.match(pc)){var g=l.slice(0,u),y=l.slice(u+1),_=p.match(hc);_&&(g.push(_[1]),y.unshift(_[2])),y.length&&(c=y.join(".")+c),this.hostname=g.join(".");break}}}255<this.hostname.length&&(this.hostname=""),s&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}s=c.indexOf("#");-1!==s&&(this.hash=c.substr(s),c=c.slice(0,s));s=c.indexOf("?");return-1!==s&&(this.search=c.substr(s),c=c.slice(0,s)),c&&(this.pathname=c),mc[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this},oc.prototype.parseHost=function(e){var t=ac.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var gc={encode:ec,decode:nc,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof oc)return e;var r=new oc;return r.parse(e,t),r}},yc=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,_c=/[\0-\x1F\x7F-\x9F]/,bc=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,wc={Any:yc,Cc:_c,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:Ys,Z:bc},kc=Zs(function(e,t){var r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){return!(55296<=e&&e<=57343)&&(!(64976<=e&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(0<=e&&e<=8)&&(11!==e&&(!(14<=e&&e<=31)&&(!(127<=e&&e<=159)&&!(1114111<e)))))))}function a(e){return 65535<e?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):String.fromCharCode(e)}var n=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(n.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var l=/[&<>"]/,u=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function p(e){return d[e]}var h=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=gc,t.lib.ucmicro=wc,t.assign=function(r){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(e){r[e]=t[e]})}}),r},t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(n,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,function(e,t,r){return t||(e=e,o(Js,r=r)?Js[r]:35===r.charCodeAt(0)&&c.test(r)&&i(n="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10))?a(n):e);var n})},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return l.test(e)?e.replace(u,p):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(8192<=e&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return Ys.test(e)},t.escapeRE=function(e){return e.replace(h,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),(e="Ṿ"==="ẞ".toLowerCase()?e.replace(/ẞ/g,"ß"):e).toLowerCase().toUpperCase()}});kc.lib,kc.assign,kc.isString,kc.has,kc.unescapeMd,kc.unescapeAll,kc.isValidEntityCode,kc.fromCodePoint,kc.escapeHtml,kc.arrayReplaceAt,kc.isSpace,kc.isWhiteSpace,kc.isMdAsciiPunct,kc.isPunctChar,kc.escapeRE,kc.normalizeReference;var vc=kc.unescapeAll,xc=kc.unescapeAll,zc={parseLinkLabel:function(e,t,r){var n,o,i,a,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)n++;else if(r)return e.pos=l,-1}return o&&(s=e.pos),e.pos=l,s},parseLinkDestination:function(e,t,r){var n,o,i=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(n=e.charCodeAt(t)))return a;if(62===n)return a.pos=t+1,a.str=vc(e.slice(i+1,t)),a.ok=!0,a;92===n&&t+1<r?t+=2:t++}return a}for(o=0;t<r&&32!==(n=e.charCodeAt(t))&&!(n<32||127===n);)if(92===n&&t+1<r)t+=2;else{if(40===n&&o++,41===n){if(0===o)break;o--}t++}return i===t||0!==o||(a.str=vc(e.slice(i,t)),a.lines=0,a.pos=t,a.ok=!0),a},parseLinkTitle:function(e,t,r){var n,o,i=0,a=t,s={ok:!1,pos:0,lines:0,str:""};if(r<=t)return s;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return s;for(t++,40===o&&(o=41);t<r;){if((n=e.charCodeAt(t))===o)return s.pos=t+1,s.lines=i,s.str=xc(e.slice(a+1,t)),s.ok=!0,s;10===n?i++:92===n&&t+1<r&&(t++,10===e.charCodeAt(t)&&i++),t++}return s}},Cc=kc.assign,Sc=kc.unescapeAll,Ec=kc.escapeHtml,Ac={};function qc(){this.rules=Cc({},Ac)}Ac.code_inline=function(e,t,r,n,o){var i=e[t];return"<code"+o.renderAttrs(i)+">"+Ec(e[t].content)+"</code>"},Ac.code_block=function(e,t,r,n,o){var i=e[t];return"<pre"+o.renderAttrs(i)+"><code>"+Ec(e[t].content)+"</code></pre>\n"},Ac.fence=function(e,t,r,n,o){var i=e[t],a=i.info?Sc(i.info).trim():"",s="";return a&&(s=a.split(/\s+/g)[0]),0===(e=r.highlight&&r.highlight(i.content,s)||Ec(i.content)).indexOf("<pre")?e+"\n":a?(t=i.attrIndex("class"),a=i.attrs?i.attrs.slice():[],t<0?a.push(["class",r.langPrefix+s]):a[t][1]+=" "+r.langPrefix+s,"<pre><code"+o.renderAttrs({attrs:a})+">"+e+"</code></pre>\n"):"<pre><code"+o.renderAttrs(i)+">"+e+"</code></pre>\n"},Ac.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},Ac.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},Ac.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},Ac.text=function(e,t){return Ec(e[t].content)},Ac.html_block=function(e,t){return e[t].content},Ac.html_inline=function(e,t){return e[t].content},qc.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+Ec(e.attrs[t][0])+'="'+Ec(e.attrs[t][1])+'"';return n},qc.prototype.renderToken=function(e,t,r){var n="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(n+="\n"),n+=(-1===i.nesting?"</":"<")+i.tag,n+=this.renderAttrs(i),0===i.nesting&&r.xhtmlOut&&(n+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(t=e[t+1]).type||t.hidden||-1===t.nesting&&t.tag===i.tag)&&(o=!1)),n+=o?">\n":">")},qc.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)void 0!==i[n=e[a].type]?o+=i[n](e,a,t,r,this):o+=this.renderToken(e,a,t);return o},qc.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,i=e.length;o<i;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type&&(n+=this.renderInlineAsText(e[o].children,t,r));return n},qc.prototype.render=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)"inline"===(n=e[a].type)?o+=this.renderInline(e[a].children,t,r):void 0!==i[n]?o+=i[e[a].type](e,a,t,r,this):o+=this.renderToken(e,a,t,r);return o};var Mc=qc;function Dc(){this.__rules__=[],this.__cache__=null}Dc.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},Dc.prototype.__compile__=function(){var r=this,t=[""];r.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),r.__cache__={},t.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(e){e.enabled&&(t&&e.alt.indexOf(t)<0||r.__cache__[t].push(e.fn))})})},Dc.prototype.at=function(e,t,r){var n=this.__find__(e),r=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null},Dc.prototype.before=function(e,t,r,n){var o=this.__find__(e),n=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},Dc.prototype.after=function(e,t,r,n){var o=this.__find__(e),n=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},Dc.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},Dc.prototype.enable=function(e,r){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var t=this.__find__(e);if(t<0){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[t].enabled=!0,n.push(e)},this),this.__cache__=null,n},Dc.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},Dc.prototype.disable=function(e,r){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var t=this.__find__(e);if(t<0){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[t].enabled=!1,n.push(e)},this),this.__cache__=null,n},Dc.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};var Tc=Dc,Nc=/\r\n?|\n/g,Oc=/\0/g,Ic=kc.arrayReplaceAt;var $c=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Lc=/\((c|tm|r|p)\)/i,Rc=/\((c|tm|r|p)\)/gi,jc={c:"©",r:"®",p:"§",tm:"™"};function Pc(e,t){return jc[t.toLowerCase()]}var Bc=kc.isWhiteSpace,Fc=kc.isPunctChar,Uc=kc.isMdAsciiPunct,Vc=/['"]/,Hc=/['"]/g,Wc="’";function Gc(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Zc(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Zc.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},Zc.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},Zc.prototype.attrSet=function(e,t){var r=this.attrIndex(e),t=[e,t];r<0?this.attrPush(t):this.attrs[r]=t},Zc.prototype.attrGet=function(e){var t=this.attrIndex(e),e=null;return e=0<=t?this.attrs[t][1]:e},Zc.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Kc=Zc;function Jc(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Jc.prototype.Token=Kc;var Yc=Jc,Xc=[["normalize",function(e){var t=e.src.replace(Nc,"\n");t=t.replace(Oc,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){for(var t,r=e.tokens,n=0,o=r.length;n<o;n++)"inline"===(t=r[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}],["linkify",function(e){var t,r,n,o,i,a,s,c,l,u,d,p,h,f,m,g,y=e.tokens;if(e.md.options.linkify)for(r=0,n=y.length;r<n;r++)if("inline"===y[r].type&&e.md.linkify.pretest(y[r].content))for(p=0,t=(o=y[r].children).length-1;0<=t;t--)if("link_close"!==(a=o[t]).type){if("html_inline"===a.type&&(/^<a[>\s]/i.test(a.content)&&0<p&&p--,/^<\/a\s*>/i.test(a.content)&&p++),!(0<p)&&"text"===a.type&&e.md.linkify.test(a.content)){for(l=a.content,g=e.md.linkify.match(l),s=[],d=a.level,c=u=0;c<g.length;c++)h=g[c].url,f=e.md.normalizeLink(h),e.md.validateLink(f)&&(m=g[c].text,m=g[c].schema?"mailto:"!==g[c].schema||/^mailto:/i.test(m)?e.md.normalizeLinkText(m):e.md.normalizeLinkText("mailto:"+m).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+m).replace(/^http:\/\//,""),u<(h=g[c].index)&&((i=new e.Token("text","",0)).content=l.slice(u,h),i.level=d,s.push(i)),(i=new e.Token("link_open","a",1)).attrs=[["href",f]],i.level=d++,i.markup="linkify",i.info="auto",s.push(i),(i=new e.Token("text","",0)).content=m,i.level=d,s.push(i),(i=new e.Token("link_close","a",-1)).level=--d,i.markup="linkify",i.info="auto",s.push(i),u=g[c].lastIndex);u<l.length&&((i=new e.Token("text","",0)).content=l.slice(u),i.level=d,s.push(i)),y[r].children=o=Ic(o,t,s)}}else for(t--;o[t].level!==a.level&&"link_open"!==o[t].type;)t--}],["replacements",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;0<=t;t--)"inline"===e.tokens[t].type&&(Lc.test(e.tokens[t].content)&&function(e){for(var t,r=0,n=e.length-1;0<=n;n--)"text"!==(t=e[n]).type||r||(t.content=t.content.replace(Rc,Pc)),"link_open"===t.type&&"auto"===t.info&&r--,"link_close"===t.type&&"auto"===t.info&&r++}(e.tokens[t].children),$c.test(e.tokens[t].content)&&function(e){for(var t,r=0,n=e.length-1;0<=n;n--)"text"!==(t=e[n]).type||r||$c.test(t.content)&&(t.content=t.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===t.type&&"auto"===t.info&&r--,"link_close"===t.type&&"auto"===t.info&&r++}(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;0<=t;t--)"inline"===e.tokens[t].type&&Vc.test(e.tokens[t].content)&&function(e,t){for(var r,n,o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b,w,k=[],v=0;v<e.length;v++){for(r=e[v],s=e[v].level,y=k.length-1;0<=y&&!(k[y].level<=s);y--);if(k.length=y+1,"text"===r.type){i=0,a=(n=r.content).length;e:for(;i<a&&(Hc.lastIndex=i,o=Hc.exec(n));){if(m=g=!0,i=o.index+1,_="'"===o[0],l=32,0<=o.index-1)l=n.charCodeAt(o.index-1);else for(y=v-1;0<=y&&("softbreak"!==e[y].type&&"hardbreak"!==e[y].type);y--)if("text"===e[y].type){l=e[y].content.charCodeAt(e[y].content.length-1);break}if(u=32,i<a)u=n.charCodeAt(i);else for(y=v+1;y<e.length&&("softbreak"!==e[y].type&&"hardbreak"!==e[y].type);y++)if("text"===e[y].type){u=e[y].content.charCodeAt(0);break}if(d=Uc(l)||Fc(String.fromCharCode(l)),p=Uc(u)||Fc(String.fromCharCode(u)),h=Bc(l),(f=Bc(u))?m=!1:p&&(h||d||(m=!1)),h?g=!1:d&&(f||p||(g=!1)),34===u&&'"'===o[0]&&48<=l&&l<=57&&(g=m=!1),m&&g&&(m=!1,g=p),m||g){if(g)for(y=k.length-1;0<=y&&(c=k[y],!(k[y].level<s));y--)if(c.single===_&&k[y].level===s){c=k[y],w=_?(b=t.md.options.quotes[2],t.md.options.quotes[3]):(b=t.md.options.quotes[0],t.md.options.quotes[1]),r.content=Gc(r.content,o.index,w),e[c.token].content=Gc(e[c.token].content,c.pos,b),i+=w.length-1,c.token===v&&(i+=b.length-1),a=(n=r.content).length,k.length=y;continue e}m?k.push({token:v,pos:o.index,single:_,level:s}):g&&_&&(r.content=Gc(r.content,o.index,Wc))}else _&&(r.content=Gc(r.content,o.index,Wc))}}}}(e.tokens[t].children,e)}]];function Qc(){this.ruler=new Tc;for(var e=0;e<Xc.length;e++)this.ruler.push(Xc[e][0],Xc[e][1])}Qc.prototype.process=function(e){for(var t=this.ruler.getRules(""),r=0,n=t.length;r<n;r++)t[r](e)},Qc.prototype.State=Yc;var el=Qc,tl=kc.isSpace;function rl(e,t){var r=e.bMarks[t]+e.blkIndent,t=e.eMarks[t];return e.src.substr(r,t-r)}function nl(e){for(var t=[],r=0,n=e.length,o=0,i=0,a=!1,s=0,c=e.charCodeAt(r);r<n;)96===c?a?(a=!1,s=r):o%2==0&&(a=!0,s=r):124!==c||o%2!=0||a||(t.push(e.substring(i,r)),i=r+1),92===c?o++:o=0,++r===n&&a&&(a=!1,r=s+1),c=e.charCodeAt(r);return t.push(e.substring(i)),t}var ol=kc.isSpace,il=kc.isSpace,al=kc.isSpace;function sl(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],t=e.src.charCodeAt(r++);return 42!==t&&45!==t&&43!==t||r<n&&(e=e.src.charCodeAt(r),!al(e))?-1:r}function cl(e,t){var r,n=e.bMarks[t]+e.tShift[t],o=n,i=e.eMarks[t];if(i<=o+1)return-1;if((r=e.src.charCodeAt(o++))<48||57<r)return-1;for(;;){if(i<=o)return-1;if(!(48<=(r=e.src.charCodeAt(o++))&&r<=57)){if(41===r||46===r)break;return-1}if(10<=o-n)return-1}return o<i&&(r=e.src.charCodeAt(o),!al(r))?-1:o}var ll=kc.normalizeReference,ul=kc.isSpace,dl=kc.isSpace,pl="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",hl="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",fl={HTML_TAG_RE:new RegExp("^(?:"+pl+"|"+hl+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+pl+"|"+hl+")")},ml=fl.HTML_OPEN_CLOSE_TAG_RE,gl=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(ml.source+"\\s*$"),/^$/,!1]],yl=kc.isSpace;function _l(e,t,r,n){var o,i,a,s,c,l,u,d;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,a=s=l=u=0,c=(i=this.src).length;s<c;s++){if(o=i.charCodeAt(s),!d){if(yl(o)){l++,9===o?u+=4-u%4:u++;continue}d=!0}10!==o&&s!==c-1||(10!==o&&s++,this.bMarks.push(a),this.eMarks.push(s),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),d=!1,u=l=0,a=s+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}_l.prototype.push=function(e,t,r){t=new Kc(e,t,r);return t.block=!0,r<0&&this.level--,t.level=this.level,0<r&&this.level++,this.tokens.push(t),t},_l.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},_l.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},_l.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),yl(t));e++);return e},_l.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;t<e;)if(!yl(this.src.charCodeAt(--e)))return e+1;return e},_l.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},_l.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;r<e;)if(t!==this.src.charCodeAt(--e))return e+1;return e},_l.prototype.getLines=function(e,t,r,n){var o,i,a,s,c,l,u,d=e;if(t<=e)return"";for(l=new Array(t-e),o=0;d<t;d++,o++){for(i=0,u=s=this.bMarks[d],c=d+1<t||n?this.eMarks[d]+1:this.eMarks[d];s<c&&i<r;){if(a=this.src.charCodeAt(s),yl(a))9===a?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(s-u<this.tShift[d]))break;i++}s++}l[o]=r<i?new Array(i-r+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},_l.prototype.Token=Kc;var bl=_l,wl=[["table",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f;if(r<t+2)return!1;if(e.sCount[c=t+1]<e.blkIndent)return!1;if(4<=e.sCount[c]-e.blkIndent)return!1;if((a=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(o=e.src.charCodeAt(a++))&&45!==o&&58!==o)return!1;for(;a<e.eMarks[c];){if(124!==(o=e.src.charCodeAt(a))&&45!==o&&58!==o&&!tl(o))return!1;a++}for(l=(i=rl(e,t+1)).split("|"),p=[],s=0;s<l.length;s++){if(!(h=l[s].trim())){if(0===s||s===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(h))return!1;58===h.charCodeAt(h.length-1)?p.push(58===h.charCodeAt(0)?"center":"right"):58===h.charCodeAt(0)?p.push("left"):p.push("")}if(-1===(i=rl(e,t).trim()).indexOf("|"))return!1;if(4<=e.sCount[t]-e.blkIndent)return!1;if((u=(l=nl(i.replace(/^\||\|$/g,""))).length)>p.length)return!1;if(n)return!0;for((d=e.push("table_open","table",1)).map=f=[t,0],(d=e.push("thead_open","thead",1)).map=[t,t+1],(d=e.push("tr_open","tr",1)).map=[t,t+1],s=0;s<l.length;s++)(d=e.push("th_open","th",1)).map=[t,t+1],p[s]&&(d.attrs=[["style","text-align:"+p[s]]]),(d=e.push("inline","",0)).content=l[s].trim(),d.map=[t,t+1],d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),(d=e.push("tbody_open","tbody",1)).map=n=[t+2,0],c=t+2;c<r&&!(e.sCount[c]<e.blkIndent)&&-1!==(i=rl(e,c).trim()).indexOf("|")&&!(4<=e.sCount[c]-e.blkIndent);c++){for(l=nl(i.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),s=0;s<u;s++)d=e.push("td_open","td",1),p[s]&&(d.attrs=[["style","text-align:"+p[s]]]),(d=e.push("inline","",0)).content=l[s]?l[s].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("tbody_close","tbody",-1),d=e.push("table_close","table",-1),f[1]=n[1]=c,e.line=c,!0},["paragraph","reference"]],["code",function(e,t,r){var n,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(4<=e.sCount[n]-e.blkIndent))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),i.map=[t,e.line],!0}],["fence",function(e,t,r,n){var o,i,a,s,c,l,u=!1,d=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(p<d+3)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if((i=(d=e.skipChars(c=d,o))-c)<3)return!1;if(l=e.src.slice(c,d),a=e.src.slice(d,p),96===o&&0<=a.indexOf(String.fromCharCode(o)))return!1;if(n)return!0;for(s=t;!(r<=++s)&&!((d=c=e.bMarks[s]+e.tShift[s])<(p=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&!(4<=e.sCount[s]-e.blkIndent||(d=e.skipChars(d,o))-c<i||e.skipSpaces(d)<p)){u=!0;break}return i=e.sCount[t],e.line=s+(u?1:0),(n=e.push("fence","code",0)).info=a,n.content=e.getLines(t+1,s,i,!0),n.markup=l,n.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b,w,k,v,x=e.lineMax,z=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(62!==e.src.charCodeAt(z++))return!1;if(n)return!0;for(s=d=e.sCount[t]+z-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(z)?(z++,s++,d++,_=!(o=!1)):9===e.src.charCodeAt(z)?(_=!0,o=(e.bsCount[t]+d)%4!=3||(z++,s++,d++,!1)):_=!1,p=[e.bMarks[t]],e.bMarks[t]=z;z<C&&(i=e.src.charCodeAt(z),ol(i));)9===i?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,z++;for(h=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),l=C<=z,g=[e.sCount[t]],e.sCount[t]=d-s,y=[e.tShift[t]],e.tShift[t]=z-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),m=e.parentType,v=!(e.parentType="blockquote"),u=t+1;u<r&&(e.sCount[u]<e.blkIndent&&(v=!0),z=e.bMarks[u]+e.tShift[u],!((C=e.eMarks[u])<=z));u++)if(62!==e.src.charCodeAt(z++)||v){if(l)break;for(b=!1,a=0,c=w.length;a<c;a++)if(w[a](e,u,r,!0)){b=!0;break}if(b){e.lineMax=u,0!==e.blkIndent&&(p.push(e.bMarks[u]),h.push(e.bsCount[u]),y.push(e.tShift[u]),g.push(e.sCount[u]),e.sCount[u]-=e.blkIndent);break}p.push(e.bMarks[u]),h.push(e.bsCount[u]),y.push(e.tShift[u]),g.push(e.sCount[u]),e.sCount[u]=-1}else{for(s=d=e.sCount[u]+z-(e.bMarks[u]+e.tShift[u]),32===e.src.charCodeAt(z)?(z++,s++,d++,_=!(o=!1)):9===e.src.charCodeAt(z)?(_=!0,o=(e.bsCount[u]+d)%4!=3||(z++,s++,d++,!1)):_=!1,p.push(e.bMarks[u]),e.bMarks[u]=z;z<C&&(i=e.src.charCodeAt(z),ol(i));)9===i?d+=4-(d+e.bsCount[u]+(o?1:0))%4:d++,z++;l=C<=z,h.push(e.bsCount[u]),e.bsCount[u]=e.sCount[u]+1+(_?1:0),g.push(e.sCount[u]),e.sCount[u]=d-s,y.push(e.tShift[u]),e.tShift[u]=z-e.bMarks[u]}for(f=e.blkIndent,e.blkIndent=0,(k=e.push("blockquote_open","blockquote",1)).markup=">",k.map=n=[t,0],e.md.block.tokenize(e,t,u),(k=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=m,n[1]=e.line,a=0;a<y.length;a++)e.bMarks[a+t]=p[a],e.tShift[a+t]=y[a],e.sCount[a+t]=g[a],e.bsCount[a+t]=h[a];return e.blkIndent=f,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,r,n){var o,i,a,s=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(42!==(o=e.src.charCodeAt(s++))&&45!==o&&95!==o)return!1;for(i=1;s<c;){if((a=e.src.charCodeAt(s++))!==o&&!il(a))return!1;a===o&&i++}return!(i<3)&&(n||(e.line=t+1,(n=e.push("hr","hr",0)).map=[t,e.line],n.markup=Array(i+1).join(String.fromCharCode(o))),!0)},["paragraph","reference","blockquote","list"]],["list",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b,w,k,v,x,z,C,S=!1,E=!0;if(4<=e.sCount[t]-e.blkIndent)return!1;if(0<=e.listIndent&&4<=e.sCount[t]-e.listIndent&&e.sCount[t]<e.blkIndent)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(S=!0),0<=(w=cl(e,t))){if(c=!0,v=e.bMarks[t]+e.tShift[t],v=Number(e.src.substr(v,w-v-1)),S&&1!==v)return!1}else{if(!(0<=(w=sl(e,t))))return!1;c=!1}if(S&&e.skipSpaces(w)>=e.eMarks[t])return!1;if(d=e.src.charCodeAt(w-1),n)return!0;for(S=e.tokens.length,c?(C=e.push("ordered_list_open","ol",1),1!==v&&(C.attrs=[["start",v]])):C=e.push("bullet_list_open","ul",1),C.map=n=[t,0],C.markup=String.fromCharCode(d),h=t,k=!1,z=e.md.block.ruler.getRules("list"),v=e.parentType,e.parentType="list";h<r;){for(b=w,p=e.eMarks[h],g=f=e.sCount[h]+w-(e.bMarks[t]+e.tShift[t]);b<p;){if(9===(o=e.src.charCodeAt(b)))f+=4-(f+e.bsCount[h])%4;else{if(32!==o)break;f++}b++}if(s=g+(m=4<(m=p<=(i=b)?1:f-g)?1:m),(C=e.push("list_item_open","li",1)).markup=String.fromCharCode(d),C.map=l=[t,0],_=e.tight,y=e.tShift[t],g=e.sCount[t],m=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=s,e.tight=!0,e.tShift[t]=i-e.bMarks[t],e.sCount[t]=f,p<=i&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!k||(E=!1),k=1<e.line-t&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=m,e.tShift[t]=y,e.sCount[t]=g,e.tight=_,(C=e.push("list_item_close","li",-1)).markup=String.fromCharCode(d),h=t=e.line,l[1]=h,e.bMarks[t],r<=h)break;if(e.sCount[h]<e.blkIndent)break;if(4<=e.sCount[t]-e.blkIndent)break;for(x=!1,a=0,u=z.length;a<u;a++)if(z[a](e,h,r,!0)){x=!0;break}if(x)break;if(c){if((w=cl(e,h))<0)break}else if((w=sl(e,h))<0)break;if(d!==e.src.charCodeAt(w-1))break}return(C=c?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(d),n[1]=h,e.line=h,e.parentType=v,E&&function(e,t){for(var r=e.level+2,n=t+2,o=e.tokens.length-2;n<o;n++)e.tokens[n].level===r&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,S),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b=0,w=e.bMarks[t]+e.tShift[t],k=e.eMarks[t],v=t+1;if(4<=e.sCount[t]-e.blkIndent)return!1;if(91!==e.src.charCodeAt(w))return!1;for(;++w<k;)if(93===e.src.charCodeAt(w)&&92!==e.src.charCodeAt(w-1)){if(w+1===k)return!1;if(58!==e.src.charCodeAt(w+1))return!1;break}for(a=e.lineMax,y=e.md.block.ruler.getRules("reference"),p=e.parentType,e.parentType="reference";v<a&&!e.isEmpty(v);v++)if(!(3<e.sCount[v]-e.blkIndent||e.sCount[v]<0)){for(g=!1,c=0,l=y.length;c<l;c++)if(y[c](e,v,a,!0)){g=!0;break}if(g)break}for(k=(m=e.getLines(t,v,e.blkIndent,!1).trim()).length,w=1;w<k;w++){if(91===(o=m.charCodeAt(w)))return!1;if(93===o){d=w;break}(10===o||92===o&&++w<k&&10===m.charCodeAt(w))&&b++}if(d<0||58!==m.charCodeAt(d+1))return!1;for(w=d+2;w<k;w++)if(10===(o=m.charCodeAt(w)))b++;else if(!ul(o))break;if(!(h=e.md.helpers.parseLinkDestination(m,w,k)).ok)return!1;if(s=e.md.normalizeLink(h.str),!e.md.validateLink(s))return!1;for(w=h.pos,u=b+=h.lines,f=i=w;w<k;w++)if(10===(o=m.charCodeAt(w)))b++;else if(!ul(o))break;for(h=e.md.helpers.parseLinkTitle(m,w,k),w<k&&f!==w&&h.ok?(_=h.str,w=h.pos,b+=h.lines):(_="",w=i,b=u);w<k&&(o=m.charCodeAt(w),ul(o));)w++;if(w<k&&10!==m.charCodeAt(w)&&_)for(_="",w=i,b=u;w<k&&(o=m.charCodeAt(w),ul(o));)w++;return!(w<k&&10!==m.charCodeAt(w))&&(!!(u=ll(m.slice(1,d)))&&(n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[u]&&(e.env.references[u]={title:_,href:s}),e.parentType=p,e.line=t+b+1),!0))}],["heading",function(e,t,r,n){var o,i,a=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(35!==(o=e.src.charCodeAt(a))||s<=a)return!1;for(i=1,o=e.src.charCodeAt(++a);35===o&&a<s&&i<=6;)i++,o=e.src.charCodeAt(++a);return!(6<i||a<s&&!dl(o))&&(n||(s=e.skipSpacesBack(s,a),a<(n=e.skipCharsBack(s,35,a))&&dl(e.src.charCodeAt(n-1))&&(s=n),e.line=t+1,(n=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),n.map=[t,e.line],(n=e.push("inline","",0)).content=e.src.slice(a,s).trim(),n.map=[t,e.line],n.children=[],(n=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,o,i,a,s,c,l,u,d,p,h=t+1,f=e.md.block.ruler.getRules("paragraph");if(4<=e.sCount[t]-e.blkIndent)return!1;for(p=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(3<e.sCount[h]-e.blkIndent)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(d=e.src.charCodeAt(c))||61===d)&&(c=e.skipChars(c,d),l<=(c=e.skipSpaces(c)))){u=61===d?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,i=0,a=f.length;i<a;i++)if(f[i](e,h,r,!0)){o=!0;break}if(o)break}}return!!u&&(n=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(d),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(d),e.parentType=p,!0)}],["html_block",function(e,t,r,n){var o,i,a,s=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(s))return!1;for(a=e.src.slice(s,c),o=0;o<gl.length&&!gl[o][0].test(a);o++);if(o===gl.length)return!1;if(n)return gl[o][2];if(i=t+1,!gl[o][1].test(a))for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(s=e.bMarks[i]+e.tShift[i],c=e.eMarks[i],a=e.src.slice(s,c),gl[o][1].test(a)){0!==a.length&&i++;break}return e.line=i,(n=e.push("html_block","",0)).map=[t,i],n.content=e.getLines(t,i,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["paragraph",function(e,t){var r,n,o,i,a,s=t+1,c=e.md.block.ruler.getRules("paragraph"),l=e.lineMax,u=e.parentType;for(e.parentType="paragraph";s<l&&!e.isEmpty(s);s++)if(!(3<e.sCount[s]-e.blkIndent||e.sCount[s]<0)){for(n=!1,o=0,i=c.length;o<i;o++)if(c[o](e,s,l,!0)){n=!0;break}if(n)break}return r=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=u,!0}]];function kl(){this.ruler=new Tc;for(var e=0;e<wl.length;e++)this.ruler.push(wl[e][0],wl[e][1],{alt:(wl[e][2]||[]).slice()})}kl.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,c=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(r<=a))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<i&&!o[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},kl.prototype.parse=function(e,t,r,n){e&&(n=new this.State(e,t,r,n),this.tokenize(n,n.line,n.lineMax))},kl.prototype.State=bl;var vl=kl;for(var xl=kc.isSpace,zl=kc.isSpace,Cl=[],Sl=0;Sl<256;Sl++)Cl.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Cl[e.charCodeAt(0)]=1});function El(e,t){for(var r,n,o,i,a=[],s=t.length,c=0;c<s;c++)126===(n=t[c]).marker&&-1!==n.end&&(o=t[n.end],(i=e.tokens[n.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(r=(c=a.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;c!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[c],e.tokens[c]=i)}}var Al={tokenize:function(e,t){var r,n,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),r=0;r<o;r+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,length:0,jump:r,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(El(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&El(e,r[t].delimiters)}};function ql(e,t){for(var r,n,o,i,a,s=t.length-1;0<=s;s--)95!==(r=t[s]).marker&&42!==r.marker||-1!==r.end&&(n=t[r.end],a=0<s&&t[s-1].end===r.end+1&&t[s-1].token===r.token-1&&t[r.end+1].token===n.token+1&&t[s-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[n.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[t[s-1].token].content="",e.tokens[t[r.end+1].token].content="",s--))}var Ml={tokenize:function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:n.length,jump:r,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(ql(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&ql(e,r[t].delimiters)}},Dl=kc.normalizeReference,Tl=kc.isSpace,Nl=kc.normalizeReference,Ol=kc.isSpace,Il=/^<([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])?)*)>/,$l=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/,Ll=fl.HTML_TAG_RE;var Rl=kc.has,jl=kc.isValidEntityCode,Pl=kc.fromCodePoint,Bl=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Fl=/^&([a-z][a-z0-9]{1,31});/i;function Ul(e,t){for(var r,n,o,i,a,s,c={},l=t.length,u=0;u<l;u++)if((n=t[u]).length=n.length||0,n.close){for(c.hasOwnProperty(n.marker)||(c[n.marker]=[-1,-1,-1]),i=c[n.marker][n.length%3],a=-1,r=u-n.jump-1;i<r;r-=o.jump+1)if((o=t[r]).marker===n.marker&&(-1===a&&(a=r),o.open&&o.end<0&&o.level===n.level&&(s=!1,(o.close||n.open)&&(o.length+n.length)%3==0&&(o.length%3==0&&n.length%3==0||(s=!0)),!s))){s=0<r&&!t[r-1].open?t[r-1].jump+1:0,n.jump=u-r+s,n.open=!1,o.end=u,o.jump=s,o.close=!1,a=-1;break}-1!==a&&(c[n.marker][(n.length||0)%3]=a)}}var Vl=kc.isWhiteSpace,Hl=kc.isPunctChar,Wl=kc.isMdAsciiPunct;function Gl(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}Gl.prototype.pushPending=function(){var e=new Kc("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Gl.prototype.push=function(e,t,r){this.pending&&this.pushPending();e=new Kc(e,t,r),t=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),e.level=this.level,0<r&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],t={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(e),this.tokens_meta.push(t),e},Gl.prototype.scanDelims=function(e,t){for(var r,n,o,i,a=e,s=!0,c=!0,l=this.posMax,u=this.src.charCodeAt(e),d=0<e?this.src.charCodeAt(e-1):32;a<l&&this.src.charCodeAt(a)===u;)a++;return r=a-e,i=a<l?this.src.charCodeAt(a):32,o=Wl(d)||Hl(String.fromCharCode(d)),e=Wl(i)||Hl(String.fromCharCode(i)),d=Vl(d),(i=Vl(i))?s=!1:e&&(d||o||(s=!1)),d?c=!1:o&&(i||e||(c=!1)),e=t?(n=s,c):(n=s&&(!c||o),c&&(!s||e)),{can_open:n,can_close:e,length:r}},Gl.prototype.Token=Kc;var Zl=Gl,Kl=[["text",function(e,t){for(var r=e.pos;r<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return 1;default:return}}(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["newline",function(e,t){var r,n,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,n=e.posMax,t||(0<=r&&32===e.pending.charCodeAt(r)?1<=r&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<n&&xl(e.src.charCodeAt(o));)o++;return e.pos=o,!0}],["escape",function(e,t){var r,n=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(++n<o){if((r=e.src.charCodeAt(n))<256&&0!==Cl[r])return t||(e.pending+=e.src[n]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),n++;n<o&&(r=e.src.charCodeAt(n),zl(r));)n++;return e.pos=n,!0}}return t||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,t){var r,n,o,i,a,s,c=e.pos;if(96!==e.src.charCodeAt(c))return!1;for(r=c,c++,n=e.posMax;c<n&&96===e.src.charCodeAt(c);)c++;for(o=e.src.slice(r,c),a=c;-1!==(i=e.src.indexOf("`",a));){for(a=i+1;a<n&&96===e.src.charCodeAt(a);)a++;if(a-i===o.length)return t||((s=e.push("code_inline","code",0)).markup=o,s.content=e.src.slice(c,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0}return t||(e.pending+=o),e.pos+=o.length,!0}],["strikethrough",Al.tokenize],["emphasis",Ml.tokenize],["link",function(e,t){var r,n,o,i,a,s,c,l="",u=e.pos,d=e.posMax,p=e.pos,h=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(o=e.pos+1,(n=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((i=n+1)<d&&40===e.src.charCodeAt(i)){for(h=!1,i++;i<d&&(r=e.src.charCodeAt(i),Tl(r)||10===r);i++);if(d<=i)return!1;for(p=i,(a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax)).ok&&(l=e.md.normalizeLink(a.str),e.md.validateLink(l)?i=a.pos:l=""),p=i;i<d&&(r=e.src.charCodeAt(i),Tl(r)||10===r);i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<d&&p!==i&&a.ok)for(c=a.str,i=a.pos;i<d&&(r=e.src.charCodeAt(i),Tl(r)||10===r);i++);else c="";(d<=i||41!==e.src.charCodeAt(i))&&(h=!0),i++}if(h){if(void 0===e.env.references)return!1;if(i<d&&91===e.src.charCodeAt(i)?(p=i+1,0<=(i=e.md.helpers.parseLinkLabel(e,i))?s=e.src.slice(p,i++):i=n+1):i=n+1,s=s||e.src.slice(o,n),!(s=e.env.references[Dl(s)]))return e.pos=u,!1;l=s.href,c=s.title}return t||(e.pos=o,e.posMax=n,e.push("link_open","a",1).attrs=l=[["href",l]],c&&l.push(["title",c]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=i,e.posMax=d,!0}],["image",function(e,t){var r,n,o,i,a,s,c,l,u="",d=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((n=s+1)<p&&40===e.src.charCodeAt(n)){for(n++;n<p&&(r=e.src.charCodeAt(n),Ol(r)||10===r);n++);if(p<=n)return!1;for(l=n,(i=e.md.helpers.parseLinkDestination(e.src,n,e.posMax)).ok&&(u=e.md.normalizeLink(i.str),e.md.validateLink(u)?n=i.pos:u=""),l=n;n<p&&(r=e.src.charCodeAt(n),Ol(r)||10===r);n++);if(i=e.md.helpers.parseLinkTitle(e.src,n,e.posMax),n<p&&l!==n&&i.ok)for(a=i.str,n=i.pos;n<p&&(r=e.src.charCodeAt(n),Ol(r)||10===r);n++);else a="";if(p<=n||41!==e.src.charCodeAt(n))return e.pos=d,!1;n++}else{if(void 0===e.env.references)return!1;if(n<p&&91===e.src.charCodeAt(n)?(l=n+1,0<=(n=e.md.helpers.parseLinkLabel(e,n))?o=e.src.slice(l,n++):n=s+1):n=s+1,o=o||e.src.slice(c,s),!(o=e.env.references[Nl(o)]))return e.pos=d,!1;u=o.href,a=o.title}return t||(t=e.src.slice(c,s),e.md.inline.parse(t,e.md,e.env,c=[]),(s=e.push("image","img",0)).attrs=u=[["src",u],["alt",""]],s.children=c,s.content=t,a&&u.push(["title",a])),e.pos=n,e.posMax=p,!0}],["autolink",function(e,t){var r,n,o,i,a=e.pos;return 60===e.src.charCodeAt(a)&&(!((r=e.src.slice(a)).indexOf(">")<0)&&($l.test(r)?(n=(a=r.match($l))[0].slice(1,-1),o=e.md.normalizeLink(n),!!e.md.validateLink(o)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(n),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=a[0].length,!0)):!!Il.test(r)&&(n=(r=r.match(Il))[0].slice(1,-1),o=e.md.normalizeLink("mailto:"+n),!!e.md.validateLink(o)&&(t||((i=e.push("link_open","a",1)).attrs=[["href",o]],i.markup="autolink",i.info="auto",(i=e.push("text","",0)).content=e.md.normalizeLinkText(n),(i=e.push("link_close","a",-1)).markup="autolink",i.info="auto"),e.pos+=r[0].length,!0))))}],["html_inline",function(e,t){var r,n,o=e.pos;return!!e.md.options.html&&(r=e.posMax,!(60!==e.src.charCodeAt(o)||r<=o+2)&&((33===(r=e.src.charCodeAt(o+1))||63===r||47===r||(n=r,97<=(n|=32)&&n<=122))&&(!!(n=e.src.slice(o).match(Ll))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1<o)if(35===e.src.charCodeAt(n+1)){if(r=e.src.slice(n).match(Bl))return t||(o="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),e.pending+=jl(o)?Pl(o):Pl(65533)),e.pos+=r[0].length,!0}else if((r=e.src.slice(n).match(Fl))&&Rl(Js,r[1]))return t||(e.pending+=Js[r[1]]),e.pos+=r[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}]],Jl=[["balance_pairs",function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(Ul(0,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&Ul(0,r[t].delimiters)}],["strikethrough",Al.postProcess],["emphasis",Ml.postProcess],["text_collapse",function(e){for(var t,r=0,n=e.tokens,o=e.tokens.length,i=t=0;i<o;i++)n[i].nesting<0&&r--,n[i].level=r,0<n[i].nesting&&r++,"text"===n[i].type&&i+1<o&&"text"===n[i+1].type?n[i+1].content=n[i].content+n[i+1].content:(i!==t&&(n[t]=n[i]),t++);i!==t&&(n.length=t)}]];function Yl(){var e;for(this.ruler=new Tc,e=0;e<Kl.length;e++)this.ruler.push(Kl[e][0],Kl[e][1]);for(this.ruler2=new Tc,e=0;e<Jl.length;e++)this.ruler2.push(Jl[e][0],Jl[e][1])}Yl.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[n]){if(e.level<a)for(r=0;r<i&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},Yl.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Yl.prototype.parse=function(e,t,r,n){var o,i,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},Yl.prototype.State=Zl;var Xl=Yl,Ql=function(e){var t={};t.src_Any=yc.source,t.src_Cc=_c.source,t.src_Z=bc.source,t.src_P=Ys.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t};function eu(r){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(e){r[e]=t[e]})}),r}function tu(e){return Object.prototype.toString.call(e)}function ru(e){return"[object Function]"===tu(e)}function nu(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ou={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var iu={"http:":{validate:function(e,t,r){t=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(t)?t.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),!r.re.no_http.test(n)||3<=t&&":"===e[t-3]||3<=t&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length}},"mailto:":{validate:function(e,t,r){t=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(t)?t.match(r.re.mailto)[0].length:0}}},au="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",su="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function cu(){return function(e,t){t.normalize(e)}}function lu(o){var t=o.re=Ql(o.__opts__),e=o.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}o.onCompile(),o.__tlds_replaced__||e.push(au),e.push(t.src_xn),t.src_tlds=e.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}o.__compiled__={},Object.keys(o.__schemas__).forEach(function(e){var t=o.__schemas__[e];if(null!==t){var r,n={validate:null,link:null};if(o.__compiled__[e]=n,"[object Object]"===tu(t))return"[object RegExp]"===tu(t.validate)?n.validate=(r=t.validate,function(e,t){t=e.slice(t);return r.test(t)?t.match(r)[0].length:0}):ru(t.validate)?n.validate=t.validate:a(e,t),void(ru(t.normalize)?n.normalize=t.normalize:t.normalize?a(e,t):n.normalize=cu());"[object String]"!==tu(t)?a(e,t):i.push(e)}}),i.forEach(function(e){o.__compiled__[o.__schemas__[e]]&&(o.__compiled__[e].validate=o.__compiled__[o.__schemas__[e]].validate,o.__compiled__[e].normalize=o.__compiled__[o.__schemas__[e]].normalize)}),o.__compiled__[""]={validate:null,normalize:cu()};e=Object.keys(o.__compiled__).filter(function(e){return 0<e.length&&o.__compiled__[e]}).map(nu).join("|");o.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+e+")","i"),o.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+e+")","ig"),o.re.pretest=RegExp("("+o.re.schema_test.source+")|("+o.re.host_fuzzy_test.source+")|@","i"),(e=o).__index__=-1,e.__text_cache__=""}function uu(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function du(e,t){t=new uu(e,t);return e.__compiled__[t.schema].normalize(t,e),t}function pu(e,t){if(!(this instanceof pu))return new pu(e,t);var r;t||(r=e,Object.keys(r||{}).reduce(function(e,t){return e||ou.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=eu({},ou,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=eu({},iu,e),this.__compiled__={},this.__tlds__=su,this.__tlds_replaced__=!1,this.re={},lu(this)}pu.prototype.add=function(e,t){return this.__schemas__[e]=t,lu(this),this},pu.prototype.set=function(e){return this.__opts__=eu(this.__opts__,e),this},pu.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(n=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(s=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||s<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=e.indexOf("@")&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,i=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),0<=this.__index__},pu.prototype.pretest=function(e){return this.re.pretest.test(e)},pu.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},pu.prototype.match=function(e){var t=0,r=[];0<=this.__index__&&this.__text_cache__===e&&(r.push(du(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(du(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},pu.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),lu(this),this},pu.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},pu.prototype.onCompile=function(){};var hu=pu,fu=2147483647,mu=36,gu=1,yu=26,_u=38,bu=700,wu=72,ku=128,vu="-",xu=/^xn--/,zu=/[^\x20-\x7E]/,Cu=/[\x2E\u3002\uFF0E\uFF61]/g,Su={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Eu=mu-gu,Au=Math.floor,qu=String.fromCharCode;function Mu(e){throw new RangeError(Su[e])}function Du(e,t){for(var r=e.length,n=[];r--;)n[r]=t(e[r]);return n}function Tu(e,t){var r=e.split("@"),n="";return 1<r.length&&(n=r[0]+"@",e=r[1]),n+Du((e=e.replace(Cu,".")).split("."),t).join(".")}function Nu(e){for(var t,r,n=[],o=0,i=e.length;o<i;)55296<=(t=e.charCodeAt(o++))&&t<=56319&&o<i?56320==(64512&(r=e.charCodeAt(o++)))?n.push(((1023&t)<<10)+(1023&r)+65536):(n.push(t),o--):n.push(t);return n}function Ou(e){return Du(e,function(e){var t="";return 65535<e&&(t+=qu((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=qu(e)}).join("")}function Iu(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function $u(e,t,r){var n=0;for(e=r?Au(e/bu):e>>1,e+=Au(e/t);Eu*yu>>1<e;n+=mu)e=Au(e/Eu);return Au(n+(Eu+1)*e/(e+_u))}function Lu(e){var t,r,n,o,i,a,s,c=[],l=e.length,u=0,d=ku,p=wu,h=e.lastIndexOf(vu);for(h<0&&(h=0),r=0;r<h;++r)128<=e.charCodeAt(r)&&Mu("not-basic"),c.push(e.charCodeAt(r));for(n=0<h?h+1:0;n<l;){for(o=u,i=1,a=mu;l<=n&&Mu("invalid-input"),s=e.charCodeAt(n++),(mu<=(s=s-48<10?s-22:s-65<26?s-65:s-97<26?s-97:mu)||s>Au((fu-u)/i))&&Mu("overflow"),u+=s*i,!(s<(s=a<=p?gu:p+yu<=a?yu:a-p));a+=mu)i>Au(fu/(s=mu-s))&&Mu("overflow"),i*=s;p=$u(u-o,t=c.length+1,0==o),Au(u/t)>fu-d&&Mu("overflow"),d+=Au(u/t),u%=t,c.splice(u++,0,d)}return Ou(c)}function Ru(e){for(var t,r,n,o,i,a,s,c,l,u,d=[],p=(e=Nu(e)).length,h=ku,f=wu,m=t=0;m<p;++m)(s=e[m])<128&&d.push(qu(s));for(r=n=d.length,n&&d.push(vu);r<p;){for(o=fu,m=0;m<p;++m)h<=(s=e[m])&&s<o&&(o=s);for(o-h>Au((fu-t)/(c=r+1))&&Mu("overflow"),t+=(o-h)*c,h=o,m=0;m<p;++m)if((s=e[m])<h&&++t>fu&&Mu("overflow"),s==h){for(i=t,a=mu;!(i<(l=a<=f?gu:f+yu<=a?yu:a-f));a+=mu)d.push(qu(Iu(l+(u=i-l)%(l=mu-l),0))),i=Au(u/l);d.push(qu(Iu(i,0))),f=$u(t,c,r==n),t=0,++r}++t,++h}return d.join("")}var ju={version:"1.4.1",ucs2:{decode:Nu,encode:Ou},toASCII:function(e){return Tu(e,function(e){return zu.test(e)?"xn--"+Ru(e):e})},toUnicode:function(e){return Tu(e,function(e){return xu.test(e)?Lu(e.slice(4).toLowerCase()):e})},encode:Ru,decode:Lu},Pu={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Bu={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}},Fu={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}},Uu={default:Pu,zero:Bu,commonmark:Fu},Vu=/^(vbscript|javascript|file|data):/,Hu=/^data:image\/(gif|png|jpeg|webp);/;function Wu(e){e=e.trim().toLowerCase();return!Vu.test(e)||!!Hu.test(e)}var Gu=["http:","https:","mailto:"];function Zu(e){e=gc.parse(e,!0);if(e.hostname&&(!e.protocol||0<=Gu.indexOf(e.protocol)))try{e.hostname=ju.toASCII(e.hostname)}catch(e){}return gc.encode(gc.format(e))}function Ku(e){e=gc.parse(e,!0);if(e.hostname&&(!e.protocol||0<=Gu.indexOf(e.protocol)))try{e.hostname=ju.toUnicode(e.hostname)}catch(e){}return gc.decode(gc.format(e))}function Ju(e,t){if(!(this instanceof Ju))return new Ju(e,t);t||kc.isString(e)||(t=e||{},e="default"),this.inline=new Xl,this.block=new vl,this.core=new el,this.renderer=new Mc,this.linkify=new hu,this.validateLink=Wu,this.normalizeLink=Zu,this.normalizeLinkText=Ku,this.utils=kc,this.helpers=kc.assign({},zc),this.options={},this.configure(e),t&&this.set(t)}Ju.prototype.set=function(e){return kc.assign(this.options,e),this},Ju.prototype.configure=function(t){var e,r=this;if(kc.isString(t)&&!(t=Uu[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&r.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&r[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&r[e].ruler2.enableOnly(t.components[e].rules2)}),this},Ju.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.enable(t,!0))},this);var r=r.concat(this.inline.ruler2.enable(t,!0)),n=t.filter(function(e){return r.indexOf(e)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},Ju.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.disable(t,!0))},this);var r=r.concat(this.inline.ruler2.disable(t,!0)),n=t.filter(function(e){return r.indexOf(e)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},Ju.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},Ju.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");t=new this.core.State(e,this,t);return this.core.process(t),t.tokens},Ju.prototype.render=function(e,t){return this.renderer.render(this.parse(e,t=t||{}),this.options,t)},Ju.prototype.parseInline=function(e,t){t=new this.core.State(e,this,t);return t.inlineMode=!0,this.core.process(t),t.tokens},Ju.prototype.renderInline=function(e,t){return this.renderer.render(this.parseInline(e,t=t||{}),this.options,t)};var Yu=Ju,Xu=new K({nodes:{doc:{content:"block+"},paragraph:{content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:function(){return["p",0]}},blockquote:{content:"block+",group:"block",parseDOM:[{tag:"blockquote"}],toDOM:function(){return["blockquote",0]}},horizontal_rule:{group:"block",parseDOM:[{tag:"hr"}],toDOM:function(){return["div",["hr"]]}},heading:{attrs:{level:{default:1}},content:"(text | image)*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:function(e){return["h"+e.attrs.level,0]}},code_block:{content:"text*",group:"block",code:!0,defining:!0,marks:"",attrs:{params:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:"full",getAttrs:function(e){return{params:e.getAttribute("data-params")||""}}}],toDOM:function(e){return["pre",e.attrs.params?{"data-params":e.attrs.params}:{},["code",0]]}},ordered_list:{content:"list_item+",group:"block",attrs:{order:{default:1},tight:{default:!1}},parseDOM:[{tag:"ol",getAttrs:function(e){return{order:e.hasAttribute("start")?+e.getAttribute("start"):1,tight:e.hasAttribute("data-tight")}}}],toDOM:function(e){return["ol",{start:1==e.attrs.order?null:e.attrs.order,"data-tight":e.attrs.tight?"true":null},0]}},bullet_list:{content:"list_item+",group:"block",attrs:{tight:{default:!1}},parseDOM:[{tag:"ul",getAttrs:function(e){return{tight:e.hasAttribute("data-tight")}}}],toDOM:function(e){return["ul",{"data-tight":e.attrs.tight?"true":null},0]}},list_item:{content:"paragraph block*",defining:!0,parseDOM:[{tag:"li"}],toDOM:function(){return["li",0]}},text:{group:"inline"},image:{inline:!0,attrs:{src:{},alt:{default:null},title:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:function(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt")}}}],toDOM:function(e){return["img",e.attrs]}},hard_break:{inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:function(){return["br"]}}},marks:{em:{parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style",getAttrs:function(e){return"italic"==e&&null}}],toDOM:function(){return["em"]}},strong:{parseDOM:[{tag:"b"},{tag:"strong"},{style:"font-weight",getAttrs:function(e){return/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}}],toDOM:function(){return["strong"]}},link:{attrs:{href:{},title:{default:null}},inclusive:!1,parseDOM:[{tag:"a[href]",getAttrs:function(e){return{href:e.getAttribute("href"),title:e.getAttribute("title")}}}],toDOM:function(e){return["a",e.attrs]}},code:{parseDOM:[{tag:"code"}],toDOM:function(){return["code"]}}}});function Qu(e,t){this.schema=e,this.stack=[{type:e.topNodeType,content:[]}],this.marks=p.none,this.tokenHandlers=t}function ed(e,t,r,n){return e.getAttrs?e.getAttrs(t,r,n):e.attrs instanceof Function?e.attrs(t):e.attrs}function td(e,t){return e.noCloseToken||"code_inline"==t||"code_block"==t||"fence"==t}function rd(e){return"\n"==e[e.length-1]?e.slice(0,e.length-1):e}function nd(){}function od(t,r){var e,n=Object.create(null);for(e in r)!function(e){var o=r[e];if(o.block){var i=t.nodeType(o.block);td(o,e)?n[e]=function(e,t,r,n){e.openNode(i,ed(o,t,r,n)),e.addText(rd(t.content)),e.closeNode()}:(n[e+"_open"]=function(e,t,r,n){return e.openNode(i,ed(o,t,r,n))},n[e+"_close"]=function(e){return e.closeNode()})}else if(o.node){var a=t.nodeType(o.node);n[e]=function(e,t,r,n){return e.addNode(a,ed(o,t,r,n))}}else if(o.mark){var s=t.marks[o.mark];td(o,e)?n[e]=function(e,t,r,n){e.openMark(s.create(ed(o,t,r,n))),e.addText(rd(t.content)),e.closeMark(s)}:(n[e+"_open"]=function(e,t,r,n){return e.openMark(s.create(ed(o,t,r,n)))},n[e+"_close"]=function(e){return e.closeMark(s)})}else{if(!o.ignore)throw new RangeError("Unrecognized parsing spec "+JSON.stringify(o));td(o,e)?n[e]=nd:(n[e+"_open"]=nd,n[e+"_close"]=nd)}}(e);return n.text=function(e,t){return e.addText(t.content)},n.inline=function(e,t){return e.parseTokens(t.children)},n.softbreak=n.softbreak||function(e){return e.addText("\n")},n}Qu.prototype.top=function(){return this.stack[this.stack.length-1]},Qu.prototype.push=function(e){this.stack.length&&this.top().content.push(e)},Qu.prototype.addText=function(e){var t,r,n;e&&(r=(t=this.top().content)[t.length-1],e=this.schema.text(e,this.marks),r&&(n=function(e,t){if(e.isText&&t.isText&&p.sameSet(e.marks,t.marks))return e.withText(e.text+t.text)}(r,e))?t[t.length-1]=n:t.push(e))},Qu.prototype.openMark=function(e){this.marks=e.addToSet(this.marks)},Qu.prototype.closeMark=function(e){this.marks=e.removeFromSet(this.marks)},Qu.prototype.parseTokens=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=this.tokenHandlers[r.type];if(!n)throw new Error("Token type `"+r.type+"` not supported by Markdown parser");n(this,r,e,t)}},Qu.prototype.addNode=function(e,t,r){r=e.createAndFill(t,r,this.marks);return r?(this.push(r),r):null},Qu.prototype.openNode=function(e,t){this.stack.push({type:e,attrs:t,content:[]})},Qu.prototype.closeNode=function(){this.marks.length&&(this.marks=p.none);var e=this.stack.pop();return this.addNode(e.type,e.attrs,e.content)};function id(e,t,r){this.tokens=r,this.schema=e,this.tokenizer=t,this.tokenHandlers=od(e,r)}function ad(e,t){for(;++t<e.length;)if("list_item_open"!=e[t].type)return e[t].hidden;return!1}id.prototype.parse=function(e){var t,r=new Qu(this.schema,this.tokenHandlers);for(r.parseTokens(this.tokenizer.parse(e,{}));t=r.closeNode(),r.stack.length;);return t};function sd(e,t){this.nodes=e,this.marks=t}var cd=new id(Xu,Yu("commonmark",{html:!1}),{blockquote:{block:"blockquote"},paragraph:{block:"paragraph"},list_item:{block:"list_item"},bullet_list:{block:"bullet_list",getAttrs:function(e,t,r){return{tight:ad(t,r)}}},ordered_list:{block:"ordered_list",getAttrs:function(e,t,r){return{order:+e.attrGet("start")||1,tight:ad(t,r)}}},heading:{block:"heading",getAttrs:function(e){return{level:+e.tag.slice(1)}}},code_block:{block:"code_block",noCloseToken:!0},fence:{block:"code_block",getAttrs:function(e){return{params:e.info||""}},noCloseToken:!0},hr:{node:"horizontal_rule"},image:{node:"image",getAttrs:function(e){return{src:e.attrGet("src"),title:e.attrGet("title")||null,alt:e.children[0]&&e.children[0].content||null}}},hardbreak:{node:"hard_break"},em:{mark:"em"},strong:{mark:"strong"},link:{mark:"link",getAttrs:function(e){return{href:e.attrGet("href"),title:e.attrGet("title")||null}}},code_inline:{mark:"code",noCloseToken:!0}});sd.prototype.serialize=function(e,t){t=new pd(this.nodes,this.marks,t);return t.renderContent(e),t.out};var ld=new sd({blockquote:function(e,t){e.wrapBlock("> ",null,t,function(){return e.renderContent(t)})},code_block:function(e,t){e.write("```"+(t.attrs.params||"")+"\n"),e.text(t.textContent,!1),e.ensureNewLine(),e.write("```"),e.closeBlock(t)},heading:function(e,t){e.write(e.repeat("#",t.attrs.level)+" "),e.renderInline(t),e.closeBlock(t)},horizontal_rule:function(e,t){e.write(t.attrs.markup||"---"),e.closeBlock(t)},bullet_list:function(e,t){e.renderList(t," ",function(){return(t.attrs.bullet||"*")+" "})},ordered_list:function(t,e){var r=e.attrs.order||1,n=String(r+e.childCount-1).length,o=t.repeat(" ",n+2);t.renderList(e,o,function(e){e=String(r+e);return t.repeat(" ",n-e.length)+e+". "})},list_item:function(e,t){e.renderContent(t)},paragraph:function(e,t){e.renderInline(t),e.closeBlock(t)},image:function(e,t){e.write("+(t.attrs.title?" "+e.quote(t.attrs.title):"")+")")},hard_break:function(e,t,r,n){for(var o=n+1;o<r.childCount;o++)if(r.child(o).type!=t.type)return void e.write("\\\n")},text:function(e,t){e.text(t.text)}},{em:{open:"*",close:"*",mixable:!0,expelEnclosingWhitespace:!0},strong:{open:"**",close:"**",mixable:!0,expelEnclosingWhitespace:!0},link:{open:function(e,t,r,n){return dd(t,r,n,1)?"<":"["},close:function(e,t,r,n){return dd(t,r,n,-1)?">":"]("+e.esc(t.attrs.href)+(t.attrs.title?" "+e.quote(t.attrs.title):"")+")"}},code:{open:function(e,t,r,n){return ud(r.child(n),-1)},close:function(e,t,r,n){return ud(r.child(n-1),1)},escape:!1}});function ud(e,t){var r,n=/`+/g,o=0;if(e.isText)for(;r=n.exec(e.text);)o=Math.max(o,r[0].length);for(var i=0<o&&0<t?" `":"`",a=0;a<o;a++)i+="`";return 0<o&&t<0&&(i+=" "),i}function dd(e,t,r,n){if(!e.attrs.title&&/^\w+:/.test(e.attrs.href)){var o=t.child(r+(n<0?-1:0));if(o.isText&&o.text==e.attrs.href&&o.marks[o.marks.length-1]==e){if(r==(n<0?1:t.childCount-1))return 1;n=t.child(r+(n<0?-2:1));return!e.isInSet(n.marks)}}}var pd=function(e,t,r){this.nodes=e,this.marks=t,this.delim=this.out="",this.closed=!1,this.inTightList=!1,this.options=r||{},void 0===this.options.tightLists&&(this.options.tightLists=!1)};pd.prototype.flushClose=function(e){if(this.closed){if(this.atBlank()||(this.out+="\n"),1<(e=null==e?2:e)){var t=this.delim,r=/\s+$/.exec(t);r&&(t=t.slice(0,t.length-r[0].length));for(var n=1;n<e;n++)this.out+=t+"\n"}this.closed=!1}},pd.prototype.wrapBlock=function(e,t,r,n){var o=this.delim;this.write(t||e),this.delim+=e,n(),this.delim=o,this.closeBlock(r)},pd.prototype.atBlank=function(){return/(^|\n)$/.test(this.out)},pd.prototype.ensureNewLine=function(){this.atBlank()||(this.out+="\n")},pd.prototype.write=function(e){this.flushClose(),this.delim&&this.atBlank()&&(this.out+=this.delim),e&&(this.out+=e)},pd.prototype.closeBlock=function(e){this.closed=e},pd.prototype.text=function(e,t){for(var r=e.split("\n"),n=0;n<r.length;n++){var o=this.atBlank()||this.closed;this.write(),this.out+=!1!==t?this.esc(r[n],o):r[n],n!=r.length-1&&(this.out+="\n")}},pd.prototype.render=function(e,t,r){if("number"==typeof t)throw new Error("!");if(!this.nodes[e.type.name])throw new Error("Token type `"+e.type.name+"` not supported by Markdown renderer");this.nodes[e.type.name](this,e,t,r)},pd.prototype.renderContent=function(n){var o=this;n.forEach(function(e,t,r){return o.render(e,n,r)})},pd.prototype.renderInline=function(m){function e(e,t,r){var n=e?e.marks:[];e&&"hard_break"===e.type.name&&(n=n.filter(function(e){if(r+1==m.childCount)return!1;var t=m.child(r+1);return e.isInSet(t.marks)&&(!t.isText||/\S/.test(t.text))}));var o,i=_;_="",e&&e.isText&&n.some(function(e){e=g.marks[e.type.name];return e&&e.expelEnclosingWhitespace})&&((a=/^(\s*)(.*?)(\s*)$/m.exec(e.text))[0],o=a[1],s=a[2],a=a[3],i+=o,_=a,(o||a)&&((e=s?e.withText(s):null)||(n=y)));var a=n.length&&n[n.length-1],s=a&&!1===g.marks[a.type.name].escape,c=n.length-(s?1:0);e:for(var l=0;l<c;l++){var u=n[l];if(!g.marks[u.type.name].mixable)break;for(var d=0;d<y.length;d++){var p=y[d];if(!g.marks[p.type.name].mixable)break;if(u.eq(p)){d<l?n=n.slice(0,d).concat(u).concat(n.slice(d,l)).concat(n.slice(l+1,c)):l<d&&(n=n.slice(0,l).concat(n.slice(l+1,d)).concat(u).concat(n.slice(d,c)));continue e}}}for(var h=0;h<Math.min(y.length,c)&&n[h].eq(y[h]);)++h;for(;h<y.length;)g.text(g.markString(y.pop(),!1,m,r),!1);if(i&&g.text(i),e){for(;y.length<c;){var f=n[y.length];y.push(f),g.text(g.markString(f,!0,m,r),!1)}s&&e.isText?g.text(g.markString(a,!0,m,r)+e.text+g.markString(a,!1,m,r+1),!1):g.render(e,m,r)}}var g=this,y=[],_="";m.forEach(e),e(null,0,m.childCount)},pd.prototype.renderList=function(n,o,i){var a=this;this.closed&&this.closed.type==n.type?this.flushClose(3):this.inTightList&&this.flushClose(1);var s=void 0!==n.attrs.tight?n.attrs.tight:this.options.tightLists,e=this.inTightList;this.inTightList=s,n.forEach(function(e,t,r){r&&s&&a.flushClose(1),a.wrapBlock(o,i(r),n,function(){return a.render(e,n,r)})}),this.inTightList=e},pd.prototype.esc=function(e,t){return e=e.replace(/[`*\\~\[\]]/g,"\\$&"),e=t?e.replace(/^[:#\-*+]/,"\\$&").replace(/^(\s*\d+)\./,"$1\\."):e},pd.prototype.quote=function(e){var t=-1==e.indexOf('"')?'""':-1==e.indexOf("'")?"''":"()";return t[0]+e+t[1]},pd.prototype.repeat=function(e,t){for(var r="",n=0;n<t;n++)r+=e;return r},pd.prototype.markString=function(e,t,r,n){var o=this.marks[e.type.name],o=t?o.open:o.close;return"string"==typeof o?o:o(this,e,r,n)},pd.prototype.getEnclosingWhitespace=function(e){return{leading:(e.match(/^(\s+)/)||[])[0],trailing:(e.match(/(\s+)$/)||[])[0]}};var hd={id:"doc",schema:{nodes:{doc:{sortOrder:0,content:"block+"}}}};function fd(e){return[{id:"wrapBlockQuote",node:"blockquote",group:"format",item:Qi(e.schema.nodes.blockquote,{title:e.translate("Wrap in block quote"),icon:Ki.blockquote,sortOrder:300})}]}var md={id:"blockquote",schema:{nodes:{blockquote:{sortOrder:200,content:"block+",group:"block",marks:"",parseDOM:[{tag:"blockquote"}],toDOM:function(){return["blockquote",0]},parseMarkdown:{block:"blockquote"},toMarkdown:function(e,t){if(e.table)return e.renderContent(t);e.wrapBlock("> ",null,t,function(){return e.renderContent(t)})}}}},menu:fd,inputRules:function(e){return[ho(/^\s*>\s$/,e.nodes.blockquote)]}};function gd(c,l){return function(e,t){var r=e.selection,n=r.$from,o=r.$to,i=n.blockRange(o),a=!1,s=i;if(!i)return!1;if(2<=i.depth&&n.node(i.depth-1).type.compatibleContent(c)&&0==i.startIndex){if(0==n.index(i.depth-1))return!1;r=e.doc.resolve(i.start-2),s=new x(r,r,i.depth);i.endIndex<i.parent.childCount&&(i=new x(n,e.doc.resolve(o.end(i.depth)),i.depth)),a=!0}s=Ae(s,c,l,i);return!!s&&(t&&t(function(e,t,r,n,o){for(var i=E.empty,a=r.length-1;0<=a;a--)i=E.from(r[a].type.create(r[a].attrs,i));e.step(new Ce(t.start-(n?2:0),t.end,t.start,t.end,new A(i,0,0),r.length,!0));for(var s=0,c=0;c<r.length;c++)r[c].type==o&&(s=c+1);for(var l=r.length-s,u=t.start+r.length-(n?2:0),d=t.parent,p=t.startIndex,h=t.endIndex,f=!0;p<h;p++,f=!1)!f&&Me(e.doc,u,l)&&(e.split(u,l),u+=2*l),u+=d.child(p).nodeSize;return e}(e.tr,i,s,a,c).scrollIntoView()),!0)}}function yd(o){return function(e,t){var r=e.selection,n=r.$from,r=r.$to,r=n.blockRange(r,function(e){return e.childCount&&e.firstChild.type==o});return!!r&&(!t||(n.node(r.depth-1).type==o?function(e,t,r,n){var o=e.tr,i=n.end,e=n.$to.end(n.depth);i<e&&(o.step(new Ce(i-1,e,i,e,new A(E.from(r.create(null,n.parent.copy())),1,0),1,!0)),n=new x(o.doc.resolve(n.$from.pos),o.doc.resolve(e),n.depth));return t(o.lift(n,Ee(n)).scrollIntoView()),!0}(e,t,o,r):function(e,t,r){for(var n=e.tr,o=r.parent,i=r.end,a=r.endIndex-1,s=r.startIndex;s<a;a--)i-=o.child(a).nodeSize,n.delete(i-1,i+1);var c=n.doc.resolve(r.start),l=c.nodeAfter,u=0==r.startIndex,d=r.endIndex==o.childCount,e=c.node(-1),r=c.index(-1);if(!e.canReplace(r+(u?0:1),r+1,l.content.append(d?E.empty:E.from(o))))return!1;c=c.pos,l=c+l.nodeSize;return n.step(new Ce(c-(u?1:0),l+(d?1:0),c+1,l-1,new A((u?E.empty:E.from(o.copy(E.empty))).append(d?E.empty:E.from(o.copy(E.empty))),u?0:1,d?0:1),u?0:1)),t(n.scrollIntoView()),!0}(e,t,r)))}}function _d(a){return function(e,t){var r=e.selection,n=r.$from,o=r.$to,i=n.blockRange(o,function(e){return e.childCount&&e.firstChild.type==a});if(!i)return!1;r=i.startIndex;if(0==r)return!1;n=i.parent,o=n.child(r-1);return o.type==a&&(t&&(r=o.lastChild&&o.lastChild.type==n.type,o=E.from(r?a.create():null),n=new A(E.from(a.create(null,E.from(n.type.create(null,o)))),r?3:1,0),o=i.start,i=i.end,t(e.tr.step(new Ce(o-(r?3:1),i,o,i,n,1,!0)).scrollIntoView())),!0)}}function bd(e){return[{id:"wrapBulletList",node:"bullet_list",group:"format",item:$i(gd(e.schema.nodes.bullet_list),{title:e.translate("Wrap in bullet list"),icon:Ki.bulletList,sortOrder:100})}]}var wd={id:"bullet_list",schema:{nodes:{bullet_list:{sortOrder:700,content:"list_item+",group:"block",attrs:{tight:{default:!0}},parseDOM:[{tag:"ul",getAttrs:function(e){return{tight:e.hasAttribute("data-tight")}}}],toDOM:function(e){return["ul",{"data-tight":e.attrs.tight?"true":null},0]},parseMarkdown:{block:"bullet_list"},toMarkdown:function(e,t){e.renderList(t," ",function(){return(t.attrs.bullet||"*")+" "})}}}},menu:bd,inputRules:function(e){return[ho(/^\s*([-+*])\s$/,e.nodes.bullet_list)]}};function kd(e){return[{id:"markCode",mark:"code",group:"marks",item:Li(e.schema.marks.code,{title:e.translate("Toggle code font"),icon:Ki.code,sortOrder:400})}]}var vd={id:"code",schema:{marks:{code:{isCode:!0,sortOrder:400,preventMarks:["link"],parseDOM:[{tag:"code"}],toDOM:function(){return["code"]},parseMarkdown:{code_inline:{mark:"code"}},toMarkdown:{open:"`",close:"`"}}}},menu:kd,inputRules:function(e){return[(t=/(?:`)([^`]+)$/,a=e.marks.code,new eo(t,function(e,t,r,n){var o=l instanceof Function?l(t):l,i=e.tr,e=e.selection.$to.nodeAfter;return e&&e.isText&&0===e.text.indexOf("`")?(i.delete(r,n+1),i.addStoredMark(a.create(o)),i.insertText(t[1],r),i):null})),(t=/(?:`)([^`]+)(?:`)$/,s=e.marks.code,new eo(t,function(e,t,r,n){var o=c instanceof Function?c(t):c,i=e.tr;if(t[1]){var a=r+t[0].indexOf(t[1]),e=a+t[1].length;return e<n&&i.delete(e,n),r<a&&i.delete(r,a),n=r+t[1].length,i.addMark(r,n,s.create(o)),i.removeStoredMark(s),i}return null}))];var s,c,t,a,l}};function xd(e){return[{id:"makeCodeBlock",node:"code_block",group:"types",item:ea((e=e).schema.nodes.code_block,{title:e.translate("Change to code block"),label:e.translate("Code")})}]}var zd={id:"code_block",schema:{nodes:{code_block:{sortOrder:500,content:"text*",group:"block",code:!0,defining:!0,marks:"",attrs:{params:{default:""}},parseDOM:[{tag:"pre",preserveWhitespace:!0,getAttrs:function(e){return{params:e.getAttribute("data-params")||""}}}],toDOM:function(e){return["pre",e.attrs.params?{"data-params":e.attrs.params}:{},["code",0]]},parseMarkdown:{block:"code_block"},toMarkdown:function(e,t){e.table?e.wrapBlock("`","`",t,function(){return e.text(t.textContent,!1)}):(t.attrs.params?e.write("```"+t.attrs.params+"\n"):e.write("```\n"),e.text(t.textContent,!1),e.ensureNewLine(),e.write("```"),e.closeBlock(t))}},fence:{parseMarkdown:{block:"code_block",getAttrs:function(e){return{params:e.info||""}}}}}},menu:xd,inputRules:function(e){return[fo(/^```$/,e.nodes.code_block)]}};function Cd(e){return[{id:"markEm",mark:"em",group:"marks",item:Li(e.schema.marks.em,{title:e.translate("Toggle emphasis"),icon:Ki.em,sortOrder:200})}]}var Sd,Ed,Ad,qd,Md,Dd,Td,Nd,Od={id:"em",schema:{marks:{em:{sortOrder:100,parseDOM:[{tag:"i"},{tag:"em"},{style:"font-style",getAttrs:function(e){return"italic"==e&&null}}],toDOM:function(){return["em"]},parseMarkdown:{mark:"em"},toMarkdown:{open:"*",close:"*",mixable:!0,expelEnclosingWhitespace:!0}}}},menu:Cd},Id=(Sd={base:"https://twemoji.maxcdn.com/v/13.1.0/",ext:".png",size:"72x72",className:"emoji",convert:{fromCodePoint:function(e){e="string"==typeof e?parseInt(e,16):e;if(e<65536)return Nd(e);return Nd(55296+((e-=65536)>>10),56320+(1023&e))},toCodePoint:Fd},onerror:function(){this.parentNode&&this.parentNode.replaceChild($d(this.alt,!1),this)},parse:function(e,t){t&&"function"!=typeof t||(t={callback:t});return("string"==typeof e?function(e,a){return Bd(e,function(e){var t,r,n=e,o=Rd(e),i=a.callback(o,a);if(o&&i){for(r in n="<img ".concat('class="',a.className,'" ','draggable="false" ','alt="',e,'"',' src="',i,'"'),t=a.attributes(e,o))t.hasOwnProperty(r)&&0!==r.indexOf("on")&&-1===n.indexOf(" "+r+"=")&&(n=n.concat(" ",r,'="',t[r].replace(Dd,jd),'"'));n=n.concat("/>")}return n})}:function(e,t){var r,n,o,i,a,s,c,l,u,d,p,h=function e(t,r){var n,o,i=t.childNodes,a=i.length;for(;a--;)n=i[a],3===(o=n.nodeType)?r.push(n):1!==o||"ownerSVGElement"in n||Td.test(n.nodeName.toLowerCase())||e(n,r);return r}(e,[]),f=h.length;for(;f--;){for(o=!1,i=document.createDocumentFragment(),a=h[f],s=a.nodeValue,c=0;d=Ad.exec(s);){if((p=d.index)!==c&&i.appendChild($d(s.slice(c,p),!0)),u=d[0],d=Rd(u),c=p+u.length,p=t.callback(d,t),d&&p){for(n in(l=new Image).onerror=t.onerror,l.setAttribute("draggable","false"),r=t.attributes(u,d))r.hasOwnProperty(n)&&0!==n.indexOf("on")&&!l.hasAttribute(n)&&l.setAttribute(n,r[n]);l.className=t.className,l.alt=u,l.src=p,o=!0,i.appendChild(l)}l||i.appendChild($d(u,!1)),l=null}o&&(c<s.length&&i.appendChild($d(s.slice(c),!0)),a.parentNode.replaceChild(i,a))}return e})(e,{callback:t.callback||Ld,attributes:"function"==typeof t.attributes?t.attributes:Pd,base:("string"==typeof t.base?t:Sd).base,ext:t.ext||Sd.ext,size:t.folder||function(e){return"number"==typeof e?e+"x"+e:e}(t.size||Sd.size),className:t.className||Sd.className,onerror:t.onerror||Sd.onerror})},replace:Bd,test:function(e){Ad.lastIndex=0;e=Ad.test(e);return Ad.lastIndex=0,e}},Ed={"&":"&","<":"<",">":">","'":"'",'"':"""},Ad=/(?:\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83d\udc68\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc68\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc68\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc68\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffc-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffd-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb\udffc\udffe\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffd\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc68\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83d\udc69\ud83c[\udffb-\udfff]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc68\ud83c[\udffb-\udffe]|\ud83d\udc69\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83d\udc69\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udffb\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffc-\udfff]|\ud83e\uddd1\ud83c\udffb\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffd-\udfff]|\ud83e\uddd1\ud83c\udffc\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb\udffc\udffe\udfff]|\ud83e\uddd1\ud83c\udffd\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffd\udfff]|\ud83e\uddd1\ud83c\udffe\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83e\uddd1\ud83c\udfff\u200d\u2764\ufe0f\u200d\ud83e\uddd1\ud83c[\udffb-\udffe]|\ud83e\uddd1\ud83c\udfff\u200d\ud83e\udd1d\u200d\ud83e\uddd1\ud83c[\udffb-\udfff]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d[\udc68\udc69]|\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68|\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d[\udc68\udc69]|\ud83e\uddd1\u200d\ud83e\udd1d\u200d\ud83e\uddd1|\ud83d\udc6b\ud83c[\udffb-\udfff]|\ud83d\udc6c\ud83c[\udffb-\udfff]|\ud83d\udc6d\ud83c[\udffb-\udfff]|\ud83d\udc8f\ud83c[\udffb-\udfff]|\ud83d\udc91\ud83c[\udffb-\udfff]|\ud83d[\udc6b-\udc6d\udc8f\udc91])|(?:\ud83d[\udc68\udc69]|\ud83e\uddd1)(?:\ud83c[\udffb-\udfff])?\u200d(?:\u2695\ufe0f|\u2696\ufe0f|\u2708\ufe0f|\ud83c[\udf3e\udf73\udf7c\udf84\udf93\udfa4\udfa8\udfeb\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92]|\ud83e[\uddaf-\uddb3\uddbc\uddbd])|(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75]|\u26f9)((?:\ud83c[\udffb-\udfff]|\ufe0f)\u200d[\u2640\u2642]\ufe0f)|(?:\ud83c[\udfc3\udfc4\udfca]|\ud83d[\udc6e\udc70\udc71\udc73\udc77\udc81\udc82\udc86\udc87\ude45-\ude47\ude4b\ude4d\ude4e\udea3\udeb4-\udeb6]|\ud83e[\udd26\udd35\udd37-\udd39\udd3d\udd3e\uddb8\uddb9\uddcd-\uddcf\uddd4\uddd6-\udddd])(?:\ud83c[\udffb-\udfff])?\u200d[\u2640\u2642]\ufe0f|(?:\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\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66|\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d[\udc66\udc67]|\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\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\u26a7\ufe0f|\ud83c\udff3\ufe0f\u200d\ud83c\udf08|\ud83d\ude36\u200d\ud83c\udf2b\ufe0f|\u2764\ufe0f\u200d\ud83d\udd25|\u2764\ufe0f\u200d\ud83e\ude79|\ud83c\udff4\u200d\u2620\ufe0f|\ud83d\udc15\u200d\ud83e\uddba|\ud83d\udc3b\u200d\u2744\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|\ud83d\ude2e\u200d\ud83d\udca8|\ud83d\ude35\u200d\ud83d\udcab|\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|\ud83d\udc08\u200d\u2b1b)|[#*0-9]\ufe0f?\u20e3|(?:[©®\u2122\u265f]\ufe0f)|(?:\ud83c[\udc04\udd70\udd71\udd7e\udd7f\ude02\ude1a\ude2f\ude37\udf21\udf24-\udf2c\udf36\udf7d\udf96\udf97\udf99-\udf9b\udf9e\udf9f\udfcd\udfce\udfd4-\udfdf\udff3\udff5\udff7]|\ud83d[\udc3f\udc41\udcfd\udd49\udd4a\udd6f\udd70\udd73\udd76-\udd79\udd87\udd8a-\udd8d\udda5\udda8\uddb1\uddb2\uddbc\uddc2-\uddc4\uddd1-\uddd3\udddc-\uddde\udde1\udde3\udde8\uddef\uddf3\uddfa\udecb\udecd-\udecf\udee0-\udee5\udee9\udef0\udef3]|[\u203c\u2049\u2139\u2194-\u2199\u21a9\u21aa\u231a\u231b\u2328\u23cf\u23ed-\u23ef\u23f1\u23f2\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\u26a7\u26aa\u26ab\u26b0\u26b1\u26bd\u26be\u26c4\u26c5\u26c8\u26cf\u26d1\u26d3\u26d4\u26e9\u26ea\u26f0-\u26f5\u26f8\u26fa\u26fd\u2702\u2708\u2709\u270f\u2712\u2714\u2716\u271d\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u2764\u27a1\u2934\u2935\u2b05-\u2b07\u2b1b\u2b1c\u2b50\u2b55\u3030\u303d\u3297\u3299])(?:\ufe0f|(?!\ufe0e))|(?:(?:\ud83c[\udfcb\udfcc]|\ud83d[\udd74\udd75\udd90]|[\u261d\u26f7\u26f9\u270c\u270d])(?:\ufe0f|(?!\ufe0e))|(?:\ud83c[\udf85\udfc2-\udfc4\udfc7\udfca]|\ud83d[\udc42\udc43\udc46-\udc50\udc66-\udc69\udc6e\udc70-\udc78\udc7c\udc81-\udc83\udc85-\udc87\udcaa\udd7a\udd95\udd96\ude45-\ude47\ude4b-\ude4f\udea3\udeb4-\udeb6\udec0\udecc]|\ud83e[\udd0c\udd0f\udd18-\udd1c\udd1e\udd1f\udd26\udd30-\udd39\udd3d\udd3e\udd77\uddb5\uddb6\uddb8\uddb9\uddbb\uddcd-\uddcf\uddd1-\udddd]|[\u270a\u270b]))(?:\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]|\ud83c[\udccf\udd8e\udd91-\udd9a\udde6-\uddff\ude01\ude32-\ude36\ude38-\ude3a\ude50\ude51\udf00-\udf20\udf2d-\udf35\udf37-\udf7c\udf7e-\udf84\udf86-\udf93\udfa0-\udfc1\udfc5\udfc6\udfc8\udfc9\udfcf-\udfd3\udfe0-\udff0\udff4\udff8-\udfff]|\ud83d[\udc00-\udc3e\udc40\udc44\udc45\udc51-\udc65\udc6a\udc6f\udc79-\udc7b\udc7d-\udc80\udc84\udc88-\udc8e\udc90\udc92-\udca9\udcab-\udcfc\udcff-\udd3d\udd4b-\udd4e\udd50-\udd67\udda4\uddfb-\ude44\ude48-\ude4a\ude80-\udea2\udea4-\udeb3\udeb7-\udebf\udec1-\udec5\uded0-\uded2\uded5-\uded7\udeeb\udeec\udef4-\udefc\udfe0-\udfeb]|\ud83e[\udd0d\udd0e\udd10-\udd17\udd1d\udd20-\udd25\udd27-\udd2f\udd3a\udd3c\udd3f-\udd45\udd47-\udd76\udd78\udd7a-\uddb4\uddb7\uddba\uddbc-\uddcb\uddd0\uddde-\uddff\ude70-\ude74\ude78-\ude7a\ude80-\ude86\ude90-\udea8\udeb0-\udeb6\udec0-\udec2\uded0-\uded6]|[\u23e9-\u23ec\u23f0\u23f3\u267e\u26ce\u2705\u2728\u274c\u274e\u2753-\u2755\u2795-\u2797\u27b0\u27bf\ue50a])|\ufe0f/g,qd=/\uFE0F/g,Md=String.fromCharCode(8205),Dd=/[&<>'"]/g,Td=/^(?:iframe|noframes|noscript|script|select|style|textarea)$/,Nd=String.fromCharCode,Sd);function $d(e,t){return document.createTextNode(t?e.replace(qd,""):e)}function Ld(e,t){return"".concat(t.base,t.size,"/",e,t.ext)}function Rd(e){return Fd(e.indexOf(Md)<0?e.replace(qd,""):e)}function jd(e){return Ed[e]}function Pd(){return null}function Bd(e,t){return String(e).replace(Ad,t)}function Fd(e,t){for(var r=[],n=0,o=0,i=0;i<e.length;)n=e.charCodeAt(i++),o?(r.push((65536+(o-55296<<10)+(n-56320)).toString(16)),o=0):55296<=n&&n<=56319?o=n:r.push(n.toString(16));return r.join(t||"-")}var Ud={nodes:{emoji:{attrs:{class:{default:"emoji"},draggable:{default:"false"},width:{default:"16"},height:{default:"16"},"data-name":{default:null},alt:{default:null},src:{default:null}},inline:!0,group:"inline",parseDOM:[{tag:"img.emoji",getAttrs:function(e){return{src:e.getAttribute("src"),alt:e.getAttribute("alt"),"data-name":String(e.getAttribute("data-name"))}}}],toDOM:function(e){return["img",e.attrs]},parseMarkdown:{node:"emoji",getAttrs:function(e){var t=humhub&&humhub.config?humhub.config.get("ui.richtext.prosemirror","emoji").twemoji:null,t=$(Id.parse(e.content,t));return{"data-name":String(e.markup),alt:t.attr("alt"),src:t.attr("src")}}},toMarkdown:function(e,t){t=t.attrs["data-name"]?":"+e.esc(t.attrs["data-name"])+":":e.alt?e.esc(e.alt):"";e.write(t)}}},marks:{emojiQuery:{excludes:"_",inclusive:!0,parseDOM:[{tag:"span[data-emoji-query]"}],toDOM:function(e){return["span",{"data-emoji-query":!0}]}}}},Vd={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]};Vd.angry,Vd.blush,Vd.broken_heart,Vd.confused,Vd.cry,Vd.frowning,Vd.heart,Vd.imp,Vd.innocent,Vd.joy,Vd.kissing,Vd.laughing,Vd.neutral_face,Vd.open_mouth,Vd.rage,Vd.smile,Vd.smiley,Vd.smiling_imp,Vd.sob,Vd.stuck_out_tongue,Vd.sunglasses,Vd.sweat,Vd.sweat_smile,Vd.unamused,Vd.wink;var Hd={keywords:["face","smile","happy","joy",":D","grin"],char:"😀",fitzpatrick_scale:!1,category:"people"},Wd={keywords:["face","grimace","teeth"],char:"😬",fitzpatrick_scale:!1,category:"people"},Gd={keywords:["face","happy","smile","joy","kawaii"],char:"😁",fitzpatrick_scale:!1,category:"people"},Zd={keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"😂",fitzpatrick_scale:!1,category:"people"},Kd={keywords:["face","rolling","floor","laughing","lol","haha"],char:"🤣",fitzpatrick_scale:!1,category:"people"},Jd={keywords:["face","celebration","woohoo"],char:"🥳",fitzpatrick_scale:!1,category:"people"},Yd={keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"😃",fitzpatrick_scale:!1,category:"people"},Xd={keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"😄",fitzpatrick_scale:!1,category:"people"},Qd={keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"😅",fitzpatrick_scale:!1,category:"people"},ep={keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"😆",fitzpatrick_scale:!1,category:"people"},tp={keywords:["face","angel","heaven","halo"],char:"😇",fitzpatrick_scale:!1,category:"people"},rp={keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"😉",fitzpatrick_scale:!1,category:"people"},np={keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"😊",fitzpatrick_scale:!1,category:"people"},op={keywords:["face","smile"],char:"🙂",fitzpatrick_scale:!1,category:"people"},ip={keywords:["face","flipped","silly","smile"],char:"🙃",fitzpatrick_scale:!1,category:"people"},ap={keywords:["face","blush","massage","happiness"],char:"☺️",fitzpatrick_scale:!1,category:"people"},sp={keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"😋",fitzpatrick_scale:!1,category:"people"},cp={keywords:["face","relaxed","phew","massage","happiness"],char:"😌",fitzpatrick_scale:!1,category:"people"},lp={keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"😍",fitzpatrick_scale:!1,category:"people"},up={keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"🥰",fitzpatrick_scale:!1,category:"people"},dp={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😘",fitzpatrick_scale:!1,category:"people"},pp={keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"😗",fitzpatrick_scale:!1,category:"people"},hp={keywords:["face","affection","valentines","infatuation","kiss"],char:"😙",fitzpatrick_scale:!1,category:"people"},fp={keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"😚",fitzpatrick_scale:!1,category:"people"},mp={keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"😜",fitzpatrick_scale:!1,category:"people"},gp={keywords:["face","goofy","crazy"],char:"🤪",fitzpatrick_scale:!1,category:"people"},yp={keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"🤨",fitzpatrick_scale:!1,category:"people"},_p={keywords:["face","stuffy","wealthy"],char:"🧐",fitzpatrick_scale:!1,category:"people"},bp={keywords:["face","prank","playful","mischievous","smile","tongue"],char:"😝",fitzpatrick_scale:!1,category:"people"},wp={keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"😛",fitzpatrick_scale:!1,category:"people"},kp={keywords:["face","rich","dollar","money"],char:"🤑",fitzpatrick_scale:!1,category:"people"},vp={keywords:["face","nerdy","geek","dork"],char:"🤓",fitzpatrick_scale:!1,category:"people"},xp={keywords:["face","cool","smile","summer","beach","sunglass"],char:"😎",fitzpatrick_scale:!1,category:"people"},zp={keywords:["face","smile","starry","eyes","grinning"],char:"🤩",fitzpatrick_scale:!1,category:"people"},Cp={keywords:["face"],char:"🤡",fitzpatrick_scale:!1,category:"people"},Sp={keywords:["face","cowgirl","hat"],char:"🤠",fitzpatrick_scale:!1,category:"people"},Ep={keywords:["face","smile","hug"],char:"🤗",fitzpatrick_scale:!1,category:"people"},Ap={keywords:["face","smile","mean","prank","smug","sarcasm"],char:"😏",fitzpatrick_scale:!1,category:"people"},qp={keywords:["face","hellokitty"],char:"😶",fitzpatrick_scale:!1,category:"people"},Mp={keywords:["indifference","meh",":|","neutral"],char:"😐",fitzpatrick_scale:!1,category:"people"},Dp={keywords:["face","indifferent","-_-","meh","deadpan"],char:"😑",fitzpatrick_scale:!1,category:"people"},Tp={keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"😒",fitzpatrick_scale:!1,category:"people"},Np={keywords:["face","eyeroll","frustrated"],char:"🙄",fitzpatrick_scale:!1,category:"people"},Op={keywords:["face","hmmm","think","consider"],char:"🤔",fitzpatrick_scale:!1,category:"people"},Ip={keywords:["face","lie","pinocchio"],char:"🤥",fitzpatrick_scale:!1,category:"people"},$p={keywords:["face","whoops","shock","surprise"],char:"🤭",fitzpatrick_scale:!1,category:"people"},Lp={keywords:["face","quiet","shhh"],char:"🤫",fitzpatrick_scale:!1,category:"people"},Rp={keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"🤬",fitzpatrick_scale:!1,category:"people"},jp={keywords:["face","shocked","mind","blown"],char:"🤯",fitzpatrick_scale:!1,category:"people"},Pp={keywords:["face","blush","shy","flattered"],char:"😳",fitzpatrick_scale:!1,category:"people"},Bp={keywords:["face","sad","upset","depressed",":("],char:"😞",fitzpatrick_scale:!1,category:"people"},Fp={keywords:["face","concern","nervous",":("],char:"😟",fitzpatrick_scale:!1,category:"people"},Up={keywords:["mad","face","annoyed","frustrated"],char:"😠",fitzpatrick_scale:!1,category:"people"},Vp={keywords:["angry","mad","hate","despise"],char:"😡",fitzpatrick_scale:!1,category:"people"},Hp={keywords:["face","sad","depressed","upset"],char:"😔",fitzpatrick_scale:!1,category:"people"},Wp={keywords:["face","indifference","huh","weird","hmmm",":/"],char:"😕",fitzpatrick_scale:!1,category:"people"},Gp={keywords:["face","frowning","disappointed","sad","upset"],char:"🙁",fitzpatrick_scale:!1,category:"people"},Zp={keywords:["face","sad","upset","frown"],char:"☹",fitzpatrick_scale:!1,category:"people"},Kp={keywords:["face","sick","no","upset","oops"],char:"😣",fitzpatrick_scale:!1,category:"people"},Jp={keywords:["face","confused","sick","unwell","oops",":S"],char:"😖",fitzpatrick_scale:!1,category:"people"},Yp={keywords:["sick","whine","upset","frustrated"],char:"😫",fitzpatrick_scale:!1,category:"people"},Xp={keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"😩",fitzpatrick_scale:!1,category:"people"},Qp={keywords:["face","begging","mercy"],char:"🥺",fitzpatrick_scale:!1,category:"people"},eh={keywords:["face","gas","phew","proud","pride"],char:"😤",fitzpatrick_scale:!1,category:"people"},th={keywords:["face","surprise","impressed","wow","whoa",":O"],char:"😮",fitzpatrick_scale:!1,category:"people"},rh={keywords:["face","munch","scared","omg"],char:"😱",fitzpatrick_scale:!1,category:"people"},nh={keywords:["face","scared","terrified","nervous","oops","huh"],char:"😨",fitzpatrick_scale:!1,category:"people"},oh={keywords:["face","nervous","sweat"],char:"😰",fitzpatrick_scale:!1,category:"people"},ih={keywords:["face","woo","shh"],char:"😯",fitzpatrick_scale:!1,category:"people"},ah={keywords:["face","aw","what"],char:"😦",fitzpatrick_scale:!1,category:"people"},sh={keywords:["face","stunned","nervous"],char:"😧",fitzpatrick_scale:!1,category:"people"},ch={keywords:["face","tears","sad","depressed","upset",":'("],char:"😢",fitzpatrick_scale:!1,category:"people"},lh={keywords:["face","phew","sweat","nervous"],char:"😥",fitzpatrick_scale:!1,category:"people"},uh={keywords:["face"],char:"🤤",fitzpatrick_scale:!1,category:"people"},dh={keywords:["face","tired","rest","nap"],char:"😪",fitzpatrick_scale:!1,category:"people"},ph={keywords:["face","hot","sad","tired","exercise"],char:"😓",fitzpatrick_scale:!1,category:"people"},hh={keywords:["face","feverish","heat","red","sweating"],char:"🥵",fitzpatrick_scale:!1,category:"people"},fh={keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"🥶",fitzpatrick_scale:!1,category:"people"},mh={keywords:["face","cry","tears","sad","upset","depressed"],char:"😭",fitzpatrick_scale:!1,category:"people"},gh={keywords:["spent","unconscious","xox","dizzy"],char:"😵",fitzpatrick_scale:!1,category:"people"},yh={keywords:["face","xox","surprised","poisoned"],char:"😲",fitzpatrick_scale:!1,category:"people"},_h={keywords:["face","sealed","zipper","secret"],char:"🤐",fitzpatrick_scale:!1,category:"people"},bh={keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"🤢",fitzpatrick_scale:!1,category:"people"},wh={keywords:["face","gesundheit","sneeze","sick","allergy"],char:"🤧",fitzpatrick_scale:!1,category:"people"},kh={keywords:["face","sick"],char:"🤮",fitzpatrick_scale:!1,category:"people"},vh={keywords:["face","sick","ill","disease"],char:"😷",fitzpatrick_scale:!1,category:"people"},xh={keywords:["sick","temperature","thermometer","cold","fever"],char:"🤒",fitzpatrick_scale:!1,category:"people"},zh={keywords:["injured","clumsy","bandage","hurt"],char:"🤕",fitzpatrick_scale:!1,category:"people"},Ch={keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"🥴",fitzpatrick_scale:!1,category:"people"},Sh={keywords:["face","tired","sleepy","night","zzz"],char:"😴",fitzpatrick_scale:!1,category:"people"},Eh={keywords:["sleepy","tired","dream"],char:"💤",fitzpatrick_scale:!1,category:"people"},Ah={keywords:["hankey","shitface","fail","turd","shit"],char:"💩",fitzpatrick_scale:!1,category:"people"},qh={keywords:["devil","horns"],char:"😈",fitzpatrick_scale:!1,category:"people"},Mh={keywords:["devil","angry","horns"],char:"👿",fitzpatrick_scale:!1,category:"people"},Dh={keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"👹",fitzpatrick_scale:!1,category:"people"},Th={keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"👺",fitzpatrick_scale:!1,category:"people"},Nh={keywords:["dead","skeleton","creepy","death"],char:"💀",fitzpatrick_scale:!1,category:"people"},Oh={keywords:["halloween","spooky","scary"],char:"👻",fitzpatrick_scale:!1,category:"people"},Ih={keywords:["UFO","paul","weird","outer_space"],char:"👽",fitzpatrick_scale:!1,category:"people"},$h={keywords:["computer","machine","bot"],char:"🤖",fitzpatrick_scale:!1,category:"people"},Lh={keywords:["animal","cats","happy","smile"],char:"😺",fitzpatrick_scale:!1,category:"people"},Rh={keywords:["animal","cats","smile"],char:"😸",fitzpatrick_scale:!1,category:"people"},jh={keywords:["animal","cats","haha","happy","tears"],char:"😹",fitzpatrick_scale:!1,category:"people"},Ph={keywords:["animal","love","like","affection","cats","valentines","heart"],char:"😻",fitzpatrick_scale:!1,category:"people"},Bh={keywords:["animal","cats","smirk"],char:"😼",fitzpatrick_scale:!1,category:"people"},Fh={keywords:["animal","cats","kiss"],char:"😽",fitzpatrick_scale:!1,category:"people"},Uh={keywords:["animal","cats","munch","scared","scream"],char:"🙀",fitzpatrick_scale:!1,category:"people"},Vh={keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"😿",fitzpatrick_scale:!1,category:"people"},Hh={keywords:["animal","cats"],char:"😾",fitzpatrick_scale:!1,category:"people"},Wh={keywords:["hands","gesture","cupped","prayer"],char:"🤲",fitzpatrick_scale:!0,category:"people"},Gh={keywords:["gesture","hooray","yea","celebration","hands"],char:"🙌",fitzpatrick_scale:!0,category:"people"},Zh={keywords:["hands","praise","applause","congrats","yay"],char:"👏",fitzpatrick_scale:!0,category:"people"},Kh={keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"👋",fitzpatrick_scale:!0,category:"people"},Jh={keywords:["hands","gesture"],char:"🤙",fitzpatrick_scale:!0,category:"people"},Yh={keywords:["angry","violence","fist","hit","attack","hand"],char:"👊",fitzpatrick_scale:!0,category:"people"},Xh={keywords:["fingers","hand","grasp"],char:"✊",fitzpatrick_scale:!0,category:"people"},Qh={keywords:["hand","fistbump"],char:"🤛",fitzpatrick_scale:!0,category:"people"},ef={keywords:["hand","fistbump"],char:"🤜",fitzpatrick_scale:!0,category:"people"},tf={keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"✌",fitzpatrick_scale:!0,category:"people"},rf={keywords:["fingers","limbs","perfect","ok","okay"],char:"👌",fitzpatrick_scale:!0,category:"people"},nf={keywords:["fingers","stop","highfive","palm","ban"],char:"✋",fitzpatrick_scale:!0,category:"people"},of={keywords:["fingers","raised","backhand"],char:"🤚",fitzpatrick_scale:!0,category:"people"},af={keywords:["fingers","butterfly","hands","open"],char:"👐",fitzpatrick_scale:!0,category:"people"},sf={keywords:["arm","flex","hand","summer","strong","biceps"],char:"💪",fitzpatrick_scale:!0,category:"people"},cf={keywords:["please","hope","wish","namaste","highfive"],char:"🙏",fitzpatrick_scale:!0,category:"people"},lf={keywords:["kick","stomp"],char:"🦶",fitzpatrick_scale:!0,category:"people"},uf={keywords:["kick","limb"],char:"🦵",fitzpatrick_scale:!0,category:"people"},df={keywords:["agreement","shake"],char:"🤝",fitzpatrick_scale:!1,category:"people"},pf={keywords:["hand","fingers","direction","up"],char:"☝",fitzpatrick_scale:!0,category:"people"},hf={keywords:["fingers","hand","direction","up"],char:"👆",fitzpatrick_scale:!0,category:"people"},ff={keywords:["fingers","hand","direction","down"],char:"👇",fitzpatrick_scale:!0,category:"people"},mf={keywords:["direction","fingers","hand","left"],char:"👈",fitzpatrick_scale:!0,category:"people"},gf={keywords:["fingers","hand","direction","right"],char:"👉",fitzpatrick_scale:!0,category:"people"},yf={keywords:["hand","fingers","rude","middle","flipping"],char:"🖕",fitzpatrick_scale:!0,category:"people"},_f={keywords:["hand","fingers","palm"],char:"🖐",fitzpatrick_scale:!0,category:"people"},bf={keywords:["hand","fingers","gesture"],char:"🤟",fitzpatrick_scale:!0,category:"people"},wf={keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"🤘",fitzpatrick_scale:!0,category:"people"},kf={keywords:["good","lucky"],char:"🤞",fitzpatrick_scale:!0,category:"people"},vf={keywords:["hand","fingers","spock","star trek"],char:"🖖",fitzpatrick_scale:!0,category:"people"},xf={keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"✍",fitzpatrick_scale:!0,category:"people"},zf={keywords:["camera","phone"],char:"🤳",fitzpatrick_scale:!0,category:"people"},Cf={keywords:["beauty","manicure","finger","fashion","nail"],char:"💅",fitzpatrick_scale:!0,category:"people"},Sf={keywords:["mouth","kiss"],char:"👄",fitzpatrick_scale:!1,category:"people"},Ef={keywords:["teeth","dentist"],char:"🦷",fitzpatrick_scale:!1,category:"people"},Af={keywords:["mouth","playful"],char:"👅",fitzpatrick_scale:!1,category:"people"},qf={keywords:["face","hear","sound","listen"],char:"👂",fitzpatrick_scale:!0,category:"people"},Mf={keywords:["smell","sniff"],char:"👃",fitzpatrick_scale:!0,category:"people"},Df={keywords:["face","look","see","watch","stare"],char:"👁",fitzpatrick_scale:!1,category:"people"},Tf={keywords:["look","watch","stalk","peek","see"],char:"👀",fitzpatrick_scale:!1,category:"people"},Nf={keywords:["smart","intelligent"],char:"🧠",fitzpatrick_scale:!1,category:"people"},Of={keywords:["user","person","human"],char:"👤",fitzpatrick_scale:!1,category:"people"},If={keywords:["user","person","human","group","team"],char:"👥",fitzpatrick_scale:!1,category:"people"},$f={keywords:["user","person","human","sing","say","talk"],char:"🗣",fitzpatrick_scale:!1,category:"people"},Lf={keywords:["child","boy","girl","toddler"],char:"👶",fitzpatrick_scale:!0,category:"people"},Rf={keywords:["gender-neutral","young"],char:"🧒",fitzpatrick_scale:!0,category:"people"},jf={keywords:["man","male","guy","teenager"],char:"👦",fitzpatrick_scale:!0,category:"people"},Pf={keywords:["female","woman","teenager"],char:"👧",fitzpatrick_scale:!0,category:"people"},Bf={keywords:["gender-neutral","person"],char:"🧑",fitzpatrick_scale:!0,category:"people"},Ff={keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"👨",fitzpatrick_scale:!0,category:"people"},Uf={keywords:["female","girls","lady"],char:"👩",fitzpatrick_scale:!0,category:"people"},Vf={keywords:["woman","female","girl","blonde","person"],char:"👱♀️",fitzpatrick_scale:!0,category:"people"},Hf={keywords:["man","male","boy","blonde","guy","person"],char:"👱",fitzpatrick_scale:!0,category:"people"},Wf={keywords:["person","bewhiskered"],char:"🧔",fitzpatrick_scale:!0,category:"people"},Gf={keywords:["human","elder","senior","gender-neutral"],char:"🧓",fitzpatrick_scale:!0,category:"people"},Zf={keywords:["human","male","men","old","elder","senior"],char:"👴",fitzpatrick_scale:!0,category:"people"},Kf={keywords:["human","female","women","lady","old","elder","senior"],char:"👵",fitzpatrick_scale:!0,category:"people"},Jf={keywords:["male","boy","chinese"],char:"👲",fitzpatrick_scale:!0,category:"people"},Yf={keywords:["female","hijab","mantilla","tichel"],char:"🧕",fitzpatrick_scale:!0,category:"people"},Xf={keywords:["female","indian","hinduism","arabs","woman"],char:"👳♀️",fitzpatrick_scale:!0,category:"people"},Qf={keywords:["male","indian","hinduism","arabs"],char:"👳",fitzpatrick_scale:!0,category:"people"},em={keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"👮♀️",fitzpatrick_scale:!0,category:"people"},tm={keywords:["man","police","law","legal","enforcement","arrest","911"],char:"👮",fitzpatrick_scale:!0,category:"people"},rm={keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"👷♀️",fitzpatrick_scale:!0,category:"people"},nm={keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"👷",fitzpatrick_scale:!0,category:"people"},om={keywords:["uk","gb","british","female","royal","woman"],char:"💂♀️",fitzpatrick_scale:!0,category:"people"},im={keywords:["uk","gb","british","male","guy","royal"],char:"💂",fitzpatrick_scale:!0,category:"people"},am={keywords:["human","spy","detective","female","woman"],char:"🕵️♀️",fitzpatrick_scale:!0,category:"people"},sm={keywords:["human","spy","detective"],char:"🕵",fitzpatrick_scale:!0,category:"people"},cm={keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"👩⚕️",fitzpatrick_scale:!0,category:"people"},lm={keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"👨⚕️",fitzpatrick_scale:!0,category:"people"},um={keywords:["rancher","gardener","woman","human"],char:"👩🌾",fitzpatrick_scale:!0,category:"people"},dm={keywords:["rancher","gardener","man","human"],char:"👨🌾",fitzpatrick_scale:!0,category:"people"},pm={keywords:["chef","woman","human"],char:"👩🍳",fitzpatrick_scale:!0,category:"people"},hm={keywords:["chef","man","human"],char:"👨🍳",fitzpatrick_scale:!0,category:"people"},fm={keywords:["graduate","woman","human"],char:"👩🎓",fitzpatrick_scale:!0,category:"people"},mm={keywords:["graduate","man","human"],char:"👨🎓",fitzpatrick_scale:!0,category:"people"},gm={keywords:["rockstar","entertainer","woman","human"],char:"👩🎤",fitzpatrick_scale:!0,category:"people"},ym={keywords:["rockstar","entertainer","man","human"],char:"👨🎤",fitzpatrick_scale:!0,category:"people"},_m={keywords:["instructor","professor","woman","human"],char:"👩🏫",fitzpatrick_scale:!0,category:"people"},bm={keywords:["instructor","professor","man","human"],char:"👨🏫",fitzpatrick_scale:!0,category:"people"},wm={keywords:["assembly","industrial","woman","human"],char:"👩🏭",fitzpatrick_scale:!0,category:"people"},km={keywords:["assembly","industrial","man","human"],char:"👨🏭",fitzpatrick_scale:!0,category:"people"},vm={keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"👩💻",fitzpatrick_scale:!0,category:"people"},xm={keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"👨💻",fitzpatrick_scale:!0,category:"people"},zm={keywords:["business","manager","woman","human"],char:"👩💼",fitzpatrick_scale:!0,category:"people"},Cm={keywords:["business","manager","man","human"],char:"👨💼",fitzpatrick_scale:!0,category:"people"},Sm={keywords:["plumber","woman","human","wrench"],char:"👩🔧",fitzpatrick_scale:!0,category:"people"},Em={keywords:["plumber","man","human","wrench"],char:"👨🔧",fitzpatrick_scale:!0,category:"people"},Am={keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"👩🔬",fitzpatrick_scale:!0,category:"people"},qm={keywords:["biologist","chemist","engineer","physicist","man","human"],char:"👨🔬",fitzpatrick_scale:!0,category:"people"},Mm={keywords:["painter","woman","human"],char:"👩🎨",fitzpatrick_scale:!0,category:"people"},Dm={keywords:["painter","man","human"],char:"👨🎨",fitzpatrick_scale:!0,category:"people"},Tm={keywords:["fireman","woman","human"],char:"👩🚒",fitzpatrick_scale:!0,category:"people"},Nm={keywords:["fireman","man","human"],char:"👨🚒",fitzpatrick_scale:!0,category:"people"},Om={keywords:["aviator","plane","woman","human"],char:"👩✈️",fitzpatrick_scale:!0,category:"people"},Im={keywords:["aviator","plane","man","human"],char:"👨✈️",fitzpatrick_scale:!0,category:"people"},$m={keywords:["space","rocket","woman","human"],char:"👩🚀",fitzpatrick_scale:!0,category:"people"},Lm={keywords:["space","rocket","man","human"],char:"👨🚀",fitzpatrick_scale:!0,category:"people"},Rm={keywords:["justice","court","woman","human"],char:"👩⚖️",fitzpatrick_scale:!0,category:"people"},jm={keywords:["justice","court","man","human"],char:"👨⚖️",fitzpatrick_scale:!0,category:"people"},Pm={keywords:["woman","female","good","heroine","superpowers"],char:"🦸♀️",fitzpatrick_scale:!0,category:"people"},Bm={keywords:["man","male","good","hero","superpowers"],char:"🦸♂️",fitzpatrick_scale:!0,category:"people"},Fm={keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"🦹♀️",fitzpatrick_scale:!0,category:"people"},Um={keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"🦹♂️",fitzpatrick_scale:!0,category:"people"},Vm={keywords:["woman","female","xmas","mother christmas"],char:"🤶",fitzpatrick_scale:!0,category:"people"},Hm={keywords:["festival","man","male","xmas","father christmas"],char:"🎅",fitzpatrick_scale:!0,category:"people"},Wm={keywords:["woman","female","mage","witch"],char:"🧙♀️",fitzpatrick_scale:!0,category:"people"},Gm={keywords:["man","male","mage","sorcerer"],char:"🧙♂️",fitzpatrick_scale:!0,category:"people"},Zm={keywords:["woman","female"],char:"🧝♀️",fitzpatrick_scale:!0,category:"people"},Km={keywords:["man","male"],char:"🧝♂️",fitzpatrick_scale:!0,category:"people"},Jm={keywords:["woman","female"],char:"🧛♀️",fitzpatrick_scale:!0,category:"people"},Ym={keywords:["man","male","dracula"],char:"🧛♂️",fitzpatrick_scale:!0,category:"people"},Xm={keywords:["woman","female","undead","walking dead"],char:"🧟♀️",fitzpatrick_scale:!1,category:"people"},Qm={keywords:["man","male","dracula","undead","walking dead"],char:"🧟♂️",fitzpatrick_scale:!1,category:"people"},eg={keywords:["woman","female"],char:"🧞♀️",fitzpatrick_scale:!1,category:"people"},tg={keywords:["man","male"],char:"🧞♂️",fitzpatrick_scale:!1,category:"people"},rg={keywords:["woman","female","merwoman","ariel"],char:"🧜♀️",fitzpatrick_scale:!0,category:"people"},ng={keywords:["man","male","triton"],char:"🧜♂️",fitzpatrick_scale:!0,category:"people"},og={keywords:["woman","female"],char:"🧚♀️",fitzpatrick_scale:!0,category:"people"},ig={keywords:["man","male"],char:"🧚♂️",fitzpatrick_scale:!0,category:"people"},ag={keywords:["heaven","wings","halo"],char:"👼",fitzpatrick_scale:!0,category:"people"},sg={keywords:["baby"],char:"🤰",fitzpatrick_scale:!0,category:"people"},cg={keywords:["nursing","baby"],char:"🤱",fitzpatrick_scale:!0,category:"people"},lg={keywords:["girl","woman","female","blond","crown","royal","queen"],char:"👸",fitzpatrick_scale:!0,category:"people"},ug={keywords:["boy","man","male","crown","royal","king"],char:"🤴",fitzpatrick_scale:!0,category:"people"},dg={keywords:["couple","marriage","wedding","woman","bride"],char:"👰",fitzpatrick_scale:!0,category:"people"},pg={keywords:["couple","marriage","wedding","groom"],char:"🤵",fitzpatrick_scale:!0,category:"people"},hg={keywords:["woman","walking","exercise","race","running","female"],char:"🏃♀️",fitzpatrick_scale:!0,category:"people"},fg={keywords:["man","walking","exercise","race","running"],char:"🏃",fitzpatrick_scale:!0,category:"people"},mg={keywords:["human","feet","steps","woman","female"],char:"🚶♀️",fitzpatrick_scale:!0,category:"people"},gg={keywords:["human","feet","steps"],char:"🚶",fitzpatrick_scale:!0,category:"people"},yg={keywords:["female","girl","woman","fun"],char:"💃",fitzpatrick_scale:!0,category:"people"},_g={keywords:["male","boy","fun","dancer"],char:"🕺",fitzpatrick_scale:!0,category:"people"},bg={keywords:["female","bunny","women","girls"],char:"👯",fitzpatrick_scale:!1,category:"people"},wg={keywords:["male","bunny","men","boys"],char:"👯♂️",fitzpatrick_scale:!1,category:"people"},kg={keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"👫",fitzpatrick_scale:!1,category:"people"},vg={keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"👬",fitzpatrick_scale:!1,category:"people"},xg={keywords:["pair","friendship","couple","love","like","female","people","human"],char:"👭",fitzpatrick_scale:!1,category:"people"},zg={keywords:["woman","female","girl"],char:"🙇♀️",fitzpatrick_scale:!0,category:"people"},Cg={keywords:["man","male","boy"],char:"🙇",fitzpatrick_scale:!0,category:"people"},Sg={keywords:["man","male","boy","disbelief"],char:"🤦♂️",fitzpatrick_scale:!0,category:"people"},Eg={keywords:["woman","female","girl","disbelief"],char:"🤦♀️",fitzpatrick_scale:!0,category:"people"},Ag={keywords:["woman","female","girl","confused","indifferent","doubt"],char:"🤷",fitzpatrick_scale:!0,category:"people"},qg={keywords:["man","male","boy","confused","indifferent","doubt"],char:"🤷♂️",fitzpatrick_scale:!0,category:"people"},Mg={keywords:["female","girl","woman","human","information"],char:"💁",fitzpatrick_scale:!0,category:"people"},Dg={keywords:["male","boy","man","human","information"],char:"💁♂️",fitzpatrick_scale:!0,category:"people"},Tg={keywords:["female","girl","woman","nope"],char:"🙅",fitzpatrick_scale:!0,category:"people"},Ng={keywords:["male","boy","man","nope"],char:"🙅♂️",fitzpatrick_scale:!0,category:"people"},Og={keywords:["women","girl","female","pink","human","woman"],char:"🙆",fitzpatrick_scale:!0,category:"people"},Ig={keywords:["men","boy","male","blue","human","man"],char:"🙆♂️",fitzpatrick_scale:!0,category:"people"},$g={keywords:["female","girl","woman"],char:"🙋",fitzpatrick_scale:!0,category:"people"},Lg={keywords:["male","boy","man"],char:"🙋♂️",fitzpatrick_scale:!0,category:"people"},Rg={keywords:["female","girl","woman"],char:"🙎",fitzpatrick_scale:!0,category:"people"},jg={keywords:["male","boy","man"],char:"🙎♂️",fitzpatrick_scale:!0,category:"people"},Pg={keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"🙍",fitzpatrick_scale:!0,category:"people"},Bg={keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"🙍♂️",fitzpatrick_scale:!0,category:"people"},Fg={keywords:["female","girl","woman"],char:"💇",fitzpatrick_scale:!0,category:"people"},Ug={keywords:["male","boy","man"],char:"💇♂️",fitzpatrick_scale:!0,category:"people"},Vg={keywords:["female","girl","woman","head"],char:"💆",fitzpatrick_scale:!0,category:"people"},Hg={keywords:["male","boy","man","head"],char:"💆♂️",fitzpatrick_scale:!0,category:"people"},Wg={keywords:["female","woman","spa","steamroom","sauna"],char:"🧖♀️",fitzpatrick_scale:!0,category:"people"},Gg={keywords:["male","man","spa","steamroom","sauna"],char:"🧖♂️",fitzpatrick_scale:!0,category:"people"},Zg={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"💑",fitzpatrick_scale:!1,category:"people"},Kg={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👩❤️👩",fitzpatrick_scale:!1,category:"people"},Jg={keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"👨❤️👨",fitzpatrick_scale:!1,category:"people"},Yg={keywords:["pair","valentines","love","like","dating","marriage"],char:"💏",fitzpatrick_scale:!1,category:"people"},Xg={keywords:["pair","valentines","love","like","dating","marriage"],char:"👩❤️💋👩",fitzpatrick_scale:!1,category:"people"},Qg={keywords:["pair","valentines","love","like","dating","marriage"],char:"👨❤️💋👨",fitzpatrick_scale:!1,category:"people"},ey={keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"👪",fitzpatrick_scale:!1,category:"people"},ty={keywords:["home","parents","people","human","child"],char:"👨👩👧",fitzpatrick_scale:!1,category:"people"},ry={keywords:["home","parents","people","human","children"],char:"👨👩👧👦",fitzpatrick_scale:!1,category:"people"},ny={keywords:["home","parents","people","human","children"],char:"👨👩👦👦",fitzpatrick_scale:!1,category:"people"},oy={keywords:["home","parents","people","human","children"],char:"👨👩👧👧",fitzpatrick_scale:!1,category:"people"},iy={keywords:["home","parents","people","human","children"],char:"👩👩👦",fitzpatrick_scale:!1,category:"people"},ay={keywords:["home","parents","people","human","children"],char:"👩👩👧",fitzpatrick_scale:!1,category:"people"},sy={keywords:["home","parents","people","human","children"],char:"👩👩👧👦",fitzpatrick_scale:!1,category:"people"},cy={keywords:["home","parents","people","human","children"],char:"👩👩👦👦",fitzpatrick_scale:!1,category:"people"},ly={keywords:["home","parents","people","human","children"],char:"👩👩👧👧",fitzpatrick_scale:!1,category:"people"},uy={keywords:["home","parents","people","human","children"],char:"👨👨👦",fitzpatrick_scale:!1,category:"people"},dy={keywords:["home","parents","people","human","children"],char:"👨👨👧",fitzpatrick_scale:!1,category:"people"},py={keywords:["home","parents","people","human","children"],char:"👨👨👧👦",fitzpatrick_scale:!1,category:"people"},hy={keywords:["home","parents","people","human","children"],char:"👨👨👦👦",fitzpatrick_scale:!1,category:"people"},fy={keywords:["home","parents","people","human","children"],char:"👨👨👧👧",fitzpatrick_scale:!1,category:"people"},my={keywords:["home","parent","people","human","child"],char:"👩👦",fitzpatrick_scale:!1,category:"people"},gy={keywords:["home","parent","people","human","child"],char:"👩👧",fitzpatrick_scale:!1,category:"people"},yy={keywords:["home","parent","people","human","children"],char:"👩👧👦",fitzpatrick_scale:!1,category:"people"},_y={keywords:["home","parent","people","human","children"],char:"👩👦👦",fitzpatrick_scale:!1,category:"people"},by={keywords:["home","parent","people","human","children"],char:"👩👧👧",fitzpatrick_scale:!1,category:"people"},wy={keywords:["home","parent","people","human","child"],char:"👨👦",fitzpatrick_scale:!1,category:"people"},ky={keywords:["home","parent","people","human","child"],char:"👨👧",fitzpatrick_scale:!1,category:"people"},vy={keywords:["home","parent","people","human","children"],char:"👨👧👦",fitzpatrick_scale:!1,category:"people"},xy={keywords:["home","parent","people","human","children"],char:"👨👦👦",fitzpatrick_scale:!1,category:"people"},zy={keywords:["home","parent","people","human","children"],char:"👨👧👧",fitzpatrick_scale:!1,category:"people"},Cy={keywords:["ball","crochet","knit"],char:"🧶",fitzpatrick_scale:!1,category:"people"},Sy={keywords:["needle","sewing","spool","string"],char:"🧵",fitzpatrick_scale:!1,category:"people"},Ey={keywords:["jacket"],char:"🧥",fitzpatrick_scale:!1,category:"people"},Ay={keywords:["doctor","experiment","scientist","chemist"],char:"🥼",fitzpatrick_scale:!1,category:"people"},qy={keywords:["fashion","shopping_bags","female"],char:"👚",fitzpatrick_scale:!1,category:"people"},My={keywords:["fashion","cloth","casual","shirt","tee"],char:"👕",fitzpatrick_scale:!1,category:"people"},Dy={keywords:["fashion","shopping"],char:"👖",fitzpatrick_scale:!1,category:"people"},Ty={keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"👔",fitzpatrick_scale:!1,category:"people"},Ny={keywords:["clothes","fashion","shopping"],char:"👗",fitzpatrick_scale:!1,category:"people"},Oy={keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"👙",fitzpatrick_scale:!1,category:"people"},Iy={keywords:["dress","fashion","women","female","japanese"],char:"👘",fitzpatrick_scale:!1,category:"people"},$y={keywords:["female","girl","fashion","woman"],char:"💄",fitzpatrick_scale:!1,category:"people"},Ly={keywords:["face","lips","love","like","affection","valentines"],char:"💋",fitzpatrick_scale:!1,category:"people"},Ry={keywords:["feet","tracking","walking","beach"],char:"👣",fitzpatrick_scale:!1,category:"people"},jy={keywords:["ballet","slip-on","slipper"],char:"🥿",fitzpatrick_scale:!1,category:"people"},Py={keywords:["fashion","shoes","female","pumps","stiletto"],char:"👠",fitzpatrick_scale:!1,category:"people"},By={keywords:["shoes","fashion","flip flops"],char:"👡",fitzpatrick_scale:!1,category:"people"},Fy={keywords:["shoes","fashion"],char:"👢",fitzpatrick_scale:!1,category:"people"},Uy={keywords:["fashion","male"],char:"👞",fitzpatrick_scale:!1,category:"people"},Vy={keywords:["shoes","sports","sneakers"],char:"👟",fitzpatrick_scale:!1,category:"people"},Hy={keywords:["backpacking","camping","hiking"],char:"🥾",fitzpatrick_scale:!1,category:"people"},Wy={keywords:["stockings","clothes"],char:"🧦",fitzpatrick_scale:!1,category:"people"},Gy={keywords:["hands","winter","clothes"],char:"🧤",fitzpatrick_scale:!1,category:"people"},Zy={keywords:["neck","winter","clothes"],char:"🧣",fitzpatrick_scale:!1,category:"people"},Ky={keywords:["fashion","accessories","female","lady","spring"],char:"👒",fitzpatrick_scale:!1,category:"people"},Jy={keywords:["magic","gentleman","classy","circus"],char:"🎩",fitzpatrick_scale:!1,category:"people"},Yy={keywords:["cap","baseball"],char:"🧢",fitzpatrick_scale:!1,category:"people"},Xy={keywords:["construction","build"],char:"⛑",fitzpatrick_scale:!1,category:"people"},Qy={keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"🎓",fitzpatrick_scale:!1,category:"people"},e_={keywords:["king","kod","leader","royalty","lord"],char:"👑",fitzpatrick_scale:!1,category:"people"},t_={keywords:["student","education","bag","backpack"],char:"🎒",fitzpatrick_scale:!1,category:"people"},r_={keywords:["packing","travel"],char:"🧳",fitzpatrick_scale:!1,category:"people"},n_={keywords:["bag","accessories","shopping"],char:"👝",fitzpatrick_scale:!1,category:"people"},o_={keywords:["fashion","accessories","money","sales","shopping"],char:"👛",fitzpatrick_scale:!1,category:"people"},i_={keywords:["fashion","accessory","accessories","shopping"],char:"👜",fitzpatrick_scale:!1,category:"people"},a_={keywords:["business","documents","work","law","legal","job","career"],char:"💼",fitzpatrick_scale:!1,category:"people"},s_={keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"👓",fitzpatrick_scale:!1,category:"people"},c_={keywords:["face","cool","accessories"],char:"🕶",fitzpatrick_scale:!1,category:"people"},l_={keywords:["eyes","protection","safety"],char:"🥽",fitzpatrick_scale:!1,category:"people"},u_={keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"💍",fitzpatrick_scale:!1,category:"people"},d_={keywords:["weather","rain","drizzle"],char:"🌂",fitzpatrick_scale:!1,category:"people"},p_={keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"🐶",fitzpatrick_scale:!1,category:"animals_and_nature"},h_={keywords:["animal","meow","nature","pet","kitten"],char:"🐱",fitzpatrick_scale:!1,category:"animals_and_nature"},f_={keywords:["animal","nature","cheese_wedge","rodent"],char:"🐭",fitzpatrick_scale:!1,category:"animals_and_nature"},m_={keywords:["animal","nature"],char:"🐹",fitzpatrick_scale:!1,category:"animals_and_nature"},g_={keywords:["animal","nature","pet","spring","magic","bunny"],char:"🐰",fitzpatrick_scale:!1,category:"animals_and_nature"},y_={keywords:["animal","nature","face"],char:"🦊",fitzpatrick_scale:!1,category:"animals_and_nature"},__={keywords:["animal","nature","wild"],char:"🐻",fitzpatrick_scale:!1,category:"animals_and_nature"},b_={keywords:["animal","nature","panda"],char:"🐼",fitzpatrick_scale:!1,category:"animals_and_nature"},w_={keywords:["animal","nature"],char:"🐨",fitzpatrick_scale:!1,category:"animals_and_nature"},k_={keywords:["animal","cat","danger","wild","nature","roar"],char:"🐯",fitzpatrick_scale:!1,category:"animals_and_nature"},v_={keywords:["animal","nature"],char:"🦁",fitzpatrick_scale:!1,category:"animals_and_nature"},x_={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐮",fitzpatrick_scale:!1,category:"animals_and_nature"},z_={keywords:["animal","oink","nature"],char:"🐷",fitzpatrick_scale:!1,category:"animals_and_nature"},C_={keywords:["animal","oink"],char:"🐽",fitzpatrick_scale:!1,category:"animals_and_nature"},S_={keywords:["animal","nature","croak","toad"],char:"🐸",fitzpatrick_scale:!1,category:"animals_and_nature"},E_={keywords:["animal","nature","ocean","sea"],char:"🦑",fitzpatrick_scale:!1,category:"animals_and_nature"},A_={keywords:["animal","creature","ocean","sea","nature","beach"],char:"🐙",fitzpatrick_scale:!1,category:"animals_and_nature"},q_={keywords:["animal","ocean","nature","seafood"],char:"🦐",fitzpatrick_scale:!1,category:"animals_and_nature"},M_={keywords:["animal","nature","circus"],char:"🐵",fitzpatrick_scale:!1,category:"animals_and_nature"},D_={keywords:["animal","nature","circus"],char:"🦍",fitzpatrick_scale:!1,category:"animals_and_nature"},T_={keywords:["monkey","animal","nature","haha"],char:"🙈",fitzpatrick_scale:!1,category:"animals_and_nature"},N_={keywords:["animal","monkey","nature"],char:"🙉",fitzpatrick_scale:!1,category:"animals_and_nature"},O_={keywords:["monkey","animal","nature","omg"],char:"🙊",fitzpatrick_scale:!1,category:"animals_and_nature"},I_={keywords:["animal","nature","banana","circus"],char:"🐒",fitzpatrick_scale:!1,category:"animals_and_nature"},$_={keywords:["animal","cluck","nature","bird"],char:"🐔",fitzpatrick_scale:!1,category:"animals_and_nature"},L_={keywords:["animal","nature"],char:"🐧",fitzpatrick_scale:!1,category:"animals_and_nature"},R_={keywords:["animal","nature","fly","tweet","spring"],char:"🐦",fitzpatrick_scale:!1,category:"animals_and_nature"},j_={keywords:["animal","chicken","bird"],char:"🐤",fitzpatrick_scale:!1,category:"animals_and_nature"},P_={keywords:["animal","chicken","egg","born","baby","bird"],char:"🐣",fitzpatrick_scale:!1,category:"animals_and_nature"},B_={keywords:["animal","chicken","baby","bird"],char:"🐥",fitzpatrick_scale:!1,category:"animals_and_nature"},F_={keywords:["animal","nature","bird","mallard"],char:"🦆",fitzpatrick_scale:!1,category:"animals_and_nature"},U_={keywords:["animal","nature","bird"],char:"🦅",fitzpatrick_scale:!1,category:"animals_and_nature"},V_={keywords:["animal","nature","bird","hoot"],char:"🦉",fitzpatrick_scale:!1,category:"animals_and_nature"},H_={keywords:["animal","nature","blind","vampire"],char:"🦇",fitzpatrick_scale:!1,category:"animals_and_nature"},W_={keywords:["animal","nature","wild"],char:"🐺",fitzpatrick_scale:!1,category:"animals_and_nature"},G_={keywords:["animal","nature"],char:"🐗",fitzpatrick_scale:!1,category:"animals_and_nature"},Z_={keywords:["animal","brown","nature"],char:"🐴",fitzpatrick_scale:!1,category:"animals_and_nature"},K_={keywords:["animal","nature","mystical"],char:"🦄",fitzpatrick_scale:!1,category:"animals_and_nature"},J_={keywords:["animal","insect","nature","bug","spring","honey"],char:"🐝",fitzpatrick_scale:!1,category:"animals_and_nature"},Y_={keywords:["animal","insect","nature","worm"],char:"🐛",fitzpatrick_scale:!1,category:"animals_and_nature"},X_={keywords:["animal","insect","nature","caterpillar"],char:"🦋",fitzpatrick_scale:!1,category:"animals_and_nature"},Q_={keywords:["slow","animal","shell"],char:"🐌",fitzpatrick_scale:!1,category:"animals_and_nature"},eb={keywords:["animal","insect","nature","ladybug"],char:"🐞",fitzpatrick_scale:!1,category:"animals_and_nature"},tb={keywords:["animal","insect","nature","bug"],char:"🐜",fitzpatrick_scale:!1,category:"animals_and_nature"},rb={keywords:["animal","cricket","chirp"],char:"🦗",fitzpatrick_scale:!1,category:"animals_and_nature"},nb={keywords:["animal","arachnid"],char:"🕷",fitzpatrick_scale:!1,category:"animals_and_nature"},ob={keywords:["animal","arachnid"],char:"🦂",fitzpatrick_scale:!1,category:"animals_and_nature"},ib={keywords:["animal","crustacean"],char:"🦀",fitzpatrick_scale:!1,category:"animals_and_nature"},ab={keywords:["animal","evil","nature","hiss","python"],char:"🐍",fitzpatrick_scale:!1,category:"animals_and_nature"},sb={keywords:["animal","nature","reptile"],char:"🦎",fitzpatrick_scale:!1,category:"animals_and_nature"},cb={keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"🦕",fitzpatrick_scale:!1,category:"animals_and_nature"},lb={keywords:["animal","slow","nature","tortoise"],char:"🐢",fitzpatrick_scale:!1,category:"animals_and_nature"},ub={keywords:["animal","swim","ocean","beach","nemo"],char:"🐠",fitzpatrick_scale:!1,category:"animals_and_nature"},db={keywords:["animal","food","nature"],char:"🐟",fitzpatrick_scale:!1,category:"animals_and_nature"},pb={keywords:["animal","nature","food","sea","ocean"],char:"🐡",fitzpatrick_scale:!1,category:"animals_and_nature"},hb={keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"🐬",fitzpatrick_scale:!1,category:"animals_and_nature"},fb={keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"🦈",fitzpatrick_scale:!1,category:"animals_and_nature"},mb={keywords:["animal","nature","sea","ocean"],char:"🐳",fitzpatrick_scale:!1,category:"animals_and_nature"},gb={keywords:["animal","nature","sea","ocean"],char:"🐋",fitzpatrick_scale:!1,category:"animals_and_nature"},yb={keywords:["animal","nature","reptile","lizard","alligator"],char:"🐊",fitzpatrick_scale:!1,category:"animals_and_nature"},_b={keywords:["animal","nature"],char:"🐆",fitzpatrick_scale:!1,category:"animals_and_nature"},bb={keywords:["animal","nature","stripes","safari"],char:"🦓",fitzpatrick_scale:!1,category:"animals_and_nature"},wb={keywords:["animal","nature","roar"],char:"🐅",fitzpatrick_scale:!1,category:"animals_and_nature"},kb={keywords:["animal","nature","ox","cow"],char:"🐃",fitzpatrick_scale:!1,category:"animals_and_nature"},vb={keywords:["animal","cow","beef"],char:"🐂",fitzpatrick_scale:!1,category:"animals_and_nature"},xb={keywords:["beef","ox","animal","nature","moo","milk"],char:"🐄",fitzpatrick_scale:!1,category:"animals_and_nature"},zb={keywords:["animal","nature","horns","venison"],char:"🦌",fitzpatrick_scale:!1,category:"animals_and_nature"},Cb={keywords:["animal","hot","desert","hump"],char:"🐪",fitzpatrick_scale:!1,category:"animals_and_nature"},Sb={keywords:["animal","nature","hot","desert","hump"],char:"🐫",fitzpatrick_scale:!1,category:"animals_and_nature"},Eb={keywords:["animal","nature","spots","safari"],char:"🦒",fitzpatrick_scale:!1,category:"animals_and_nature"},Ab={keywords:["animal","nature","nose","th","circus"],char:"🐘",fitzpatrick_scale:!1,category:"animals_and_nature"},qb={keywords:["animal","nature","horn"],char:"🦏",fitzpatrick_scale:!1,category:"animals_and_nature"},Mb={keywords:["animal","nature"],char:"🐐",fitzpatrick_scale:!1,category:"animals_and_nature"},Db={keywords:["animal","sheep","nature"],char:"🐏",fitzpatrick_scale:!1,category:"animals_and_nature"},Tb={keywords:["animal","nature","wool","shipit"],char:"🐑",fitzpatrick_scale:!1,category:"animals_and_nature"},Nb={keywords:["animal","gamble","luck"],char:"🐎",fitzpatrick_scale:!1,category:"animals_and_nature"},Ob={keywords:["animal","nature"],char:"🐖",fitzpatrick_scale:!1,category:"animals_and_nature"},Ib={keywords:["animal","mouse","rodent"],char:"🐀",fitzpatrick_scale:!1,category:"animals_and_nature"},$b={keywords:["animal","nature","rodent"],char:"🐁",fitzpatrick_scale:!1,category:"animals_and_nature"},Lb={keywords:["animal","nature","chicken"],char:"🐓",fitzpatrick_scale:!1,category:"animals_and_nature"},Rb={keywords:["animal","bird"],char:"🦃",fitzpatrick_scale:!1,category:"animals_and_nature"},jb={keywords:["animal","bird"],char:"🕊",fitzpatrick_scale:!1,category:"animals_and_nature"},Pb={keywords:["animal","nature","friend","doge","pet","faithful"],char:"🐕",fitzpatrick_scale:!1,category:"animals_and_nature"},Bb={keywords:["dog","animal","101","nature","pet"],char:"🐩",fitzpatrick_scale:!1,category:"animals_and_nature"},Fb={keywords:["animal","meow","pet","cats"],char:"🐈",fitzpatrick_scale:!1,category:"animals_and_nature"},Ub={keywords:["animal","nature","pet","magic","spring"],char:"🐇",fitzpatrick_scale:!1,category:"animals_and_nature"},Vb={keywords:["animal","nature","rodent","squirrel"],char:"🐿",fitzpatrick_scale:!1,category:"animals_and_nature"},Hb={keywords:["animal","nature","spiny"],char:"🦔",fitzpatrick_scale:!1,category:"animals_and_nature"},Wb={keywords:["animal","nature"],char:"🦝",fitzpatrick_scale:!1,category:"animals_and_nature"},Gb={keywords:["animal","nature","alpaca"],char:"🦙",fitzpatrick_scale:!1,category:"animals_and_nature"},Zb={keywords:["animal","nature"],char:"🦛",fitzpatrick_scale:!1,category:"animals_and_nature"},Kb={keywords:["animal","nature","australia","joey","hop","marsupial"],char:"🦘",fitzpatrick_scale:!1,category:"animals_and_nature"},Jb={keywords:["animal","nature","honey"],char:"🦡",fitzpatrick_scale:!1,category:"animals_and_nature"},Yb={keywords:["animal","nature","bird"],char:"🦢",fitzpatrick_scale:!1,category:"animals_and_nature"},Xb={keywords:["animal","nature","peahen","bird"],char:"🦚",fitzpatrick_scale:!1,category:"animals_and_nature"},Qb={keywords:["animal","nature","bird","pirate","talk"],char:"🦜",fitzpatrick_scale:!1,category:"animals_and_nature"},ew={keywords:["animal","nature","bisque","claws","seafood"],char:"🦞",fitzpatrick_scale:!1,category:"animals_and_nature"},tw={keywords:["animal","nature","insect","malaria"],char:"🦟",fitzpatrick_scale:!1,category:"animals_and_nature"},rw={keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"🐾",fitzpatrick_scale:!1,category:"animals_and_nature"},nw={keywords:["animal","myth","nature","chinese","green"],char:"🐉",fitzpatrick_scale:!1,category:"animals_and_nature"},ow={keywords:["animal","myth","nature","chinese","green"],char:"🐲",fitzpatrick_scale:!1,category:"animals_and_nature"},iw={keywords:["vegetable","plant","nature"],char:"🌵",fitzpatrick_scale:!1,category:"animals_and_nature"},aw={keywords:["festival","vacation","december","xmas","celebration"],char:"🎄",fitzpatrick_scale:!1,category:"animals_and_nature"},sw={keywords:["plant","nature"],char:"🌲",fitzpatrick_scale:!1,category:"animals_and_nature"},cw={keywords:["plant","nature"],char:"🌳",fitzpatrick_scale:!1,category:"animals_and_nature"},lw={keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"🌴",fitzpatrick_scale:!1,category:"animals_and_nature"},uw={keywords:["plant","nature","grass","lawn","spring"],char:"🌱",fitzpatrick_scale:!1,category:"animals_and_nature"},dw={keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"🌿",fitzpatrick_scale:!1,category:"animals_and_nature"},pw={keywords:["vegetable","plant","nature","irish","clover"],char:"☘",fitzpatrick_scale:!1,category:"animals_and_nature"},hw={keywords:["vegetable","plant","nature","lucky","irish"],char:"🍀",fitzpatrick_scale:!1,category:"animals_and_nature"},fw={keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"🎍",fitzpatrick_scale:!1,category:"animals_and_nature"},mw={keywords:["plant","nature","branch","summer"],char:"🎋",fitzpatrick_scale:!1,category:"animals_and_nature"},gw={keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"🍃",fitzpatrick_scale:!1,category:"animals_and_nature"},yw={keywords:["nature","plant","vegetable","leaves"],char:"🍂",fitzpatrick_scale:!1,category:"animals_and_nature"},_w={keywords:["nature","plant","vegetable","ca","fall"],char:"🍁",fitzpatrick_scale:!1,category:"animals_and_nature"},bw={keywords:["nature","plant"],char:"🌾",fitzpatrick_scale:!1,category:"animals_and_nature"},ww={keywords:["plant","vegetable","flowers","beach"],char:"🌺",fitzpatrick_scale:!1,category:"animals_and_nature"},kw={keywords:["nature","plant","fall"],char:"🌻",fitzpatrick_scale:!1,category:"animals_and_nature"},vw={keywords:["flowers","valentines","love","spring"],char:"🌹",fitzpatrick_scale:!1,category:"animals_and_nature"},xw={keywords:["plant","nature","flower"],char:"🥀",fitzpatrick_scale:!1,category:"animals_and_nature"},zw={keywords:["flowers","plant","nature","summer","spring"],char:"🌷",fitzpatrick_scale:!1,category:"animals_and_nature"},Cw={keywords:["nature","flowers","yellow"],char:"🌼",fitzpatrick_scale:!1,category:"animals_and_nature"},Sw={keywords:["nature","plant","spring","flower"],char:"🌸",fitzpatrick_scale:!1,category:"animals_and_nature"},Ew={keywords:["flowers","nature","spring"],char:"💐",fitzpatrick_scale:!1,category:"animals_and_nature"},Aw={keywords:["plant","vegetable"],char:"🍄",fitzpatrick_scale:!1,category:"animals_and_nature"},qw={keywords:["food","squirrel"],char:"🌰",fitzpatrick_scale:!1,category:"animals_and_nature"},Mw={keywords:["halloween","light","pumpkin","creepy","fall"],char:"🎃",fitzpatrick_scale:!1,category:"animals_and_nature"},Dw={keywords:["nature","sea","beach"],char:"🐚",fitzpatrick_scale:!1,category:"animals_and_nature"},Tw={keywords:["animal","insect","arachnid","silk"],char:"🕸",fitzpatrick_scale:!1,category:"animals_and_nature"},Nw={keywords:["globe","world","USA","international"],char:"🌎",fitzpatrick_scale:!1,category:"animals_and_nature"},Ow={keywords:["globe","world","international"],char:"🌍",fitzpatrick_scale:!1,category:"animals_and_nature"},Iw={keywords:["globe","world","east","international"],char:"🌏",fitzpatrick_scale:!1,category:"animals_and_nature"},$w={keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"🌕",fitzpatrick_scale:!1,category:"animals_and_nature"},Lw={keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"🌖",fitzpatrick_scale:!1,category:"animals_and_nature"},Rw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌗",fitzpatrick_scale:!1,category:"animals_and_nature"},jw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌘",fitzpatrick_scale:!1,category:"animals_and_nature"},Pw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌑",fitzpatrick_scale:!1,category:"animals_and_nature"},Bw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌒",fitzpatrick_scale:!1,category:"animals_and_nature"},Fw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌓",fitzpatrick_scale:!1,category:"animals_and_nature"},Uw={keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"🌔",fitzpatrick_scale:!1,category:"animals_and_nature"},Vw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌚",fitzpatrick_scale:!1,category:"animals_and_nature"},Hw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌝",fitzpatrick_scale:!1,category:"animals_and_nature"},Ww={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌛",fitzpatrick_scale:!1,category:"animals_and_nature"},Gw={keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"🌜",fitzpatrick_scale:!1,category:"animals_and_nature"},Zw={keywords:["nature","morning","sky"],char:"🌞",fitzpatrick_scale:!1,category:"animals_and_nature"},Kw={keywords:["night","sleep","sky","evening","magic"],char:"🌙",fitzpatrick_scale:!1,category:"animals_and_nature"},Jw={keywords:["night","yellow"],char:"⭐",fitzpatrick_scale:!1,category:"animals_and_nature"},Yw={keywords:["night","sparkle","awesome","good","magic"],char:"🌟",fitzpatrick_scale:!1,category:"animals_and_nature"},Xw={keywords:["star","sparkle","shoot","magic"],char:"💫",fitzpatrick_scale:!1,category:"animals_and_nature"},Qw={keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"✨",fitzpatrick_scale:!1,category:"animals_and_nature"},ek={keywords:["space"],char:"☄",fitzpatrick_scale:!1,category:"animals_and_nature"},tk={keywords:["weather","nature","brightness","summer","beach","spring"],char:"☀️",fitzpatrick_scale:!1,category:"animals_and_nature"},rk={keywords:["weather"],char:"🌤",fitzpatrick_scale:!1,category:"animals_and_nature"},nk={keywords:["weather","nature","cloudy","morning","fall","spring"],char:"⛅",fitzpatrick_scale:!1,category:"animals_and_nature"},ok={keywords:["weather"],char:"🌥",fitzpatrick_scale:!1,category:"animals_and_nature"},ik={keywords:["weather"],char:"🌦",fitzpatrick_scale:!1,category:"animals_and_nature"},ak={keywords:["weather","sky"],char:"☁️",fitzpatrick_scale:!1,category:"animals_and_nature"},sk={keywords:["weather"],char:"🌧",fitzpatrick_scale:!1,category:"animals_and_nature"},ck={keywords:["weather","lightning"],char:"⛈",fitzpatrick_scale:!1,category:"animals_and_nature"},lk={keywords:["weather","thunder"],char:"🌩",fitzpatrick_scale:!1,category:"animals_and_nature"},uk={keywords:["thunder","weather","lightning bolt","fast"],char:"⚡",fitzpatrick_scale:!1,category:"animals_and_nature"},dk={keywords:["hot","cook","flame"],char:"🔥",fitzpatrick_scale:!1,category:"animals_and_nature"},pk={keywords:["bomb","explode","explosion","collision","blown"],char:"💥",fitzpatrick_scale:!1,category:"animals_and_nature"},hk={keywords:["winter","season","cold","weather","christmas","xmas"],char:"❄️",fitzpatrick_scale:!1,category:"animals_and_nature"},fk={keywords:["weather"],char:"🌨",fitzpatrick_scale:!1,category:"animals_and_nature"},mk={keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"⛄",fitzpatrick_scale:!1,category:"animals_and_nature"},gk={keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"☃",fitzpatrick_scale:!1,category:"animals_and_nature"},yk={keywords:["gust","air"],char:"🌬",fitzpatrick_scale:!1,category:"animals_and_nature"},_k={keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"💨",fitzpatrick_scale:!1,category:"animals_and_nature"},bk={keywords:["weather","cyclone","twister"],char:"🌪",fitzpatrick_scale:!1,category:"animals_and_nature"},wk={keywords:["weather"],char:"🌫",fitzpatrick_scale:!1,category:"animals_and_nature"},kk={keywords:["weather","spring"],char:"☂",fitzpatrick_scale:!1,category:"animals_and_nature"},vk={keywords:["rainy","weather","spring"],char:"☔",fitzpatrick_scale:!1,category:"animals_and_nature"},xk={keywords:["water","drip","faucet","spring"],char:"💧",fitzpatrick_scale:!1,category:"animals_and_nature"},zk={keywords:["water","drip","oops"],char:"💦",fitzpatrick_scale:!1,category:"animals_and_nature"},Ck={keywords:["sea","water","wave","nature","tsunami","disaster"],char:"🌊",fitzpatrick_scale:!1,category:"animals_and_nature"},Sk={keywords:["fruit","nature"],char:"🍏",fitzpatrick_scale:!1,category:"food_and_drink"},Ek={keywords:["fruit","mac","school"],char:"🍎",fitzpatrick_scale:!1,category:"food_and_drink"},Ak={keywords:["fruit","nature","food"],char:"🍐",fitzpatrick_scale:!1,category:"food_and_drink"},qk={keywords:["food","fruit","nature","orange"],char:"🍊",fitzpatrick_scale:!1,category:"food_and_drink"},Mk={keywords:["fruit","nature"],char:"🍋",fitzpatrick_scale:!1,category:"food_and_drink"},Dk={keywords:["fruit","food","monkey"],char:"🍌",fitzpatrick_scale:!1,category:"food_and_drink"},Tk={keywords:["fruit","food","picnic","summer"],char:"🍉",fitzpatrick_scale:!1,category:"food_and_drink"},Nk={keywords:["fruit","food","wine"],char:"🍇",fitzpatrick_scale:!1,category:"food_and_drink"},Ok={keywords:["fruit","food","nature"],char:"🍓",fitzpatrick_scale:!1,category:"food_and_drink"},Ik={keywords:["fruit","nature","food"],char:"🍈",fitzpatrick_scale:!1,category:"food_and_drink"},$k={keywords:["food","fruit"],char:"🍒",fitzpatrick_scale:!1,category:"food_and_drink"},Lk={keywords:["fruit","nature","food"],char:"🍑",fitzpatrick_scale:!1,category:"food_and_drink"},Rk={keywords:["fruit","nature","food"],char:"🍍",fitzpatrick_scale:!1,category:"food_and_drink"},jk={keywords:["fruit","nature","food","palm"],char:"🥥",fitzpatrick_scale:!1,category:"food_and_drink"},Pk={keywords:["fruit","food"],char:"🥝",fitzpatrick_scale:!1,category:"food_and_drink"},Bk={keywords:["fruit","food","tropical"],char:"🥭",fitzpatrick_scale:!1,category:"food_and_drink"},Fk={keywords:["fruit","food"],char:"🥑",fitzpatrick_scale:!1,category:"food_and_drink"},Uk={keywords:["fruit","food","vegetable"],char:"🥦",fitzpatrick_scale:!1,category:"food_and_drink"},Vk={keywords:["fruit","vegetable","nature","food"],char:"🍅",fitzpatrick_scale:!1,category:"food_and_drink"},Hk={keywords:["vegetable","nature","food","aubergine"],char:"🍆",fitzpatrick_scale:!1,category:"food_and_drink"},Wk={keywords:["fruit","food","pickle"],char:"🥒",fitzpatrick_scale:!1,category:"food_and_drink"},Gk={keywords:["vegetable","food","orange"],char:"🥕",fitzpatrick_scale:!1,category:"food_and_drink"},Zk={keywords:["food","spicy","chilli","chili"],char:"🌶",fitzpatrick_scale:!1,category:"food_and_drink"},Kk={keywords:["food","tuber","vegatable","starch"],char:"🥔",fitzpatrick_scale:!1,category:"food_and_drink"},Jk={keywords:["food","vegetable","plant"],char:"🌽",fitzpatrick_scale:!1,category:"food_and_drink"},Yk={keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"🥬",fitzpatrick_scale:!1,category:"food_and_drink"},Xk={keywords:["food","nature"],char:"🍠",fitzpatrick_scale:!1,category:"food_and_drink"},Qk={keywords:["food","nut"],char:"🥜",fitzpatrick_scale:!1,category:"food_and_drink"},ev={keywords:["bees","sweet","kitchen"],char:"🍯",fitzpatrick_scale:!1,category:"food_and_drink"},tv={keywords:["food","bread","french"],char:"🥐",fitzpatrick_scale:!1,category:"food_and_drink"},rv={keywords:["food","wheat","breakfast","toast"],char:"🍞",fitzpatrick_scale:!1,category:"food_and_drink"},nv={keywords:["food","bread","french"],char:"🥖",fitzpatrick_scale:!1,category:"food_and_drink"},ov={keywords:["food","bread","bakery","schmear"],char:"🥯",fitzpatrick_scale:!1,category:"food_and_drink"},iv={keywords:["food","bread","twisted"],char:"🥨",fitzpatrick_scale:!1,category:"food_and_drink"},av={keywords:["food","chadder"],char:"🧀",fitzpatrick_scale:!1,category:"food_and_drink"},sv={keywords:["food","chicken","breakfast"],char:"🥚",fitzpatrick_scale:!1,category:"food_and_drink"},cv={keywords:["food","breakfast","pork","pig","meat"],char:"🥓",fitzpatrick_scale:!1,category:"food_and_drink"},lv={keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"🥩",fitzpatrick_scale:!1,category:"food_and_drink"},uv={keywords:["food","breakfast","flapjacks","hotcakes"],char:"🥞",fitzpatrick_scale:!1,category:"food_and_drink"},dv={keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"🍗",fitzpatrick_scale:!1,category:"food_and_drink"},pv={keywords:["good","food","drumstick"],char:"🍖",fitzpatrick_scale:!1,category:"food_and_drink"},hv={keywords:["skeleton"],char:"🦴",fitzpatrick_scale:!1,category:"food_and_drink"},fv={keywords:["food","animal","appetizer","summer"],char:"🍤",fitzpatrick_scale:!1,category:"food_and_drink"},mv={keywords:["food","breakfast","kitchen","egg"],char:"🍳",fitzpatrick_scale:!1,category:"food_and_drink"},gv={keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"🍔",fitzpatrick_scale:!1,category:"food_and_drink"},yv={keywords:["chips","snack","fast food"],char:"🍟",fitzpatrick_scale:!1,category:"food_and_drink"},_v={keywords:["food","flatbread","stuffed","gyro"],char:"🥙",fitzpatrick_scale:!1,category:"food_and_drink"},bv={keywords:["food","frankfurter"],char:"🌭",fitzpatrick_scale:!1,category:"food_and_drink"},wv={keywords:["food","party"],char:"🍕",fitzpatrick_scale:!1,category:"food_and_drink"},kv={keywords:["food","lunch","bread"],char:"🥪",fitzpatrick_scale:!1,category:"food_and_drink"},vv={keywords:["food","soup"],char:"🥫",fitzpatrick_scale:!1,category:"food_and_drink"},xv={keywords:["food","italian","noodle"],char:"🍝",fitzpatrick_scale:!1,category:"food_and_drink"},zv={keywords:["food","mexican"],char:"🌮",fitzpatrick_scale:!1,category:"food_and_drink"},Cv={keywords:["food","mexican"],char:"🌯",fitzpatrick_scale:!1,category:"food_and_drink"},Sv={keywords:["food","healthy","lettuce"],char:"🥗",fitzpatrick_scale:!1,category:"food_and_drink"},Ev={keywords:["food","cooking","casserole","paella"],char:"🥘",fitzpatrick_scale:!1,category:"food_and_drink"},Av={keywords:["food","japanese","noodle","chopsticks"],char:"🍜",fitzpatrick_scale:!1,category:"food_and_drink"},qv={keywords:["food","meat","soup"],char:"🍲",fitzpatrick_scale:!1,category:"food_and_drink"},Mv={keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"🍥",fitzpatrick_scale:!1,category:"food_and_drink"},Dv={keywords:["food","prophecy"],char:"🥠",fitzpatrick_scale:!1,category:"food_and_drink"},Tv={keywords:["food","fish","japanese","rice"],char:"🍣",fitzpatrick_scale:!1,category:"food_and_drink"},Nv={keywords:["food","japanese","box"],char:"🍱",fitzpatrick_scale:!1,category:"food_and_drink"},Ov={keywords:["food","spicy","hot","indian"],char:"🍛",fitzpatrick_scale:!1,category:"food_and_drink"},Iv={keywords:["food","japanese"],char:"🍙",fitzpatrick_scale:!1,category:"food_and_drink"},$v={keywords:["food","china","asian"],char:"🍚",fitzpatrick_scale:!1,category:"food_and_drink"},Lv={keywords:["food","japanese"],char:"🍘",fitzpatrick_scale:!1,category:"food_and_drink"},Rv={keywords:["food","japanese"],char:"🍢",fitzpatrick_scale:!1,category:"food_and_drink"},jv={keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"🍡",fitzpatrick_scale:!1,category:"food_and_drink"},Pv={keywords:["hot","dessert","summer"],char:"🍧",fitzpatrick_scale:!1,category:"food_and_drink"},Bv={keywords:["food","hot","dessert"],char:"🍨",fitzpatrick_scale:!1,category:"food_and_drink"},Fv={keywords:["food","hot","dessert","summer"],char:"🍦",fitzpatrick_scale:!1,category:"food_and_drink"},Uv={keywords:["food","dessert","pastry"],char:"🥧",fitzpatrick_scale:!1,category:"food_and_drink"},Vv={keywords:["food","dessert"],char:"🍰",fitzpatrick_scale:!1,category:"food_and_drink"},Hv={keywords:["food","dessert","bakery","sweet"],char:"🧁",fitzpatrick_scale:!1,category:"food_and_drink"},Wv={keywords:["food","autumn"],char:"🥮",fitzpatrick_scale:!1,category:"food_and_drink"},Gv={keywords:["food","dessert","cake"],char:"🎂",fitzpatrick_scale:!1,category:"food_and_drink"},Zv={keywords:["dessert","food"],char:"🍮",fitzpatrick_scale:!1,category:"food_and_drink"},Kv={keywords:["snack","dessert","sweet","lolly"],char:"🍬",fitzpatrick_scale:!1,category:"food_and_drink"},Jv={keywords:["food","snack","candy","sweet"],char:"🍭",fitzpatrick_scale:!1,category:"food_and_drink"},Yv={keywords:["food","snack","dessert","sweet"],char:"🍫",fitzpatrick_scale:!1,category:"food_and_drink"},Xv={keywords:["food","movie theater","films","snack"],char:"🍿",fitzpatrick_scale:!1,category:"food_and_drink"},Qv={keywords:["food","empanada","pierogi","potsticker"],char:"🥟",fitzpatrick_scale:!1,category:"food_and_drink"},e0={keywords:["food","dessert","snack","sweet","donut"],char:"🍩",fitzpatrick_scale:!1,category:"food_and_drink"},t0={keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"🍪",fitzpatrick_scale:!1,category:"food_and_drink"},r0={keywords:["beverage","drink","cow"],char:"🥛",fitzpatrick_scale:!1,category:"food_and_drink"},n0={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍺",fitzpatrick_scale:!1,category:"food_and_drink"},o0={keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"🍻",fitzpatrick_scale:!1,category:"food_and_drink"},i0={keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"🥂",fitzpatrick_scale:!1,category:"food_and_drink"},a0={keywords:["drink","beverage","drunk","alcohol","booze"],char:"🍷",fitzpatrick_scale:!1,category:"food_and_drink"},s0={keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"🥃",fitzpatrick_scale:!1,category:"food_and_drink"},c0={keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"🍸",fitzpatrick_scale:!1,category:"food_and_drink"},l0={keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"🍹",fitzpatrick_scale:!1,category:"food_and_drink"},u0={keywords:["drink","wine","bottle","celebration"],char:"🍾",fitzpatrick_scale:!1,category:"food_and_drink"},d0={keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"🍶",fitzpatrick_scale:!1,category:"food_and_drink"},p0={keywords:["drink","bowl","breakfast","green","british"],char:"🍵",fitzpatrick_scale:!1,category:"food_and_drink"},h0={keywords:["drink","soda"],char:"🥤",fitzpatrick_scale:!1,category:"food_and_drink"},f0={keywords:["beverage","caffeine","latte","espresso"],char:"☕",fitzpatrick_scale:!1,category:"food_and_drink"},m0={keywords:["food","container","milk"],char:"🍼",fitzpatrick_scale:!1,category:"food_and_drink"},g0={keywords:["condiment","shaker"],char:"🧂",fitzpatrick_scale:!1,category:"food_and_drink"},y0={keywords:["cutlery","kitchen","tableware"],char:"🥄",fitzpatrick_scale:!1,category:"food_and_drink"},_0={keywords:["cutlery","kitchen"],char:"🍴",fitzpatrick_scale:!1,category:"food_and_drink"},b0={keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"🍽",fitzpatrick_scale:!1,category:"food_and_drink"},w0={keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"🥣",fitzpatrick_scale:!1,category:"food_and_drink"},k0={keywords:["food","leftovers"],char:"🥡",fitzpatrick_scale:!1,category:"food_and_drink"},v0={keywords:["food"],char:"🥢",fitzpatrick_scale:!1,category:"food_and_drink"},x0={keywords:["sports","football"],char:"⚽",fitzpatrick_scale:!1,category:"activity"},z0={keywords:["sports","balls","NBA"],char:"🏀",fitzpatrick_scale:!1,category:"activity"},C0={keywords:["sports","balls","NFL"],char:"🏈",fitzpatrick_scale:!1,category:"activity"},S0={keywords:["sports","balls"],char:"⚾",fitzpatrick_scale:!1,category:"activity"},E0={keywords:["sports","balls"],char:"🥎",fitzpatrick_scale:!1,category:"activity"},A0={keywords:["sports","balls","green"],char:"🎾",fitzpatrick_scale:!1,category:"activity"},q0={keywords:["sports","balls"],char:"🏐",fitzpatrick_scale:!1,category:"activity"},M0={keywords:["sports","team"],char:"🏉",fitzpatrick_scale:!1,category:"activity"},D0={keywords:["sports","frisbee","ultimate"],char:"🥏",fitzpatrick_scale:!1,category:"activity"},T0={keywords:["sports","business","flag","hole","summer"],char:"⛳",fitzpatrick_scale:!1,category:"activity"},N0={keywords:["sports","business","woman","female"],char:"🏌️♀️",fitzpatrick_scale:!1,category:"activity"},O0={keywords:["sports","business"],char:"🏌",fitzpatrick_scale:!0,category:"activity"},I0={keywords:["sports","pingpong"],char:"🏓",fitzpatrick_scale:!1,category:"activity"},$0={keywords:["sports"],char:"🏸",fitzpatrick_scale:!1,category:"activity"},L0={keywords:["sports"],char:"🥅",fitzpatrick_scale:!1,category:"activity"},R0={keywords:["sports"],char:"🏒",fitzpatrick_scale:!1,category:"activity"},j0={keywords:["sports"],char:"🏑",fitzpatrick_scale:!1,category:"activity"},P0={keywords:["sports","ball","stick"],char:"🥍",fitzpatrick_scale:!1,category:"activity"},B0={keywords:["sports"],char:"🏏",fitzpatrick_scale:!1,category:"activity"},F0={keywords:["sports","winter","cold","snow"],char:"🎿",fitzpatrick_scale:!1,category:"activity"},U0={keywords:["sports","winter","snow"],char:"⛷",fitzpatrick_scale:!1,category:"activity"},V0={keywords:["sports","winter"],char:"🏂",fitzpatrick_scale:!0,category:"activity"},H0={keywords:["sports","fencing","sword"],char:"🤺",fitzpatrick_scale:!1,category:"activity"},W0={keywords:["sports","wrestlers"],char:"🤼♀️",fitzpatrick_scale:!1,category:"activity"},G0={keywords:["sports","wrestlers"],char:"🤼♂️",fitzpatrick_scale:!1,category:"activity"},Z0={keywords:["gymnastics"],char:"🤸♀️",fitzpatrick_scale:!0,category:"activity"},K0={keywords:["gymnastics"],char:"🤸♂️",fitzpatrick_scale:!0,category:"activity"},J0={keywords:["sports"],char:"🤾♀️",fitzpatrick_scale:!0,category:"activity"},Y0={keywords:["sports"],char:"🤾♂️",fitzpatrick_scale:!0,category:"activity"},X0={keywords:["sports"],char:"⛸",fitzpatrick_scale:!1,category:"activity"},Q0={keywords:["sports"],char:"🥌",fitzpatrick_scale:!1,category:"activity"},e1={keywords:["board"],char:"🛹",fitzpatrick_scale:!1,category:"activity"},t1={keywords:["sleigh","luge","toboggan"],char:"🛷",fitzpatrick_scale:!1,category:"activity"},r1={keywords:["sports"],char:"🏹",fitzpatrick_scale:!1,category:"activity"},n1={keywords:["food","hobby","summer"],char:"🎣",fitzpatrick_scale:!1,category:"activity"},o1={keywords:["sports","fighting"],char:"🥊",fitzpatrick_scale:!1,category:"activity"},i1={keywords:["judo","karate","taekwondo"],char:"🥋",fitzpatrick_scale:!1,category:"activity"},a1={keywords:["sports","hobby","water","ship","woman","female"],char:"🚣♀️",fitzpatrick_scale:!0,category:"activity"},s1={keywords:["sports","hobby","water","ship"],char:"🚣",fitzpatrick_scale:!0,category:"activity"},c1={keywords:["sports","hobby","woman","female","rock"],char:"🧗♀️",fitzpatrick_scale:!0,category:"activity"},l1={keywords:["sports","hobby","man","male","rock"],char:"🧗♂️",fitzpatrick_scale:!0,category:"activity"},u1={keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"🏊♀️",fitzpatrick_scale:!0,category:"activity"},d1={keywords:["sports","exercise","human","athlete","water","summer"],char:"🏊",fitzpatrick_scale:!0,category:"activity"},p1={keywords:["sports","pool"],char:"🤽♀️",fitzpatrick_scale:!0,category:"activity"},h1={keywords:["sports","pool"],char:"🤽♂️",fitzpatrick_scale:!0,category:"activity"},f1={keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"🧘♀️",fitzpatrick_scale:!0,category:"activity"},m1={keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"🧘♂️",fitzpatrick_scale:!0,category:"activity"},g1={keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"🏄♀️",fitzpatrick_scale:!0,category:"activity"},y1={keywords:["sports","ocean","sea","summer","beach"],char:"🏄",fitzpatrick_scale:!0,category:"activity"},_1={keywords:["clean","shower","bathroom"],char:"🛀",fitzpatrick_scale:!0,category:"activity"},b1={keywords:["sports","human","woman","female"],char:"⛹️♀️",fitzpatrick_scale:!0,category:"activity"},w1={keywords:["sports","human"],char:"⛹",fitzpatrick_scale:!0,category:"activity"},k1={keywords:["sports","training","exercise","woman","female"],char:"🏋️♀️",fitzpatrick_scale:!0,category:"activity"},v1={keywords:["sports","training","exercise"],char:"🏋",fitzpatrick_scale:!0,category:"activity"},x1={keywords:["sports","bike","exercise","hipster","woman","female"],char:"🚴♀️",fitzpatrick_scale:!0,category:"activity"},z1={keywords:["sports","bike","exercise","hipster"],char:"🚴",fitzpatrick_scale:!0,category:"activity"},C1={keywords:["transportation","sports","human","race","bike","woman","female"],char:"🚵♀️",fitzpatrick_scale:!0,category:"activity"},S1={keywords:["transportation","sports","human","race","bike"],char:"🚵",fitzpatrick_scale:!0,category:"activity"},E1={keywords:["animal","betting","competition","gambling","luck"],char:"🏇",fitzpatrick_scale:!0,category:"activity"},A1={keywords:["suit","business","levitate","hover","jump"],char:"🕴",fitzpatrick_scale:!0,category:"activity"},q1={keywords:["win","award","contest","place","ftw","ceremony"],char:"🏆",fitzpatrick_scale:!1,category:"activity"},M1={keywords:["play","pageant"],char:"🎽",fitzpatrick_scale:!1,category:"activity"},D1={keywords:["award","winning"],char:"🏅",fitzpatrick_scale:!1,category:"activity"},T1={keywords:["award","winning","army"],char:"🎖",fitzpatrick_scale:!1,category:"activity"},N1={keywords:["sports","cause","support","awareness"],char:"🎗",fitzpatrick_scale:!1,category:"activity"},O1={keywords:["flower","decoration","military"],char:"🏵",fitzpatrick_scale:!1,category:"activity"},I1={keywords:["event","concert","pass"],char:"🎫",fitzpatrick_scale:!1,category:"activity"},$1={keywords:["sports","concert","entrance"],char:"🎟",fitzpatrick_scale:!1,category:"activity"},L1={keywords:["acting","theater","drama"],char:"🎭",fitzpatrick_scale:!1,category:"activity"},R1={keywords:["design","paint","draw","colors"],char:"🎨",fitzpatrick_scale:!1,category:"activity"},j1={keywords:["festival","carnival","party"],char:"🎪",fitzpatrick_scale:!1,category:"activity"},P1={keywords:["juggle","balance","skill","multitask"],char:"🤹♀️",fitzpatrick_scale:!0,category:"activity"},B1={keywords:["juggle","balance","skill","multitask"],char:"🤹♂️",fitzpatrick_scale:!0,category:"activity"},F1={keywords:["sound","music","PA","sing","talkshow"],char:"🎤",fitzpatrick_scale:!1,category:"activity"},U1={keywords:["music","score","gadgets"],char:"🎧",fitzpatrick_scale:!1,category:"activity"},V1={keywords:["treble","clef","compose"],char:"🎼",fitzpatrick_scale:!1,category:"activity"},H1={keywords:["piano","instrument","compose"],char:"🎹",fitzpatrick_scale:!1,category:"activity"},W1={keywords:["music","instrument","drumsticks","snare"],char:"🥁",fitzpatrick_scale:!1,category:"activity"},G1={keywords:["music","instrument","jazz","blues"],char:"🎷",fitzpatrick_scale:!1,category:"activity"},Z1={keywords:["music","brass"],char:"🎺",fitzpatrick_scale:!1,category:"activity"},K1={keywords:["music","instrument"],char:"🎸",fitzpatrick_scale:!1,category:"activity"},J1={keywords:["music","instrument","orchestra","symphony"],char:"🎻",fitzpatrick_scale:!1,category:"activity"},Y1={keywords:["movie","film","record"],char:"🎬",fitzpatrick_scale:!1,category:"activity"},X1={keywords:["play","console","PS4","controller"],char:"🎮",fitzpatrick_scale:!1,category:"activity"},Q1={keywords:["game","arcade","play"],char:"👾",fitzpatrick_scale:!1,category:"activity"},ex={keywords:["game","play","bar","target","bullseye"],char:"🎯",fitzpatrick_scale:!1,category:"activity"},tx={keywords:["dice","random","tabletop","play","luck"],char:"🎲",fitzpatrick_scale:!1,category:"activity"},rx={keywords:["expendable"],char:"♟",fitzpatrick_scale:!1,category:"activity"},nx={keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"🎰",fitzpatrick_scale:!1,category:"activity"},ox={keywords:["interlocking","puzzle","piece"],char:"🧩",fitzpatrick_scale:!1,category:"activity"},ix={keywords:["sports","fun","play"],char:"🎳",fitzpatrick_scale:!1,category:"activity"},ax={keywords:["red","transportation","vehicle"],char:"🚗",fitzpatrick_scale:!1,category:"travel_and_places"},sx={keywords:["uber","vehicle","cars","transportation"],char:"🚕",fitzpatrick_scale:!1,category:"travel_and_places"},cx={keywords:["transportation","vehicle"],char:"🚙",fitzpatrick_scale:!1,category:"travel_and_places"},lx={keywords:["car","vehicle","transportation"],char:"🚌",fitzpatrick_scale:!1,category:"travel_and_places"},ux={keywords:["bart","transportation","vehicle"],char:"🚎",fitzpatrick_scale:!1,category:"travel_and_places"},dx={keywords:["sports","race","fast","formula","f1"],char:"🏎",fitzpatrick_scale:!1,category:"travel_and_places"},px={keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"🚓",fitzpatrick_scale:!1,category:"travel_and_places"},hx={keywords:["health","911","hospital"],char:"🚑",fitzpatrick_scale:!1,category:"travel_and_places"},fx={keywords:["transportation","cars","vehicle"],char:"🚒",fitzpatrick_scale:!1,category:"travel_and_places"},mx={keywords:["vehicle","car","transportation"],char:"🚐",fitzpatrick_scale:!1,category:"travel_and_places"},gx={keywords:["cars","transportation"],char:"🚚",fitzpatrick_scale:!1,category:"travel_and_places"},yx={keywords:["vehicle","cars","transportation","express"],char:"🚛",fitzpatrick_scale:!1,category:"travel_and_places"},_x={keywords:["vehicle","car","farming","agriculture"],char:"🚜",fitzpatrick_scale:!1,category:"travel_and_places"},bx={keywords:["vehicle","kick","razor"],char:"🛴",fitzpatrick_scale:!1,category:"travel_and_places"},wx={keywords:["race","sports","fast"],char:"🏍",fitzpatrick_scale:!1,category:"travel_and_places"},kx={keywords:["sports","bicycle","exercise","hipster"],char:"🚲",fitzpatrick_scale:!1,category:"travel_and_places"},vx={keywords:["vehicle","vespa","sasha"],char:"🛵",fitzpatrick_scale:!1,category:"travel_and_places"},xx={keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"🚨",fitzpatrick_scale:!1,category:"travel_and_places"},zx={keywords:["vehicle","law","legal","enforcement","911"],char:"🚔",fitzpatrick_scale:!1,category:"travel_and_places"},Cx={keywords:["vehicle","transportation"],char:"🚍",fitzpatrick_scale:!1,category:"travel_and_places"},Sx={keywords:["car","vehicle","transportation"],char:"🚘",fitzpatrick_scale:!1,category:"travel_and_places"},Ex={keywords:["vehicle","cars","uber"],char:"🚖",fitzpatrick_scale:!1,category:"travel_and_places"},Ax={keywords:["transportation","vehicle","ski"],char:"🚡",fitzpatrick_scale:!1,category:"travel_and_places"},qx={keywords:["transportation","vehicle","ski"],char:"🚠",fitzpatrick_scale:!1,category:"travel_and_places"},Mx={keywords:["vehicle","transportation"],char:"🚟",fitzpatrick_scale:!1,category:"travel_and_places"},Dx={keywords:["transportation","vehicle"],char:"🚃",fitzpatrick_scale:!1,category:"travel_and_places"},Tx={keywords:["transportation","vehicle","carriage","public","travel"],char:"🚋",fitzpatrick_scale:!1,category:"travel_and_places"},Nx={keywords:["transportation","vehicle"],char:"🚝",fitzpatrick_scale:!1,category:"travel_and_places"},Ox={keywords:["transportation","vehicle"],char:"🚄",fitzpatrick_scale:!1,category:"travel_and_places"},Ix={keywords:["transportation","vehicle","speed","fast","public","travel"],char:"🚅",fitzpatrick_scale:!1,category:"travel_and_places"},$x={keywords:["transportation","vehicle"],char:"🚈",fitzpatrick_scale:!1,category:"travel_and_places"},Lx={keywords:["transportation","vehicle"],char:"🚞",fitzpatrick_scale:!1,category:"travel_and_places"},Rx={keywords:["transportation","vehicle","train"],char:"🚂",fitzpatrick_scale:!1,category:"travel_and_places"},jx={keywords:["transportation","vehicle"],char:"🚆",fitzpatrick_scale:!1,category:"travel_and_places"},Px={keywords:["transportation","blue-square","mrt","underground","tube"],char:"🚇",fitzpatrick_scale:!1,category:"travel_and_places"},Bx={keywords:["transportation","vehicle"],char:"🚊",fitzpatrick_scale:!1,category:"travel_and_places"},Fx={keywords:["transportation","vehicle","public"],char:"🚉",fitzpatrick_scale:!1,category:"travel_and_places"},Ux={keywords:["transportation","vehicle","ufo"],char:"🛸",fitzpatrick_scale:!1,category:"travel_and_places"},Vx={keywords:["transportation","vehicle","fly"],char:"🚁",fitzpatrick_scale:!1,category:"travel_and_places"},Hx={keywords:["flight","transportation","fly","vehicle"],char:"🛩",fitzpatrick_scale:!1,category:"travel_and_places"},Wx={keywords:["vehicle","transportation","flight","fly"],char:"✈️",fitzpatrick_scale:!1,category:"travel_and_places"},Gx={keywords:["airport","flight","landing"],char:"🛫",fitzpatrick_scale:!1,category:"travel_and_places"},Zx={keywords:["airport","flight","boarding"],char:"🛬",fitzpatrick_scale:!1,category:"travel_and_places"},Kx={keywords:["ship","summer","transportation","water","sailing"],char:"⛵",fitzpatrick_scale:!1,category:"travel_and_places"},Jx={keywords:["ship"],char:"🛥",fitzpatrick_scale:!1,category:"travel_and_places"},Yx={keywords:["ship","transportation","vehicle","summer"],char:"🚤",fitzpatrick_scale:!1,category:"travel_and_places"},Xx={keywords:["boat","ship","yacht"],char:"⛴",fitzpatrick_scale:!1,category:"travel_and_places"},Qx={keywords:["yacht","cruise","ferry"],char:"🛳",fitzpatrick_scale:!1,category:"travel_and_places"},ez={keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"🚀",fitzpatrick_scale:!1,category:"travel_and_places"},tz={keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"🛰",fitzpatrick_scale:!1,category:"travel_and_places"},rz={keywords:["sit","airplane","transport","bus","flight","fly"],char:"💺",fitzpatrick_scale:!1,category:"travel_and_places"},nz={keywords:["boat","paddle","water","ship"],char:"🛶",fitzpatrick_scale:!1,category:"travel_and_places"},oz={keywords:["ship","ferry","sea","boat"],char:"⚓",fitzpatrick_scale:!1,category:"travel_and_places"},iz={keywords:["wip","progress","caution","warning"],char:"🚧",fitzpatrick_scale:!1,category:"travel_and_places"},az={keywords:["gas station","petroleum"],char:"⛽",fitzpatrick_scale:!1,category:"travel_and_places"},sz={keywords:["transportation","wait"],char:"🚏",fitzpatrick_scale:!1,category:"travel_and_places"},cz={keywords:["transportation","driving"],char:"🚦",fitzpatrick_scale:!1,category:"travel_and_places"},lz={keywords:["transportation","signal"],char:"🚥",fitzpatrick_scale:!1,category:"travel_and_places"},uz={keywords:["contest","finishline","race","gokart"],char:"🏁",fitzpatrick_scale:!1,category:"travel_and_places"},dz={keywords:["transportation","titanic","deploy"],char:"🚢",fitzpatrick_scale:!1,category:"travel_and_places"},pz={keywords:["photo","carnival","londoneye"],char:"🎡",fitzpatrick_scale:!1,category:"travel_and_places"},hz={keywords:["carnival","playground","photo","fun"],char:"🎢",fitzpatrick_scale:!1,category:"travel_and_places"},fz={keywords:["photo","carnival"],char:"🎠",fitzpatrick_scale:!1,category:"travel_and_places"},mz={keywords:["wip","working","progress"],char:"🏗",fitzpatrick_scale:!1,category:"travel_and_places"},gz={keywords:["photo","mountain"],char:"🌁",fitzpatrick_scale:!1,category:"travel_and_places"},yz={keywords:["photo","japanese"],char:"🗼",fitzpatrick_scale:!1,category:"travel_and_places"},_z={keywords:["building","industry","pollution","smoke"],char:"🏭",fitzpatrick_scale:!1,category:"travel_and_places"},bz={keywords:["photo","summer","water","fresh"],char:"⛲",fitzpatrick_scale:!1,category:"travel_and_places"},wz={keywords:["photo","japan","asia","tsukimi"],char:"🎑",fitzpatrick_scale:!1,category:"travel_and_places"},kz={keywords:["photo","nature","environment"],char:"⛰",fitzpatrick_scale:!1,category:"travel_and_places"},vz={keywords:["photo","nature","environment","winter","cold"],char:"🏔",fitzpatrick_scale:!1,category:"travel_and_places"},xz={keywords:["photo","mountain","nature","japanese"],char:"🗻",fitzpatrick_scale:!1,category:"travel_and_places"},zz={keywords:["photo","nature","disaster"],char:"🌋",fitzpatrick_scale:!1,category:"travel_and_places"},Cz={keywords:["nation","country","japanese","asia"],char:"🗾",fitzpatrick_scale:!1,category:"travel_and_places"},Sz={keywords:["photo","outdoors","tent"],char:"🏕",fitzpatrick_scale:!1,category:"travel_and_places"},Ez={keywords:["photo","camping","outdoors"],char:"⛺",fitzpatrick_scale:!1,category:"travel_and_places"},Az={keywords:["photo","environment","nature"],char:"🏞",fitzpatrick_scale:!1,category:"travel_and_places"},qz={keywords:["road","cupertino","interstate","highway"],char:"🛣",fitzpatrick_scale:!1,category:"travel_and_places"},Mz={keywords:["train","transportation"],char:"🛤",fitzpatrick_scale:!1,category:"travel_and_places"},Dz={keywords:["morning","view","vacation","photo"],char:"🌅",fitzpatrick_scale:!1,category:"travel_and_places"},Tz={keywords:["view","vacation","photo"],char:"🌄",fitzpatrick_scale:!1,category:"travel_and_places"},Nz={keywords:["photo","warm","saharah"],char:"🏜",fitzpatrick_scale:!1,category:"travel_and_places"},Oz={keywords:["weather","summer","sunny","sand","mojito"],char:"🏖",fitzpatrick_scale:!1,category:"travel_and_places"},Iz={keywords:["photo","tropical","mojito"],char:"🏝",fitzpatrick_scale:!1,category:"travel_and_places"},$z={keywords:["photo","good morning","dawn"],char:"🌇",fitzpatrick_scale:!1,category:"travel_and_places"},Lz={keywords:["photo","evening","sky","buildings"],char:"🌆",fitzpatrick_scale:!1,category:"travel_and_places"},Rz={keywords:["photo","night life","urban"],char:"🏙",fitzpatrick_scale:!1,category:"travel_and_places"},jz={keywords:["evening","city","downtown"],char:"🌃",fitzpatrick_scale:!1,category:"travel_and_places"},Pz={keywords:["photo","sanfrancisco"],char:"🌉",fitzpatrick_scale:!1,category:"travel_and_places"},Bz={keywords:["photo","space","stars"],char:"🌌",fitzpatrick_scale:!1,category:"travel_and_places"},Fz={keywords:["night","photo"],char:"🌠",fitzpatrick_scale:!1,category:"travel_and_places"},Uz={keywords:["stars","night","shine"],char:"🎇",fitzpatrick_scale:!1,category:"travel_and_places"},Vz={keywords:["photo","festival","carnival","congratulations"],char:"🎆",fitzpatrick_scale:!1,category:"travel_and_places"},Hz={keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"🌈",fitzpatrick_scale:!1,category:"travel_and_places"},Wz={keywords:["buildings","photo"],char:"🏘",fitzpatrick_scale:!1,category:"travel_and_places"},Gz={keywords:["building","royalty","history"],char:"🏰",fitzpatrick_scale:!1,category:"travel_and_places"},Zz={keywords:["photo","building"],char:"🏯",fitzpatrick_scale:!1,category:"travel_and_places"},Kz={keywords:["photo","place","sports","concert","venue"],char:"🏟",fitzpatrick_scale:!1,category:"travel_and_places"},Jz={keywords:["american","newyork"],char:"🗽",fitzpatrick_scale:!1,category:"travel_and_places"},Yz={keywords:["building","home"],char:"🏠",fitzpatrick_scale:!1,category:"travel_and_places"},Xz={keywords:["home","plant","nature"],char:"🏡",fitzpatrick_scale:!1,category:"travel_and_places"},Qz={keywords:["abandon","evict","broken","building"],char:"🏚",fitzpatrick_scale:!1,category:"travel_and_places"},eC={keywords:["building","bureau","work"],char:"🏢",fitzpatrick_scale:!1,category:"travel_and_places"},tC={keywords:["building","shopping","mall"],char:"🏬",fitzpatrick_scale:!1,category:"travel_and_places"},rC={keywords:["building","envelope","communication"],char:"🏣",fitzpatrick_scale:!1,category:"travel_and_places"},nC={keywords:["building","email"],char:"🏤",fitzpatrick_scale:!1,category:"travel_and_places"},oC={keywords:["building","health","surgery","doctor"],char:"🏥",fitzpatrick_scale:!1,category:"travel_and_places"},iC={keywords:["building","money","sales","cash","business","enterprise"],char:"🏦",fitzpatrick_scale:!1,category:"travel_and_places"},aC={keywords:["building","accomodation","checkin"],char:"🏨",fitzpatrick_scale:!1,category:"travel_and_places"},sC={keywords:["building","shopping","groceries"],char:"🏪",fitzpatrick_scale:!1,category:"travel_and_places"},cC={keywords:["building","student","education","learn","teach"],char:"🏫",fitzpatrick_scale:!1,category:"travel_and_places"},lC={keywords:["like","affection","dating"],char:"🏩",fitzpatrick_scale:!1,category:"travel_and_places"},uC={keywords:["love","like","affection","couple","marriage","bride","groom"],char:"💒",fitzpatrick_scale:!1,category:"travel_and_places"},dC={keywords:["art","culture","history"],char:"🏛",fitzpatrick_scale:!1,category:"travel_and_places"},pC={keywords:["building","religion","christ"],char:"⛪",fitzpatrick_scale:!1,category:"travel_and_places"},hC={keywords:["islam","worship","minaret"],char:"🕌",fitzpatrick_scale:!1,category:"travel_and_places"},fC={keywords:["judaism","worship","temple","jewish"],char:"🕍",fitzpatrick_scale:!1,category:"travel_and_places"},mC={keywords:["mecca","mosque","islam"],char:"🕋",fitzpatrick_scale:!1,category:"travel_and_places"},gC={keywords:["temple","japan","kyoto"],char:"⛩",fitzpatrick_scale:!1,category:"travel_and_places"},yC={keywords:["time","accessories"],char:"⌚",fitzpatrick_scale:!1,category:"objects"},_C={keywords:["technology","apple","gadgets","dial"],char:"📱",fitzpatrick_scale:!1,category:"objects"},bC={keywords:["iphone","incoming"],char:"📲",fitzpatrick_scale:!1,category:"objects"},wC={keywords:["technology","laptop","screen","display","monitor"],char:"💻",fitzpatrick_scale:!1,category:"objects"},kC={keywords:["technology","computer","type","input","text"],char:"⌨",fitzpatrick_scale:!1,category:"objects"},vC={keywords:["technology","computing","screen"],char:"🖥",fitzpatrick_scale:!1,category:"objects"},xC={keywords:["paper","ink"],char:"🖨",fitzpatrick_scale:!1,category:"objects"},zC={keywords:["click"],char:"🖱",fitzpatrick_scale:!1,category:"objects"},CC={keywords:["technology","trackpad"],char:"🖲",fitzpatrick_scale:!1,category:"objects"},SC={keywords:["game","play"],char:"🕹",fitzpatrick_scale:!1,category:"objects"},EC={keywords:["tool"],char:"🗜",fitzpatrick_scale:!1,category:"objects"},AC={keywords:["technology","record","data","disk","90s"],char:"💽",fitzpatrick_scale:!1,category:"objects"},qC={keywords:["oldschool","technology","save","90s","80s"],char:"💾",fitzpatrick_scale:!1,category:"objects"},MC={keywords:["technology","dvd","disk","disc","90s"],char:"💿",fitzpatrick_scale:!1,category:"objects"},DC={keywords:["cd","disk","disc"],char:"📀",fitzpatrick_scale:!1,category:"objects"},TC={keywords:["record","video","oldschool","90s","80s"],char:"📼",fitzpatrick_scale:!1,category:"objects"},NC={keywords:["gadgets","photography"],char:"📷",fitzpatrick_scale:!1,category:"objects"},OC={keywords:["photography","gadgets"],char:"📸",fitzpatrick_scale:!1,category:"objects"},IC={keywords:["film","record"],char:"📹",fitzpatrick_scale:!1,category:"objects"},$C={keywords:["film","record"],char:"🎥",fitzpatrick_scale:!1,category:"objects"},LC={keywords:["video","tape","record","movie"],char:"📽",fitzpatrick_scale:!1,category:"objects"},RC={keywords:["movie"],char:"🎞",fitzpatrick_scale:!1,category:"objects"},jC={keywords:["technology","communication","dial"],char:"📞",fitzpatrick_scale:!1,category:"objects"},PC={keywords:["technology","communication","dial","telephone"],char:"☎️",fitzpatrick_scale:!1,category:"objects"},BC={keywords:["bbcall","oldschool","90s"],char:"📟",fitzpatrick_scale:!1,category:"objects"},FC={keywords:["communication","technology"],char:"📠",fitzpatrick_scale:!1,category:"objects"},UC={keywords:["technology","program","oldschool","show","television"],char:"📺",fitzpatrick_scale:!1,category:"objects"},VC={keywords:["communication","music","podcast","program"],char:"📻",fitzpatrick_scale:!1,category:"objects"},HC={keywords:["sing","recording","artist","talkshow"],char:"🎙",fitzpatrick_scale:!1,category:"objects"},WC={keywords:["scale"],char:"🎚",fitzpatrick_scale:!1,category:"objects"},GC={keywords:["dial"],char:"🎛",fitzpatrick_scale:!1,category:"objects"},ZC={keywords:["magnetic","navigation","orienteering"],char:"🧭",fitzpatrick_scale:!1,category:"objects"},KC={keywords:["time","deadline"],char:"⏱",fitzpatrick_scale:!1,category:"objects"},JC={keywords:["alarm"],char:"⏲",fitzpatrick_scale:!1,category:"objects"},YC={keywords:["time","wake"],char:"⏰",fitzpatrick_scale:!1,category:"objects"},XC={keywords:["time"],char:"🕰",fitzpatrick_scale:!1,category:"objects"},QC={keywords:["oldschool","time","countdown"],char:"⏳",fitzpatrick_scale:!1,category:"objects"},e2={keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"⌛",fitzpatrick_scale:!1,category:"objects"},t2={keywords:["communication","future","radio","space"],char:"📡",fitzpatrick_scale:!1,category:"objects"},r2={keywords:["power","energy","sustain"],char:"🔋",fitzpatrick_scale:!1,category:"objects"},n2={keywords:["charger","power"],char:"🔌",fitzpatrick_scale:!1,category:"objects"},o2={keywords:["light","electricity","idea"],char:"💡",fitzpatrick_scale:!1,category:"objects"},i2={keywords:["dark","camping","sight","night"],char:"🔦",fitzpatrick_scale:!1,category:"objects"},a2={keywords:["fire","wax"],char:"🕯",fitzpatrick_scale:!1,category:"objects"},s2={keywords:["quench"],char:"🧯",fitzpatrick_scale:!1,category:"objects"},c2={keywords:["bin","trash","rubbish","garbage","toss"],char:"🗑",fitzpatrick_scale:!1,category:"objects"},l2={keywords:["barrell"],char:"🛢",fitzpatrick_scale:!1,category:"objects"},u2={keywords:["dollar","bills","payment","sale"],char:"💸",fitzpatrick_scale:!1,category:"objects"},d2={keywords:["money","sales","bill","currency"],char:"💵",fitzpatrick_scale:!1,category:"objects"},p2={keywords:["money","sales","japanese","dollar","currency"],char:"💴",fitzpatrick_scale:!1,category:"objects"},h2={keywords:["money","sales","dollar","currency"],char:"💶",fitzpatrick_scale:!1,category:"objects"},f2={keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"💷",fitzpatrick_scale:!1,category:"objects"},m2={keywords:["dollar","payment","coins","sale"],char:"💰",fitzpatrick_scale:!1,category:"objects"},g2={keywords:["money","sales","dollar","bill","payment","shopping"],char:"💳",fitzpatrick_scale:!1,category:"objects"},y2={keywords:["blue","ruby","diamond","jewelry"],char:"💎",fitzpatrick_scale:!1,category:"objects"},_2={keywords:["law","fairness","weight"],char:"⚖",fitzpatrick_scale:!1,category:"objects"},b2={keywords:["tools","diy","fix","maintainer","mechanic"],char:"🧰",fitzpatrick_scale:!1,category:"objects"},w2={keywords:["tools","diy","ikea","fix","maintainer"],char:"🔧",fitzpatrick_scale:!1,category:"objects"},k2={keywords:["tools","build","create"],char:"🔨",fitzpatrick_scale:!1,category:"objects"},v2={keywords:["tools","build","create"],char:"⚒",fitzpatrick_scale:!1,category:"objects"},x2={keywords:["tools","build","create"],char:"🛠",fitzpatrick_scale:!1,category:"objects"},z2={keywords:["tools","dig"],char:"⛏",fitzpatrick_scale:!1,category:"objects"},C2={keywords:["handy","tools","fix"],char:"🔩",fitzpatrick_scale:!1,category:"objects"},S2={keywords:["cog"],char:"⚙",fitzpatrick_scale:!1,category:"objects"},E2={keywords:["bricks"],char:"🧱",fitzpatrick_scale:!1,category:"objects"},A2={keywords:["lock","arrest"],char:"⛓",fitzpatrick_scale:!1,category:"objects"},q2={keywords:["attraction","magnetic"],char:"🧲",fitzpatrick_scale:!1,category:"objects"},M2={keywords:["violence","weapon","pistol","revolver"],char:"🔫",fitzpatrick_scale:!1,category:"objects"},D2={keywords:["boom","explode","explosion","terrorism"],char:"💣",fitzpatrick_scale:!1,category:"objects"},T2={keywords:["dynamite","boom","explode","explosion","explosive"],char:"🧨",fitzpatrick_scale:!1,category:"objects"},N2={keywords:["knife","blade","cutlery","kitchen","weapon"],char:"🔪",fitzpatrick_scale:!1,category:"objects"},O2={keywords:["weapon"],char:"🗡",fitzpatrick_scale:!1,category:"objects"},I2={keywords:["weapon"],char:"⚔",fitzpatrick_scale:!1,category:"objects"},$2={keywords:["protection","security"],char:"🛡",fitzpatrick_scale:!1,category:"objects"},L2={keywords:["kills","tobacco","cigarette","joint","smoke"],char:"🚬",fitzpatrick_scale:!1,category:"objects"},R2={keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"☠",fitzpatrick_scale:!1,category:"objects"},j2={keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"⚰",fitzpatrick_scale:!1,category:"objects"},P2={keywords:["dead","die","death","rip","ashes"],char:"⚱",fitzpatrick_scale:!1,category:"objects"},B2={keywords:["vase","jar"],char:"🏺",fitzpatrick_scale:!1,category:"objects"},F2={keywords:["disco","party","magic","circus","fortune_teller"],char:"🔮",fitzpatrick_scale:!1,category:"objects"},U2={keywords:["dhikr","religious"],char:"📿",fitzpatrick_scale:!1,category:"objects"},V2={keywords:["bead","charm"],char:"🧿",fitzpatrick_scale:!1,category:"objects"},H2={keywords:["hair","salon","style"],char:"💈",fitzpatrick_scale:!1,category:"objects"},W2={keywords:["distilling","science","experiment","chemistry"],char:"⚗",fitzpatrick_scale:!1,category:"objects"},G2={keywords:["stars","space","zoom","science","astronomy"],char:"🔭",fitzpatrick_scale:!1,category:"objects"},Z2={keywords:["laboratory","experiment","zoomin","science","study"],char:"🔬",fitzpatrick_scale:!1,category:"objects"},K2={keywords:["embarrassing"],char:"🕳",fitzpatrick_scale:!1,category:"objects"},J2={keywords:["health","medicine","doctor","pharmacy","drug"],char:"💊",fitzpatrick_scale:!1,category:"objects"},Y2={keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"💉",fitzpatrick_scale:!1,category:"objects"},X2={keywords:["biologist","genetics","life"],char:"🧬",fitzpatrick_scale:!1,category:"objects"},Q2={keywords:["amoeba","bacteria","germs"],char:"🦠",fitzpatrick_scale:!1,category:"objects"},eS={keywords:["bacteria","biology","culture","lab"],char:"🧫",fitzpatrick_scale:!1,category:"objects"},tS={keywords:["chemistry","experiment","lab","science"],char:"🧪",fitzpatrick_scale:!1,category:"objects"},rS={keywords:["weather","temperature","hot","cold"],char:"🌡",fitzpatrick_scale:!1,category:"objects"},nS={keywords:["cleaning","sweeping","witch"],char:"🧹",fitzpatrick_scale:!1,category:"objects"},oS={keywords:["laundry"],char:"🧺",fitzpatrick_scale:!1,category:"objects"},iS={keywords:["roll"],char:"🧻",fitzpatrick_scale:!1,category:"objects"},aS={keywords:["sale","tag"],char:"🏷",fitzpatrick_scale:!1,category:"objects"},sS={keywords:["favorite","label","save"],char:"🔖",fitzpatrick_scale:!1,category:"objects"},cS={keywords:["restroom","wc","washroom","bathroom","potty"],char:"🚽",fitzpatrick_scale:!1,category:"objects"},lS={keywords:["clean","water","bathroom"],char:"🚿",fitzpatrick_scale:!1,category:"objects"},uS={keywords:["clean","shower","bathroom"],char:"🛁",fitzpatrick_scale:!1,category:"objects"},dS={keywords:["bar","bathing","cleaning","lather"],char:"🧼",fitzpatrick_scale:!1,category:"objects"},pS={keywords:["absorbing","cleaning","porous"],char:"🧽",fitzpatrick_scale:!1,category:"objects"},hS={keywords:["moisturizer","sunscreen"],char:"🧴",fitzpatrick_scale:!1,category:"objects"},fS={keywords:["lock","door","password"],char:"🔑",fitzpatrick_scale:!1,category:"objects"},mS={keywords:["lock","door","password"],char:"🗝",fitzpatrick_scale:!1,category:"objects"},gS={keywords:["read","chill"],char:"🛋",fitzpatrick_scale:!1,category:"objects"},yS={keywords:["bed","rest"],char:"🛌",fitzpatrick_scale:!0,category:"objects"},_S={keywords:["sleep","rest"],char:"🛏",fitzpatrick_scale:!1,category:"objects"},bS={keywords:["house","entry","exit"],char:"🚪",fitzpatrick_scale:!1,category:"objects"},wS={keywords:["service"],char:"🛎",fitzpatrick_scale:!1,category:"objects"},kS={keywords:["plush","stuffed"],char:"🧸",fitzpatrick_scale:!1,category:"objects"},vS={keywords:["photography"],char:"🖼",fitzpatrick_scale:!1,category:"objects"},xS={keywords:["location","direction"],char:"🗺",fitzpatrick_scale:!1,category:"objects"},zS={keywords:["weather","summer"],char:"⛱",fitzpatrick_scale:!1,category:"objects"},CS={keywords:["rock","easter island","moai"],char:"🗿",fitzpatrick_scale:!1,category:"objects"},SS={keywords:["mall","buy","purchase"],char:"🛍",fitzpatrick_scale:!1,category:"objects"},ES={keywords:["trolley"],char:"🛒",fitzpatrick_scale:!1,category:"objects"},AS={keywords:["party","celebration","birthday","circus"],char:"🎈",fitzpatrick_scale:!1,category:"objects"},qS={keywords:["fish","japanese","koinobori","carp","banner"],char:"🎏",fitzpatrick_scale:!1,category:"objects"},MS={keywords:["decoration","pink","girl","bowtie"],char:"🎀",fitzpatrick_scale:!1,category:"objects"},DS={keywords:["present","birthday","christmas","xmas"],char:"🎁",fitzpatrick_scale:!1,category:"objects"},TS={keywords:["festival","party","birthday","circus"],char:"🎊",fitzpatrick_scale:!1,category:"objects"},NS={keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"🎉",fitzpatrick_scale:!1,category:"objects"},OS={keywords:["japanese","toy","kimono"],char:"🎎",fitzpatrick_scale:!1,category:"objects"},IS={keywords:["nature","ding","spring","bell"],char:"🎐",fitzpatrick_scale:!1,category:"objects"},$S={keywords:["japanese","nation","country","border"],char:"🎌",fitzpatrick_scale:!1,category:"objects"},LS={keywords:["light","paper","halloween","spooky"],char:"🏮",fitzpatrick_scale:!1,category:"objects"},RS={keywords:["gift"],char:"🧧",fitzpatrick_scale:!1,category:"objects"},jS={keywords:["letter","postal","inbox","communication"],char:"✉️",fitzpatrick_scale:!1,category:"objects"},PS={keywords:["email","communication"],char:"📩",fitzpatrick_scale:!1,category:"objects"},BS={keywords:["email","inbox"],char:"📨",fitzpatrick_scale:!1,category:"objects"},FS={keywords:["email","like","affection","envelope","valentines"],char:"💌",fitzpatrick_scale:!1,category:"objects"},US={keywords:["email","letter","envelope"],char:"📮",fitzpatrick_scale:!1,category:"objects"},VS={keywords:["email","communication","inbox"],char:"📪",fitzpatrick_scale:!1,category:"objects"},HS={keywords:["email","inbox","communication"],char:"📫",fitzpatrick_scale:!1,category:"objects"},WS={keywords:["email","inbox","communication"],char:"📬",fitzpatrick_scale:!1,category:"objects"},GS={keywords:["email","inbox"],char:"📭",fitzpatrick_scale:!1,category:"objects"},ZS={keywords:["instrument","music"],char:"📯",fitzpatrick_scale:!1,category:"objects"},KS={keywords:["email","documents"],char:"📥",fitzpatrick_scale:!1,category:"objects"},JS={keywords:["inbox","email"],char:"📤",fitzpatrick_scale:!1,category:"objects"},YS={keywords:["documents","ancient","history","paper"],char:"📜",fitzpatrick_scale:!1,category:"objects"},XS={keywords:["documents","office","paper"],char:"📃",fitzpatrick_scale:!1,category:"objects"},QS={keywords:["favorite","save","order","tidy"],char:"📑",fitzpatrick_scale:!1,category:"objects"},eE={keywords:["accounting","expenses"],char:"🧾",fitzpatrick_scale:!1,category:"objects"},tE={keywords:["graph","presentation","stats"],char:"📊",fitzpatrick_scale:!1,category:"objects"},rE={keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"📈",fitzpatrick_scale:!1,category:"objects"},nE={keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"📉",fitzpatrick_scale:!1,category:"objects"},oE={keywords:["documents","office","paper","information"],char:"📄",fitzpatrick_scale:!1,category:"objects"},iE={keywords:["calendar","schedule"],char:"📅",fitzpatrick_scale:!1,category:"objects"},aE={keywords:["schedule","date","planning"],char:"📆",fitzpatrick_scale:!1,category:"objects"},sE={keywords:["date","schedule","planning"],char:"🗓",fitzpatrick_scale:!1,category:"objects"},cE={keywords:["business","stationery"],char:"📇",fitzpatrick_scale:!1,category:"objects"},lE={keywords:["business","stationery"],char:"🗃",fitzpatrick_scale:!1,category:"objects"},uE={keywords:["election","vote"],char:"🗳",fitzpatrick_scale:!1,category:"objects"},dE={keywords:["filing","organizing"],char:"🗄",fitzpatrick_scale:!1,category:"objects"},pE={keywords:["stationery","documents"],char:"📋",fitzpatrick_scale:!1,category:"objects"},hE={keywords:["memo","stationery"],char:"🗒",fitzpatrick_scale:!1,category:"objects"},fE={keywords:["documents","business","office"],char:"📁",fitzpatrick_scale:!1,category:"objects"},mE={keywords:["documents","load"],char:"📂",fitzpatrick_scale:!1,category:"objects"},gE={keywords:["organizing","business","stationery"],char:"🗂",fitzpatrick_scale:!1,category:"objects"},yE={keywords:["press","headline"],char:"🗞",fitzpatrick_scale:!1,category:"objects"},_E={keywords:["press","headline"],char:"📰",fitzpatrick_scale:!1,category:"objects"},bE={keywords:["stationery","record","notes","paper","study"],char:"📓",fitzpatrick_scale:!1,category:"objects"},wE={keywords:["read","library","knowledge","textbook","learn"],char:"📕",fitzpatrick_scale:!1,category:"objects"},kE={keywords:["read","library","knowledge","study"],char:"📗",fitzpatrick_scale:!1,category:"objects"},vE={keywords:["read","library","knowledge","learn","study"],char:"📘",fitzpatrick_scale:!1,category:"objects"},xE={keywords:["read","library","knowledge","textbook","study"],char:"📙",fitzpatrick_scale:!1,category:"objects"},zE={keywords:["classroom","notes","record","paper","study"],char:"📔",fitzpatrick_scale:!1,category:"objects"},CE={keywords:["notes","paper"],char:"📒",fitzpatrick_scale:!1,category:"objects"},SE={keywords:["literature","library","study"],char:"📚",fitzpatrick_scale:!1,category:"objects"},EE={keywords:["book","read","library","knowledge","literature","learn","study"],char:"📖",fitzpatrick_scale:!1,category:"objects"},AE={keywords:["diaper"],char:"🧷",fitzpatrick_scale:!1,category:"objects"},qE={keywords:["rings","url"],char:"🔗",fitzpatrick_scale:!1,category:"objects"},ME={keywords:["documents","stationery"],char:"📎",fitzpatrick_scale:!1,category:"objects"},DE={keywords:["documents","stationery"],char:"🖇",fitzpatrick_scale:!1,category:"objects"},TE={keywords:["stationery","cut"],char:"✂️",fitzpatrick_scale:!1,category:"objects"},NE={keywords:["stationery","math","architect","sketch"],char:"📐",fitzpatrick_scale:!1,category:"objects"},OE={keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"📏",fitzpatrick_scale:!1,category:"objects"},IE={keywords:["calculation"],char:"🧮",fitzpatrick_scale:!1,category:"objects"},$E={keywords:["stationery","mark","here"],char:"📌",fitzpatrick_scale:!1,category:"objects"},LE={keywords:["stationery","location","map","here"],char:"📍",fitzpatrick_scale:!1,category:"objects"},RE={keywords:["mark","milestone","place"],char:"🚩",fitzpatrick_scale:!1,category:"objects"},jE={keywords:["losing","loser","lost","surrender","give up","fail"],char:"🏳",fitzpatrick_scale:!1,category:"objects"},PE={keywords:["pirate"],char:"🏴",fitzpatrick_scale:!1,category:"objects"},BE={keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"🏳️🌈",fitzpatrick_scale:!1,category:"objects"},FE={keywords:["security","privacy"],char:"🔐",fitzpatrick_scale:!1,category:"objects"},UE={keywords:["security","password","padlock"],char:"🔒",fitzpatrick_scale:!1,category:"objects"},VE={keywords:["privacy","security"],char:"🔓",fitzpatrick_scale:!1,category:"objects"},HE={keywords:["security","secret"],char:"🔏",fitzpatrick_scale:!1,category:"objects"},WE={keywords:["stationery","writing","write"],char:"🖊",fitzpatrick_scale:!1,category:"objects"},GE={keywords:["stationery","writing","write"],char:"🖋",fitzpatrick_scale:!1,category:"objects"},ZE={keywords:["pen","stationery","writing","write"],char:"✒️",fitzpatrick_scale:!1,category:"objects"},KE={keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"📝",fitzpatrick_scale:!1,category:"objects"},JE={keywords:["stationery","write","paper","writing","school","study"],char:"✏️",fitzpatrick_scale:!1,category:"objects"},YE={keywords:["drawing","creativity"],char:"🖍",fitzpatrick_scale:!1,category:"objects"},XE={keywords:["drawing","creativity","art"],char:"🖌",fitzpatrick_scale:!1,category:"objects"},QE={keywords:["search","zoom","find","detective"],char:"🔍",fitzpatrick_scale:!1,category:"objects"},eA={keywords:["search","zoom","find","detective"],char:"🔎",fitzpatrick_scale:!1,category:"objects"},tA={keywords:["love","like","valentines"],char:"❤️",fitzpatrick_scale:!1,category:"symbols"},rA={keywords:["love","like","affection","valentines"],char:"🧡",fitzpatrick_scale:!1,category:"symbols"},nA={keywords:["love","like","affection","valentines"],char:"💛",fitzpatrick_scale:!1,category:"symbols"},oA={keywords:["love","like","affection","valentines"],char:"💚",fitzpatrick_scale:!1,category:"symbols"},iA={keywords:["love","like","affection","valentines"],char:"💙",fitzpatrick_scale:!1,category:"symbols"},aA={keywords:["love","like","affection","valentines"],char:"💜",fitzpatrick_scale:!1,category:"symbols"},sA={keywords:["evil"],char:"🖤",fitzpatrick_scale:!1,category:"symbols"},cA={keywords:["sad","sorry","break","heart","heartbreak"],char:"💔",fitzpatrick_scale:!1,category:"symbols"},lA={keywords:["decoration","love"],char:"❣",fitzpatrick_scale:!1,category:"symbols"},uA={keywords:["love","like","affection","valentines","heart"],char:"💕",fitzpatrick_scale:!1,category:"symbols"},dA={keywords:["love","like","affection","valentines"],char:"💞",fitzpatrick_scale:!1,category:"symbols"},pA={keywords:["love","like","affection","valentines","pink","heart"],char:"💓",fitzpatrick_scale:!1,category:"symbols"},hA={keywords:["like","love","affection","valentines","pink"],char:"💗",fitzpatrick_scale:!1,category:"symbols"},fA={keywords:["love","like","affection","valentines"],char:"💖",fitzpatrick_scale:!1,category:"symbols"},mA={keywords:["love","like","heart","affection","valentines"],char:"💘",fitzpatrick_scale:!1,category:"symbols"},gA={keywords:["love","valentines"],char:"💝",fitzpatrick_scale:!1,category:"symbols"},yA={keywords:["purple-square","love","like"],char:"💟",fitzpatrick_scale:!1,category:"symbols"},_A={keywords:["hippie"],char:"☮",fitzpatrick_scale:!1,category:"symbols"},bA={keywords:["christianity"],char:"✝",fitzpatrick_scale:!1,category:"symbols"},wA={keywords:["islam"],char:"☪",fitzpatrick_scale:!1,category:"symbols"},kA={keywords:["hinduism","buddhism","sikhism","jainism"],char:"🕉",fitzpatrick_scale:!1,category:"symbols"},vA={keywords:["hinduism","buddhism","sikhism","jainism"],char:"☸",fitzpatrick_scale:!1,category:"symbols"},xA={keywords:["judaism"],char:"✡",fitzpatrick_scale:!1,category:"symbols"},zA={keywords:["purple-square","religion","jewish","hexagram"],char:"🔯",fitzpatrick_scale:!1,category:"symbols"},CA={keywords:["hanukkah","candles","jewish"],char:"🕎",fitzpatrick_scale:!1,category:"symbols"},SA={keywords:["balance"],char:"☯",fitzpatrick_scale:!1,category:"symbols"},EA={keywords:["suppedaneum","religion"],char:"☦",fitzpatrick_scale:!1,category:"symbols"},AA={keywords:["religion","church","temple","prayer"],char:"🛐",fitzpatrick_scale:!1,category:"symbols"},qA={keywords:["sign","purple-square","constellation","astrology"],char:"⛎",fitzpatrick_scale:!1,category:"symbols"},MA={keywords:["sign","purple-square","zodiac","astrology"],char:"♈",fitzpatrick_scale:!1,category:"symbols"},DA={keywords:["purple-square","sign","zodiac","astrology"],char:"♉",fitzpatrick_scale:!1,category:"symbols"},TA={keywords:["sign","zodiac","purple-square","astrology"],char:"♊",fitzpatrick_scale:!1,category:"symbols"},NA={keywords:["sign","zodiac","purple-square","astrology"],char:"♋",fitzpatrick_scale:!1,category:"symbols"},OA={keywords:["sign","purple-square","zodiac","astrology"],char:"♌",fitzpatrick_scale:!1,category:"symbols"},IA={keywords:["sign","zodiac","purple-square","astrology"],char:"♍",fitzpatrick_scale:!1,category:"symbols"},$A={keywords:["sign","purple-square","zodiac","astrology"],char:"♎",fitzpatrick_scale:!1,category:"symbols"},LA={keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"♏",fitzpatrick_scale:!1,category:"symbols"},RA={keywords:["sign","zodiac","purple-square","astrology"],char:"♐",fitzpatrick_scale:!1,category:"symbols"},jA={keywords:["sign","zodiac","purple-square","astrology"],char:"♑",fitzpatrick_scale:!1,category:"symbols"},PA={keywords:["sign","purple-square","zodiac","astrology"],char:"♒",fitzpatrick_scale:!1,category:"symbols"},BA={keywords:["purple-square","sign","zodiac","astrology"],char:"♓",fitzpatrick_scale:!1,category:"symbols"},FA={keywords:["purple-square","words"],char:"🆔",fitzpatrick_scale:!1,category:"symbols"},UA={keywords:["science","physics","chemistry"],char:"⚛",fitzpatrick_scale:!1,category:"symbols"},VA={keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"🈳",fitzpatrick_scale:!1,category:"symbols"},HA={keywords:["cut","divide","chinese","kanji","pink-square"],char:"🈹",fitzpatrick_scale:!1,category:"symbols"},WA={keywords:["nuclear","danger"],char:"☢",fitzpatrick_scale:!1,category:"symbols"},GA={keywords:["danger"],char:"☣",fitzpatrick_scale:!1,category:"symbols"},ZA={keywords:["mute","orange-square","silence","quiet"],char:"📴",fitzpatrick_scale:!1,category:"symbols"},KA={keywords:["orange-square","phone"],char:"📳",fitzpatrick_scale:!1,category:"symbols"},JA={keywords:["orange-square","chinese","have","kanji"],char:"🈶",fitzpatrick_scale:!1,category:"symbols"},YA={keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"🈚",fitzpatrick_scale:!1,category:"symbols"},XA={keywords:["chinese","japanese","kanji","orange-square"],char:"🈸",fitzpatrick_scale:!1,category:"symbols"},QA={keywords:["japanese","opening hours","orange-square"],char:"🈺",fitzpatrick_scale:!1,category:"symbols"},e3={keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"🈷️",fitzpatrick_scale:!1,category:"symbols"},t3={keywords:["orange-square","shape","polygon"],char:"✴️",fitzpatrick_scale:!1,category:"symbols"},r3={keywords:["words","orange-square"],char:"🆚",fitzpatrick_scale:!1,category:"symbols"},n3={keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"🉑",fitzpatrick_scale:!1,category:"symbols"},o3={keywords:["japanese","spring"],char:"💮",fitzpatrick_scale:!1,category:"symbols"},i3={keywords:["chinese","kanji","obtain","get","circle"],char:"🉐",fitzpatrick_scale:!1,category:"symbols"},a3={keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"㊙️",fitzpatrick_scale:!1,category:"symbols"},s3={keywords:["chinese","kanji","japanese","red-circle"],char:"㊗️",fitzpatrick_scale:!1,category:"symbols"},c3={keywords:["japanese","chinese","join","kanji","red-square"],char:"🈴",fitzpatrick_scale:!1,category:"symbols"},l3={keywords:["full","chinese","japanese","red-square","kanji"],char:"🈵",fitzpatrick_scale:!1,category:"symbols"},u3={keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"🈲",fitzpatrick_scale:!1,category:"symbols"},d3={keywords:["red-square","alphabet","letter"],char:"🅰️",fitzpatrick_scale:!1,category:"symbols"},p3={keywords:["red-square","alphabet","letter"],char:"🅱️",fitzpatrick_scale:!1,category:"symbols"},h3={keywords:["red-square","alphabet"],char:"🆎",fitzpatrick_scale:!1,category:"symbols"},f3={keywords:["alphabet","words","red-square"],char:"🆑",fitzpatrick_scale:!1,category:"symbols"},m3={keywords:["alphabet","red-square","letter"],char:"🅾️",fitzpatrick_scale:!1,category:"symbols"},g3={keywords:["help","red-square","words","emergency","911"],char:"🆘",fitzpatrick_scale:!1,category:"symbols"},y3={keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"⛔",fitzpatrick_scale:!1,category:"symbols"},_3={keywords:["fire","forbid"],char:"📛",fitzpatrick_scale:!1,category:"symbols"},b3={keywords:["forbid","stop","limit","denied","disallow","circle"],char:"🚫",fitzpatrick_scale:!1,category:"symbols"},w3={keywords:["no","delete","remove","cancel","red"],char:"❌",fitzpatrick_scale:!1,category:"symbols"},k3={keywords:["circle","round"],char:"⭕",fitzpatrick_scale:!1,category:"symbols"},v3={keywords:["stop"],char:"🛑",fitzpatrick_scale:!1,category:"symbols"},x3={keywords:["angry","mad"],char:"💢",fitzpatrick_scale:!1,category:"symbols"},z3={keywords:["bath","warm","relax"],char:"♨️",fitzpatrick_scale:!1,category:"symbols"},C3={keywords:["rules","crossing","walking","circle"],char:"🚷",fitzpatrick_scale:!1,category:"symbols"},S3={keywords:["trash","bin","garbage","circle"],char:"🚯",fitzpatrick_scale:!1,category:"symbols"},E3={keywords:["cyclist","prohibited","circle"],char:"🚳",fitzpatrick_scale:!1,category:"symbols"},A3={keywords:["18","drink","pub","night","minor","circle"],char:"🔞",fitzpatrick_scale:!1,category:"symbols"},q3={keywords:["iphone","mute","circle"],char:"📵",fitzpatrick_scale:!1,category:"symbols"},M3={keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"❗",fitzpatrick_scale:!1,category:"symbols"},D3={keywords:["surprise","punctuation","gray","wow","warning"],char:"❕",fitzpatrick_scale:!1,category:"symbols"},T3={keywords:["doubt","confused"],char:"❓",fitzpatrick_scale:!1,category:"symbols"},N3={keywords:["doubts","gray","huh","confused"],char:"❔",fitzpatrick_scale:!1,category:"symbols"},O3={keywords:["exclamation","surprise"],char:"‼️",fitzpatrick_scale:!1,category:"symbols"},I3={keywords:["wat","punctuation","surprise"],char:"⁉️",fitzpatrick_scale:!1,category:"symbols"},$3={keywords:["sun","afternoon","warm","summer"],char:"🔅",fitzpatrick_scale:!1,category:"symbols"},L3={keywords:["sun","light"],char:"🔆",fitzpatrick_scale:!1,category:"symbols"},R3={keywords:["weapon","spear"],char:"🔱",fitzpatrick_scale:!1,category:"symbols"},j3={keywords:["decorative","scout"],char:"⚜",fitzpatrick_scale:!1,category:"symbols"},P3={keywords:["graph","presentation","stats","business","economics","bad"],char:"〽️",fitzpatrick_scale:!1,category:"symbols"},B3={keywords:["exclamation","wip","alert","error","problem","issue"],char:"⚠️",fitzpatrick_scale:!1,category:"symbols"},F3={keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"🚸",fitzpatrick_scale:!1,category:"symbols"},U3={keywords:["badge","shield"],char:"🔰",fitzpatrick_scale:!1,category:"symbols"},V3={keywords:["arrow","environment","garbage","trash"],char:"♻️",fitzpatrick_scale:!1,category:"symbols"},H3={keywords:["chinese","point","green-square","kanji"],char:"🈯",fitzpatrick_scale:!1,category:"symbols"},W3={keywords:["green-square","graph","presentation","stats"],char:"💹",fitzpatrick_scale:!1,category:"symbols"},G3={keywords:["stars","green-square","awesome","good","fireworks"],char:"❇️",fitzpatrick_scale:!1,category:"symbols"},Z3={keywords:["star","sparkle","green-square"],char:"✳️",fitzpatrick_scale:!1,category:"symbols"},K3={keywords:["x","green-square","no","deny"],char:"❎",fitzpatrick_scale:!1,category:"symbols"},J3={keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"✅",fitzpatrick_scale:!1,category:"symbols"},Y3={keywords:["jewel","blue","gem","crystal","fancy"],char:"💠",fitzpatrick_scale:!1,category:"symbols"},X3={keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"🌀",fitzpatrick_scale:!1,category:"symbols"},Q3={keywords:["tape","cassette"],char:"➿",fitzpatrick_scale:!1,category:"symbols"},eq={keywords:["earth","international","world","internet","interweb","i18n"],char:"🌐",fitzpatrick_scale:!1,category:"symbols"},tq={keywords:["alphabet","blue-circle","letter"],char:"Ⓜ️",fitzpatrick_scale:!1,category:"symbols"},rq={keywords:["money","sales","cash","blue-square","payment","bank"],char:"🏧",fitzpatrick_scale:!1,category:"symbols"},nq={keywords:["japanese","blue-square","katakana"],char:"🈂️",fitzpatrick_scale:!1,category:"symbols"},oq={keywords:["custom","blue-square"],char:"🛂",fitzpatrick_scale:!1,category:"symbols"},iq={keywords:["passport","border","blue-square"],char:"🛃",fitzpatrick_scale:!1,category:"symbols"},aq={keywords:["blue-square","airport","transport"],char:"🛄",fitzpatrick_scale:!1,category:"symbols"},sq={keywords:["blue-square","travel"],char:"🛅",fitzpatrick_scale:!1,category:"symbols"},cq={keywords:["blue-square","disabled","a11y","accessibility"],char:"♿",fitzpatrick_scale:!1,category:"symbols"},lq={keywords:["cigarette","blue-square","smell","smoke"],char:"🚭",fitzpatrick_scale:!1,category:"symbols"},uq={keywords:["toilet","restroom","blue-square"],char:"🚾",fitzpatrick_scale:!1,category:"symbols"},dq={keywords:["cars","blue-square","alphabet","letter"],char:"🅿️",fitzpatrick_scale:!1,category:"symbols"},pq={keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"🚰",fitzpatrick_scale:!1,category:"symbols"},hq={keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"🚹",fitzpatrick_scale:!1,category:"symbols"},fq={keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"🚺",fitzpatrick_scale:!1,category:"symbols"},mq={keywords:["orange-square","child"],char:"🚼",fitzpatrick_scale:!1,category:"symbols"},gq={keywords:["blue-square","toilet","refresh","wc","gender"],char:"🚻",fitzpatrick_scale:!1,category:"symbols"},yq={keywords:["blue-square","sign","human","info"],char:"🚮",fitzpatrick_scale:!1,category:"symbols"},_q={keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"🎦",fitzpatrick_scale:!1,category:"symbols"},bq={keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"📶",fitzpatrick_scale:!1,category:"symbols"},wq={keywords:["blue-square","here","katakana","japanese","destination"],char:"🈁",fitzpatrick_scale:!1,category:"symbols"},kq={keywords:["blue-square","words","shape","icon"],char:"🆖",fitzpatrick_scale:!1,category:"symbols"},vq={keywords:["good","agree","yes","blue-square"],char:"🆗",fitzpatrick_scale:!1,category:"symbols"},xq={keywords:["blue-square","above","high"],char:"🆙",fitzpatrick_scale:!1,category:"symbols"},zq={keywords:["words","blue-square"],char:"🆒",fitzpatrick_scale:!1,category:"symbols"},Cq={keywords:["blue-square","words"],char:"🆓",fitzpatrick_scale:!1,category:"symbols"},Sq={keywords:["0","numbers","blue-square","null"],char:"0️⃣",fitzpatrick_scale:!1,category:"symbols"},Eq={keywords:["blue-square","numbers","1"],char:"1️⃣",fitzpatrick_scale:!1,category:"symbols"},Aq={keywords:["numbers","2","prime","blue-square"],char:"2️⃣",fitzpatrick_scale:!1,category:"symbols"},qq={keywords:["3","numbers","prime","blue-square"],char:"3️⃣",fitzpatrick_scale:!1,category:"symbols"},Mq={keywords:["4","numbers","blue-square"],char:"4️⃣",fitzpatrick_scale:!1,category:"symbols"},Dq={keywords:["5","numbers","blue-square","prime"],char:"5️⃣",fitzpatrick_scale:!1,category:"symbols"},Tq={keywords:["6","numbers","blue-square"],char:"6️⃣",fitzpatrick_scale:!1,category:"symbols"},Nq={keywords:["7","numbers","blue-square","prime"],char:"7️⃣",fitzpatrick_scale:!1,category:"symbols"},Oq={keywords:["8","blue-square","numbers"],char:"8️⃣",fitzpatrick_scale:!1,category:"symbols"},Iq={keywords:["blue-square","numbers","9"],char:"9️⃣",fitzpatrick_scale:!1,category:"symbols"},$q={keywords:["numbers","10","blue-square"],char:"🔟",fitzpatrick_scale:!1,category:"symbols"},Lq={keywords:["star","keycap"],char:"*⃣",fitzpatrick_scale:!1,category:"symbols"},Rq={keywords:["blue-square"],char:"⏏️",fitzpatrick_scale:!1,category:"symbols"},jq={keywords:["blue-square","right","direction","play"],char:"▶️",fitzpatrick_scale:!1,category:"symbols"},Pq={keywords:["pause","blue-square"],char:"⏸",fitzpatrick_scale:!1,category:"symbols"},Bq={keywords:["forward","next","blue-square"],char:"⏭",fitzpatrick_scale:!1,category:"symbols"},Fq={keywords:["blue-square"],char:"⏹",fitzpatrick_scale:!1,category:"symbols"},Uq={keywords:["blue-square"],char:"⏺",fitzpatrick_scale:!1,category:"symbols"},Vq={keywords:["blue-square","play","pause"],char:"⏯",fitzpatrick_scale:!1,category:"symbols"},Hq={keywords:["backward"],char:"⏮",fitzpatrick_scale:!1,category:"symbols"},Wq={keywords:["blue-square","play","speed","continue"],char:"⏩",fitzpatrick_scale:!1,category:"symbols"},Gq={keywords:["play","blue-square"],char:"⏪",fitzpatrick_scale:!1,category:"symbols"},Zq={keywords:["blue-square","shuffle","music","random"],char:"🔀",fitzpatrick_scale:!1,category:"symbols"},Kq={keywords:["loop","record"],char:"🔁",fitzpatrick_scale:!1,category:"symbols"},Jq={keywords:["blue-square","loop"],char:"🔂",fitzpatrick_scale:!1,category:"symbols"},Yq={keywords:["blue-square","left","direction"],char:"◀️",fitzpatrick_scale:!1,category:"symbols"},Xq={keywords:["blue-square","triangle","direction","point","forward","top"],char:"🔼",fitzpatrick_scale:!1,category:"symbols"},Qq={keywords:["blue-square","direction","bottom"],char:"🔽",fitzpatrick_scale:!1,category:"symbols"},eM={keywords:["blue-square","direction","top"],char:"⏫",fitzpatrick_scale:!1,category:"symbols"},tM={keywords:["blue-square","direction","bottom"],char:"⏬",fitzpatrick_scale:!1,category:"symbols"},rM={keywords:["blue-square","next"],char:"➡️",fitzpatrick_scale:!1,category:"symbols"},nM={keywords:["blue-square","previous","back"],char:"⬅️",fitzpatrick_scale:!1,category:"symbols"},oM={keywords:["blue-square","continue","top","direction"],char:"⬆️",fitzpatrick_scale:!1,category:"symbols"},iM={keywords:["blue-square","direction","bottom"],char:"⬇️",fitzpatrick_scale:!1,category:"symbols"},aM={keywords:["blue-square","point","direction","diagonal","northeast"],char:"↗️",fitzpatrick_scale:!1,category:"symbols"},sM={keywords:["blue-square","direction","diagonal","southeast"],char:"↘️",fitzpatrick_scale:!1,category:"symbols"},cM={keywords:["blue-square","direction","diagonal","southwest"],char:"↙️",fitzpatrick_scale:!1,category:"symbols"},lM={keywords:["blue-square","point","direction","diagonal","northwest"],char:"↖️",fitzpatrick_scale:!1,category:"symbols"},uM={keywords:["blue-square","direction","way","vertical"],char:"↕️",fitzpatrick_scale:!1,category:"symbols"},dM={keywords:["shape","direction","horizontal","sideways"],char:"↔️",fitzpatrick_scale:!1,category:"symbols"},pM={keywords:["blue-square","sync","cycle"],char:"🔄",fitzpatrick_scale:!1,category:"symbols"},hM={keywords:["blue-square","return","rotate","direction"],char:"↪️",fitzpatrick_scale:!1,category:"symbols"},fM={keywords:["back","return","blue-square","undo","enter"],char:"↩️",fitzpatrick_scale:!1,category:"symbols"},mM={keywords:["blue-square","direction","top"],char:"⤴️",fitzpatrick_scale:!1,category:"symbols"},gM={keywords:["blue-square","direction","bottom"],char:"⤵️",fitzpatrick_scale:!1,category:"symbols"},yM={keywords:["symbol","blue-square","twitter"],char:"#️⃣",fitzpatrick_scale:!1,category:"symbols"},_M={keywords:["blue-square","alphabet","letter"],char:"ℹ️",fitzpatrick_scale:!1,category:"symbols"},bM={keywords:["blue-square","alphabet"],char:"🔤",fitzpatrick_scale:!1,category:"symbols"},wM={keywords:["blue-square","alphabet"],char:"🔡",fitzpatrick_scale:!1,category:"symbols"},kM={keywords:["alphabet","words","blue-square"],char:"🔠",fitzpatrick_scale:!1,category:"symbols"},vM={keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"🔣",fitzpatrick_scale:!1,category:"symbols"},xM={keywords:["score","tone","sound"],char:"🎵",fitzpatrick_scale:!1,category:"symbols"},zM={keywords:["music","score"],char:"🎶",fitzpatrick_scale:!1,category:"symbols"},CM={keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"〰️",fitzpatrick_scale:!1,category:"symbols"},SM={keywords:["scribble","draw","shape","squiggle"],char:"➰",fitzpatrick_scale:!1,category:"symbols"},EM={keywords:["ok","nike","answer","yes","tick"],char:"✔️",fitzpatrick_scale:!1,category:"symbols"},AM={keywords:["sync","cycle","round","repeat"],char:"🔃",fitzpatrick_scale:!1,category:"symbols"},qM={keywords:["math","calculation","addition","more","increase"],char:"➕",fitzpatrick_scale:!1,category:"symbols"},MM={keywords:["math","calculation","subtract","less"],char:"➖",fitzpatrick_scale:!1,category:"symbols"},DM={keywords:["divide","math","calculation"],char:"➗",fitzpatrick_scale:!1,category:"symbols"},TM={keywords:["math","calculation"],char:"✖️",fitzpatrick_scale:!1,category:"symbols"},NM={keywords:["forever"],char:"♾",fitzpatrick_scale:!1,category:"symbols"},OM={keywords:["money","sales","payment","currency","buck"],char:"💲",fitzpatrick_scale:!1,category:"symbols"},IM={keywords:["money","sales","dollar","travel"],char:"💱",fitzpatrick_scale:!1,category:"symbols"},$M={keywords:["ip","license","circle","law","legal"],char:"©️",fitzpatrick_scale:!1,category:"symbols"},LM={keywords:["alphabet","circle"],char:"®️",fitzpatrick_scale:!1,category:"symbols"},RM={keywords:["trademark","brand","law","legal"],char:"™️",fitzpatrick_scale:!1,category:"symbols"},jM={keywords:["words","arrow"],char:"🔚",fitzpatrick_scale:!1,category:"symbols"},PM={keywords:["arrow","words","return"],char:"🔙",fitzpatrick_scale:!1,category:"symbols"},BM={keywords:["arrow","words"],char:"🔛",fitzpatrick_scale:!1,category:"symbols"},FM={keywords:["words","blue-square"],char:"🔝",fitzpatrick_scale:!1,category:"symbols"},UM={keywords:["arrow","words"],char:"🔜",fitzpatrick_scale:!1,category:"symbols"},VM={keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"☑️",fitzpatrick_scale:!1,category:"symbols"},HM={keywords:["input","old","music","circle"],char:"🔘",fitzpatrick_scale:!1,category:"symbols"},WM={keywords:["shape","round"],char:"⚪",fitzpatrick_scale:!1,category:"symbols"},GM={keywords:["shape","button","round"],char:"⚫",fitzpatrick_scale:!1,category:"symbols"},ZM={keywords:["shape","error","danger"],char:"🔴",fitzpatrick_scale:!1,category:"symbols"},KM={keywords:["shape","icon","button"],char:"🔵",fitzpatrick_scale:!1,category:"symbols"},JM={keywords:["shape","jewel","gem"],char:"🔸",fitzpatrick_scale:!1,category:"symbols"},YM={keywords:["shape","jewel","gem"],char:"🔹",fitzpatrick_scale:!1,category:"symbols"},XM={keywords:["shape","jewel","gem"],char:"🔶",fitzpatrick_scale:!1,category:"symbols"},QM={keywords:["shape","jewel","gem"],char:"🔷",fitzpatrick_scale:!1,category:"symbols"},eD={keywords:["shape","direction","up","top"],char:"🔺",fitzpatrick_scale:!1,category:"symbols"},tD={keywords:["shape","icon"],char:"▪️",fitzpatrick_scale:!1,category:"symbols"},rD={keywords:["shape","icon"],char:"▫️",fitzpatrick_scale:!1,category:"symbols"},nD={keywords:["shape","icon","button"],char:"⬛",fitzpatrick_scale:!1,category:"symbols"},oD={keywords:["shape","icon","stone","button"],char:"⬜",fitzpatrick_scale:!1,category:"symbols"},iD={keywords:["shape","direction","bottom"],char:"🔻",fitzpatrick_scale:!1,category:"symbols"},aD={keywords:["shape","button","icon"],char:"◼️",fitzpatrick_scale:!1,category:"symbols"},sD={keywords:["shape","stone","icon"],char:"◻️",fitzpatrick_scale:!1,category:"symbols"},cD={keywords:["icon","shape","button"],char:"◾",fitzpatrick_scale:!1,category:"symbols"},lD={keywords:["shape","stone","icon","button"],char:"◽",fitzpatrick_scale:!1,category:"symbols"},uD={keywords:["shape","input","frame"],char:"🔲",fitzpatrick_scale:!1,category:"symbols"},dD={keywords:["shape","input"],char:"🔳",fitzpatrick_scale:!1,category:"symbols"},pD={keywords:["sound","volume","silence","broadcast"],char:"🔈",fitzpatrick_scale:!1,category:"symbols"},hD={keywords:["volume","speaker","broadcast"],char:"🔉",fitzpatrick_scale:!1,category:"symbols"},fD={keywords:["volume","noise","noisy","speaker","broadcast"],char:"🔊",fitzpatrick_scale:!1,category:"symbols"},mD={keywords:["sound","volume","silence","quiet"],char:"🔇",fitzpatrick_scale:!1,category:"symbols"},gD={keywords:["sound","speaker","volume"],char:"📣",fitzpatrick_scale:!1,category:"symbols"},yD={keywords:["volume","sound"],char:"📢",fitzpatrick_scale:!1,category:"symbols"},_D={keywords:["sound","notification","christmas","xmas","chime"],char:"🔔",fitzpatrick_scale:!1,category:"symbols"},bD={keywords:["sound","volume","mute","quiet","silent"],char:"🔕",fitzpatrick_scale:!1,category:"symbols"},wD={keywords:["poker","cards","game","play","magic"],char:"🃏",fitzpatrick_scale:!1,category:"symbols"},kD={keywords:["game","play","chinese","kanji"],char:"🀄",fitzpatrick_scale:!1,category:"symbols"},vD={keywords:["poker","cards","suits","magic"],char:"♠️",fitzpatrick_scale:!1,category:"symbols"},xD={keywords:["poker","cards","magic","suits"],char:"♣️",fitzpatrick_scale:!1,category:"symbols"},zD={keywords:["poker","cards","magic","suits"],char:"♥️",fitzpatrick_scale:!1,category:"symbols"},CD={keywords:["poker","cards","magic","suits"],char:"♦️",fitzpatrick_scale:!1,category:"symbols"},SD={keywords:["game","sunset","red"],char:"🎴",fitzpatrick_scale:!1,category:"symbols"},ED={keywords:["bubble","cloud","speech","thinking","dream"],char:"💭",fitzpatrick_scale:!1,category:"symbols"},AD={keywords:["caption","speech","thinking","mad"],char:"🗯",fitzpatrick_scale:!1,category:"symbols"},qD={keywords:["bubble","words","message","talk","chatting"],char:"💬",fitzpatrick_scale:!1,category:"symbols"},MD={keywords:["words","message","talk","chatting"],char:"🗨",fitzpatrick_scale:!1,category:"symbols"},DD={keywords:["time","late","early","schedule"],char:"🕐",fitzpatrick_scale:!1,category:"symbols"},TD={keywords:["time","late","early","schedule"],char:"🕑",fitzpatrick_scale:!1,category:"symbols"},ND={keywords:["time","late","early","schedule"],char:"🕒",fitzpatrick_scale:!1,category:"symbols"},OD={keywords:["time","late","early","schedule"],char:"🕓",fitzpatrick_scale:!1,category:"symbols"},ID={keywords:["time","late","early","schedule"],char:"🕔",fitzpatrick_scale:!1,category:"symbols"},$D={keywords:["time","late","early","schedule","dawn","dusk"],char:"🕕",fitzpatrick_scale:!1,category:"symbols"},LD={keywords:["time","late","early","schedule"],char:"🕖",fitzpatrick_scale:!1,category:"symbols"},RD={keywords:["time","late","early","schedule"],char:"🕗",fitzpatrick_scale:!1,category:"symbols"},jD={keywords:["time","late","early","schedule"],char:"🕘",fitzpatrick_scale:!1,category:"symbols"},PD={keywords:["time","late","early","schedule"],char:"🕙",fitzpatrick_scale:!1,category:"symbols"},BD={keywords:["time","late","early","schedule"],char:"🕚",fitzpatrick_scale:!1,category:"symbols"},FD={keywords:["time","noon","midnight","midday","late","early","schedule"],char:"🕛",fitzpatrick_scale:!1,category:"symbols"},UD={keywords:["time","late","early","schedule"],char:"🕜",fitzpatrick_scale:!1,category:"symbols"},VD={keywords:["time","late","early","schedule"],char:"🕝",fitzpatrick_scale:!1,category:"symbols"},HD={keywords:["time","late","early","schedule"],char:"🕞",fitzpatrick_scale:!1,category:"symbols"},WD={keywords:["time","late","early","schedule"],char:"🕟",fitzpatrick_scale:!1,category:"symbols"},GD={keywords:["time","late","early","schedule"],char:"🕠",fitzpatrick_scale:!1,category:"symbols"},ZD={keywords:["time","late","early","schedule"],char:"🕡",fitzpatrick_scale:!1,category:"symbols"},KD={keywords:["time","late","early","schedule"],char:"🕢",fitzpatrick_scale:!1,category:"symbols"},JD={keywords:["time","late","early","schedule"],char:"🕣",fitzpatrick_scale:!1,category:"symbols"},YD={keywords:["time","late","early","schedule"],char:"🕤",fitzpatrick_scale:!1,category:"symbols"},XD={keywords:["time","late","early","schedule"],char:"🕥",fitzpatrick_scale:!1,category:"symbols"},QD={keywords:["time","late","early","schedule"],char:"🕦",fitzpatrick_scale:!1,category:"symbols"},eT={keywords:["time","late","early","schedule"],char:"🕧",fitzpatrick_scale:!1,category:"symbols"},tT={keywords:["af","flag","nation","country","banner"],char:"🇦🇫",fitzpatrick_scale:!1,category:"flags"},rT={keywords:["Åland","islands","flag","nation","country","banner"],char:"🇦🇽",fitzpatrick_scale:!1,category:"flags"},nT={keywords:["al","flag","nation","country","banner"],char:"🇦🇱",fitzpatrick_scale:!1,category:"flags"},oT={keywords:["dz","flag","nation","country","banner"],char:"🇩🇿",fitzpatrick_scale:!1,category:"flags"},iT={keywords:["american","ws","flag","nation","country","banner"],char:"🇦🇸",fitzpatrick_scale:!1,category:"flags"},aT={keywords:["ad","flag","nation","country","banner"],char:"🇦🇩",fitzpatrick_scale:!1,category:"flags"},sT={keywords:["ao","flag","nation","country","banner"],char:"🇦🇴",fitzpatrick_scale:!1,category:"flags"},cT={keywords:["ai","flag","nation","country","banner"],char:"🇦🇮",fitzpatrick_scale:!1,category:"flags"},lT={keywords:["aq","flag","nation","country","banner"],char:"🇦🇶",fitzpatrick_scale:!1,category:"flags"},uT={keywords:["antigua","barbuda","flag","nation","country","banner"],char:"🇦🇬",fitzpatrick_scale:!1,category:"flags"},dT={keywords:["ar","flag","nation","country","banner"],char:"🇦🇷",fitzpatrick_scale:!1,category:"flags"},pT={keywords:["am","flag","nation","country","banner"],char:"🇦🇲",fitzpatrick_scale:!1,category:"flags"},hT={keywords:["aw","flag","nation","country","banner"],char:"🇦🇼",fitzpatrick_scale:!1,category:"flags"},fT={keywords:["au","flag","nation","country","banner"],char:"🇦🇺",fitzpatrick_scale:!1,category:"flags"},mT={keywords:["at","flag","nation","country","banner"],char:"🇦🇹",fitzpatrick_scale:!1,category:"flags"},gT={keywords:["az","flag","nation","country","banner"],char:"🇦🇿",fitzpatrick_scale:!1,category:"flags"},yT={keywords:["bs","flag","nation","country","banner"],char:"🇧🇸",fitzpatrick_scale:!1,category:"flags"},_T={keywords:["bh","flag","nation","country","banner"],char:"🇧🇭",fitzpatrick_scale:!1,category:"flags"},bT={keywords:["bd","flag","nation","country","banner"],char:"🇧🇩",fitzpatrick_scale:!1,category:"flags"},wT={keywords:["bb","flag","nation","country","banner"],char:"🇧🇧",fitzpatrick_scale:!1,category:"flags"},kT={keywords:["by","flag","nation","country","banner"],char:"🇧🇾",fitzpatrick_scale:!1,category:"flags"},vT={keywords:["be","flag","nation","country","banner"],char:"🇧🇪",fitzpatrick_scale:!1,category:"flags"},xT={keywords:["bz","flag","nation","country","banner"],char:"🇧🇿",fitzpatrick_scale:!1,category:"flags"},zT={keywords:["bj","flag","nation","country","banner"],char:"🇧🇯",fitzpatrick_scale:!1,category:"flags"},CT={keywords:["bm","flag","nation","country","banner"],char:"🇧🇲",fitzpatrick_scale:!1,category:"flags"},ST={keywords:["bt","flag","nation","country","banner"],char:"🇧🇹",fitzpatrick_scale:!1,category:"flags"},ET={keywords:["bo","flag","nation","country","banner"],char:"🇧🇴",fitzpatrick_scale:!1,category:"flags"},AT={keywords:["bonaire","flag","nation","country","banner"],char:"🇧🇶",fitzpatrick_scale:!1,category:"flags"},qT={keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"🇧🇦",fitzpatrick_scale:!1,category:"flags"},MT={keywords:["bw","flag","nation","country","banner"],char:"🇧🇼",fitzpatrick_scale:!1,category:"flags"},DT={keywords:["br","flag","nation","country","banner"],char:"🇧🇷",fitzpatrick_scale:!1,category:"flags"},TT={keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"🇮🇴",fitzpatrick_scale:!1,category:"flags"},NT={keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"🇻🇬",fitzpatrick_scale:!1,category:"flags"},OT={keywords:["bn","darussalam","flag","nation","country","banner"],char:"🇧🇳",fitzpatrick_scale:!1,category:"flags"},IT={keywords:["bg","flag","nation","country","banner"],char:"🇧🇬",fitzpatrick_scale:!1,category:"flags"},$T={keywords:["burkina","faso","flag","nation","country","banner"],char:"🇧🇫",fitzpatrick_scale:!1,category:"flags"},LT={keywords:["bi","flag","nation","country","banner"],char:"🇧🇮",fitzpatrick_scale:!1,category:"flags"},RT={keywords:["cabo","verde","flag","nation","country","banner"],char:"🇨🇻",fitzpatrick_scale:!1,category:"flags"},jT={keywords:["kh","flag","nation","country","banner"],char:"🇰🇭",fitzpatrick_scale:!1,category:"flags"},PT={keywords:["cm","flag","nation","country","banner"],char:"🇨🇲",fitzpatrick_scale:!1,category:"flags"},BT={keywords:["ca","flag","nation","country","banner"],char:"🇨🇦",fitzpatrick_scale:!1,category:"flags"},FT={keywords:["canary","islands","flag","nation","country","banner"],char:"🇮🇨",fitzpatrick_scale:!1,category:"flags"},UT={keywords:["cayman","islands","flag","nation","country","banner"],char:"🇰🇾",fitzpatrick_scale:!1,category:"flags"},VT={keywords:["central","african","republic","flag","nation","country","banner"],char:"🇨🇫",fitzpatrick_scale:!1,category:"flags"},HT={keywords:["td","flag","nation","country","banner"],char:"🇹🇩",fitzpatrick_scale:!1,category:"flags"},WT={keywords:["flag","nation","country","banner"],char:"🇨🇱",fitzpatrick_scale:!1,category:"flags"},GT={keywords:["china","chinese","prc","flag","country","nation","banner"],char:"🇨🇳",fitzpatrick_scale:!1,category:"flags"},ZT={keywords:["christmas","island","flag","nation","country","banner"],char:"🇨🇽",fitzpatrick_scale:!1,category:"flags"},KT={keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"🇨🇨",fitzpatrick_scale:!1,category:"flags"},JT={keywords:["co","flag","nation","country","banner"],char:"🇨🇴",fitzpatrick_scale:!1,category:"flags"},YT={keywords:["km","flag","nation","country","banner"],char:"🇰🇲",fitzpatrick_scale:!1,category:"flags"},XT={keywords:["congo","flag","nation","country","banner"],char:"🇨🇬",fitzpatrick_scale:!1,category:"flags"},QT={keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"🇨🇩",fitzpatrick_scale:!1,category:"flags"},e8={keywords:["cook","islands","flag","nation","country","banner"],char:"🇨🇰",fitzpatrick_scale:!1,category:"flags"},t8={keywords:["costa","rica","flag","nation","country","banner"],char:"🇨🇷",fitzpatrick_scale:!1,category:"flags"},r8={keywords:["hr","flag","nation","country","banner"],char:"🇭🇷",fitzpatrick_scale:!1,category:"flags"},n8={keywords:["cu","flag","nation","country","banner"],char:"🇨🇺",fitzpatrick_scale:!1,category:"flags"},o8={keywords:["curaçao","flag","nation","country","banner"],char:"🇨🇼",fitzpatrick_scale:!1,category:"flags"},i8={keywords:["cy","flag","nation","country","banner"],char:"🇨🇾",fitzpatrick_scale:!1,category:"flags"},a8={keywords:["cz","flag","nation","country","banner"],char:"🇨🇿",fitzpatrick_scale:!1,category:"flags"},s8={keywords:["dk","flag","nation","country","banner"],char:"🇩🇰",fitzpatrick_scale:!1,category:"flags"},c8={keywords:["dj","flag","nation","country","banner"],char:"🇩🇯",fitzpatrick_scale:!1,category:"flags"},l8={keywords:["dm","flag","nation","country","banner"],char:"🇩🇲",fitzpatrick_scale:!1,category:"flags"},u8={keywords:["dominican","republic","flag","nation","country","banner"],char:"🇩🇴",fitzpatrick_scale:!1,category:"flags"},d8={keywords:["ec","flag","nation","country","banner"],char:"🇪🇨",fitzpatrick_scale:!1,category:"flags"},p8={keywords:["eg","flag","nation","country","banner"],char:"🇪🇬",fitzpatrick_scale:!1,category:"flags"},h8={keywords:["el","salvador","flag","nation","country","banner"],char:"🇸🇻",fitzpatrick_scale:!1,category:"flags"},f8={keywords:["equatorial","gn","flag","nation","country","banner"],char:"🇬🇶",fitzpatrick_scale:!1,category:"flags"},m8={keywords:["er","flag","nation","country","banner"],char:"🇪🇷",fitzpatrick_scale:!1,category:"flags"},g8={keywords:["ee","flag","nation","country","banner"],char:"🇪🇪",fitzpatrick_scale:!1,category:"flags"},y8={keywords:["et","flag","nation","country","banner"],char:"🇪🇹",fitzpatrick_scale:!1,category:"flags"},_8={keywords:["european","union","flag","banner"],char:"🇪🇺",fitzpatrick_scale:!1,category:"flags"},b8={keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"🇫🇰",fitzpatrick_scale:!1,category:"flags"},w8={keywords:["faroe","islands","flag","nation","country","banner"],char:"🇫🇴",fitzpatrick_scale:!1,category:"flags"},k8={keywords:["fj","flag","nation","country","banner"],char:"🇫🇯",fitzpatrick_scale:!1,category:"flags"},v8={keywords:["fi","flag","nation","country","banner"],char:"🇫🇮",fitzpatrick_scale:!1,category:"flags"},x8={keywords:["banner","flag","nation","france","french","country"],char:"🇫🇷",fitzpatrick_scale:!1,category:"flags"},z8={keywords:["french","guiana","flag","nation","country","banner"],char:"🇬🇫",fitzpatrick_scale:!1,category:"flags"},C8={keywords:["french","polynesia","flag","nation","country","banner"],char:"🇵🇫",fitzpatrick_scale:!1,category:"flags"},S8={keywords:["french","southern","territories","flag","nation","country","banner"],char:"🇹🇫",fitzpatrick_scale:!1,category:"flags"},E8={keywords:["ga","flag","nation","country","banner"],char:"🇬🇦",fitzpatrick_scale:!1,category:"flags"},A8={keywords:["gm","flag","nation","country","banner"],char:"🇬🇲",fitzpatrick_scale:!1,category:"flags"},q8={keywords:["ge","flag","nation","country","banner"],char:"🇬🇪",fitzpatrick_scale:!1,category:"flags"},M8={keywords:["german","nation","flag","country","banner"],char:"🇩🇪",fitzpatrick_scale:!1,category:"flags"},D8={keywords:["gh","flag","nation","country","banner"],char:"🇬🇭",fitzpatrick_scale:!1,category:"flags"},T8={keywords:["gi","flag","nation","country","banner"],char:"🇬🇮",fitzpatrick_scale:!1,category:"flags"},N8={keywords:["gr","flag","nation","country","banner"],char:"🇬🇷",fitzpatrick_scale:!1,category:"flags"},O8={keywords:["gl","flag","nation","country","banner"],char:"🇬🇱",fitzpatrick_scale:!1,category:"flags"},I8={keywords:["gd","flag","nation","country","banner"],char:"🇬🇩",fitzpatrick_scale:!1,category:"flags"},$8={keywords:["gp","flag","nation","country","banner"],char:"🇬🇵",fitzpatrick_scale:!1,category:"flags"},L8={keywords:["gu","flag","nation","country","banner"],char:"🇬🇺",fitzpatrick_scale:!1,category:"flags"},R8={keywords:["gt","flag","nation","country","banner"],char:"🇬🇹",fitzpatrick_scale:!1,category:"flags"},j8={keywords:["gg","flag","nation","country","banner"],char:"🇬🇬",fitzpatrick_scale:!1,category:"flags"},P8={keywords:["gn","flag","nation","country","banner"],char:"🇬🇳",fitzpatrick_scale:!1,category:"flags"},B8={keywords:["gw","bissau","flag","nation","country","banner"],char:"🇬🇼",fitzpatrick_scale:!1,category:"flags"},F8={keywords:["gy","flag","nation","country","banner"],char:"🇬🇾",fitzpatrick_scale:!1,category:"flags"},U8={keywords:["ht","flag","nation","country","banner"],char:"🇭🇹",fitzpatrick_scale:!1,category:"flags"},V8={keywords:["hn","flag","nation","country","banner"],char:"🇭🇳",fitzpatrick_scale:!1,category:"flags"},H8={keywords:["hong","kong","flag","nation","country","banner"],char:"🇭🇰",fitzpatrick_scale:!1,category:"flags"},W8={keywords:["hu","flag","nation","country","banner"],char:"🇭🇺",fitzpatrick_scale:!1,category:"flags"},G8={keywords:["is","flag","nation","country","banner"],char:"🇮🇸",fitzpatrick_scale:!1,category:"flags"},Z8={keywords:["in","flag","nation","country","banner"],char:"🇮🇳",fitzpatrick_scale:!1,category:"flags"},K8={keywords:["flag","nation","country","banner"],char:"🇮🇩",fitzpatrick_scale:!1,category:"flags"},J8={keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"🇮🇷",fitzpatrick_scale:!1,category:"flags"},Y8={keywords:["iq","flag","nation","country","banner"],char:"🇮🇶",fitzpatrick_scale:!1,category:"flags"},X8={keywords:["ie","flag","nation","country","banner"],char:"🇮🇪",fitzpatrick_scale:!1,category:"flags"},Q8={keywords:["isle","man","flag","nation","country","banner"],char:"🇮🇲",fitzpatrick_scale:!1,category:"flags"},e6={keywords:["il","flag","nation","country","banner"],char:"🇮🇱",fitzpatrick_scale:!1,category:"flags"},t6={keywords:["italy","flag","nation","country","banner"],char:"🇮🇹",fitzpatrick_scale:!1,category:"flags"},r6={keywords:["ivory","coast","flag","nation","country","banner"],char:"🇨🇮",fitzpatrick_scale:!1,category:"flags"},n6={keywords:["jm","flag","nation","country","banner"],char:"🇯🇲",fitzpatrick_scale:!1,category:"flags"},o6={keywords:["japanese","nation","flag","country","banner"],char:"🇯🇵",fitzpatrick_scale:!1,category:"flags"},i6={keywords:["je","flag","nation","country","banner"],char:"🇯🇪",fitzpatrick_scale:!1,category:"flags"},a6={keywords:["jo","flag","nation","country","banner"],char:"🇯🇴",fitzpatrick_scale:!1,category:"flags"},s6={keywords:["kz","flag","nation","country","banner"],char:"🇰🇿",fitzpatrick_scale:!1,category:"flags"},c6={keywords:["ke","flag","nation","country","banner"],char:"🇰🇪",fitzpatrick_scale:!1,category:"flags"},l6={keywords:["ki","flag","nation","country","banner"],char:"🇰🇮",fitzpatrick_scale:!1,category:"flags"},u6={keywords:["xk","flag","nation","country","banner"],char:"🇽🇰",fitzpatrick_scale:!1,category:"flags"},d6={keywords:["kw","flag","nation","country","banner"],char:"🇰🇼",fitzpatrick_scale:!1,category:"flags"},p6={keywords:["kg","flag","nation","country","banner"],char:"🇰🇬",fitzpatrick_scale:!1,category:"flags"},h6={keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"🇱🇦",fitzpatrick_scale:!1,category:"flags"},f6={keywords:["lv","flag","nation","country","banner"],char:"🇱🇻",fitzpatrick_scale:!1,category:"flags"},m6={keywords:["lb","flag","nation","country","banner"],char:"🇱🇧",fitzpatrick_scale:!1,category:"flags"},g6={keywords:["ls","flag","nation","country","banner"],char:"🇱🇸",fitzpatrick_scale:!1,category:"flags"},y6={keywords:["lr","flag","nation","country","banner"],char:"🇱🇷",fitzpatrick_scale:!1,category:"flags"},_6={keywords:["ly","flag","nation","country","banner"],char:"🇱🇾",fitzpatrick_scale:!1,category:"flags"},b6={keywords:["li","flag","nation","country","banner"],char:"🇱🇮",fitzpatrick_scale:!1,category:"flags"},w6={keywords:["lt","flag","nation","country","banner"],char:"🇱🇹",fitzpatrick_scale:!1,category:"flags"},k6={keywords:["lu","flag","nation","country","banner"],char:"🇱🇺",fitzpatrick_scale:!1,category:"flags"},v6={keywords:["macao","flag","nation","country","banner"],char:"🇲🇴",fitzpatrick_scale:!1,category:"flags"},x6={keywords:["macedonia,","flag","nation","country","banner"],char:"🇲🇰",fitzpatrick_scale:!1,category:"flags"},z6={keywords:["mg","flag","nation","country","banner"],char:"🇲🇬",fitzpatrick_scale:!1,category:"flags"},C6={keywords:["mw","flag","nation","country","banner"],char:"🇲🇼",fitzpatrick_scale:!1,category:"flags"},S6={keywords:["my","flag","nation","country","banner"],char:"🇲🇾",fitzpatrick_scale:!1,category:"flags"},E6={keywords:["mv","flag","nation","country","banner"],char:"🇲🇻",fitzpatrick_scale:!1,category:"flags"},A6={keywords:["ml","flag","nation","country","banner"],char:"🇲🇱",fitzpatrick_scale:!1,category:"flags"},q6={keywords:["mt","flag","nation","country","banner"],char:"🇲🇹",fitzpatrick_scale:!1,category:"flags"},M6={keywords:["marshall","islands","flag","nation","country","banner"],char:"🇲🇭",fitzpatrick_scale:!1,category:"flags"},D6={keywords:["mq","flag","nation","country","banner"],char:"🇲🇶",fitzpatrick_scale:!1,category:"flags"},T6={keywords:["mr","flag","nation","country","banner"],char:"🇲🇷",fitzpatrick_scale:!1,category:"flags"},N6={keywords:["mu","flag","nation","country","banner"],char:"🇲🇺",fitzpatrick_scale:!1,category:"flags"},O6={keywords:["yt","flag","nation","country","banner"],char:"🇾🇹",fitzpatrick_scale:!1,category:"flags"},I6={keywords:["mx","flag","nation","country","banner"],char:"🇲🇽",fitzpatrick_scale:!1,category:"flags"},$6={keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"🇫🇲",fitzpatrick_scale:!1,category:"flags"},L6={keywords:["moldova,","republic","flag","nation","country","banner"],char:"🇲🇩",fitzpatrick_scale:!1,category:"flags"},R6={keywords:["mc","flag","nation","country","banner"],char:"🇲🇨",fitzpatrick_scale:!1,category:"flags"},j6={keywords:["mn","flag","nation","country","banner"],char:"🇲🇳",fitzpatrick_scale:!1,category:"flags"},P6={keywords:["me","flag","nation","country","banner"],char:"🇲🇪",fitzpatrick_scale:!1,category:"flags"},B6={keywords:["ms","flag","nation","country","banner"],char:"🇲🇸",fitzpatrick_scale:!1,category:"flags"},F6={keywords:["ma","flag","nation","country","banner"],char:"🇲🇦",fitzpatrick_scale:!1,category:"flags"},U6={keywords:["mz","flag","nation","country","banner"],char:"🇲🇿",fitzpatrick_scale:!1,category:"flags"},V6={keywords:["mm","flag","nation","country","banner"],char:"🇲🇲",fitzpatrick_scale:!1,category:"flags"},H6={keywords:["na","flag","nation","country","banner"],char:"🇳🇦",fitzpatrick_scale:!1,category:"flags"},W6={keywords:["nr","flag","nation","country","banner"],char:"🇳🇷",fitzpatrick_scale:!1,category:"flags"},G6={keywords:["np","flag","nation","country","banner"],char:"🇳🇵",fitzpatrick_scale:!1,category:"flags"},Z6={keywords:["nl","flag","nation","country","banner"],char:"🇳🇱",fitzpatrick_scale:!1,category:"flags"},K6={keywords:["new","caledonia","flag","nation","country","banner"],char:"🇳🇨",fitzpatrick_scale:!1,category:"flags"},J6={keywords:["new","zealand","flag","nation","country","banner"],char:"🇳🇿",fitzpatrick_scale:!1,category:"flags"},Y6={keywords:["ni","flag","nation","country","banner"],char:"🇳🇮",fitzpatrick_scale:!1,category:"flags"},X6={keywords:["ne","flag","nation","country","banner"],char:"🇳🇪",fitzpatrick_scale:!1,category:"flags"},Q6={keywords:["flag","nation","country","banner"],char:"🇳🇬",fitzpatrick_scale:!1,category:"flags"},eN={keywords:["nu","flag","nation","country","banner"],char:"🇳🇺",fitzpatrick_scale:!1,category:"flags"},tN={keywords:["norfolk","island","flag","nation","country","banner"],char:"🇳🇫",fitzpatrick_scale:!1,category:"flags"},rN={keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"🇲🇵",fitzpatrick_scale:!1,category:"flags"},nN={keywords:["north","korea","nation","flag","country","banner"],char:"🇰🇵",fitzpatrick_scale:!1,category:"flags"},oN={keywords:["no","flag","nation","country","banner"],char:"🇳🇴",fitzpatrick_scale:!1,category:"flags"},iN={keywords:["om_symbol","flag","nation","country","banner"],char:"🇴🇲",fitzpatrick_scale:!1,category:"flags"},aN={keywords:["pk","flag","nation","country","banner"],char:"🇵🇰",fitzpatrick_scale:!1,category:"flags"},sN={keywords:["pw","flag","nation","country","banner"],char:"🇵🇼",fitzpatrick_scale:!1,category:"flags"},cN={keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"🇵🇸",fitzpatrick_scale:!1,category:"flags"},lN={keywords:["pa","flag","nation","country","banner"],char:"🇵🇦",fitzpatrick_scale:!1,category:"flags"},uN={keywords:["papua","new","guinea","flag","nation","country","banner"],char:"🇵🇬",fitzpatrick_scale:!1,category:"flags"},dN={keywords:["py","flag","nation","country","banner"],char:"🇵🇾",fitzpatrick_scale:!1,category:"flags"},pN={keywords:["pe","flag","nation","country","banner"],char:"🇵🇪",fitzpatrick_scale:!1,category:"flags"},hN={keywords:["ph","flag","nation","country","banner"],char:"🇵🇭",fitzpatrick_scale:!1,category:"flags"},fN={keywords:["pitcairn","flag","nation","country","banner"],char:"🇵🇳",fitzpatrick_scale:!1,category:"flags"},mN={keywords:["pl","flag","nation","country","banner"],char:"🇵🇱",fitzpatrick_scale:!1,category:"flags"},gN={keywords:["pt","flag","nation","country","banner"],char:"🇵🇹",fitzpatrick_scale:!1,category:"flags"},yN={keywords:["puerto","rico","flag","nation","country","banner"],char:"🇵🇷",fitzpatrick_scale:!1,category:"flags"},_N={keywords:["qa","flag","nation","country","banner"],char:"🇶🇦",fitzpatrick_scale:!1,category:"flags"},bN={keywords:["réunion","flag","nation","country","banner"],char:"🇷🇪",fitzpatrick_scale:!1,category:"flags"},wN={keywords:["ro","flag","nation","country","banner"],char:"🇷🇴",fitzpatrick_scale:!1,category:"flags"},kN={keywords:["russian","federation","flag","nation","country","banner"],char:"🇷🇺",fitzpatrick_scale:!1,category:"flags"},vN={keywords:["rw","flag","nation","country","banner"],char:"🇷🇼",fitzpatrick_scale:!1,category:"flags"},xN={keywords:["saint","barthélemy","flag","nation","country","banner"],char:"🇧🇱",fitzpatrick_scale:!1,category:"flags"},zN={keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"🇸🇭",fitzpatrick_scale:!1,category:"flags"},CN={keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"🇰🇳",fitzpatrick_scale:!1,category:"flags"},SN={keywords:["saint","lucia","flag","nation","country","banner"],char:"🇱🇨",fitzpatrick_scale:!1,category:"flags"},EN={keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"🇵🇲",fitzpatrick_scale:!1,category:"flags"},AN={keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"🇻🇨",fitzpatrick_scale:!1,category:"flags"},qN={keywords:["ws","flag","nation","country","banner"],char:"🇼🇸",fitzpatrick_scale:!1,category:"flags"},MN={keywords:["san","marino","flag","nation","country","banner"],char:"🇸🇲",fitzpatrick_scale:!1,category:"flags"},DN={keywords:["sao","tome","principe","flag","nation","country","banner"],char:"🇸🇹",fitzpatrick_scale:!1,category:"flags"},e={keywords:["flag","nation","country","banner"],char:"🇸🇦",fitzpatrick_scale:!1,category:"flags"},t={keywords:["sn","flag","nation","country","banner"],char:"🇸🇳",fitzpatrick_scale:!1,category:"flags"},b={keywords:["rs","flag","nation","country","banner"],char:"🇷🇸",fitzpatrick_scale:!1,category:"flags"},z={keywords:["sc","flag","nation","country","banner"],char:"🇸🇨",fitzpatrick_scale:!1,category:"flags"},q={keywords:["sierra","leone","flag","nation","country","banner"],char:"🇸🇱",fitzpatrick_scale:!1,category:"flags"},N={keywords:["sg","flag","nation","country","banner"],char:"🇸🇬",fitzpatrick_scale:!1,category:"flags"},I={keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"🇸🇽",fitzpatrick_scale:!1,category:"flags"},H={keywords:["sk","flag","nation","country","banner"],char:"🇸🇰",fitzpatrick_scale:!1,category:"flags"},G={keywords:["si","flag","nation","country","banner"],char:"🇸🇮",fitzpatrick_scale:!1,category:"flags"},ae={keywords:["solomon","islands","flag","nation","country","banner"],char:"🇸🇧",fitzpatrick_scale:!1,category:"flags"},be={keywords:["so","flag","nation","country","banner"],char:"🇸🇴",fitzpatrick_scale:!1,category:"flags"},Fe={keywords:["south","africa","flag","nation","country","banner"],char:"🇿🇦",fitzpatrick_scale:!1,category:"flags"},ve={keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"🇬🇸",fitzpatrick_scale:!1,category:"flags"},Ye={keywords:["south","korea","nation","flag","country","banner"],char:"🇰🇷",fitzpatrick_scale:!1,category:"flags"},ht={keywords:["south","sd","flag","nation","country","banner"],char:"🇸🇸",fitzpatrick_scale:!1,category:"flags"},TN={keywords:["spain","flag","nation","country","banner"],char:"🇪🇸",fitzpatrick_scale:!1,category:"flags"},NN={keywords:["sri","lanka","flag","nation","country","banner"],char:"🇱🇰",fitzpatrick_scale:!1,category:"flags"},ON={keywords:["sd","flag","nation","country","banner"],char:"🇸🇩",fitzpatrick_scale:!1,category:"flags"},IN={keywords:["sr","flag","nation","country","banner"],char:"🇸🇷",fitzpatrick_scale:!1,category:"flags"},$N={keywords:["sz","flag","nation","country","banner"],char:"🇸🇿",fitzpatrick_scale:!1,category:"flags"},Yt={keywords:["se","flag","nation","country","banner"],char:"🇸🇪",fitzpatrick_scale:!1,category:"flags"},Jt={keywords:["ch","flag","nation","country","banner"],char:"🇨🇭",fitzpatrick_scale:!1,category:"flags"},Nn={keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"🇸🇾",fitzpatrick_scale:!1,category:"flags"},Zn={keywords:["tw","flag","nation","country","banner"],char:"🇹🇼",fitzpatrick_scale:!1,category:"flags"},co={keywords:["tj","flag","nation","country","banner"],char:"🇹🇯",fitzpatrick_scale:!1,category:"flags"},uo={keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"🇹🇿",fitzpatrick_scale:!1,category:"flags"},so={keywords:["th","flag","nation","country","banner"],char:"🇹🇭",fitzpatrick_scale:!1,category:"flags"},lo={keywords:["timor","leste","flag","nation","country","banner"],char:"🇹🇱",fitzpatrick_scale:!1,category:"flags"},Fo={keywords:["tg","flag","nation","country","banner"],char:"🇹🇬",fitzpatrick_scale:!1,category:"flags"},Uo={keywords:["tk","flag","nation","country","banner"],char:"🇹🇰",fitzpatrick_scale:!1,category:"flags"},yi={keywords:["to","flag","nation","country","banner"],char:"🇹🇴",fitzpatrick_scale:!1,category:"flags"},bi={keywords:["trinidad","tobago","flag","nation","country","banner"],char:"🇹🇹",fitzpatrick_scale:!1,category:"flags"},wi={keywords:["tn","flag","nation","country","banner"],char:"🇹🇳",fitzpatrick_scale:!1,category:"flags"},_a={keywords:["turkey","flag","nation","country","banner"],char:"🇹🇷",fitzpatrick_scale:!1,category:"flags"},ka={keywords:["flag","nation","country","banner"],char:"🇹🇲",fitzpatrick_scale:!1,category:"flags"},xa={keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"🇹🇨",fitzpatrick_scale:!1,category:"flags"},za={keywords:["flag","nation","country","banner"],char:"🇹🇻",fitzpatrick_scale:!1,category:"flags"},Ca={keywords:["ug","flag","nation","country","banner"],char:"🇺🇬",fitzpatrick_scale:!1,category:"flags"},Aa={keywords:["ua","flag","nation","country","banner"],char:"🇺🇦",fitzpatrick_scale:!1,category:"flags"},Sa={keywords:["united","arab","emirates","flag","nation","country","banner"],char:"🇦🇪",fitzpatrick_scale:!1,category:"flags"},Ea={keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"🇬🇧",fitzpatrick_scale:!1,category:"flags"},Vs={keywords:["flag","english"],char:"🏴",fitzpatrick_scale:!1,category:"flags"},cc={keywords:["flag","scottish"],char:"🏴",fitzpatrick_scale:!1,category:"flags"},lc={keywords:["flag","welsh"],char:"🏴",fitzpatrick_scale:!1,category:"flags"},ec={keywords:["united","states","america","flag","nation","country","banner"],char:"🇺🇸",fitzpatrick_scale:!1,category:"flags"},nc={keywords:["virgin","islands","us","flag","nation","country","banner"],char:"🇻🇮",fitzpatrick_scale:!1,category:"flags"},Yc={keywords:["uy","flag","nation","country","banner"],char:"🇺🇾",fitzpatrick_scale:!1,category:"flags"},pl={keywords:["uz","flag","nation","country","banner"],char:"🇺🇿",fitzpatrick_scale:!1,category:"flags"},hl={keywords:["vu","flag","nation","country","banner"],char:"🇻🇺",fitzpatrick_scale:!1,category:"flags"},ml={keywords:["vatican","city","flag","nation","country","banner"],char:"🇻🇦",fitzpatrick_scale:!1,category:"flags"},bl={keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"🇻🇪",fitzpatrick_scale:!1,category:"flags"},fl={keywords:["viet","nam","flag","nation","country","banner"],char:"🇻🇳",fitzpatrick_scale:!1,category:"flags"},Al={keywords:["wallis","futuna","flag","nation","country","banner"],char:"🇼🇫",fitzpatrick_scale:!1,category:"flags"},Ml={keywords:["western","sahara","flag","nation","country","banner"],char:"🇪🇭",fitzpatrick_scale:!1,category:"flags"},Zl={keywords:["ye","flag","nation","country","banner"],char:"🇾🇪",fitzpatrick_scale:!1,category:"flags"},Pu={keywords:["zm","flag","nation","country","banner"],char:"🇿🇲",fitzpatrick_scale:!1,category:"flags"},Bu={keywords:["zw","flag","nation","country","banner"],char:"🇿🇼",fitzpatrick_scale:!1,category:"flags"},Fu={keywords:["un","flag","banner"],char:"🇺🇳",fitzpatrick_scale:!1,category:"flags"},Yu={keywords:["skull","crossbones","flag","banner"],char:"🏴☠️",fitzpatrick_scale:!1,category:"flags"},LN={lib:Ks(Object.freeze({__proto__:null,grinning:Hd,grimacing:Wd,grin:Gd,joy:Zd,rofl:Kd,partying:Jd,smiley:Yd,smile:Xd,sweat_smile:Qd,laughing:ep,innocent:tp,wink:rp,blush:np,slightly_smiling_face:op,upside_down_face:ip,relaxed:ap,yum:sp,relieved:cp,heart_eyes:lp,smiling_face_with_three_hearts:up,kissing_heart:dp,kissing:pp,kissing_smiling_eyes:hp,kissing_closed_eyes:fp,stuck_out_tongue_winking_eye:mp,zany:gp,raised_eyebrow:yp,monocle:_p,stuck_out_tongue_closed_eyes:bp,stuck_out_tongue:wp,money_mouth_face:kp,nerd_face:vp,sunglasses:xp,star_struck:zp,clown_face:Cp,cowboy_hat_face:Sp,hugs:Ep,smirk:Ap,no_mouth:qp,neutral_face:Mp,expressionless:Dp,unamused:Tp,roll_eyes:Np,thinking:Op,lying_face:Ip,hand_over_mouth:$p,shushing:Lp,symbols_over_mouth:Rp,exploding_head:jp,flushed:Pp,disappointed:Bp,worried:Fp,angry:Up,rage:Vp,pensive:Hp,confused:Wp,slightly_frowning_face:Gp,frowning_face:Zp,persevere:Kp,confounded:Jp,tired_face:Yp,weary:Xp,pleading:Qp,triumph:eh,open_mouth:th,scream:rh,fearful:nh,cold_sweat:oh,hushed:ih,frowning:ah,anguished:sh,cry:ch,disappointed_relieved:lh,drooling_face:uh,sleepy:dh,sweat:ph,hot:hh,cold:fh,sob:mh,dizzy_face:gh,astonished:yh,zipper_mouth_face:_h,nauseated_face:bh,sneezing_face:wh,vomiting:kh,mask:vh,face_with_thermometer:xh,face_with_head_bandage:zh,woozy:Ch,sleeping:Sh,zzz:Eh,poop:Ah,smiling_imp:qh,imp:Mh,japanese_ogre:Dh,japanese_goblin:Th,skull:Nh,ghost:Oh,alien:Ih,robot:$h,smiley_cat:Lh,smile_cat:Rh,joy_cat:jh,heart_eyes_cat:Ph,smirk_cat:Bh,kissing_cat:Fh,scream_cat:Uh,crying_cat_face:Vh,pouting_cat:Hh,palms_up:Wh,raised_hands:Gh,clap:Zh,wave:Kh,call_me_hand:Jh,facepunch:Yh,fist:Xh,fist_left:Qh,fist_right:ef,v:tf,ok_hand:rf,raised_hand:nf,raised_back_of_hand:of,open_hands:af,muscle:sf,pray:cf,foot:lf,leg:uf,handshake:df,point_up:pf,point_up_2:hf,point_down:ff,point_left:mf,point_right:gf,fu:yf,raised_hand_with_fingers_splayed:_f,love_you:bf,metal:wf,crossed_fingers:kf,vulcan_salute:vf,writing_hand:xf,selfie:zf,nail_care:Cf,lips:Sf,tooth:Ef,tongue:Af,ear:qf,nose:Mf,eye:Df,eyes:Tf,brain:Nf,bust_in_silhouette:Of,busts_in_silhouette:If,speaking_head:$f,baby:Lf,child:Rf,boy:jf,girl:Pf,adult:Bf,man:Ff,woman:Uf,blonde_woman:Vf,blonde_man:Hf,bearded_person:Wf,older_adult:Gf,older_man:Zf,older_woman:Kf,man_with_gua_pi_mao:Jf,woman_with_headscarf:Yf,woman_with_turban:Xf,man_with_turban:Qf,policewoman:em,policeman:tm,construction_worker_woman:rm,construction_worker_man:nm,guardswoman:om,guardsman:im,female_detective:am,male_detective:sm,woman_health_worker:cm,man_health_worker:lm,woman_farmer:um,man_farmer:dm,woman_cook:pm,man_cook:hm,woman_student:fm,man_student:mm,woman_singer:gm,man_singer:ym,woman_teacher:_m,man_teacher:bm,woman_factory_worker:wm,man_factory_worker:km,woman_technologist:vm,man_technologist:xm,woman_office_worker:zm,man_office_worker:Cm,woman_mechanic:Sm,man_mechanic:Em,woman_scientist:Am,man_scientist:qm,woman_artist:Mm,man_artist:Dm,woman_firefighter:Tm,man_firefighter:Nm,woman_pilot:Om,man_pilot:Im,woman_astronaut:$m,man_astronaut:Lm,woman_judge:Rm,man_judge:jm,woman_superhero:Pm,man_superhero:Bm,woman_supervillain:Fm,man_supervillain:Um,mrs_claus:Vm,santa:Hm,sorceress:Wm,wizard:Gm,woman_elf:Zm,man_elf:Km,woman_vampire:Jm,man_vampire:Ym,woman_zombie:Xm,man_zombie:Qm,woman_genie:eg,man_genie:tg,mermaid:rg,merman:ng,woman_fairy:og,man_fairy:ig,angel:ag,pregnant_woman:sg,breastfeeding:cg,princess:lg,prince:ug,bride_with_veil:dg,man_in_tuxedo:pg,running_woman:hg,running_man:fg,walking_woman:mg,walking_man:gg,dancer:yg,man_dancing:_g,dancing_women:bg,dancing_men:wg,couple:kg,two_men_holding_hands:vg,two_women_holding_hands:xg,bowing_woman:zg,bowing_man:Cg,man_facepalming:Sg,woman_facepalming:Eg,woman_shrugging:Ag,man_shrugging:qg,tipping_hand_woman:Mg,tipping_hand_man:Dg,no_good_woman:Tg,no_good_man:Ng,ok_woman:Og,ok_man:Ig,raising_hand_woman:$g,raising_hand_man:Lg,pouting_woman:Rg,pouting_man:jg,frowning_woman:Pg,frowning_man:Bg,haircut_woman:Fg,haircut_man:Ug,massage_woman:Vg,massage_man:Hg,woman_in_steamy_room:Wg,man_in_steamy_room:Gg,couple_with_heart_woman_man:Zg,couple_with_heart_woman_woman:Kg,couple_with_heart_man_man:Jg,couplekiss_man_woman:Yg,couplekiss_woman_woman:Xg,couplekiss_man_man:Qg,family_man_woman_boy:ey,family_man_woman_girl:ty,family_man_woman_girl_boy:ry,family_man_woman_boy_boy:ny,family_man_woman_girl_girl:oy,family_woman_woman_boy:iy,family_woman_woman_girl:ay,family_woman_woman_girl_boy:sy,family_woman_woman_boy_boy:cy,family_woman_woman_girl_girl:ly,family_man_man_boy:uy,family_man_man_girl:dy,family_man_man_girl_boy:py,family_man_man_boy_boy:hy,family_man_man_girl_girl:fy,family_woman_boy:my,family_woman_girl:gy,family_woman_girl_boy:yy,family_woman_boy_boy:_y,family_woman_girl_girl:by,family_man_boy:wy,family_man_girl:ky,family_man_girl_boy:vy,family_man_boy_boy:xy,family_man_girl_girl:zy,yarn:Cy,thread:Sy,coat:Ey,labcoat:Ay,womans_clothes:qy,tshirt:My,jeans:Dy,necktie:Ty,dress:Ny,bikini:Oy,kimono:Iy,lipstick:$y,kiss:Ly,footprints:Ry,flat_shoe:jy,high_heel:Py,sandal:By,boot:Fy,mans_shoe:Uy,athletic_shoe:Vy,hiking_boot:Hy,socks:Wy,gloves:Gy,scarf:Zy,womans_hat:Ky,tophat:Jy,billed_hat:Yy,rescue_worker_helmet:Xy,mortar_board:Qy,crown:e_,school_satchel:t_,luggage:r_,pouch:n_,purse:o_,handbag:i_,briefcase:a_,eyeglasses:s_,dark_sunglasses:c_,goggles:l_,ring:u_,closed_umbrella:d_,dog:p_,cat:h_,mouse:f_,hamster:m_,rabbit:g_,fox_face:y_,bear:__,panda_face:b_,koala:w_,tiger:k_,lion:v_,cow:x_,pig:z_,pig_nose:C_,frog:S_,squid:E_,octopus:A_,shrimp:q_,monkey_face:M_,gorilla:D_,see_no_evil:T_,hear_no_evil:N_,speak_no_evil:O_,monkey:I_,chicken:$_,penguin:L_,bird:R_,baby_chick:j_,hatching_chick:P_,hatched_chick:B_,duck:F_,eagle:U_,owl:V_,bat:H_,wolf:W_,boar:G_,horse:Z_,unicorn:K_,honeybee:J_,bug:Y_,butterfly:X_,snail:Q_,beetle:eb,ant:tb,grasshopper:rb,spider:nb,scorpion:ob,crab:ib,snake:ab,lizard:sb,sauropod:cb,turtle:lb,tropical_fish:ub,fish:db,blowfish:pb,dolphin:hb,shark:fb,whale:mb,whale2:gb,crocodile:yb,leopard:_b,zebra:bb,tiger2:wb,water_buffalo:kb,ox:vb,cow2:xb,deer:zb,dromedary_camel:Cb,camel:Sb,giraffe:Eb,elephant:Ab,rhinoceros:qb,goat:Mb,ram:Db,sheep:Tb,racehorse:Nb,pig2:Ob,rat:Ib,mouse2:$b,rooster:Lb,turkey:Rb,dove:jb,dog2:Pb,poodle:Bb,cat2:Fb,rabbit2:Ub,chipmunk:Vb,hedgehog:Hb,raccoon:Wb,llama:Gb,hippopotamus:Zb,kangaroo:Kb,badger:Jb,swan:Yb,peacock:Xb,parrot:Qb,lobster:ew,mosquito:tw,paw_prints:rw,dragon:nw,dragon_face:ow,cactus:iw,christmas_tree:aw,evergreen_tree:sw,deciduous_tree:cw,palm_tree:lw,seedling:uw,herb:dw,shamrock:pw,four_leaf_clover:hw,bamboo:fw,tanabata_tree:mw,leaves:gw,fallen_leaf:yw,maple_leaf:_w,ear_of_rice:bw,hibiscus:ww,sunflower:kw,rose:vw,wilted_flower:xw,tulip:zw,blossom:Cw,cherry_blossom:Sw,bouquet:Ew,mushroom:Aw,chestnut:qw,jack_o_lantern:Mw,shell:Dw,spider_web:Tw,earth_americas:Nw,earth_africa:Ow,earth_asia:Iw,full_moon:$w,waning_gibbous_moon:Lw,last_quarter_moon:Rw,waning_crescent_moon:jw,new_moon:Pw,waxing_crescent_moon:Bw,first_quarter_moon:Fw,waxing_gibbous_moon:Uw,new_moon_with_face:Vw,full_moon_with_face:Hw,first_quarter_moon_with_face:Ww,last_quarter_moon_with_face:Gw,sun_with_face:Zw,crescent_moon:Kw,star:Jw,star2:Yw,dizzy:Xw,sparkles:Qw,comet:ek,sunny:tk,sun_behind_small_cloud:rk,partly_sunny:nk,sun_behind_large_cloud:ok,sun_behind_rain_cloud:ik,cloud:ak,cloud_with_rain:sk,cloud_with_lightning_and_rain:ck,cloud_with_lightning:lk,zap:uk,fire:dk,boom:pk,snowflake:hk,cloud_with_snow:fk,snowman:mk,snowman_with_snow:gk,wind_face:yk,dash:_k,tornado:bk,fog:wk,open_umbrella:kk,umbrella:vk,droplet:xk,sweat_drops:zk,ocean:Ck,green_apple:Sk,apple:Ek,pear:Ak,tangerine:qk,lemon:Mk,banana:Dk,watermelon:Tk,grapes:Nk,strawberry:Ok,melon:Ik,cherries:$k,peach:Lk,pineapple:Rk,coconut:jk,kiwi_fruit:Pk,mango:Bk,avocado:Fk,broccoli:Uk,tomato:Vk,eggplant:Hk,cucumber:Wk,carrot:Gk,hot_pepper:Zk,potato:Kk,corn:Jk,leafy_greens:Yk,sweet_potato:Xk,peanuts:Qk,honey_pot:ev,croissant:tv,bread:rv,baguette_bread:nv,bagel:ov,pretzel:iv,cheese:av,egg:sv,bacon:cv,steak:lv,pancakes:uv,poultry_leg:dv,meat_on_bone:pv,bone:hv,fried_shrimp:fv,fried_egg:mv,hamburger:gv,fries:yv,stuffed_flatbread:_v,hotdog:bv,pizza:wv,sandwich:kv,canned_food:vv,spaghetti:xv,taco:zv,burrito:Cv,green_salad:Sv,shallow_pan_of_food:Ev,ramen:Av,stew:qv,fish_cake:Mv,fortune_cookie:Dv,sushi:Tv,bento:Nv,curry:Ov,rice_ball:Iv,rice:$v,rice_cracker:Lv,oden:Rv,dango:jv,shaved_ice:Pv,ice_cream:Bv,icecream:Fv,pie:Uv,cake:Vv,cupcake:Hv,moon_cake:Wv,birthday:Gv,custard:Zv,candy:Kv,lollipop:Jv,chocolate_bar:Yv,popcorn:Xv,dumpling:Qv,doughnut:e0,cookie:t0,milk_glass:r0,beer:n0,beers:o0,clinking_glasses:i0,wine_glass:a0,tumbler_glass:s0,cocktail:c0,tropical_drink:l0,champagne:u0,sake:d0,tea:p0,cup_with_straw:h0,coffee:f0,baby_bottle:m0,salt:g0,spoon:y0,fork_and_knife:_0,plate_with_cutlery:b0,bowl_with_spoon:w0,takeout_box:k0,chopsticks:v0,soccer:x0,basketball:z0,football:C0,baseball:S0,softball:E0,tennis:A0,volleyball:q0,rugby_football:M0,flying_disc:D0,golf:T0,golfing_woman:N0,golfing_man:O0,ping_pong:I0,badminton:$0,goal_net:L0,ice_hockey:R0,field_hockey:j0,lacrosse:P0,cricket:B0,ski:F0,skier:U0,snowboarder:V0,person_fencing:H0,women_wrestling:W0,men_wrestling:G0,woman_cartwheeling:Z0,man_cartwheeling:K0,woman_playing_handball:J0,man_playing_handball:Y0,ice_skate:X0,curling_stone:Q0,skateboard:e1,sled:t1,bow_and_arrow:r1,fishing_pole_and_fish:n1,boxing_glove:o1,martial_arts_uniform:i1,rowing_woman:a1,rowing_man:s1,climbing_woman:c1,climbing_man:l1,swimming_woman:u1,swimming_man:d1,woman_playing_water_polo:p1,man_playing_water_polo:h1,woman_in_lotus_position:f1,man_in_lotus_position:m1,surfing_woman:g1,surfing_man:y1,bath:_1,basketball_woman:b1,basketball_man:w1,weight_lifting_woman:k1,weight_lifting_man:v1,biking_woman:x1,biking_man:z1,mountain_biking_woman:C1,mountain_biking_man:S1,horse_racing:E1,business_suit_levitating:A1,trophy:q1,running_shirt_with_sash:M1,medal_sports:D1,medal_military:T1,reminder_ribbon:N1,rosette:O1,ticket:I1,tickets:$1,performing_arts:L1,art:R1,circus_tent:j1,woman_juggling:P1,man_juggling:B1,microphone:F1,headphones:U1,musical_score:V1,musical_keyboard:H1,drum:W1,saxophone:G1,trumpet:Z1,guitar:K1,violin:J1,clapper:Y1,video_game:X1,space_invader:Q1,dart:ex,game_die:tx,chess_pawn:rx,slot_machine:nx,jigsaw:ox,bowling:ix,red_car:ax,taxi:sx,blue_car:cx,bus:lx,trolleybus:ux,racing_car:dx,police_car:px,ambulance:hx,fire_engine:fx,minibus:mx,truck:gx,articulated_lorry:yx,tractor:_x,kick_scooter:bx,motorcycle:wx,bike:kx,motor_scooter:vx,rotating_light:xx,oncoming_police_car:zx,oncoming_bus:Cx,oncoming_automobile:Sx,oncoming_taxi:Ex,aerial_tramway:Ax,mountain_cableway:qx,suspension_railway:Mx,railway_car:Dx,train:Tx,monorail:Nx,bullettrain_side:Ox,bullettrain_front:Ix,light_rail:$x,mountain_railway:Lx,steam_locomotive:Rx,train2:jx,metro:Px,tram:Bx,station:Fx,flying_saucer:Ux,helicopter:Vx,small_airplane:Hx,airplane:Wx,flight_departure:Gx,flight_arrival:Zx,sailboat:Kx,motor_boat:Jx,speedboat:Yx,ferry:Xx,passenger_ship:Qx,rocket:ez,artificial_satellite:tz,seat:rz,canoe:nz,anchor:oz,construction:iz,fuelpump:az,busstop:sz,vertical_traffic_light:cz,traffic_light:lz,checkered_flag:uz,ship:dz,ferris_wheel:pz,roller_coaster:hz,carousel_horse:fz,building_construction:mz,foggy:gz,tokyo_tower:yz,factory:_z,fountain:bz,rice_scene:wz,mountain:kz,mountain_snow:vz,mount_fuji:xz,volcano:zz,japan:Cz,camping:Sz,tent:Ez,national_park:Az,motorway:qz,railway_track:Mz,sunrise:Dz,sunrise_over_mountains:Tz,desert:Nz,beach_umbrella:Oz,desert_island:Iz,city_sunrise:$z,city_sunset:Lz,cityscape:Rz,night_with_stars:jz,bridge_at_night:Pz,milky_way:Bz,stars:Fz,sparkler:Uz,fireworks:Vz,rainbow:Hz,houses:Wz,european_castle:Gz,japanese_castle:Zz,stadium:Kz,statue_of_liberty:Jz,house:Yz,house_with_garden:Xz,derelict_house:Qz,office:eC,department_store:tC,post_office:rC,european_post_office:nC,hospital:oC,bank:iC,hotel:aC,convenience_store:sC,school:cC,love_hotel:lC,wedding:uC,classical_building:dC,church:pC,mosque:hC,synagogue:fC,kaaba:mC,shinto_shrine:gC,watch:yC,iphone:_C,calling:bC,computer:wC,keyboard:kC,desktop_computer:vC,printer:xC,computer_mouse:zC,trackball:CC,joystick:SC,clamp:EC,minidisc:AC,floppy_disk:qC,cd:MC,dvd:DC,vhs:TC,camera:NC,camera_flash:OC,video_camera:IC,movie_camera:$C,film_projector:LC,film_strip:RC,telephone_receiver:jC,phone:PC,pager:BC,fax:FC,tv:UC,radio:VC,studio_microphone:HC,level_slider:WC,control_knobs:GC,compass:ZC,stopwatch:KC,timer_clock:JC,alarm_clock:YC,mantelpiece_clock:XC,hourglass_flowing_sand:QC,hourglass:e2,satellite:t2,battery:r2,electric_plug:n2,bulb:o2,flashlight:i2,candle:a2,fire_extinguisher:s2,wastebasket:c2,oil_drum:l2,money_with_wings:u2,dollar:d2,yen:p2,euro:h2,pound:f2,moneybag:m2,credit_card:g2,gem:y2,balance_scale:_2,toolbox:b2,wrench:w2,hammer:k2,hammer_and_pick:v2,hammer_and_wrench:x2,pick:z2,nut_and_bolt:C2,gear:S2,brick:E2,chains:A2,magnet:q2,gun:M2,bomb:D2,firecracker:T2,hocho:N2,dagger:O2,crossed_swords:I2,shield:$2,smoking:L2,skull_and_crossbones:R2,coffin:j2,funeral_urn:P2,amphora:B2,crystal_ball:F2,prayer_beads:U2,nazar_amulet:V2,barber:H2,alembic:W2,telescope:G2,microscope:Z2,hole:K2,pill:J2,syringe:Y2,dna:X2,microbe:Q2,petri_dish:eS,test_tube:tS,thermometer:rS,broom:nS,basket:oS,toilet_paper:iS,label:aS,bookmark:sS,toilet:cS,shower:lS,bathtub:uS,soap:dS,sponge:pS,lotion_bottle:hS,key:fS,old_key:mS,couch_and_lamp:gS,sleeping_bed:yS,bed:_S,door:bS,bellhop_bell:wS,teddy_bear:kS,framed_picture:vS,world_map:xS,parasol_on_ground:zS,moyai:CS,shopping:SS,shopping_cart:ES,balloon:AS,flags:qS,ribbon:MS,gift:DS,confetti_ball:TS,tada:NS,dolls:OS,wind_chime:IS,crossed_flags:$S,izakaya_lantern:LS,red_envelope:RS,email:jS,envelope_with_arrow:PS,incoming_envelope:BS,love_letter:FS,postbox:US,mailbox_closed:VS,mailbox:HS,mailbox_with_mail:WS,mailbox_with_no_mail:GS,postal_horn:ZS,inbox_tray:KS,outbox_tray:JS,scroll:YS,page_with_curl:XS,bookmark_tabs:QS,receipt:eE,bar_chart:tE,chart_with_upwards_trend:rE,chart_with_downwards_trend:nE,page_facing_up:oE,date:iE,calendar:aE,spiral_calendar:sE,card_index:cE,card_file_box:lE,ballot_box:uE,file_cabinet:dE,clipboard:pE,spiral_notepad:hE,file_folder:fE,open_file_folder:mE,card_index_dividers:gE,newspaper_roll:yE,newspaper:_E,notebook:bE,closed_book:wE,green_book:kE,blue_book:vE,orange_book:xE,notebook_with_decorative_cover:zE,ledger:CE,books:SE,open_book:EE,safety_pin:AE,link:qE,paperclip:ME,paperclips:DE,scissors:TE,triangular_ruler:NE,straight_ruler:OE,abacus:IE,pushpin:$E,round_pushpin:LE,triangular_flag_on_post:RE,white_flag:jE,black_flag:PE,rainbow_flag:BE,closed_lock_with_key:FE,lock:UE,unlock:VE,lock_with_ink_pen:HE,pen:WE,fountain_pen:GE,black_nib:ZE,memo:KE,pencil2:JE,crayon:YE,paintbrush:XE,mag:QE,mag_right:eA,heart:tA,orange_heart:rA,yellow_heart:nA,green_heart:oA,blue_heart:iA,purple_heart:aA,black_heart:sA,broken_heart:cA,heavy_heart_exclamation:lA,two_hearts:uA,revolving_hearts:dA,heartbeat:pA,heartpulse:hA,sparkling_heart:fA,cupid:mA,gift_heart:gA,heart_decoration:yA,peace_symbol:_A,latin_cross:bA,star_and_crescent:wA,om:kA,wheel_of_dharma:vA,star_of_david:xA,six_pointed_star:zA,menorah:CA,yin_yang:SA,orthodox_cross:EA,place_of_worship:AA,ophiuchus:qA,aries:MA,taurus:DA,gemini:TA,cancer:NA,leo:OA,virgo:IA,libra:$A,scorpius:LA,sagittarius:RA,capricorn:jA,aquarius:PA,pisces:BA,id:FA,atom_symbol:UA,u7a7a:VA,u5272:HA,radioactive:WA,biohazard:GA,mobile_phone_off:ZA,vibration_mode:KA,u6709:JA,u7121:YA,u7533:XA,u55b6:QA,u6708:e3,eight_pointed_black_star:t3,vs:r3,accept:n3,white_flower:o3,ideograph_advantage:i3,secret:a3,congratulations:s3,u5408:c3,u6e80:l3,u7981:u3,a:d3,b:p3,ab:h3,cl:f3,o2:m3,sos:g3,no_entry:y3,name_badge:_3,no_entry_sign:b3,x:w3,o:k3,stop_sign:v3,anger:x3,hotsprings:z3,no_pedestrians:C3,do_not_litter:S3,no_bicycles:E3,underage:A3,no_mobile_phones:q3,exclamation:M3,grey_exclamation:D3,question:T3,grey_question:N3,bangbang:O3,interrobang:I3,low_brightness:$3,high_brightness:L3,trident:R3,fleur_de_lis:j3,part_alternation_mark:P3,warning:B3,children_crossing:F3,beginner:U3,recycle:V3,u6307:H3,chart:W3,sparkle:G3,eight_spoked_asterisk:Z3,negative_squared_cross_mark:K3,white_check_mark:J3,diamond_shape_with_a_dot_inside:Y3,cyclone:X3,loop:Q3,globe_with_meridians:eq,m:tq,atm:rq,sa:nq,passport_control:oq,customs:iq,baggage_claim:aq,left_luggage:sq,wheelchair:cq,no_smoking:lq,wc:uq,parking:dq,potable_water:pq,mens:hq,womens:fq,baby_symbol:mq,restroom:gq,put_litter_in_its_place:yq,cinema:_q,signal_strength:bq,koko:wq,ng:kq,ok:vq,up:xq,cool:zq,free:Cq,zero:Sq,one:Eq,two:Aq,three:qq,four:Mq,five:Dq,six:Tq,seven:Nq,eight:Oq,nine:Iq,keycap_ten:$q,asterisk:Lq,eject_button:Rq,arrow_forward:jq,pause_button:Pq,next_track_button:Bq,stop_button:Fq,record_button:Uq,play_or_pause_button:Vq,previous_track_button:Hq,fast_forward:Wq,rewind:Gq,twisted_rightwards_arrows:Zq,repeat:Kq,repeat_one:Jq,arrow_backward:Yq,arrow_up_small:Xq,arrow_down_small:Qq,arrow_double_up:eM,arrow_double_down:tM,arrow_right:rM,arrow_left:nM,arrow_up:oM,arrow_down:iM,arrow_upper_right:aM,arrow_lower_right:sM,arrow_lower_left:cM,arrow_upper_left:lM,arrow_up_down:uM,left_right_arrow:dM,arrows_counterclockwise:pM,arrow_right_hook:hM,leftwards_arrow_with_hook:fM,arrow_heading_up:mM,arrow_heading_down:gM,hash:yM,information_source:_M,abc:bM,abcd:wM,capital_abcd:kM,symbols:vM,musical_note:xM,notes:zM,wavy_dash:CM,curly_loop:SM,heavy_check_mark:EM,arrows_clockwise:AM,heavy_plus_sign:qM,heavy_minus_sign:MM,heavy_division_sign:DM,heavy_multiplication_x:TM,infinity:NM,heavy_dollar_sign:OM,currency_exchange:IM,copyright:$M,registered:LM,tm:RM,end:jM,back:PM,on:BM,top:FM,soon:UM,ballot_box_with_check:VM,radio_button:HM,white_circle:WM,black_circle:GM,red_circle:ZM,large_blue_circle:KM,small_orange_diamond:JM,small_blue_diamond:YM,large_orange_diamond:XM,large_blue_diamond:QM,small_red_triangle:eD,black_small_square:tD,white_small_square:rD,black_large_square:nD,white_large_square:oD,small_red_triangle_down:iD,black_medium_square:aD,white_medium_square:sD,black_medium_small_square:cD,white_medium_small_square:lD,black_square_button:uD,white_square_button:dD,speaker:pD,sound:hD,loud_sound:fD,mute:mD,mega:gD,loudspeaker:yD,bell:_D,no_bell:bD,black_joker:wD,mahjong:kD,spades:vD,clubs:xD,hearts:zD,diamonds:CD,flower_playing_cards:SD,thought_balloon:ED,right_anger_bubble:AD,speech_balloon:qD,left_speech_bubble:MD,clock1:DD,clock2:TD,clock3:ND,clock4:OD,clock5:ID,clock6:$D,clock7:LD,clock8:RD,clock9:jD,clock10:PD,clock11:BD,clock12:FD,clock130:UD,clock230:VD,clock330:HD,clock430:WD,clock530:GD,clock630:ZD,clock730:KD,clock830:JD,clock930:YD,clock1030:XD,clock1130:QD,clock1230:eT,afghanistan:tT,aland_islands:rT,albania:nT,algeria:oT,american_samoa:iT,andorra:aT,angola:sT,anguilla:cT,antarctica:lT,antigua_barbuda:uT,argentina:dT,armenia:pT,aruba:hT,australia:fT,austria:mT,azerbaijan:gT,bahamas:yT,bahrain:_T,bangladesh:bT,barbados:wT,belarus:kT,belgium:vT,belize:xT,benin:zT,bermuda:CT,bhutan:ST,bolivia:ET,caribbean_netherlands:AT,bosnia_herzegovina:qT,botswana:MT,brazil:DT,british_indian_ocean_territory:TT,british_virgin_islands:NT,brunei:OT,bulgaria:IT,burkina_faso:$T,burundi:LT,cape_verde:RT,cambodia:jT,cameroon:PT,canada:BT,canary_islands:FT,cayman_islands:UT,central_african_republic:VT,chad:HT,chile:WT,cn:GT,christmas_island:ZT,cocos_islands:KT,colombia:JT,comoros:YT,congo_brazzaville:XT,congo_kinshasa:QT,cook_islands:e8,costa_rica:t8,croatia:r8,cuba:n8,curacao:o8,cyprus:i8,czech_republic:a8,denmark:s8,djibouti:c8,dominica:l8,dominican_republic:u8,ecuador:d8,egypt:p8,el_salvador:h8,equatorial_guinea:f8,eritrea:m8,estonia:g8,ethiopia:y8,eu:_8,falkland_islands:b8,faroe_islands:w8,fiji:k8,finland:v8,fr:x8,french_guiana:z8,french_polynesia:C8,french_southern_territories:S8,gabon:E8,gambia:A8,georgia:q8,de:M8,ghana:D8,gibraltar:T8,greece:N8,greenland:O8,grenada:I8,guadeloupe:$8,guam:L8,guatemala:R8,guernsey:j8,guinea:P8,guinea_bissau:B8,guyana:F8,haiti:U8,honduras:V8,hong_kong:H8,hungary:W8,iceland:G8,india:Z8,indonesia:K8,iran:J8,iraq:Y8,ireland:X8,isle_of_man:Q8,israel:e6,it:t6,cote_divoire:r6,jamaica:n6,jp:o6,jersey:i6,jordan:a6,kazakhstan:s6,kenya:c6,kiribati:l6,kosovo:u6,kuwait:d6,kyrgyzstan:p6,laos:h6,latvia:f6,lebanon:m6,lesotho:g6,liberia:y6,libya:_6,liechtenstein:b6,lithuania:w6,luxembourg:k6,macau:v6,macedonia:x6,madagascar:z6,malawi:C6,malaysia:S6,maldives:E6,mali:A6,malta:q6,marshall_islands:M6,martinique:D6,mauritania:T6,mauritius:N6,mayotte:O6,mexico:I6,micronesia:$6,moldova:L6,monaco:R6,mongolia:j6,montenegro:P6,montserrat:B6,morocco:F6,mozambique:U6,myanmar:V6,namibia:H6,nauru:W6,nepal:G6,netherlands:Z6,new_caledonia:K6,new_zealand:J6,nicaragua:Y6,niger:X6,nigeria:Q6,niue:eN,norfolk_island:tN,northern_mariana_islands:rN,north_korea:nN,norway:oN,oman:iN,pakistan:aN,palau:sN,palestinian_territories:cN,panama:lN,papua_new_guinea:uN,paraguay:dN,peru:pN,philippines:hN,pitcairn_islands:fN,poland:mN,portugal:gN,puerto_rico:yN,qatar:_N,reunion:bN,romania:wN,ru:kN,rwanda:vN,st_barthelemy:xN,st_helena:zN,st_kitts_nevis:CN,st_lucia:SN,st_pierre_miquelon:EN,st_vincent_grenadines:AN,samoa:qN,san_marino:MN,sao_tome_principe:DN,saudi_arabia:e,senegal:t,serbia:b,seychelles:z,sierra_leone:q,singapore:N,sint_maarten:I,slovakia:H,slovenia:G,solomon_islands:ae,somalia:be,south_africa:Fe,south_georgia_south_sandwich_islands:ve,kr:Ye,south_sudan:ht,es:TN,sri_lanka:NN,sudan:ON,suriname:IN,swaziland:$N,sweden:Yt,switzerland:Jt,syria:Nn,taiwan:Zn,tajikistan:co,tanzania:uo,thailand:so,timor_leste:lo,togo:Fo,tokelau:Uo,tonga:yi,trinidad_tobago:bi,tunisia:wi,tr:_a,turkmenistan:ka,turks_caicos_islands:xa,tuvalu:za,uganda:Ca,ukraine:Aa,united_arab_emirates:Sa,uk:Ea,england:Vs,scotland:cc,wales:lc,us:ec,us_virgin_islands:nc,uruguay:Yc,uzbekistan:pl,vanuatu:hl,vatican_city:ml,venezuela:bl,vietnam:fl,wallis_futuna:Al,western_sahara:Ml,yemen:Zl,zambia:Pu,zimbabwe:Bu,united_nations:Fu,pirate_flag:Yu,default:{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"💯",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"🔢",fitzpatrick_scale:!1,category:"symbols"},grinning:Hd,grimacing:Wd,grin:Gd,joy:Zd,rofl:Kd,partying:Jd,smiley:Yd,smile:Xd,sweat_smile:Qd,laughing:ep,innocent:tp,wink:rp,blush:np,slightly_smiling_face:op,upside_down_face:ip,relaxed:ap,yum:sp,relieved:cp,heart_eyes:lp,smiling_face_with_three_hearts:up,kissing_heart:dp,kissing:pp,kissing_smiling_eyes:hp,kissing_closed_eyes:fp,stuck_out_tongue_winking_eye:mp,zany:gp,raised_eyebrow:yp,monocle:_p,stuck_out_tongue_closed_eyes:bp,stuck_out_tongue:wp,money_mouth_face:kp,nerd_face:vp,sunglasses:xp,star_struck:zp,clown_face:Cp,cowboy_hat_face:Sp,hugs:Ep,smirk:Ap,no_mouth:qp,neutral_face:Mp,expressionless:Dp,unamused:Tp,roll_eyes:Np,thinking:Op,lying_face:Ip,hand_over_mouth:$p,shushing:Lp,symbols_over_mouth:Rp,exploding_head:jp,flushed:Pp,disappointed:Bp,worried:Fp,angry:Up,rage:Vp,pensive:Hp,confused:Wp,slightly_frowning_face:Gp,frowning_face:Zp,persevere:Kp,confounded:Jp,tired_face:Yp,weary:Xp,pleading:Qp,triumph:eh,open_mouth:th,scream:rh,fearful:nh,cold_sweat:oh,hushed:ih,frowning:ah,anguished:sh,cry:ch,disappointed_relieved:lh,drooling_face:uh,sleepy:dh,sweat:ph,hot:hh,cold:fh,sob:mh,dizzy_face:gh,astonished:yh,zipper_mouth_face:_h,nauseated_face:bh,sneezing_face:wh,vomiting:kh,mask:vh,face_with_thermometer:xh,face_with_head_bandage:zh,woozy:Ch,sleeping:Sh,zzz:Eh,poop:Ah,smiling_imp:qh,imp:Mh,japanese_ogre:Dh,japanese_goblin:Th,skull:Nh,ghost:Oh,alien:Ih,robot:$h,smiley_cat:Lh,smile_cat:Rh,joy_cat:jh,heart_eyes_cat:Ph,smirk_cat:Bh,kissing_cat:Fh,scream_cat:Uh,crying_cat_face:Vh,pouting_cat:Hh,palms_up:Wh,raised_hands:Gh,clap:Zh,wave:Kh,call_me_hand:Jh,"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"👍",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"👎",fitzpatrick_scale:!0,category:"people"},facepunch:Yh,fist:Xh,fist_left:Qh,fist_right:ef,v:tf,ok_hand:rf,raised_hand:nf,raised_back_of_hand:of,open_hands:af,muscle:sf,pray:cf,foot:lf,leg:uf,handshake:df,point_up:pf,point_up_2:hf,point_down:ff,point_left:mf,point_right:gf,fu:yf,raised_hand_with_fingers_splayed:_f,love_you:bf,metal:wf,crossed_fingers:kf,vulcan_salute:vf,writing_hand:xf,selfie:zf,nail_care:Cf,lips:Sf,tooth:Ef,tongue:Af,ear:qf,nose:Mf,eye:Df,eyes:Tf,brain:Nf,bust_in_silhouette:Of,busts_in_silhouette:If,speaking_head:$f,baby:Lf,child:Rf,boy:jf,girl:Pf,adult:Bf,man:Ff,woman:Uf,blonde_woman:Vf,blonde_man:Hf,bearded_person:Wf,older_adult:Gf,older_man:Zf,older_woman:Kf,man_with_gua_pi_mao:Jf,woman_with_headscarf:Yf,woman_with_turban:Xf,man_with_turban:Qf,policewoman:em,policeman:tm,construction_worker_woman:rm,construction_worker_man:nm,guardswoman:om,guardsman:im,female_detective:am,male_detective:sm,woman_health_worker:cm,man_health_worker:lm,woman_farmer:um,man_farmer:dm,woman_cook:pm,man_cook:hm,woman_student:fm,man_student:mm,woman_singer:gm,man_singer:ym,woman_teacher:_m,man_teacher:bm,woman_factory_worker:wm,man_factory_worker:km,woman_technologist:vm,man_technologist:xm,woman_office_worker:zm,man_office_worker:Cm,woman_mechanic:Sm,man_mechanic:Em,woman_scientist:Am,man_scientist:qm,woman_artist:Mm,man_artist:Dm,woman_firefighter:Tm,man_firefighter:Nm,woman_pilot:Om,man_pilot:Im,woman_astronaut:$m,man_astronaut:Lm,woman_judge:Rm,man_judge:jm,woman_superhero:Pm,man_superhero:Bm,woman_supervillain:Fm,man_supervillain:Um,mrs_claus:Vm,santa:Hm,sorceress:Wm,wizard:Gm,woman_elf:Zm,man_elf:Km,woman_vampire:Jm,man_vampire:Ym,woman_zombie:Xm,man_zombie:Qm,woman_genie:eg,man_genie:tg,mermaid:rg,merman:ng,woman_fairy:og,man_fairy:ig,angel:ag,pregnant_woman:sg,breastfeeding:cg,princess:lg,prince:ug,bride_with_veil:dg,man_in_tuxedo:pg,running_woman:hg,running_man:fg,walking_woman:mg,walking_man:gg,dancer:yg,man_dancing:_g,dancing_women:bg,dancing_men:wg,couple:kg,two_men_holding_hands:vg,two_women_holding_hands:xg,bowing_woman:zg,bowing_man:Cg,man_facepalming:Sg,woman_facepalming:Eg,woman_shrugging:Ag,man_shrugging:qg,tipping_hand_woman:Mg,tipping_hand_man:Dg,no_good_woman:Tg,no_good_man:Ng,ok_woman:Og,ok_man:Ig,raising_hand_woman:$g,raising_hand_man:Lg,pouting_woman:Rg,pouting_man:jg,frowning_woman:Pg,frowning_man:Bg,haircut_woman:Fg,haircut_man:Ug,massage_woman:Vg,massage_man:Hg,woman_in_steamy_room:Wg,man_in_steamy_room:Gg,couple_with_heart_woman_man:Zg,couple_with_heart_woman_woman:Kg,couple_with_heart_man_man:Jg,couplekiss_man_woman:Yg,couplekiss_woman_woman:Xg,couplekiss_man_man:Qg,family_man_woman_boy:ey,family_man_woman_girl:ty,family_man_woman_girl_boy:ry,family_man_woman_boy_boy:ny,family_man_woman_girl_girl:oy,family_woman_woman_boy:iy,family_woman_woman_girl:ay,family_woman_woman_girl_boy:sy,family_woman_woman_boy_boy:cy,family_woman_woman_girl_girl:ly,family_man_man_boy:uy,family_man_man_girl:dy,family_man_man_girl_boy:py,family_man_man_boy_boy:hy,family_man_man_girl_girl:fy,family_woman_boy:my,family_woman_girl:gy,family_woman_girl_boy:yy,family_woman_boy_boy:_y,family_woman_girl_girl:by,family_man_boy:wy,family_man_girl:ky,family_man_girl_boy:vy,family_man_boy_boy:xy,family_man_girl_girl:zy,yarn:Cy,thread:Sy,coat:Ey,labcoat:Ay,womans_clothes:qy,tshirt:My,jeans:Dy,necktie:Ty,dress:Ny,bikini:Oy,kimono:Iy,lipstick:$y,kiss:Ly,footprints:Ry,flat_shoe:jy,high_heel:Py,sandal:By,boot:Fy,mans_shoe:Uy,athletic_shoe:Vy,hiking_boot:Hy,socks:Wy,gloves:Gy,scarf:Zy,womans_hat:Ky,tophat:Jy,billed_hat:Yy,rescue_worker_helmet:Xy,mortar_board:Qy,crown:e_,school_satchel:t_,luggage:r_,pouch:n_,purse:o_,handbag:i_,briefcase:a_,eyeglasses:s_,dark_sunglasses:c_,goggles:l_,ring:u_,closed_umbrella:d_,dog:p_,cat:h_,mouse:f_,hamster:m_,rabbit:g_,fox_face:y_,bear:__,panda_face:b_,koala:w_,tiger:k_,lion:v_,cow:x_,pig:z_,pig_nose:C_,frog:S_,squid:E_,octopus:A_,shrimp:q_,monkey_face:M_,gorilla:D_,see_no_evil:T_,hear_no_evil:N_,speak_no_evil:O_,monkey:I_,chicken:$_,penguin:L_,bird:R_,baby_chick:j_,hatching_chick:P_,hatched_chick:B_,duck:F_,eagle:U_,owl:V_,bat:H_,wolf:W_,boar:G_,horse:Z_,unicorn:K_,honeybee:J_,bug:Y_,butterfly:X_,snail:Q_,beetle:eb,ant:tb,grasshopper:rb,spider:nb,scorpion:ob,crab:ib,snake:ab,lizard:sb,"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"🦖",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:cb,turtle:lb,tropical_fish:ub,fish:db,blowfish:pb,dolphin:hb,shark:fb,whale:mb,whale2:gb,crocodile:yb,leopard:_b,zebra:bb,tiger2:wb,water_buffalo:kb,ox:vb,cow2:xb,deer:zb,dromedary_camel:Cb,camel:Sb,giraffe:Eb,elephant:Ab,rhinoceros:qb,goat:Mb,ram:Db,sheep:Tb,racehorse:Nb,pig2:Ob,rat:Ib,mouse2:$b,rooster:Lb,turkey:Rb,dove:jb,dog2:Pb,poodle:Bb,cat2:Fb,rabbit2:Ub,chipmunk:Vb,hedgehog:Hb,raccoon:Wb,llama:Gb,hippopotamus:Zb,kangaroo:Kb,badger:Jb,swan:Yb,peacock:Xb,parrot:Qb,lobster:ew,mosquito:tw,paw_prints:rw,dragon:nw,dragon_face:ow,cactus:iw,christmas_tree:aw,evergreen_tree:sw,deciduous_tree:cw,palm_tree:lw,seedling:uw,herb:dw,shamrock:pw,four_leaf_clover:hw,bamboo:fw,tanabata_tree:mw,leaves:gw,fallen_leaf:yw,maple_leaf:_w,ear_of_rice:bw,hibiscus:ww,sunflower:kw,rose:vw,wilted_flower:xw,tulip:zw,blossom:Cw,cherry_blossom:Sw,bouquet:Ew,mushroom:Aw,chestnut:qw,jack_o_lantern:Mw,shell:Dw,spider_web:Tw,earth_americas:Nw,earth_africa:Ow,earth_asia:Iw,full_moon:$w,waning_gibbous_moon:Lw,last_quarter_moon:Rw,waning_crescent_moon:jw,new_moon:Pw,waxing_crescent_moon:Bw,first_quarter_moon:Fw,waxing_gibbous_moon:Uw,new_moon_with_face:Vw,full_moon_with_face:Hw,first_quarter_moon_with_face:Ww,last_quarter_moon_with_face:Gw,sun_with_face:Zw,crescent_moon:Kw,star:Jw,star2:Yw,dizzy:Xw,sparkles:Qw,comet:ek,sunny:tk,sun_behind_small_cloud:rk,partly_sunny:nk,sun_behind_large_cloud:ok,sun_behind_rain_cloud:ik,cloud:ak,cloud_with_rain:sk,cloud_with_lightning_and_rain:ck,cloud_with_lightning:lk,zap:uk,fire:dk,boom:pk,snowflake:hk,cloud_with_snow:fk,snowman:mk,snowman_with_snow:gk,wind_face:yk,dash:_k,tornado:bk,fog:wk,open_umbrella:kk,umbrella:vk,droplet:xk,sweat_drops:zk,ocean:Ck,green_apple:Sk,apple:Ek,pear:Ak,tangerine:qk,lemon:Mk,banana:Dk,watermelon:Tk,grapes:Nk,strawberry:Ok,melon:Ik,cherries:$k,peach:Lk,pineapple:Rk,coconut:jk,kiwi_fruit:Pk,mango:Bk,avocado:Fk,broccoli:Uk,tomato:Vk,eggplant:Hk,cucumber:Wk,carrot:Gk,hot_pepper:Zk,potato:Kk,corn:Jk,leafy_greens:Yk,sweet_potato:Xk,peanuts:Qk,honey_pot:ev,croissant:tv,bread:rv,baguette_bread:nv,bagel:ov,pretzel:iv,cheese:av,egg:sv,bacon:cv,steak:lv,pancakes:uv,poultry_leg:dv,meat_on_bone:pv,bone:hv,fried_shrimp:fv,fried_egg:mv,hamburger:gv,fries:yv,stuffed_flatbread:_v,hotdog:bv,pizza:wv,sandwich:kv,canned_food:vv,spaghetti:xv,taco:zv,burrito:Cv,green_salad:Sv,shallow_pan_of_food:Ev,ramen:Av,stew:qv,fish_cake:Mv,fortune_cookie:Dv,sushi:Tv,bento:Nv,curry:Ov,rice_ball:Iv,rice:$v,rice_cracker:Lv,oden:Rv,dango:jv,shaved_ice:Pv,ice_cream:Bv,icecream:Fv,pie:Uv,cake:Vv,cupcake:Hv,moon_cake:Wv,birthday:Gv,custard:Zv,candy:Kv,lollipop:Jv,chocolate_bar:Yv,popcorn:Xv,dumpling:Qv,doughnut:e0,cookie:t0,milk_glass:r0,beer:n0,beers:o0,clinking_glasses:i0,wine_glass:a0,tumbler_glass:s0,cocktail:c0,tropical_drink:l0,champagne:u0,sake:d0,tea:p0,cup_with_straw:h0,coffee:f0,baby_bottle:m0,salt:g0,spoon:y0,fork_and_knife:_0,plate_with_cutlery:b0,bowl_with_spoon:w0,takeout_box:k0,chopsticks:v0,soccer:x0,basketball:z0,football:C0,baseball:S0,softball:E0,tennis:A0,volleyball:q0,rugby_football:M0,flying_disc:D0,"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"🎱",fitzpatrick_scale:!1,category:"activity"},golf:T0,golfing_woman:N0,golfing_man:O0,ping_pong:I0,badminton:$0,goal_net:L0,ice_hockey:R0,field_hockey:j0,lacrosse:P0,cricket:B0,ski:F0,skier:U0,snowboarder:V0,person_fencing:H0,women_wrestling:W0,men_wrestling:G0,woman_cartwheeling:Z0,man_cartwheeling:K0,woman_playing_handball:J0,man_playing_handball:Y0,ice_skate:X0,curling_stone:Q0,skateboard:e1,sled:t1,bow_and_arrow:r1,fishing_pole_and_fish:n1,boxing_glove:o1,martial_arts_uniform:i1,rowing_woman:a1,rowing_man:s1,climbing_woman:c1,climbing_man:l1,swimming_woman:u1,swimming_man:d1,woman_playing_water_polo:p1,man_playing_water_polo:h1,woman_in_lotus_position:f1,man_in_lotus_position:m1,surfing_woman:g1,surfing_man:y1,bath:_1,basketball_woman:b1,basketball_man:w1,weight_lifting_woman:k1,weight_lifting_man:v1,biking_woman:x1,biking_man:z1,mountain_biking_woman:C1,mountain_biking_man:S1,horse_racing:E1,business_suit_levitating:A1,trophy:q1,running_shirt_with_sash:M1,medal_sports:D1,medal_military:T1,"1st_place_medal":{keywords:["award","winning","first"],char:"🥇",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"🥈",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"🥉",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:N1,rosette:O1,ticket:I1,tickets:$1,performing_arts:L1,art:R1,circus_tent:j1,woman_juggling:P1,man_juggling:B1,microphone:F1,headphones:U1,musical_score:V1,musical_keyboard:H1,drum:W1,saxophone:G1,trumpet:Z1,guitar:K1,violin:J1,clapper:Y1,video_game:X1,space_invader:Q1,dart:ex,game_die:tx,chess_pawn:rx,slot_machine:nx,jigsaw:ox,bowling:ix,red_car:ax,taxi:sx,blue_car:cx,bus:lx,trolleybus:ux,racing_car:dx,police_car:px,ambulance:hx,fire_engine:fx,minibus:mx,truck:gx,articulated_lorry:yx,tractor:_x,kick_scooter:bx,motorcycle:wx,bike:kx,motor_scooter:vx,rotating_light:xx,oncoming_police_car:zx,oncoming_bus:Cx,oncoming_automobile:Sx,oncoming_taxi:Ex,aerial_tramway:Ax,mountain_cableway:qx,suspension_railway:Mx,railway_car:Dx,train:Tx,monorail:Nx,bullettrain_side:Ox,bullettrain_front:Ix,light_rail:$x,mountain_railway:Lx,steam_locomotive:Rx,train2:jx,metro:Px,tram:Bx,station:Fx,flying_saucer:Ux,helicopter:Vx,small_airplane:Hx,airplane:Wx,flight_departure:Gx,flight_arrival:Zx,sailboat:Kx,motor_boat:Jx,speedboat:Yx,ferry:Xx,passenger_ship:Qx,rocket:ez,artificial_satellite:tz,seat:rz,canoe:nz,anchor:oz,construction:iz,fuelpump:az,busstop:sz,vertical_traffic_light:cz,traffic_light:lz,checkered_flag:uz,ship:dz,ferris_wheel:pz,roller_coaster:hz,carousel_horse:fz,building_construction:mz,foggy:gz,tokyo_tower:yz,factory:_z,fountain:bz,rice_scene:wz,mountain:kz,mountain_snow:vz,mount_fuji:xz,volcano:zz,japan:Cz,camping:Sz,tent:Ez,national_park:Az,motorway:qz,railway_track:Mz,sunrise:Dz,sunrise_over_mountains:Tz,desert:Nz,beach_umbrella:Oz,desert_island:Iz,city_sunrise:$z,city_sunset:Lz,cityscape:Rz,night_with_stars:jz,bridge_at_night:Pz,milky_way:Bz,stars:Fz,sparkler:Uz,fireworks:Vz,rainbow:Hz,houses:Wz,european_castle:Gz,japanese_castle:Zz,stadium:Kz,statue_of_liberty:Jz,house:Yz,house_with_garden:Xz,derelict_house:Qz,office:eC,department_store:tC,post_office:rC,european_post_office:nC,hospital:oC,bank:iC,hotel:aC,convenience_store:sC,school:cC,love_hotel:lC,wedding:uC,classical_building:dC,church:pC,mosque:hC,synagogue:fC,kaaba:mC,shinto_shrine:gC,watch:yC,iphone:_C,calling:bC,computer:wC,keyboard:kC,desktop_computer:vC,printer:xC,computer_mouse:zC,trackball:CC,joystick:SC,clamp:EC,minidisc:AC,floppy_disk:qC,cd:MC,dvd:DC,vhs:TC,camera:NC,camera_flash:OC,video_camera:IC,movie_camera:$C,film_projector:LC,film_strip:RC,telephone_receiver:jC,phone:PC,pager:BC,fax:FC,tv:UC,radio:VC,studio_microphone:HC,level_slider:WC,control_knobs:GC,compass:ZC,stopwatch:KC,timer_clock:JC,alarm_clock:YC,mantelpiece_clock:XC,hourglass_flowing_sand:QC,hourglass:e2,satellite:t2,battery:r2,electric_plug:n2,bulb:o2,flashlight:i2,candle:a2,fire_extinguisher:s2,wastebasket:c2,oil_drum:l2,money_with_wings:u2,dollar:d2,yen:p2,euro:h2,pound:f2,moneybag:m2,credit_card:g2,gem:y2,balance_scale:_2,toolbox:b2,wrench:w2,hammer:k2,hammer_and_pick:v2,hammer_and_wrench:x2,pick:z2,nut_and_bolt:C2,gear:S2,brick:E2,chains:A2,magnet:q2,gun:M2,bomb:D2,firecracker:T2,hocho:N2,dagger:O2,crossed_swords:I2,shield:$2,smoking:L2,skull_and_crossbones:R2,coffin:j2,funeral_urn:P2,amphora:B2,crystal_ball:F2,prayer_beads:U2,nazar_amulet:V2,barber:H2,alembic:W2,telescope:G2,microscope:Z2,hole:K2,pill:J2,syringe:Y2,dna:X2,microbe:Q2,petri_dish:eS,test_tube:tS,thermometer:rS,broom:nS,basket:oS,toilet_paper:iS,label:aS,bookmark:sS,toilet:cS,shower:lS,bathtub:uS,soap:dS,sponge:pS,lotion_bottle:hS,key:fS,old_key:mS,couch_and_lamp:gS,sleeping_bed:yS,bed:_S,door:bS,bellhop_bell:wS,teddy_bear:kS,framed_picture:vS,world_map:xS,parasol_on_ground:zS,moyai:CS,shopping:SS,shopping_cart:ES,balloon:AS,flags:qS,ribbon:MS,gift:DS,confetti_ball:TS,tada:NS,dolls:OS,wind_chime:IS,crossed_flags:$S,izakaya_lantern:LS,red_envelope:RS,email:jS,envelope_with_arrow:PS,incoming_envelope:BS,"e-mail":{keywords:["communication","inbox"],char:"📧",fitzpatrick_scale:!1,category:"objects"},love_letter:FS,postbox:US,mailbox_closed:VS,mailbox:HS,mailbox_with_mail:WS,mailbox_with_no_mail:GS,package:{keywords:["mail","gift","cardboard","box","moving"],char:"📦",fitzpatrick_scale:!1,category:"objects"},postal_horn:ZS,inbox_tray:KS,outbox_tray:JS,scroll:YS,page_with_curl:XS,bookmark_tabs:QS,receipt:eE,bar_chart:tE,chart_with_upwards_trend:rE,chart_with_downwards_trend:nE,page_facing_up:oE,date:iE,calendar:aE,spiral_calendar:sE,card_index:cE,card_file_box:lE,ballot_box:uE,file_cabinet:dE,clipboard:pE,spiral_notepad:hE,file_folder:fE,open_file_folder:mE,card_index_dividers:gE,newspaper_roll:yE,newspaper:_E,notebook:bE,closed_book:wE,green_book:kE,blue_book:vE,orange_book:xE,notebook_with_decorative_cover:zE,ledger:CE,books:SE,open_book:EE,safety_pin:AE,link:qE,paperclip:ME,paperclips:DE,scissors:TE,triangular_ruler:NE,straight_ruler:OE,abacus:IE,pushpin:$E,round_pushpin:LE,triangular_flag_on_post:RE,white_flag:jE,black_flag:PE,rainbow_flag:BE,closed_lock_with_key:FE,lock:UE,unlock:VE,lock_with_ink_pen:HE,pen:WE,fountain_pen:GE,black_nib:ZE,memo:KE,pencil2:JE,crayon:YE,paintbrush:XE,mag:QE,mag_right:eA,heart:tA,orange_heart:rA,yellow_heart:nA,green_heart:oA,blue_heart:iA,purple_heart:aA,black_heart:sA,broken_heart:cA,heavy_heart_exclamation:lA,two_hearts:uA,revolving_hearts:dA,heartbeat:pA,heartpulse:hA,sparkling_heart:fA,cupid:mA,gift_heart:gA,heart_decoration:yA,peace_symbol:_A,latin_cross:bA,star_and_crescent:wA,om:kA,wheel_of_dharma:vA,star_of_david:xA,six_pointed_star:zA,menorah:CA,yin_yang:SA,orthodox_cross:EA,place_of_worship:AA,ophiuchus:qA,aries:MA,taurus:DA,gemini:TA,cancer:NA,leo:OA,virgo:IA,libra:$A,scorpius:LA,sagittarius:RA,capricorn:jA,aquarius:PA,pisces:BA,id:FA,atom_symbol:UA,u7a7a:VA,u5272:HA,radioactive:WA,biohazard:GA,mobile_phone_off:ZA,vibration_mode:KA,u6709:JA,u7121:YA,u7533:XA,u55b6:QA,u6708:e3,eight_pointed_black_star:t3,vs:r3,accept:n3,white_flower:o3,ideograph_advantage:i3,secret:a3,congratulations:s3,u5408:c3,u6e80:l3,u7981:u3,a:d3,b:p3,ab:h3,cl:f3,o2:m3,sos:g3,no_entry:y3,name_badge:_3,no_entry_sign:b3,x:w3,o:k3,stop_sign:v3,anger:x3,hotsprings:z3,no_pedestrians:C3,do_not_litter:S3,no_bicycles:E3,"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"🚱",fitzpatrick_scale:!1,category:"symbols"},underage:A3,no_mobile_phones:q3,exclamation:M3,grey_exclamation:D3,question:T3,grey_question:N3,bangbang:O3,interrobang:I3,low_brightness:$3,high_brightness:L3,trident:R3,fleur_de_lis:j3,part_alternation_mark:P3,warning:B3,children_crossing:F3,beginner:U3,recycle:V3,u6307:H3,chart:W3,sparkle:G3,eight_spoked_asterisk:Z3,negative_squared_cross_mark:K3,white_check_mark:J3,diamond_shape_with_a_dot_inside:Y3,cyclone:X3,loop:Q3,globe_with_meridians:eq,m:tq,atm:rq,sa:nq,passport_control:oq,customs:iq,baggage_claim:aq,left_luggage:sq,wheelchair:cq,no_smoking:lq,wc:uq,parking:dq,potable_water:pq,mens:hq,womens:fq,baby_symbol:mq,restroom:gq,put_litter_in_its_place:yq,cinema:_q,signal_strength:bq,koko:wq,ng:kq,ok:vq,up:xq,cool:zq,new:{keywords:["blue-square","words","start"],char:"🆕",fitzpatrick_scale:!1,category:"symbols"},free:Cq,zero:Sq,one:Eq,two:Aq,three:qq,four:Mq,five:Dq,six:Tq,seven:Nq,eight:Oq,nine:Iq,keycap_ten:$q,asterisk:Lq,eject_button:Rq,arrow_forward:jq,pause_button:Pq,next_track_button:Bq,stop_button:Fq,record_button:Uq,play_or_pause_button:Vq,previous_track_button:Hq,fast_forward:Wq,rewind:Gq,twisted_rightwards_arrows:Zq,repeat:Kq,repeat_one:Jq,arrow_backward:Yq,arrow_up_small:Xq,arrow_down_small:Qq,arrow_double_up:eM,arrow_double_down:tM,arrow_right:rM,arrow_left:nM,arrow_up:oM,arrow_down:iM,arrow_upper_right:aM,arrow_lower_right:sM,arrow_lower_left:cM,arrow_upper_left:lM,arrow_up_down:uM,left_right_arrow:dM,arrows_counterclockwise:pM,arrow_right_hook:hM,leftwards_arrow_with_hook:fM,arrow_heading_up:mM,arrow_heading_down:gM,hash:yM,information_source:_M,abc:bM,abcd:wM,capital_abcd:kM,symbols:vM,musical_note:xM,notes:zM,wavy_dash:CM,curly_loop:SM,heavy_check_mark:EM,arrows_clockwise:AM,heavy_plus_sign:qM,heavy_minus_sign:MM,heavy_division_sign:DM,heavy_multiplication_x:TM,infinity:NM,heavy_dollar_sign:OM,currency_exchange:IM,copyright:$M,registered:LM,tm:RM,end:jM,back:PM,on:BM,top:FM,soon:UM,ballot_box_with_check:VM,radio_button:HM,white_circle:WM,black_circle:GM,red_circle:ZM,large_blue_circle:KM,small_orange_diamond:JM,small_blue_diamond:YM,large_orange_diamond:XM,large_blue_diamond:QM,small_red_triangle:eD,black_small_square:tD,white_small_square:rD,black_large_square:nD,white_large_square:oD,small_red_triangle_down:iD,black_medium_square:aD,white_medium_square:sD,black_medium_small_square:cD,white_medium_small_square:lD,black_square_button:uD,white_square_button:dD,speaker:pD,sound:hD,loud_sound:fD,mute:mD,mega:gD,loudspeaker:yD,bell:_D,no_bell:bD,black_joker:wD,mahjong:kD,spades:vD,clubs:xD,hearts:zD,diamonds:CD,flower_playing_cards:SD,thought_balloon:ED,right_anger_bubble:AD,speech_balloon:qD,left_speech_bubble:MD,clock1:DD,clock2:TD,clock3:ND,clock4:OD,clock5:ID,clock6:$D,clock7:LD,clock8:RD,clock9:jD,clock10:PD,clock11:BD,clock12:FD,clock130:UD,clock230:VD,clock330:HD,clock430:WD,clock530:GD,clock630:ZD,clock730:KD,clock830:JD,clock930:YD,clock1030:XD,clock1130:QD,clock1230:eT,afghanistan:tT,aland_islands:rT,albania:nT,algeria:oT,american_samoa:iT,andorra:aT,angola:sT,anguilla:cT,antarctica:lT,antigua_barbuda:uT,argentina:dT,armenia:pT,aruba:hT,australia:fT,austria:mT,azerbaijan:gT,bahamas:yT,bahrain:_T,bangladesh:bT,barbados:wT,belarus:kT,belgium:vT,belize:xT,benin:zT,bermuda:CT,bhutan:ST,bolivia:ET,caribbean_netherlands:AT,bosnia_herzegovina:qT,botswana:MT,brazil:DT,british_indian_ocean_territory:TT,british_virgin_islands:NT,brunei:OT,bulgaria:IT,burkina_faso:$T,burundi:LT,cape_verde:RT,cambodia:jT,cameroon:PT,canada:BT,canary_islands:FT,cayman_islands:UT,central_african_republic:VT,chad:HT,chile:WT,cn:GT,christmas_island:ZT,cocos_islands:KT,colombia:JT,comoros:YT,congo_brazzaville:XT,congo_kinshasa:QT,cook_islands:e8,costa_rica:t8,croatia:r8,cuba:n8,curacao:o8,cyprus:i8,czech_republic:a8,denmark:s8,djibouti:c8,dominica:l8,dominican_republic:u8,ecuador:d8,egypt:p8,el_salvador:h8,equatorial_guinea:f8,eritrea:m8,estonia:g8,ethiopia:y8,eu:_8,falkland_islands:b8,faroe_islands:w8,fiji:k8,finland:v8,fr:x8,french_guiana:z8,french_polynesia:C8,french_southern_territories:S8,gabon:E8,gambia:A8,georgia:q8,de:M8,ghana:D8,gibraltar:T8,greece:N8,greenland:O8,grenada:I8,guadeloupe:$8,guam:L8,guatemala:R8,guernsey:j8,guinea:P8,guinea_bissau:B8,guyana:F8,haiti:U8,honduras:V8,hong_kong:H8,hungary:W8,iceland:G8,india:Z8,indonesia:K8,iran:J8,iraq:Y8,ireland:X8,isle_of_man:Q8,israel:e6,it:t6,cote_divoire:r6,jamaica:n6,jp:o6,jersey:i6,jordan:a6,kazakhstan:s6,kenya:c6,kiribati:l6,kosovo:u6,kuwait:d6,kyrgyzstan:p6,laos:h6,latvia:f6,lebanon:m6,lesotho:g6,liberia:y6,libya:_6,liechtenstein:b6,lithuania:w6,luxembourg:k6,macau:v6,macedonia:x6,madagascar:z6,malawi:C6,malaysia:S6,maldives:E6,mali:A6,malta:q6,marshall_islands:M6,martinique:D6,mauritania:T6,mauritius:N6,mayotte:O6,mexico:I6,micronesia:$6,moldova:L6,monaco:R6,mongolia:j6,montenegro:P6,montserrat:B6,morocco:F6,mozambique:U6,myanmar:V6,namibia:H6,nauru:W6,nepal:G6,netherlands:Z6,new_caledonia:K6,new_zealand:J6,nicaragua:Y6,niger:X6,nigeria:Q6,niue:eN,norfolk_island:tN,northern_mariana_islands:rN,north_korea:nN,norway:oN,oman:iN,pakistan:aN,palau:sN,palestinian_territories:cN,panama:lN,papua_new_guinea:uN,paraguay:dN,peru:pN,philippines:hN,pitcairn_islands:fN,poland:mN,portugal:gN,puerto_rico:yN,qatar:_N,reunion:bN,romania:wN,ru:kN,rwanda:vN,st_barthelemy:xN,st_helena:zN,st_kitts_nevis:CN,st_lucia:SN,st_pierre_miquelon:EN,st_vincent_grenadines:AN,samoa:qN,san_marino:MN,sao_tome_principe:DN,saudi_arabia:e,senegal:t,serbia:b,seychelles:z,sierra_leone:q,singapore:N,sint_maarten:I,slovakia:H,slovenia:G,solomon_islands:ae,somalia:be,south_africa:Fe,south_georgia_south_sandwich_islands:ve,kr:Ye,south_sudan:ht,es:TN,sri_lanka:NN,sudan:ON,suriname:IN,swaziland:$N,sweden:Yt,switzerland:Jt,syria:Nn,taiwan:Zn,tajikistan:co,tanzania:uo,thailand:so,timor_leste:lo,togo:Fo,tokelau:Uo,tonga:yi,trinidad_tobago:bi,tunisia:wi,tr:_a,turkmenistan:ka,turks_caicos_islands:xa,tuvalu:za,uganda:Ca,ukraine:Aa,united_arab_emirates:Sa,uk:Ea,england:Vs,scotland:cc,wales:lc,us:ec,us_virgin_islands:nc,uruguay:Yc,uzbekistan:pl,vanuatu:hl,vatican_city:ml,venezuela:bl,vietnam:fl,wallis_futuna:Al,western_sahara:Ml,yemen:Zl,zambia:Pu,zimbabwe:Bu,united_nations:Fu,pirate_flag:Yu}})),ordered:Ks(Object.freeze({__proto__:null,default:["grinning","smiley","smile","grin","laughing","sweat_smile","joy","rofl","relaxed","blush","innocent","slightly_smiling_face","upside_down_face","wink","relieved","heart_eyes","smiling_face_with_three_hearts","kissing_heart","kissing","kissing_smiling_eyes","kissing_closed_eyes","yum","stuck_out_tongue","stuck_out_tongue_closed_eyes","stuck_out_tongue_winking_eye","zany","raised_eyebrow","monocle","nerd_face","sunglasses","star_struck","partying","smirk","unamused","disappointed","pensive","worried","confused","slightly_frowning_face","frowning_face","persevere","confounded","tired_face","weary","pleading","cry","sob","triumph","angry","rage","symbols_over_mouth","exploding_head","flushed","hot","cold","scream","fearful","cold_sweat","disappointed_relieved","sweat","hugs","thinking","hand_over_mouth","shushing","lying_face","no_mouth","neutral_face","expressionless","grimacing","roll_eyes","hushed","frowning","anguished","open_mouth","astonished","sleeping","drooling_face","sleepy","dizzy_face","zipper_mouth_face","woozy","nauseated_face","vomiting","sneezing_face","mask","face_with_thermometer","face_with_head_bandage","money_mouth_face","cowboy_hat_face","smiling_imp","imp","japanese_ogre","japanese_goblin","clown_face","poop","ghost","skull","skull_and_crossbones","alien","space_invader","robot","jack_o_lantern","smiley_cat","smile_cat","joy_cat","heart_eyes_cat","smirk_cat","kissing_cat","scream_cat","crying_cat_face","pouting_cat","palms_up","open_hands","raised_hands","clap","handshake","+1","-1","facepunch","fist","fist_left","fist_right","crossed_fingers","v","love_you","metal","ok_hand","point_left","point_right","point_up","point_down","point_up_2","raised_hand","raised_back_of_hand","raised_hand_with_fingers_splayed","vulcan_salute","wave","call_me_hand","muscle","fu","writing_hand","pray","foot","leg","ring","lipstick","kiss","lips","tooth","tongue","ear","nose","footprints","eye","eyes","brain","speaking_head","bust_in_silhouette","busts_in_silhouette","baby","girl","child","boy","woman","adult","man","blonde_woman","blonde_man","bearded_person","older_woman","older_adult","older_man","man_with_gua_pi_mao","woman_with_headscarf","woman_with_turban","man_with_turban","policewoman","policeman","construction_worker_woman","construction_worker_man","guardswoman","guardsman","female_detective","male_detective","woman_health_worker","man_health_worker","woman_farmer","man_farmer","woman_cook","man_cook","woman_student","man_student","woman_singer","man_singer","woman_teacher","man_teacher","woman_factory_worker","man_factory_worker","woman_technologist","man_technologist","woman_office_worker","man_office_worker","woman_mechanic","man_mechanic","woman_scientist","man_scientist","woman_artist","man_artist","woman_firefighter","man_firefighter","woman_pilot","man_pilot","woman_astronaut","man_astronaut","woman_judge","man_judge","bride_with_veil","man_in_tuxedo","princess","prince","woman_superhero","man_superhero","woman_supervillain","man_supervillain","mrs_claus","santa","sorceress","wizard","woman_elf","man_elf","woman_vampire","man_vampire","woman_zombie","man_zombie","woman_genie","man_genie","mermaid","merman","woman_fairy","man_fairy","angel","pregnant_woman","breastfeeding","bowing_woman","bowing_man","tipping_hand_woman","tipping_hand_man","no_good_woman","no_good_man","ok_woman","ok_man","raising_hand_woman","raising_hand_man","woman_facepalming","man_facepalming","woman_shrugging","man_shrugging","pouting_woman","pouting_man","frowning_woman","frowning_man","haircut_woman","haircut_man","massage_woman","massage_man","woman_in_steamy_room","man_in_steamy_room","nail_care","selfie","dancer","man_dancing","dancing_women","dancing_men","business_suit_levitating","walking_woman","walking_man","running_woman","running_man","couple","two_women_holding_hands","two_men_holding_hands","couple_with_heart_woman_man","couple_with_heart_woman_woman","couple_with_heart_man_man","couplekiss_man_woman","couplekiss_woman_woman","couplekiss_man_man","family_man_woman_boy","family_man_woman_girl","family_man_woman_girl_boy","family_man_woman_boy_boy","family_man_woman_girl_girl","family_woman_woman_boy","family_woman_woman_girl","family_woman_woman_girl_boy","family_woman_woman_boy_boy","family_woman_woman_girl_girl","family_man_man_boy","family_man_man_girl","family_man_man_girl_boy","family_man_man_boy_boy","family_man_man_girl_girl","family_woman_boy","family_woman_girl","family_woman_girl_boy","family_woman_boy_boy","family_woman_girl_girl","family_man_boy","family_man_girl","family_man_girl_boy","family_man_boy_boy","family_man_girl_girl","yarn","thread","coat","labcoat","womans_clothes","tshirt","jeans","necktie","dress","bikini","kimono","flat_shoe","high_heel","sandal","boot","mans_shoe","athletic_shoe","hiking_boot","socks","gloves","scarf","tophat","billed_hat","womans_hat","mortar_board","rescue_worker_helmet","crown","pouch","purse","handbag","briefcase","school_satchel","luggage","eyeglasses","dark_sunglasses","goggles","closed_umbrella","dog","cat","mouse","hamster","rabbit","fox_face","bear","panda_face","koala","tiger","lion","cow","pig","pig_nose","frog","monkey_face","see_no_evil","hear_no_evil","speak_no_evil","monkey","chicken","penguin","bird","baby_chick","hatching_chick","hatched_chick","duck","eagle","owl","bat","wolf","boar","horse","unicorn","honeybee","bug","butterfly","snail","shell","beetle","ant","mosquito","grasshopper","spider","spider_web","scorpion","turtle","snake","lizard","t-rex","sauropod","octopus","squid","shrimp","lobster","crab","blowfish","tropical_fish","fish","dolphin","whale","whale2","shark","crocodile","tiger2","leopard","zebra","gorilla","elephant","hippopotamus","rhinoceros","dromedary_camel","giraffe","kangaroo","camel","water_buffalo","ox","cow2","racehorse","pig2","ram","sheep","llama","goat","deer","dog2","poodle","cat2","rooster","turkey","peacock","parrot","swan","dove","rabbit2","raccoon","badger","rat","mouse2","chipmunk","hedgehog","paw_prints","dragon","dragon_face","cactus","christmas_tree","evergreen_tree","deciduous_tree","palm_tree","seedling","herb","shamrock","four_leaf_clover","bamboo","tanabata_tree","leaves","fallen_leaf","maple_leaf","ear_of_rice","hibiscus","sunflower","rose","wilted_flower","tulip","blossom","cherry_blossom","bouquet","mushroom","earth_americas","earth_africa","earth_asia","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","new_moon_with_face","full_moon_with_face","first_quarter_moon_with_face","last_quarter_moon_with_face","sun_with_face","crescent_moon","star","star2","dizzy","sparkles","comet","sunny","sun_behind_small_cloud","partly_sunny","sun_behind_large_cloud","sun_behind_rain_cloud","cloud","cloud_with_rain","cloud_with_lightning_and_rain","cloud_with_lightning","zap","fire","boom","snowflake","cloud_with_snow","snowman","snowman_with_snow","wind_face","dash","tornado","fog","open_umbrella","umbrella","droplet","sweat_drops","ocean","green_apple","apple","pear","tangerine","lemon","banana","watermelon","grapes","strawberry","melon","cherries","peach","mango","pineapple","coconut","kiwi_fruit","tomato","eggplant","avocado","broccoli","leafy_greens","cucumber","hot_pepper","corn","carrot","potato","sweet_potato","croissant","bagel","bread","baguette_bread","pretzel","cheese","egg","fried_egg","pancakes","bacon","steak","poultry_leg","meat_on_bone","bone","hotdog","hamburger","fries","pizza","sandwich","stuffed_flatbread","taco","burrito","green_salad","shallow_pan_of_food","canned_food","spaghetti","ramen","stew","curry","sushi","bento","fried_shrimp","rice_ball","rice","rice_cracker","fish_cake","fortune_cookie","moon_cake","oden","dango","shaved_ice","ice_cream","icecream","pie","cupcake","cake","birthday","custard","lollipop","candy","chocolate_bar","popcorn","doughnut","dumpling","cookie","chestnut","peanuts","honey_pot","milk_glass","baby_bottle","coffee","tea","cup_with_straw","sake","beer","beers","clinking_glasses","wine_glass","tumbler_glass","cocktail","tropical_drink","champagne","spoon","fork_and_knife","plate_with_cutlery","bowl_with_spoon","takeout_box","chopsticks","salt","soccer","basketball","football","baseball","softball","tennis","volleyball","rugby_football","flying_disc","8ball","golf","golfing_woman","golfing_man","ping_pong","badminton","goal_net","ice_hockey","field_hockey","lacrosse","cricket","ski","skier","snowboarder","person_fencing","women_wrestling","men_wrestling","woman_cartwheeling","man_cartwheeling","woman_playing_handball","man_playing_handball","ice_skate","curling_stone","skateboard","sled","bow_and_arrow","fishing_pole_and_fish","boxing_glove","martial_arts_uniform","rowing_woman","rowing_man","climbing_woman","climbing_man","swimming_woman","swimming_man","woman_playing_water_polo","man_playing_water_polo","woman_in_lotus_position","man_in_lotus_position","surfing_woman","surfing_man","basketball_woman","basketball_man","weight_lifting_woman","weight_lifting_man","biking_woman","biking_man","mountain_biking_woman","mountain_biking_man","horse_racing","trophy","running_shirt_with_sash","medal_sports","medal_military","1st_place_medal","2nd_place_medal","3rd_place_medal","reminder_ribbon","rosette","ticket","tickets","performing_arts","art","circus_tent","woman_juggling","man_juggling","microphone","headphones","musical_score","musical_keyboard","drum","saxophone","trumpet","guitar","violin","clapper","video_game","dart","game_die","chess_pawn","slot_machine","jigsaw","bowling","red_car","taxi","blue_car","bus","trolleybus","racing_car","police_car","ambulance","fire_engine","minibus","truck","articulated_lorry","tractor","kick_scooter","motorcycle","bike","motor_scooter","rotating_light","oncoming_police_car","oncoming_bus","oncoming_automobile","oncoming_taxi","aerial_tramway","mountain_cableway","suspension_railway","railway_car","train","monorail","bullettrain_side","bullettrain_front","light_rail","mountain_railway","steam_locomotive","train2","metro","tram","station","flying_saucer","helicopter","small_airplane","airplane","flight_departure","flight_arrival","sailboat","motor_boat","speedboat","ferry","passenger_ship","rocket","artificial_satellite","seat","canoe","anchor","construction","fuelpump","busstop","vertical_traffic_light","traffic_light","ship","ferris_wheel","roller_coaster","carousel_horse","building_construction","foggy","tokyo_tower","factory","fountain","rice_scene","mountain","mountain_snow","mount_fuji","volcano","japan","camping","tent","national_park","motorway","railway_track","sunrise","sunrise_over_mountains","desert","beach_umbrella","desert_island","city_sunrise","city_sunset","cityscape","night_with_stars","bridge_at_night","milky_way","stars","sparkler","fireworks","rainbow","houses","european_castle","japanese_castle","stadium","statue_of_liberty","house","house_with_garden","derelict_house","office","department_store","post_office","european_post_office","hospital","bank","hotel","convenience_store","school","love_hotel","wedding","classical_building","church","mosque","synagogue","kaaba","shinto_shrine","watch","iphone","calling","computer","keyboard","desktop_computer","printer","computer_mouse","trackball","joystick","clamp","minidisc","floppy_disk","cd","dvd","vhs","camera","camera_flash","video_camera","movie_camera","film_projector","film_strip","telephone_receiver","phone","pager","fax","tv","radio","studio_microphone","level_slider","control_knobs","compass","stopwatch","timer_clock","alarm_clock","mantelpiece_clock","hourglass_flowing_sand","hourglass","satellite","battery","electric_plug","bulb","flashlight","candle","fire_extinguisher","wastebasket","oil_drum","money_with_wings","dollar","yen","euro","pound","moneybag","credit_card","gem","balance_scale","toolbox","wrench","hammer","hammer_and_pick","hammer_and_wrench","pick","nut_and_bolt","gear","brick","chains","magnet","gun","bomb","firecracker","hocho","dagger","crossed_swords","shield","smoking","coffin","funeral_urn","amphora","crystal_ball","prayer_beads","nazar_amulet","barber","alembic","telescope","microscope","hole","pill","syringe","dna","microbe","petri_dish","test_tube","thermometer","broom","basket","toilet_paper","label","bookmark","toilet","shower","bathtub","bath","soap","sponge","lotion_bottle","key","old_key","couch_and_lamp","sleeping_bed","bed","door","bellhop_bell","teddy_bear","framed_picture","world_map","parasol_on_ground","moyai","shopping","shopping_cart","balloon","flags","ribbon","gift","confetti_ball","tada","dolls","wind_chime","crossed_flags","izakaya_lantern","red_envelope","email","envelope_with_arrow","incoming_envelope","e-mail","love_letter","postbox","mailbox_closed","mailbox","mailbox_with_mail","mailbox_with_no_mail","package","postal_horn","inbox_tray","outbox_tray","scroll","page_with_curl","bookmark_tabs","receipt","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","page_facing_up","date","calendar","spiral_calendar","card_index","card_file_box","ballot_box","file_cabinet","clipboard","spiral_notepad","file_folder","open_file_folder","card_index_dividers","newspaper_roll","newspaper","notebook","closed_book","green_book","blue_book","orange_book","notebook_with_decorative_cover","ledger","books","open_book","safety_pin","link","paperclip","paperclips","scissors","triangular_ruler","straight_ruler","abacus","pushpin","round_pushpin","closed_lock_with_key","lock","unlock","lock_with_ink_pen","pen","fountain_pen","black_nib","memo","pencil2","crayon","paintbrush","mag","mag_right","heart","orange_heart","yellow_heart","green_heart","blue_heart","purple_heart","black_heart","broken_heart","heavy_heart_exclamation","two_hearts","revolving_hearts","heartbeat","heartpulse","sparkling_heart","cupid","gift_heart","heart_decoration","peace_symbol","latin_cross","star_and_crescent","om","wheel_of_dharma","star_of_david","six_pointed_star","menorah","yin_yang","orthodox_cross","place_of_worship","ophiuchus","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","id","atom_symbol","u7a7a","u5272","radioactive","biohazard","mobile_phone_off","vibration_mode","u6709","u7121","u7533","u55b6","u6708","eight_pointed_black_star","vs","accept","white_flower","ideograph_advantage","secret","congratulations","u5408","u6e80","u7981","a","b","ab","cl","o2","sos","no_entry","name_badge","no_entry_sign","x","o","stop_sign","anger","hotsprings","no_pedestrians","do_not_litter","no_bicycles","non-potable_water","underage","no_mobile_phones","exclamation","grey_exclamation","question","grey_question","bangbang","interrobang","100","low_brightness","high_brightness","trident","fleur_de_lis","part_alternation_mark","warning","children_crossing","beginner","recycle","u6307","chart","sparkle","eight_spoked_asterisk","negative_squared_cross_mark","white_check_mark","diamond_shape_with_a_dot_inside","cyclone","loop","globe_with_meridians","m","atm","zzz","sa","passport_control","customs","baggage_claim","left_luggage","wheelchair","no_smoking","wc","parking","potable_water","mens","womens","baby_symbol","restroom","put_litter_in_its_place","cinema","signal_strength","koko","ng","ok","up","cool","new","free","zero","one","two","three","four","five","six","seven","eight","nine","keycap_ten","asterisk","1234","eject_button","arrow_forward","pause_button","next_track_button","stop_button","record_button","play_or_pause_button","previous_track_button","fast_forward","rewind","twisted_rightwards_arrows","repeat","repeat_one","arrow_backward","arrow_up_small","arrow_down_small","arrow_double_up","arrow_double_down","arrow_right","arrow_left","arrow_up","arrow_down","arrow_upper_right","arrow_lower_right","arrow_lower_left","arrow_upper_left","arrow_up_down","left_right_arrow","arrows_counterclockwise","arrow_right_hook","leftwards_arrow_with_hook","arrow_heading_up","arrow_heading_down","hash","information_source","abc","abcd","capital_abcd","symbols","musical_note","notes","wavy_dash","curly_loop","heavy_check_mark","arrows_clockwise","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","heavy_multiplication_x","infinity","heavy_dollar_sign","currency_exchange","copyright","registered","tm","end","back","on","top","soon","ballot_box_with_check","radio_button","white_circle","black_circle","red_circle","large_blue_circle","small_orange_diamond","small_blue_diamond","large_orange_diamond","large_blue_diamond","small_red_triangle","black_small_square","white_small_square","black_large_square","white_large_square","small_red_triangle_down","black_medium_square","white_medium_square","black_medium_small_square","white_medium_small_square","black_square_button","white_square_button","speaker","sound","loud_sound","mute","mega","loudspeaker","bell","no_bell","black_joker","mahjong","spades","clubs","hearts","diamonds","flower_playing_cards","thought_balloon","right_anger_bubble","speech_balloon","left_speech_bubble","clock1","clock2","clock3","clock4","clock5","clock6","clock7","clock8","clock9","clock10","clock11","clock12","clock130","clock230","clock330","clock430","clock530","clock630","clock730","clock830","clock930","clock1030","clock1130","clock1230","white_flag","black_flag","pirate_flag","checkered_flag","triangular_flag_on_post","rainbow_flag","united_nations","afghanistan","aland_islands","albania","algeria","american_samoa","andorra","angola","anguilla","antarctica","antigua_barbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahamas","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","caribbean_netherlands","bosnia_herzegovina","botswana","brazil","british_indian_ocean_territory","british_virgin_islands","brunei","bulgaria","burkina_faso","burundi","cape_verde","cambodia","cameroon","canada","canary_islands","cayman_islands","central_african_republic","chad","chile","cn","christmas_island","cocos_islands","colombia","comoros","congo_brazzaville","congo_kinshasa","cook_islands","costa_rica","croatia","cuba","curacao","cyprus","czech_republic","denmark","djibouti","dominica","dominican_republic","ecuador","egypt","el_salvador","equatorial_guinea","eritrea","estonia","ethiopia","eu","falkland_islands","faroe_islands","fiji","finland","fr","french_guiana","french_polynesia","french_southern_territories","gabon","gambia","georgia","de","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernsey","guinea","guinea_bissau","guyana","haiti","honduras","hong_kong","hungary","iceland","india","indonesia","iran","iraq","ireland","isle_of_man","israel","it","cote_divoire","jamaica","jp","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macau","macedonia","madagascar","malawi","malaysia","maldives","mali","malta","marshall_islands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","new_caledonia","new_zealand","nicaragua","niger","nigeria","niue","norfolk_island","northern_mariana_islands","north_korea","norway","oman","pakistan","palau","palestinian_territories","panama","papua_new_guinea","paraguay","peru","philippines","pitcairn_islands","poland","portugal","puerto_rico","qatar","reunion","romania","ru","rwanda","st_barthelemy","st_helena","st_kitts_nevis","st_lucia","st_pierre_miquelon","st_vincent_grenadines","samoa","san_marino","sao_tome_principe","saudi_arabia","senegal","serbia","seychelles","sierra_leone","singapore","sint_maarten","slovakia","slovenia","solomon_islands","somalia","south_africa","south_georgia_south_sandwich_islands","kr","south_sudan","es","sri_lanka","sudan","suriname","swaziland","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","timor_leste","togo","tokelau","tonga","trinidad_tobago","tunisia","tr","turkmenistan","turks_caicos_islands","tuvalu","uganda","ukraine","united_arab_emirates","uk","england","scotland","wales","us","us_virgin_islands","uruguay","uzbekistan","vanuatu","vatican_city","venezuela","vietnam","wallis_futuna","western_sahara","yemen","zambia","zimbabwe"]})),fitzpatrick_scale_modifiers:["🏻","🏼","🏽","🏾","🏿"]};LN.lib,LN.ordered,LN.fitzpatrick_scale_modifiers;var RN="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};var jN=function(e,t){var r,n=0;if(Array.isArray(e))for(;n<e.length&&!1!==t(e[n],n,e);++n);else if("object"===(void 0===e?"undefined":RN(e))&&null!==e)for(r=Object.keys(e);n<r.length&&!1!==t(e[r[n]],r[n],e);++n);};var PN,BN=function(e,n,t){var o=!0===t?{}:t||e;return jN(e,function(e,t,r){o[t]=n(e,t,r)}),o},FN=Zs(function(e){var t=LN,e=e.exports={};e.emoji=BN(t.lib,function(e){return e.char},!0),jN(e.emoji,function(e,t,r){return!e&&delete r[t]||!0}),e.get=function(e){return":"===e.charAt(0)&&(e=e.slice(1,-1)),this.emoji[e]}}),UN={},VN=(PN={},$.each(LN.lib,function(e,t){PN[t.char]=e,UN[e]=t.char}),PN),HN=Object.keys(Vd).reduce(function(t,r){return Array.isArray(Vd[r])?Vd[r].forEach(function(e){t[e]=r}):t[Vd[r]]=r,t},{}),WN=function(e){return String(HN[e])},GN=function(e){return FN.get(e)},ZN=function(e,r){r=void 0!==r?r:VN[e],r=String(r);var t=humhub.config.get("ui.richtext.prosemirror","emoji").twemoji||{};t.attributes=function(e,t){return{"data-name":r,style:"width:16px"}};t=Id.parse(e,t);if(t&&t.length){try{return $(t)}catch(e){console.error(e)}return""}},KN=void 0,JN=function(e){return KN||(KN={},LN.ordered.forEach(function(e){var t=LN.lib[e];t.name=String(e),KN[t.category]=KN[t.category]||[],KN[t.category].push(t)})),KN[e]},_a="👩❤️💋👨",ka="👨❤️💋👨",xa="👩❤️💋👩",za="👨👩👧👦",Ca="👨👩👦👦",Aa="👨👩👧👧",Sa="👨👨👧👦",Ea="👨👨👦👦",Vs="👨👨👧👧",cc="👩👩👧👦",lc="👩👩👦👦",ec="👩👩👧👧",nc="🏴",Yc="🏴",pl="🏴",YN=function(e,t){return e[t].content},XN=function(e,l,u,c,d){var p=e.utils.arrayReplaceAt,e=e.utils.lib.ucmicro,h=new RegExp([e.Z.source,e.P.source,e.Cc.source].join("|"));return function(e){for(var t,r,n,o=e.tokens,i=0,a=0,s=o.length;a<s;a++)if("inline"===o[a].type)for(t=(r=o[a].children).length-1;0<=t;t--)"link_open"!==(n=r[t]).type&&"link_close"!==n.type||"auto"===n.info&&(i-=n.nesting),"text"===n.type&&0===i&&c.test(n.content)&&(o[a].children=r=p(r,t,function(o,i){var a,s=0,c=[];return o.replace(d,function(e,t,r){var n;if(u.hasOwnProperty(e)){if(n=u[e],0<t&&!h.test(r[t-1]))return;if(t+e.length<r.length&&!h.test(r[t+e.length]))return}else n=e.slice(1,-1);s<t&&((a=new i("text","",0)).content=o.slice(s,t),c.push(a)),(a=new i("emoji","",0)).markup=n,a.content=l[n],c.push(a),s=t+e.length}),s<o.length&&((a=new i("text","",0)).content=o.slice(s),c.push(a)),c}(n.content,(n.level,e.Token))))}};function QN(e,t){var r={defs:rO,shortcuts:Vd,enabled:[]},t=e.utils.assign({},r,t||{});!function(e,t){t=tO(e.utils.assign({},{defs:{},shortcuts:{},enabled:[]},t||{}));e.renderer.rules.emoji=YN,e.core.ruler.push("emoji",XN(e,t.defs,t.shortcuts,t.scanRE,t.replaceRE))}(e,t)}function eO(e,t){var r=this;this.state=e,this.provider=t.provider,this.provider.event.on("closed",function(){var e;r.active&&(e=r.state.schema.marks.emojiQuery,r.view.dispatch(r.state.tr.removeMark(0,r.state.doc.nodeSize-2,e)))}).on("focus",function(){r.view.focus()}),this.reset()}var tO=function(n){var o=n.defs;n.enabled.length&&(o=Object.keys(o).reduce(function(e,t){return 0<=n.enabled.indexOf(t)&&(e[t]=o[t]),e},{}));var e=Object.keys(n.shortcuts).reduce(function(t,r){return o[r]&&(Array.isArray(n.shortcuts[r])?n.shortcuts[r].forEach(function(e){t[e]=r}):t[n.shortcuts[r]]=r),t},{}),t=Object.keys(o),r=0===t.length?"^$":t.map(function(e){return":"+e+":"}).concat(Object.keys(e)).sort().reverse().map(function(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}).join("|"),t=RegExp(r),r=RegExp(r,"g");return{defs:o,shortcuts:e,scanRE:t,replaceRE:r}},rO=Ks(Object.freeze({__proto__:null,grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️",thumbsup:"👍",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",red_haired_man:"👨🦰",curly_haired_man:"👨🦱",white_haired_man:"👨🦳",bald_man:"👨🦲",woman:"👩",red_haired_woman:"👩🦰",person_red_hair:"🧑🦰",curly_haired_woman:"👩🦱",person_curly_hair:"🧑🦱",white_haired_woman:"👩🦳",person_white_hair:"🧑🦳",bald_woman:"👩🦲",person_bald:"🧑🦲",blond_haired_woman:"👱♀️",blonde_woman:"👱♀️",blond_haired_man:"👱♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍♂️",frowning_woman:"🙍♀️",pouting_face:"🙎",pouting_man:"🙎♂️",pouting_woman:"🙎♀️",no_good:"🙅",no_good_man:"🙅♂️",ng_man:"🙅♂️",no_good_woman:"🙅♀️",ng_woman:"🙅♀️",ok_person:"🙆",ok_man:"🙆♂️",ok_woman:"🙆♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁♂️",sassy_man:"💁♂️",tipping_hand_woman:"💁♀️",sassy_woman:"💁♀️",raising_hand:"🙋",raising_hand_man:"🙋♂️",raising_hand_woman:"🙋♀️",deaf_person:"🧏",deaf_man:"🧏♂️",deaf_woman:"🧏♀️",bow:"🙇",bowing_man:"🙇♂️",bowing_woman:"🙇♀️",facepalm:"🤦",man_facepalming:"🤦♂️",woman_facepalming:"🤦♀️",shrug:"🤷",man_shrugging:"🤷♂️",woman_shrugging:"🤷♀️",health_worker:"🧑⚕️",man_health_worker:"👨⚕️",woman_health_worker:"👩⚕️",student:"🧑🎓",man_student:"👨🎓",woman_student:"👩🎓",teacher:"🧑🏫",man_teacher:"👨🏫",woman_teacher:"👩🏫",judge:"🧑⚖️",man_judge:"👨⚖️",woman_judge:"👩⚖️",farmer:"🧑🌾",man_farmer:"👨🌾",woman_farmer:"👩🌾",cook:"🧑🍳",man_cook:"👨🍳",woman_cook:"👩🍳",mechanic:"🧑🔧",man_mechanic:"👨🔧",woman_mechanic:"👩🔧",factory_worker:"🧑🏭",man_factory_worker:"👨🏭",woman_factory_worker:"👩🏭",office_worker:"🧑💼",man_office_worker:"👨💼",woman_office_worker:"👩💼",scientist:"🧑🔬",man_scientist:"👨🔬",woman_scientist:"👩🔬",technologist:"🧑💻",man_technologist:"👨💻",woman_technologist:"👩💻",singer:"🧑🎤",man_singer:"👨🎤",woman_singer:"👩🎤",artist:"🧑🎨",man_artist:"👨🎨",woman_artist:"👩🎨",pilot:"🧑✈️",man_pilot:"👨✈️",woman_pilot:"👩✈️",astronaut:"🧑🚀",man_astronaut:"👨🚀",woman_astronaut:"👩🚀",firefighter:"🧑🚒",man_firefighter:"👨🚒",woman_firefighter:"👩🚒",police_officer:"👮",cop:"👮",policeman:"👮♂️",policewoman:"👮♀️",detective:"🕵️",male_detective:"🕵️♂️",female_detective:"🕵️♀️",guard:"💂",guardsman:"💂♂️",guardswoman:"💂♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷♂️",construction_worker_woman:"👷♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳♂️",woman_with_turban:"👳♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵♂️",woman_in_tuxedo:"🤵♀️",person_with_veil:"👰",man_with_veil:"👰♂️",woman_with_veil:"👰♀️",bride_with_veil:"👰♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩🍼",man_feeding_baby:"👨🍼",person_feeding_baby:"🧑🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑🎄",superhero:"🦸",superhero_man:"🦸♂️",superhero_woman:"🦸♀️",supervillain:"🦹",supervillain_man:"🦹♂️",supervillain_woman:"🦹♀️",mage:"🧙",mage_man:"🧙♂️",mage_woman:"🧙♀️",fairy:"🧚",fairy_man:"🧚♂️",fairy_woman:"🧚♀️",vampire:"🧛",vampire_man:"🧛♂️",vampire_woman:"🧛♀️",merperson:"🧜",merman:"🧜♂️",mermaid:"🧜♀️",elf:"🧝",elf_man:"🧝♂️",elf_woman:"🧝♀️",genie:"🧞",genie_man:"🧞♂️",genie_woman:"🧞♀️",zombie:"🧟",zombie_man:"🧟♂️",zombie_woman:"🧟♀️",massage:"💆",massage_man:"💆♂️",massage_woman:"💆♀️",haircut:"💇",haircut_man:"💇♂️",haircut_woman:"💇♀️",walking:"🚶",walking_man:"🚶♂️",walking_woman:"🚶♀️",standing_person:"🧍",standing_man:"🧍♂️",standing_woman:"🧍♀️",kneeling_person:"🧎",kneeling_man:"🧎♂️",kneeling_woman:"🧎♀️",person_with_probing_cane:"🧑🦯",man_with_probing_cane:"👨🦯",woman_with_probing_cane:"👩🦯",person_in_motorized_wheelchair:"🧑🦼",man_in_motorized_wheelchair:"👨🦼",woman_in_motorized_wheelchair:"👩🦼",person_in_manual_wheelchair:"🧑🦽",man_in_manual_wheelchair:"👨🦽",woman_in_manual_wheelchair:"👩🦽",runner:"🏃",running:"🏃",running_man:"🏃♂️",running_woman:"🏃♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯♂️",dancing_women:"👯♀️",sauna_person:"🧖",sauna_man:"🧖♂️",sauna_woman:"🧖♀️",climbing:"🧗",climbing_man:"🧗♂️",climbing_woman:"🧗♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️♂️",golfing_woman:"🏌️♀️",surfer:"🏄",surfing_man:"🏄♂️",surfing_woman:"🏄♀️",rowboat:"🚣",rowing_man:"🚣♂️",rowing_woman:"🚣♀️",swimmer:"🏊",swimming_man:"🏊♂️",swimming_woman:"🏊♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️♂️",basketball_man:"⛹️♂️",bouncing_ball_woman:"⛹️♀️",basketball_woman:"⛹️♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️♂️",weight_lifting_woman:"🏋️♀️",bicyclist:"🚴",biking_man:"🚴♂️",biking_woman:"🚴♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵♂️",mountain_biking_woman:"🚵♀️",cartwheeling:"🤸",man_cartwheeling:"🤸♂️",woman_cartwheeling:"🤸♀️",wrestling:"🤼",men_wrestling:"🤼♂️",women_wrestling:"🤼♀️",water_polo:"🤽",man_playing_water_polo:"🤽♂️",woman_playing_water_polo:"🤽♀️",handball_person:"🤾",man_playing_handball:"🤾♂️",woman_playing_handball:"🤾♀️",juggling_person:"🤹",man_juggling:"🤹♂️",woman_juggling:"🤹♀️",lotus_position:"🧘",lotus_position_man:"🧘♂️",lotus_position_woman:"🧘♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑🤝🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:_a,couplekiss_man_man:ka,couplekiss_woman_woman:xa,couple_with_heart:"💑",couple_with_heart_woman_man:"👩❤️👨",couple_with_heart_man_man:"👨❤️👨",couple_with_heart_woman_woman:"👩❤️👩",family:"👪",family_man_woman_boy:"👨👩👦",family_man_woman_girl:"👨👩👧",family_man_woman_girl_boy:za,family_man_woman_boy_boy:Ca,family_man_woman_girl_girl:Aa,family_man_man_boy:"👨👨👦",family_man_man_girl:"👨👨👧",family_man_man_girl_boy:Sa,family_man_man_boy_boy:Ea,family_man_man_girl_girl:Vs,family_woman_woman_boy:"👩👩👦",family_woman_woman_girl:"👩👩👧",family_woman_woman_girl_boy:cc,family_woman_woman_boy_boy:lc,family_woman_woman_girl_girl:ec,family_man_boy:"👨👦",family_man_boy_boy:"👨👦👦",family_man_girl:"👨👧",family_man_girl_boy:"👨👧👦",family_man_girl_girl:"👨👧👧",family_woman_boy:"👩👦",family_woman_boy_boy:"👩👦👦",family_woman_girl:"👩👧",family_woman_girl_boy:"👩👧👦",family_woman_girl_girl:"👩👧👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",ideograph_advantage:"🉐",accept:"🉑",congratulations:"㊗️",secret:"㊙️",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️🌈",transgender_flag:"🏳️⚧️",pirate_flag:"🏴☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:nc,scotland:Yc,wales:pl,default:{100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",shushing_face:"🤫",thinking:"🤔",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",lying_face:"🤥",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",kiss:"💋",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart:"❤️",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",white_heart:"🤍",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",bomb:"💣",speech_balloon:"💬",eye_speech_bubble:"👁️🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",red_haired_man:"👨🦰",curly_haired_man:"👨🦱",white_haired_man:"👨🦳",bald_man:"👨🦲",woman:"👩",red_haired_woman:"👩🦰",person_red_hair:"🧑🦰",curly_haired_woman:"👩🦱",person_curly_hair:"🧑🦱",white_haired_woman:"👩🦳",person_white_hair:"🧑🦳",bald_woman:"👩🦲",person_bald:"🧑🦲",blond_haired_woman:"👱♀️",blonde_woman:"👱♀️",blond_haired_man:"👱♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍♂️",frowning_woman:"🙍♀️",pouting_face:"🙎",pouting_man:"🙎♂️",pouting_woman:"🙎♀️",no_good:"🙅",no_good_man:"🙅♂️",ng_man:"🙅♂️",no_good_woman:"🙅♀️",ng_woman:"🙅♀️",ok_person:"🙆",ok_man:"🙆♂️",ok_woman:"🙆♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁♂️",sassy_man:"💁♂️",tipping_hand_woman:"💁♀️",sassy_woman:"💁♀️",raising_hand:"🙋",raising_hand_man:"🙋♂️",raising_hand_woman:"🙋♀️",deaf_person:"🧏",deaf_man:"🧏♂️",deaf_woman:"🧏♀️",bow:"🙇",bowing_man:"🙇♂️",bowing_woman:"🙇♀️",facepalm:"🤦",man_facepalming:"🤦♂️",woman_facepalming:"🤦♀️",shrug:"🤷",man_shrugging:"🤷♂️",woman_shrugging:"🤷♀️",health_worker:"🧑⚕️",man_health_worker:"👨⚕️",woman_health_worker:"👩⚕️",student:"🧑🎓",man_student:"👨🎓",woman_student:"👩🎓",teacher:"🧑🏫",man_teacher:"👨🏫",woman_teacher:"👩🏫",judge:"🧑⚖️",man_judge:"👨⚖️",woman_judge:"👩⚖️",farmer:"🧑🌾",man_farmer:"👨🌾",woman_farmer:"👩🌾",cook:"🧑🍳",man_cook:"👨🍳",woman_cook:"👩🍳",mechanic:"🧑🔧",man_mechanic:"👨🔧",woman_mechanic:"👩🔧",factory_worker:"🧑🏭",man_factory_worker:"👨🏭",woman_factory_worker:"👩🏭",office_worker:"🧑💼",man_office_worker:"👨💼",woman_office_worker:"👩💼",scientist:"🧑🔬",man_scientist:"👨🔬",woman_scientist:"👩🔬",technologist:"🧑💻",man_technologist:"👨💻",woman_technologist:"👩💻",singer:"🧑🎤",man_singer:"👨🎤",woman_singer:"👩🎤",artist:"🧑🎨",man_artist:"👨🎨",woman_artist:"👩🎨",pilot:"🧑✈️",man_pilot:"👨✈️",woman_pilot:"👩✈️",astronaut:"🧑🚀",man_astronaut:"👨🚀",woman_astronaut:"👩🚀",firefighter:"🧑🚒",man_firefighter:"👨🚒",woman_firefighter:"👩🚒",police_officer:"👮",cop:"👮",policeman:"👮♂️",policewoman:"👮♀️",detective:"🕵️",male_detective:"🕵️♂️",female_detective:"🕵️♀️",guard:"💂",guardsman:"💂♂️",guardswoman:"💂♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷♂️",construction_worker_woman:"👷♀️",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳♂️",woman_with_turban:"👳♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵♂️",woman_in_tuxedo:"🤵♀️",person_with_veil:"👰",man_with_veil:"👰♂️",woman_with_veil:"👰♀️",bride_with_veil:"👰♀️",pregnant_woman:"🤰",breast_feeding:"🤱",woman_feeding_baby:"👩🍼",man_feeding_baby:"👨🍼",person_feeding_baby:"🧑🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑🎄",superhero:"🦸",superhero_man:"🦸♂️",superhero_woman:"🦸♀️",supervillain:"🦹",supervillain_man:"🦹♂️",supervillain_woman:"🦹♀️",mage:"🧙",mage_man:"🧙♂️",mage_woman:"🧙♀️",fairy:"🧚",fairy_man:"🧚♂️",fairy_woman:"🧚♀️",vampire:"🧛",vampire_man:"🧛♂️",vampire_woman:"🧛♀️",merperson:"🧜",merman:"🧜♂️",mermaid:"🧜♀️",elf:"🧝",elf_man:"🧝♂️",elf_woman:"🧝♀️",genie:"🧞",genie_man:"🧞♂️",genie_woman:"🧞♀️",zombie:"🧟",zombie_man:"🧟♂️",zombie_woman:"🧟♀️",massage:"💆",massage_man:"💆♂️",massage_woman:"💆♀️",haircut:"💇",haircut_man:"💇♂️",haircut_woman:"💇♀️",walking:"🚶",walking_man:"🚶♂️",walking_woman:"🚶♀️",standing_person:"🧍",standing_man:"🧍♂️",standing_woman:"🧍♀️",kneeling_person:"🧎",kneeling_man:"🧎♂️",kneeling_woman:"🧎♀️",person_with_probing_cane:"🧑🦯",man_with_probing_cane:"👨🦯",woman_with_probing_cane:"👩🦯",person_in_motorized_wheelchair:"🧑🦼",man_in_motorized_wheelchair:"👨🦼",woman_in_motorized_wheelchair:"👩🦼",person_in_manual_wheelchair:"🧑🦽",man_in_manual_wheelchair:"👨🦽",woman_in_manual_wheelchair:"👩🦽",runner:"🏃",running:"🏃",running_man:"🏃♂️",running_woman:"🏃♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯♂️",dancing_women:"👯♀️",sauna_person:"🧖",sauna_man:"🧖♂️",sauna_woman:"🧖♀️",climbing:"🧗",climbing_man:"🧗♂️",climbing_woman:"🧗♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️♂️",golfing_woman:"🏌️♀️",surfer:"🏄",surfing_man:"🏄♂️",surfing_woman:"🏄♀️",rowboat:"🚣",rowing_man:"🚣♂️",rowing_woman:"🚣♀️",swimmer:"🏊",swimming_man:"🏊♂️",swimming_woman:"🏊♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️♂️",basketball_man:"⛹️♂️",bouncing_ball_woman:"⛹️♀️",basketball_woman:"⛹️♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️♂️",weight_lifting_woman:"🏋️♀️",bicyclist:"🚴",biking_man:"🚴♂️",biking_woman:"🚴♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵♂️",mountain_biking_woman:"🚵♀️",cartwheeling:"🤸",man_cartwheeling:"🤸♂️",woman_cartwheeling:"🤸♀️",wrestling:"🤼",men_wrestling:"🤼♂️",women_wrestling:"🤼♀️",water_polo:"🤽",man_playing_water_polo:"🤽♂️",woman_playing_water_polo:"🤽♀️",handball_person:"🤾",man_playing_handball:"🤾♂️",woman_playing_handball:"🤾♀️",juggling_person:"🤹",man_juggling:"🤹♂️",woman_juggling:"🤹♀️",lotus_position:"🧘",lotus_position_man:"🧘♂️",lotus_position_woman:"🧘♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑🤝🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:_a,couplekiss_man_man:ka,couplekiss_woman_woman:xa,couple_with_heart:"💑",couple_with_heart_woman_man:"👩❤️👨",couple_with_heart_man_man:"👨❤️👨",couple_with_heart_woman_woman:"👩❤️👩",family:"👪",family_man_woman_boy:"👨👩👦",family_man_woman_girl:"👨👩👧",family_man_woman_girl_boy:za,family_man_woman_boy_boy:Ca,family_man_woman_girl_girl:Aa,family_man_man_boy:"👨👨👦",family_man_man_girl:"👨👨👧",family_man_man_girl_boy:Sa,family_man_man_boy_boy:Ea,family_man_man_girl_girl:Vs,family_woman_woman_boy:"👩👩👦",family_woman_woman_girl:"👩👩👧",family_woman_woman_girl_boy:cc,family_woman_woman_boy_boy:lc,family_woman_woman_girl_girl:ec,family_man_boy:"👨👦",family_man_boy_boy:"👨👦👦",family_man_girl:"👨👧",family_man_girl_boy:"👨👧👦",family_man_girl_girl:"👨👧👧",family_woman_boy:"👩👦",family_woman_boy_boy:"👩👦👦",family_woman_girl:"👩👧",family_woman_girl_boy:"👩👧👦",family_woman_girl_girl:"👩👧👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",mushroom:"🍄",peanuts:"🥜",chestnut:"🌰",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",nazar_amulet:"🧿",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",gun:"🔫",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",stethoscope:"🩺",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",moyai:"🗿",placard:"🪧",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",ideograph_advantage:"🉐",accept:"🉑",congratulations:"㊗️",secret:"㊙️",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️🌈",transgender_flag:"🏳️⚧️",pirate_flag:"🏴☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:nc,scotland:Yc,wales:pl}}));eO.prototype.findQueryNode=function(){return $(this.view.dom).find("[data-emoji-query]")},eO.prototype.update=function(e,t){this.view=t;var r=(this.state=e).schema.marks.emojiQuery,n=e.doc,o=e.selection,t=o.$from,e=o.from,o=o.to;if(this.active=n.rangeHasMark(e-1,o,r),!this.active)return this.reset();r=this.findQueryNode(),e=n.resolve(e-1);this.queryMark={start:e.path[e.path.length-1],end:o};t=t.nodeBefore;!t.text.length||1<t.text.length?this.provider.reset():(t=t.text.substr(1))!=this.query&&(this.query=t,this.provider.query(this,r[0]))},eO.prototype.reset=function(){this.active=!1,this.query=null,this.view&&this.provider.reset()},eO.prototype.addEmoji=function(e){var t=this.state.schema.nodes.emoji,r=this.state.schema.marks.emojiQuery,e=[t.create({"data-name":String(e.name),alt:e.alt,src:e.src},null)],e=this.state.tr.removeMark(0,this.state.doc.nodeSize-2,r).replaceWith(this.queryMark.start,this.queryMark.end,e);a4&&document.getSelection().empty(),this.view.dispatch(e),this.view.focus()};var nO=function(e){var t=this;this.provider=e,this.provider.event.on("focus",function(){t.view&&t.view.focus()}),this.reset()};nO.prototype.update=function(e,t,r){this.view=t,this.state=e,this.provider.query(this,r,!0)},nO.prototype.reset=function(){this.view&&(this.provider.reset(),this.view.focus())},nO.prototype.addEmoji=function(e){e=this.state.schema.nodes.emoji.create({"data-name":String(e.name),alt:e.alt,src:e.src},null),e=this.state.tr.replaceSelectionWith(e);this.view.dispatch(e),this.view.focus(),this.reset()};function oO(){if(aO)return aO;var e={"en-us":"us",en:"us","en-gb":"uk","pt-br":"portugal","fa-ir":"iran","zh-cn":"cn","zh-tw":"cn",ja:"jp",ko:"kr",ar:"united_arab_emirates",uk:"ukraine",ru:"ru",vi:"vietnam",sv:"sweden","nb-no":"norway",it:"it",fr:"fr",es:"es",de:"de",da:"denmark",cs:"czech_republic",ca:"es",an:"es"},r="🇩🇪";try{var n=humhub.require("user").getLocale().toLowerCase();if(e[n])return GN(e[n]);$.each(JN("flags"),function(e,t){if(t&&t.keywords&&0<=t.keywords.indexOf(n))return r=t.char,!1})}catch(e){console.error("Error while determining user flag in emoji chooser "),console.error(e)}return aO=r}function iO(e){this.provider=e,this.categoryOrder=["people","animals_and_nature","food_and_drink","activity","travel_and_places","objects","symbols","flags","search"],this.categories={people:{$icon:ZN("😀")},animals_and_nature:{$icon:ZN("🐻")},food_and_drink:{$icon:ZN("🎂")},activity:{$icon:ZN("⚽")},travel_and_places:{$icon:ZN("✈️")},objects:{$icon:ZN("🖥")},symbols:{$icon:ZN("❤️")},flags:{$icon:ZN(oO())},search:{$icon:ZN("🔍")}}}var aO=void 0,sO=void 0;iO.prototype.update=function(e,t){var r=(this.provider=e).$node.offset();this.$||(this.initDom(),this.initCategory(this.categoryOrder[0])),(humhub.require("ui.view").isSmall()?this.$.css({top:5,position:"fixed",left:0,right:0,margin:"auto"}):this.$.css({top:r.top+e.$node.outerHeight()-5,left:r.left})).show(),t&&this.$.find(".humhub-emoji-chooser-search").focus()},iO.prototype.initDom=function(){var r=this;this.$=$('<div class="atwho-view humhub-richtext-provider humhub-emoji-chooser"><div><input type="text" class="form-control humhub-emoji-chooser-search"></div></div>').hide().appendTo($("body")).on("hidden",function(){r.provider&&r.provider.reset()}),this.$.find(".humhub-emoji-chooser-search").on("keydown",function(e){switch(e.which){case 9:e.preventDefault(),r.nextCategory();break;case 27:r.provider.reset();break;case 13:e.preventDefault(),r.provider.select();break;case 37:r.prev();break;case 38:r.up();break;case 39:r.next();break;case 40:r.down()}}).on("keyup",function(e){var t=e.keyCode||e.which;229!==t&&8!==t&&!/[a-z0-9\d]/i.test(String.fromCharCode(t))||((e=$(this).val()).length||!r.lastActiveCategory?("search"!==(t=r.getActiveCategoryMenuItem().attr("data-emoji-nav-item"))&&(r.lastActiveCategory=t),r.updateSearch(e)):r.openCategory(r.lastActiveCategory))}),this.initNav()},iO.prototype.initNav=function(){var n=this,o=$('<div class="emoji-nav">').appendTo(this.$);this.categoryOrder.forEach(function(e,t){var r=n.categories[e],r=$('<span class="emoji-nav-item" title="'+n.translate(e)+'">').attr("data-emoji-nav-item",e).append(r.$icon).on("click",function(){n.openCategory(e),n.provider.event.trigger("focus")});0===t&&r.addClass("cur"),o.append(r)}),o.find('[data-emoji-nav-item="search"]').hide()},iO.prototype.clearSearch=function(){this.$.find('[data-emoji-nav-item="search"]').hide(),this.$.find(".humhub-emoji-chooser-search").val("")},iO.prototype.updateSearch=function(n){this.$.find('[data-emoji-nav-item="search"]').show();var o=[],i=n.length;this.categoryOrder.forEach(function(e,t){$.each(JN(e),function(e,r){r&&r.keywords&&$.each(r.keywords,function(e,t){if(i<3){if(0===t.lastIndexOf(n,0))return o.push(r),!1}else if(t.includes(n))return o.push(r),!1})})}),this.openCategory("search"),this.setCategoryItems("search",o)},iO.prototype.openCategory=function(e){this.categories[e],this.$.find('[data-emoji-category="'+e+'"]').length||this.initCategory(e),"search"!==e&&this.clearSearch(),this.$.find("[data-emoji-nav-item]").removeClass("cur"),this.$.find('[data-emoji-nav-item="'+e+'"]').addClass("cur"),this.$.find("[data-emoji-category]").hide(),this.$.find('[data-emoji-category="'+e+'"]').show()},iO.prototype.initCategory=function(e){var t=this,r=$("<div>").attr("data-emoji-category",e).on("click",".atwho-emoji-entry",function(){t.getSelectionNode().removeClass("cur"),$(this).addClass("cur"),t.provider.select()}).prependTo(this.$);$('<ul class="atwo-view-ul humhub-emoji-chooser-item-list">').appendTo(r),this.categories[e].$=r,this.setCategoryItems(e)},iO.prototype.setCategoryItems=function(r,e){e=(e=!e&&"search"!==r?JN(r):e)||[];var n=this.categories[r].$.find(".humhub-emoji-chooser-item-list").empty();e.forEach(function(e){var t=$('<li class="atwho-emoji-entry">').append(ZN(e.char,e.name));"flags"===r&&e.char===oO()?n.prepend(t):n.append(t)}),n.children().first().addClass("cur")},iO.prototype.reset=function(){this.provder=void 0,this.$.remove(),this.$=void 0},iO.prototype.getSelection=function(){var e=this.getSelectionNode().find("img");return{name:e.data("name"),alt:e.attr("alt"),src:e.attr("src")}},iO.prototype.translate=function(e){return this.provider.context.translate(e)},iO.prototype.getSelectionNode=function(){return this.getActiveCategoryTab().find(".cur")},iO.prototype.getActiveCategoryTab=function(){return this.$.find("[data-emoji-category]:visible")},iO.prototype.getActiveCategoryMenuItem=function(){return this.$.find("[data-emoji-nav-item].cur")},iO.prototype.nextCategory=function(){var e=this.getActiveCategoryMenuItem().next('[data-emoji-nav-item]:not([data-emoji-nav-item="search"])');e.length||(e=this.$.find("[data-emoji-nav-item]:first")),this.openCategory(e.attr("data-emoji-nav-item"))},iO.prototype.prev=function(){var e=this.getSelectionNode(),t=e.prev();t.length&&(t.addClass("cur"),e.removeClass("cur"),this.alignScroll())},iO.prototype.next=function(){var e=this.getSelectionNode(),t=e.next();t.length&&(t.addClass("cur"),e.removeClass("cur"),this.alignScroll())},iO.prototype.up=function(){for(var e=this.getSelectionNode(),t=e.position(),r=e.prev();r.length;r=r.prev()){var n=r.position();if(n.top<t.top&&n.left===t.left)return r.addClass("cur"),e.removeClass("cur"),void this.alignScroll()}},iO.prototype.down=function(){for(var e=this.getSelectionNode(),t=e.position(),r=e.next();r.length;r=r.next()){var n=r.position();if(n.top>t.top&&n.left===t.left)return r.addClass("cur"),e.removeClass("cur"),void this.alignScroll()}var o=this.getActiveCategoryTab().find(".atwho-emoji-entry:last");o.position().top!==t.top&&(o.addClass("cur"),e.removeClass("cur"),this.alignScroll())},iO.prototype.alignScroll=function(){var e=this.getSelectionNode(),t=this.getActiveCategoryTab(),r=t.scrollTop(),n=r+t.height(),o=e[0].offsetTop,i=o+e.height();(n<o||o<r||n<i||i<r)&&(t[0].scrollTop=e[0].offsetTop)};var cO=function(e){this.event=$({}),this.context=e};function lO(e){return e.options.emoji&&e.options.emoji.provider?e.options.emoji.provider:new cO(e)}cO.prototype.query=function(e,t,r){this.state=e,this.$node=$(t),this.update(r)},cO.prototype.reset=function(e,t){this.$node&&(this.$node=void 0,this.getChooser().reset(),this.event.trigger("closed"))},cO.prototype.next=function(){this.getChooser().next()},cO.prototype.prev=function(){this.getChooser().prev()},cO.prototype.down=function(){this.getChooser().down()},cO.prototype.up=function(){this.getChooser().up()},cO.prototype.select=function(){this.state.addEmoji(this.getChooser().getSelection())},cO.prototype.update=function(e){this.getChooser().update(this,e)},cO.prototype.getChooser=function(){return sO=sO||new iO(this)};function uO(r){return new mt({props:{transformPastedText:function(e){return(e=Id.parse(e,r.getPluginOption("emoji","twemoji"))).replace(/\<img class="emoji"[^\\\>]* alt=\"([^\"]*)\"[^\\\>]*\/>/g,function(e,t){return":"+String(VN[t])+":"})}},state:{init:function(e,t){return new eO(t,{provider:lO(r)})},apply:function(e,t,r,n){return t}},key:pO,view:function(e){var r=pO.getState(e.state);return{update:function(e,t){r.update(e.state,e)},destroy:function(){}}}})}function dO(e,t,r){void 0===t&&(t=0),this.node=e,this.pos=t,this.children=[],this.content=new hO(this)}var pO=new _t("emoji");dO.prototype.push=function(e){this.hasChild(e.pos)||this.children.push(e)},dO.prototype.hasChild=function(e){for(var t=0;t<this.children.length;t++)if(this.children[t].pos===e)return!0},dO.prototype.removeMark=function(e){e=this.getMark(e),e=this.node.marks.indexOf(e);-1<e&&this.node.marks.splice(e,1)},dO.prototype.hasMark=function(e){return null!=this.getMark(e)},dO.prototype.getMark=function(t){var r=null;return t instanceof Z&&(t=t.name),this.node.marks.forEach(function(e){e.type.name===t&&(r=e)}),r},dO.prototype.isPlain=function(){return!this.node.marks.length},dO.prototype.addMarks=function(e){var t=this;e&&e.length&&e.forEach(function(e){t.node.marks=e.addToSet(t.node.marks)})},dO.prototype.nodesBetween=function(e,t,i,r,n){this.content.nodesBetween(e=void 0===e?0:e,t,function(e,t,r,n,o){i(e,t,r,n,o)},r=void 0===r?0:r,this.node,n=void 0===n?1:n)},dO.prototype.start=function(){return this.pos},dO.prototype.end=function(){return this.pos+this.node.nodeSize};var hO=function(e){this.nodePos=e,this.fragment=e.node.content,this.size=this.fragment.size,this.content=this.fragment.content};hO.prototype.nodesBetween=function(e,t,r,n,o,i){void 0===n&&(n=0);for(var a=0,s=0;s<t;a++){var c,l=this.content[a],u=s+l.nodeSize;e<u&&!1!==r(l,n+s,o,a,i)&&l.content.size&&new dO(l,c=s+1).nodesBetween(Math.max(0,e-c),Math.min(l.content.size,t-c),r,n+c,i+1),s=u}};var fO=function(e,t){if(void 0===t&&(t=0),!(this instanceof fO))return new fO(e,t);this.tree=[],this.flat=[],this.filters=[],this.findFlag=!1,e&&this.push(new dO(e,t))};fO.prototype.push=function(e,t){this._hasNodePos(e.pos)||(this.flat.push(e),(t||this.tree).push(e))},fO.prototype.find=function(e){return this.filters=[],e?this.type(e,!1):(this.findFlag=!0,this)},fO.prototype._hasNodePos=function(e){for(var t=0;t<this.flat.length;t++)if(this.flat[t].pos===e)return!0},fO.prototype.size=function(){return this.flat.length},fO.prototype.type=function(t,e){function n(e,t){var r=!1;return Array.isArray(t)?t.forEach(function(e){n(e)&&(r=!0)}):t instanceof V?r=e.type===t:"string"==typeof t&&(r=e.type.name===t),r}return this.where(function(e){return n(e,t)},e)},fO.prototype.between=function(r,n){return this.where(function(e,t){t=e.resolve(t);return r<=t.start&&n>=t.end})},fO.prototype.from=function(r){return this.where(function(e,t){return r<=e.resolve(t).start})},fO.prototype.to=function(e,r){return this.where(function(e,t){return r>=e.resolve(t).end})},fO.prototype.mark=function(t,r){t||this.where(function(e){return!e.marks.length});var o=function(t,r,e){var n=!1;return Array.isArray(e)?(n=!0,e.forEach(function(e){n=n&&o(t,r,e)})):n=_O(t,e),n};return this.where(function(e){return o(e,r,t)})},fO.prototype.markup=function(t,r,n){return this.where(function(e){return e.hasMarkup(t,r,n)})},fO.prototype.text=function(t){return this.where(function(e){return e.isText&&(!t||e.text===t)})},fO.prototype.contains=function(t){return this.where(function(e){return 0<=e.textContent.indexOf(t)})},fO.prototype.textBlock=function(){return this.where(function(e){return e.isTextblock})},fO.prototype.block=function(){return this.where(function(e){return e.isBlock})},fO.prototype.inline=function(){return this.where(function(e){return e.isInline})},fO.prototype.leaf=function(){return this.where(function(e){return e.isLeaf})},fO.prototype.canAppend=function(e){return this.where(function(e){return e.canAppend(e)})},fO.prototype.sameMarkup=function(e){return this.where(function(e){return e.sameMarkup(e)})},fO.prototype.not=function(){return this.notFlag=!0,this},fO.prototype.delete=function(e){var t=e.state.tr;this.tree.reverse().forEach(function(e){t=t.delete(e.start(),e.end())}),e.dispatch(t)},fO.prototype.get=function(e){return this.tree[e]},fO.prototype.append=function(t,e){var r=e.state.tr,n=e.state.doc;this.flat.reverse().forEach(function(e){r=r.setSelection(new Qe(n.resolve(e.end()))).replaceSelectionWith(t)}),e.dispatch(r)},fO.prototype.replaceWith=function(t,e,r){void 0===r&&(r=!0);var n=e.state.tr,o=e.state.doc;this.flat.reverse().forEach(function(e){n=n.setSelection(new Qe(o.resolve(e.start()),o.resolve(e.end()))).replaceSelectionWith(t)}),r&&e.dispatch(n)},fO.prototype.removeMark=function(t,e){var r=e.tr,n=e.doc;this.flat.forEach(function(e){e.removeMark(t),r=r.setSelection(new Qe(n.resolve(e.start())),n.resolve(e.end())).replaceSelectionWith(e.node,!1)})},fO.prototype.getMark=function(e){if(this.flat.length)return this.flat[0].getMark(e)},fO.prototype.where=function(o,r){var s=this;void 0===r&&(r=!0);var e=this.notFlag?function(e,t,r,n){return!o(e,t,r,n)}:o;this.filters.push(e);var c=new fO;return c.filters=this.filters,this.tree.forEach(function(e){var i=[];!s.findFlag&&r&&yO(s.filters,e.node,e.pos)&&(i[0]=new dO(e.node,e.pos),c.push(i[0]));var a=1,t="doc"===e.node.type.name?0:e.pos+1;e.nodesBetween(0,e.content.size,function(e,t,r,n,o){o<=a&&(i=mO(i,o)),yO(s.filters,e,t,r)&&(t=new dO(e,t),c.push(t,gO(i,o)),i[o]=t),a=o},t)}),this.notFlag=!1,this.findFlag=!1,c};var mO=function(r,n){var o=[];return r.forEach(function(e,t){o[t]=n<=t?null:r[t]}),o},gO=function(e,t){for(var r=t-1;0<=r;r--)if(e[r])return e[r]},yO=function(e,t,r,n,o){for(var i=0;i<e.length;i++)if(!e[i](t,r,n,o))return!1;return!0},_O=function(e,t){var r=!1;return!!e&&(e.marks.forEach(function(e){(t instanceof p&&e.eq(t)||t instanceof Z&&(e.type.name===t.name||e.eq(t))||"string"==typeof t&&e.type.name===t)&&(r=!0)}),r)};function bO(e){return new eo(wO,function(e,t,r,n){if(t.index!==t.input.length-t[0].length)return!1;var o=function(e){e={name:WN(e)};return e.name&&(e.emoji=GN(e.name)),e.emoji&&(e.$dom=ZN(e.emoji)),e}(t[1]);if(o.name&&o.emoji&&o.$dom){o=e.schema.nodes.emoji.create({"data-name":o.name,alt:o.$dom.attr("alt"),src:o.$dom.attr("src")});return r+=t[0].length-t[1].length,e.tr.delete(r,n).replaceSelectionWith(o,!1)}return!1})}var hl=Object.keys(HN).sort().reverse().map(function(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}).join("|"),wO=new RegExp("(?:^|\\ )("+hl+")$");function kO(e){return[{id:"insertEmoji",node:"emoji",item:new ji({title:(o=e).translate("Insert Emoji"),icon:Ki.emoji,sortOrder:350,enable:function(e){return ra(e,o.schema.nodes.image)&&na(e)},run:function(e,t,r,n){$(".humhub-richtext-provider:visible").length||setTimeout(function(){new nO(lO(o)).update(e,r,n.target)},50)}})}];var o}var ml={id:"emoji",schema:Ud,menu:kO,inputRules:function(e){return[bO(),(a=e,new eo(new RegExp("(^|\\ +)(:$)"),function(e,t,r,n){if(!(humhub&&humhub.modules&&humhub.modules.ui&&humhub.modules.ui.view&&humhub.modules.ui.view.isSmall())){var o=a.mark("emojiQuery"),i=a.text(":",[o]);if(!_O(e.selection.$anchor.nodeBefore,o))return r+=t[0].length-1,e.tr.removeMark(0,e.doc.nodeSize-2,o).setSelection(Qe.create(e.doc,r,n)).replaceSelectionWith(i,!1)}}))];var a},keymap:function(e){return{ArrowLeft:function(e,t){e=pO.getState(e);return!!e.active&&(e.provider.prev(),!0)},ArrowDown:function(e,t){e=pO.getState(e);return!!e.active&&(e.provider.down(),!0)},ArrowRight:function(e,t){e=pO.getState(e);return!(!e||!e.active)&&(e.provider.next(),!0)},Tab:function(e,t){e=pO.getState(e);return!(!e||!e.active)&&(e.provider.getChooser().nextCategory(),!0)},ArrowUp:function(e,t){e=pO.getState(e);return!(!e||!e.active)&&(e.provider.up(),!0)},Enter:function(e,t){e=pO.getState(e);return!(!e||!e.active)&&(e.provider.select(),!0)},Escape:function(e,t){e=pO.getState(e);return!(!e||!e.active)&&(e.provider.reset(),!0)}}},plugins:function(e){return[uO(e)]},registerMarkdownIt:function(e){e.use(QN,{defs:UN}),e.renderer.rules.emoji=function(e,t){var r=e[t],t=humhub.config.get("ui.richtext.prosemirror","emoji").twemoji||{};return t.attributes=function(e,t){return{"data-name":r.markup}},Id.parse(r.content,t)}}},vO=Ks(Object.freeze({__proto__:null,Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:"",default:{Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}})),xO=Zs(function(e,t){var r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){return!(55296<=e&&e<=57343)&&(!(64976<=e&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(0<=e&&e<=8)&&(11!==e&&(!(14<=e&&e<=31)&&(!(127<=e&&e<=159)&&!(1114111<e)))))))}function a(e){return 65535<e?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):String.fromCharCode(e)}var n=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,s=new RegExp(n.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var l=/[&<>"]/,u=/[&<>"]/g,d={"&":"&","<":"<",">":">",'"':"""};function p(e){return d[e]}var h=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=gc,t.lib.ucmicro=wc,t.assign=function(r){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(e){r[e]=t[e]})}}),r},t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(n,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(s,function(e,t,r){return t||(e=e,o(vO,r=r)?vO[r]:35===r.charCodeAt(0)&&c.test(r)&&i(n="x"===r[1].toLowerCase()?parseInt(r.slice(2),16):parseInt(r.slice(1),10))?a(n):e);var n})},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return l.test(e)?e.replace(u,p):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(8192<=e&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return Ys.test(e)},t.escapeRE=function(e){return e.replace(h,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),(e="Ṿ"==="ẞ".toLowerCase()?e.replace(/ẞ/g,"ß"):e).toLowerCase().toUpperCase()}});xO.lib,xO.assign,xO.isString,xO.has,xO.unescapeMd,xO.unescapeAll,xO.isValidEntityCode,xO.fromCodePoint,xO.escapeHtml,xO.arrayReplaceAt,xO.isSpace,xO.isWhiteSpace,xO.isMdAsciiPunct,xO.isPunctChar,xO.escapeRE,xO.normalizeReference;var zO=xO.unescapeAll,CO=xO.unescapeAll,SO={parseLinkLabel:function(e,t,r){var n,o,i,a,s=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos<c;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--n){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)n++;else if(r)return e.pos=l,-1}return o&&(s=e.pos),e.pos=l,s},parseLinkDestination:function(e,t,r){var n,o,i=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<r;){if(10===(n=e.charCodeAt(t)))return a;if(60===n)return a;if(62===n)return a.pos=t+1,a.str=zO(e.slice(i+1,t)),a.ok=!0,a;92===n&&t+1<r?t+=2:t++}return a}for(o=0;t<r&&32!==(n=e.charCodeAt(t))&&!(n<32||127===n);)if(92===n&&t+1<r){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===n&&32<++o)return a;if(41===n){if(0===o)break;o--}t++}return i===t||0!==o||(a.str=zO(e.slice(i,t)),a.lines=0,a.pos=t,a.ok=!0),a},parseLinkTitle:function(e,t,r){var n,o,i=0,a=t,s={ok:!1,pos:0,lines:0,str:""};if(r<=t)return s;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return s;for(t++,40===o&&(o=41);t<r;){if((n=e.charCodeAt(t))===o)return s.pos=t+1,s.lines=i,s.str=CO(e.slice(a+1,t)),s.ok=!0,s;if(40===n&&41===o)return s;10===n?i++:92===n&&t+1<r&&(t++,10===e.charCodeAt(t)&&i++),t++}return s}},EO=xO.assign,AO=xO.unescapeAll,qO=xO.escapeHtml,MO={};function DO(){this.rules=EO({},MO)}MO.code_inline=function(e,t,r,n,o){var i=e[t];return"<code"+o.renderAttrs(i)+">"+qO(e[t].content)+"</code>"},MO.code_block=function(e,t,r,n,o){var i=e[t];return"<pre"+o.renderAttrs(i)+"><code>"+qO(e[t].content)+"</code></pre>\n"},MO.fence=function(e,t,r,n,o){var i,a=e[t],s=a.info?AO(a.info).trim():"",e="",t="";return s&&(e=(i=s.split(/(\s+)/g))[0],t=i.slice(2).join("")),0===(i=r.highlight&&r.highlight(a.content,e,t)||qO(a.content)).indexOf("<pre")?i+"\n":s?(t=a.attrIndex("class"),s=a.attrs?a.attrs.slice():[],t<0?s.push(["class",r.langPrefix+e]):(s[t]=s[t].slice(),s[t][1]+=" "+r.langPrefix+e),"<pre><code"+o.renderAttrs({attrs:s})+">"+i+"</code></pre>\n"):"<pre><code"+o.renderAttrs(a)+">"+i+"</code></pre>\n"},MO.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},MO.hardbreak=function(e,t,r){return r.xhtmlOut?"<br />\n":"<br>\n"},MO.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"<br />\n":"<br>\n":"\n"},MO.text=function(e,t){return qO(e[t].content)},MO.html_block=function(e,t){return e[t].content},MO.html_inline=function(e,t){return e[t].content},DO.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t<r;t++)n+=" "+qO(e.attrs[t][0])+'="'+qO(e.attrs[t][1])+'"';return n},DO.prototype.renderToken=function(e,t,r){var n="",o=!1,i=e[t];return i.hidden?"":(i.block&&-1!==i.nesting&&t&&e[t-1].hidden&&(n+="\n"),n+=(-1===i.nesting?"</":"<")+i.tag,n+=this.renderAttrs(i),0===i.nesting&&r.xhtmlOut&&(n+=" /"),i.block&&(o=!0,1===i.nesting&&t+1<e.length&&("inline"===(t=e[t+1]).type||t.hidden||-1===t.nesting&&t.tag===i.tag)&&(o=!1)),n+=o?">\n":">")},DO.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)void 0!==i[n=e[a].type]?o+=i[n](e,a,t,r,this):o+=this.renderToken(e,a,t);return o},DO.prototype.renderInlineAsText=function(e,t,r){for(var n="",o=0,i=e.length;o<i;o++)"text"===e[o].type?n+=e[o].content:"image"===e[o].type?n+=this.renderInlineAsText(e[o].children,t,r):"softbreak"===e[o].type&&(n+="\n");return n},DO.prototype.render=function(e,t,r){for(var n,o="",i=this.rules,a=0,s=e.length;a<s;a++)"inline"===(n=e[a].type)?o+=this.renderInline(e[a].children,t,r):void 0!==i[n]?o+=i[e[a].type](e,a,t,r,this):o+=this.renderToken(e,a,t,r);return o};var TO=DO;function NO(){this.__rules__=[],this.__cache__=null}NO.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},NO.prototype.__compile__=function(){var r=this,t=[""];r.__rules__.forEach(function(e){e.enabled&&e.alt.forEach(function(e){t.indexOf(e)<0&&t.push(e)})}),r.__cache__={},t.forEach(function(t){r.__cache__[t]=[],r.__rules__.forEach(function(e){e.enabled&&(t&&e.alt.indexOf(t)<0||r.__cache__[t].push(e.fn))})})},NO.prototype.at=function(e,t,r){var n=this.__find__(e),r=r||{};if(-1===n)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=r.alt||[],this.__cache__=null},NO.prototype.before=function(e,t,r,n){var o=this.__find__(e),n=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},NO.prototype.after=function(e,t,r,n){var o=this.__find__(e),n=n||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:r,alt:n.alt||[]}),this.__cache__=null},NO.prototype.push=function(e,t,r){this.__rules__.push({name:e,enabled:!0,fn:t,alt:(r||{}).alt||[]}),this.__cache__=null},NO.prototype.enable=function(e,r){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var t=this.__find__(e);if(t<0){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[t].enabled=!0,n.push(e)},this),this.__cache__=null,n},NO.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(e){e.enabled=!1}),this.enable(e,t)},NO.prototype.disable=function(e,r){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(e){var t=this.__find__(e);if(t<0){if(r)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[t].enabled=!1,n.push(e)},this),this.__cache__=null,n},NO.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]};var OO=NO,IO=/\r\n?|\n/g,$O=/\0/g,LO=xO.arrayReplaceAt;var RO=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,jO=/\((c|tm|r|p)\)/i,PO=/\((c|tm|r|p)\)/gi,BO={c:"©",r:"®",p:"§",tm:"™"};function FO(e,t){return BO[t.toLowerCase()]}var UO=xO.isWhiteSpace,VO=xO.isPunctChar,HO=xO.isMdAsciiPunct,WO=/['"]/,GO=/['"]/g,ZO="’";function KO(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function JO(e,t,r){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}JO.prototype.attrIndex=function(e){var t,r,n;if(!this.attrs)return-1;for(r=0,n=(t=this.attrs).length;r<n;r++)if(t[r][0]===e)return r;return-1},JO.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},JO.prototype.attrSet=function(e,t){var r=this.attrIndex(e),t=[e,t];r<0?this.attrPush(t):this.attrs[r]=t},JO.prototype.attrGet=function(e){var t=this.attrIndex(e),e=null;return e=0<=t?this.attrs[t][1]:e},JO.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var YO=JO;function XO(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}XO.prototype.Token=YO;var bl=XO,QO=[["normalize",function(e){var t=e.src.replace(IO,"\n");t=t.replace($O,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){for(var t,r=e.tokens,n=0,o=r.length;n<o;n++)"inline"===(t=r[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}],["linkify",function(e){var t,r,n,o,i,a,s,c,l,u,d,p,h,f,m,g,y=e.tokens;if(e.md.options.linkify)for(r=0,n=y.length;r<n;r++)if("inline"===y[r].type&&e.md.linkify.pretest(y[r].content))for(p=0,t=(o=y[r].children).length-1;0<=t;t--)if("link_close"!==(a=o[t]).type){if("html_inline"===a.type&&(/^<a[>\s]/i.test(a.content)&&0<p&&p--,/^<\/a\s*>/i.test(a.content)&&p++),!(0<p)&&"text"===a.type&&e.md.linkify.test(a.content)){for(l=a.content,g=e.md.linkify.match(l),s=[],d=a.level,c=u=0;c<g.length;c++)h=g[c].url,f=e.md.normalizeLink(h),e.md.validateLink(f)&&(m=g[c].text,m=g[c].schema?"mailto:"!==g[c].schema||/^mailto:/i.test(m)?e.md.normalizeLinkText(m):e.md.normalizeLinkText("mailto:"+m).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+m).replace(/^http:\/\//,""),u<(h=g[c].index)&&((i=new e.Token("text","",0)).content=l.slice(u,h),i.level=d,s.push(i)),(i=new e.Token("link_open","a",1)).attrs=[["href",f]],i.level=d++,i.markup="linkify",i.info="auto",s.push(i),(i=new e.Token("text","",0)).content=m,i.level=d,s.push(i),(i=new e.Token("link_close","a",-1)).level=--d,i.markup="linkify",i.info="auto",s.push(i),u=g[c].lastIndex);u<l.length&&((i=new e.Token("text","",0)).content=l.slice(u),i.level=d,s.push(i)),y[r].children=o=LO(o,t,s)}}else for(t--;o[t].level!==a.level&&"link_open"!==o[t].type;)t--}],["replacements",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;0<=t;t--)"inline"===e.tokens[t].type&&(jO.test(e.tokens[t].content)&&function(e){for(var t,r=0,n=e.length-1;0<=n;n--)"text"!==(t=e[n]).type||r||(t.content=t.content.replace(PO,FO)),"link_open"===t.type&&"auto"===t.info&&r--,"link_close"===t.type&&"auto"===t.info&&r++}(e.tokens[t].children),RO.test(e.tokens[t].content)&&function(e){for(var t,r=0,n=e.length-1;0<=n;n--)"text"!==(t=e[n]).type||r||RO.test(t.content)&&(t.content=t.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===t.type&&"auto"===t.info&&r--,"link_close"===t.type&&"auto"===t.info&&r++}(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;0<=t;t--)"inline"===e.tokens[t].type&&WO.test(e.tokens[t].content)&&function(e,t){for(var r,n,o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b,w,k=[],v=0;v<e.length;v++){for(r=e[v],s=e[v].level,y=k.length-1;0<=y&&!(k[y].level<=s);y--);if(k.length=y+1,"text"===r.type){i=0,a=(n=r.content).length;e:for(;i<a&&(GO.lastIndex=i,o=GO.exec(n));){if(m=g=!0,i=o.index+1,_="'"===o[0],l=32,0<=o.index-1)l=n.charCodeAt(o.index-1);else for(y=v-1;0<=y&&("softbreak"!==e[y].type&&"hardbreak"!==e[y].type);y--)if(e[y].content){l=e[y].content.charCodeAt(e[y].content.length-1);break}if(u=32,i<a)u=n.charCodeAt(i);else for(y=v+1;y<e.length&&("softbreak"!==e[y].type&&"hardbreak"!==e[y].type);y++)if(e[y].content){u=e[y].content.charCodeAt(0);break}if(d=HO(l)||VO(String.fromCharCode(l)),p=HO(u)||VO(String.fromCharCode(u)),h=UO(l),(f=UO(u))?m=!1:p&&(h||d||(m=!1)),h?g=!1:d&&(f||p||(g=!1)),34===u&&'"'===o[0]&&48<=l&&l<=57&&(g=m=!1),m&&g&&(m=d,g=p),m||g){if(g)for(y=k.length-1;0<=y&&(c=k[y],!(k[y].level<s));y--)if(c.single===_&&k[y].level===s){c=k[y],w=_?(b=t.md.options.quotes[2],t.md.options.quotes[3]):(b=t.md.options.quotes[0],t.md.options.quotes[1]),r.content=KO(r.content,o.index,w),e[c.token].content=KO(e[c.token].content,c.pos,b),i+=w.length-1,c.token===v&&(i+=b.length-1),a=(n=r.content).length,k.length=y;continue e}m?k.push({token:v,pos:o.index,single:_,level:s}):g&&_&&(r.content=KO(r.content,o.index,ZO))}else _&&(r.content=KO(r.content,o.index,ZO))}}}}(e.tokens[t].children,e)}]];function e5(){this.ruler=new OO;for(var e=0;e<QO.length;e++)this.ruler.push(QO[e][0],QO[e][1])}e5.prototype.process=function(e){for(var t=this.ruler.getRules(""),r=0,n=t.length;r<n;r++)t[r](e)},e5.prototype.State=bl;var t5=e5,r5=xO.isSpace;function n5(e,t){var r=e.bMarks[t]+e.tShift[t],t=e.eMarks[t];return e.src.substr(r,t-r)}function o5(e){for(var t=[],r=0,n=e.length,o=!1,i=0,a="",s=e.charCodeAt(r);r<n;)124===s&&(i=o?(a+=e.substring(i,r-1),r):(t.push(a+e.substring(i,r)),a="",r+1)),o=92===s,s=e.charCodeAt(++r);return t.push(a+e.substring(i)),t}var i5=xO.isSpace,a5=xO.isSpace,s5=xO.isSpace;function c5(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t],t=e.src.charCodeAt(r++);return 42!==t&&45!==t&&43!==t||r<n&&(e=e.src.charCodeAt(r),!s5(e))?-1:r}function l5(e,t){var r,n=e.bMarks[t]+e.tShift[t],o=n,i=e.eMarks[t];if(i<=o+1)return-1;if((r=e.src.charCodeAt(o++))<48||57<r)return-1;for(;;){if(i<=o)return-1;if(!(48<=(r=e.src.charCodeAt(o++))&&r<=57)){if(41===r||46===r)break;return-1}if(10<=o-n)return-1}return o<i&&(r=e.src.charCodeAt(o),!s5(r))?-1:o}var u5=xO.normalizeReference,d5=xO.isSpace,fl="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Al="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Ml={HTML_TAG_RE:new RegExp("^(?:"+fl+"|"+Al+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+fl+"|"+Al+")")},Zl=Ml.HTML_OPEN_CLOSE_TAG_RE,p5=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Zl.source+"\\s*$"),/^$/,!1]],h5=xO.isSpace,f5=xO.isSpace;function m5(e,t,r,n){var o,i,a,s,c,l,u,d;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,a=s=l=u=0,c=(i=this.src).length;s<c;s++){if(o=i.charCodeAt(s),!d){if(f5(o)){l++,9===o?u+=4-u%4:u++;continue}d=!0}10!==o&&s!==c-1||(10!==o&&s++,this.bMarks.push(a),this.eMarks.push(s),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),d=!1,u=l=0,a=s+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}m5.prototype.push=function(e,t,r){t=new YO(e,t,r);return t.block=!0,r<0&&this.level--,t.level=this.level,0<r&&this.level++,this.tokens.push(t),t},m5.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},m5.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},m5.prototype.skipSpaces=function(e){for(var t,r=this.src.length;e<r&&(t=this.src.charCodeAt(e),f5(t));e++);return e},m5.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;t<e;)if(!f5(this.src.charCodeAt(--e)))return e+1;return e},m5.prototype.skipChars=function(e,t){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===t;e++);return e},m5.prototype.skipCharsBack=function(e,t,r){if(e<=r)return e;for(;r<e;)if(t!==this.src.charCodeAt(--e))return e+1;return e},m5.prototype.getLines=function(e,t,r,n){var o,i,a,s,c,l,u,d=e;if(t<=e)return"";for(l=new Array(t-e),o=0;d<t;d++,o++){for(i=0,u=s=this.bMarks[d],c=d+1<t||n?this.eMarks[d]+1:this.eMarks[d];s<c&&i<r;){if(a=this.src.charCodeAt(s),f5(a))9===a?i+=4-(i+this.bsCount[d])%4:i++;else{if(!(s-u<this.tShift[d]))break;i++}s++}l[o]=r<i?new Array(i-r+1).join(" ")+this.src.slice(s,c):this.src.slice(s,c)}return l.join("")},m5.prototype.Token=YO;var Pu=m5,g5=[["table",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b;if(r<t+2)return!1;if(e.sCount[l=t+1]<e.blkIndent)return!1;if(4<=e.sCount[l]-e.blkIndent)return!1;if((a=e.bMarks[l]+e.tShift[l])>=e.eMarks[l])return!1;if(124!==(_=e.src.charCodeAt(a++))&&45!==_&&58!==_)return!1;if(a>=e.eMarks[l])return!1;if(124!==(b=e.src.charCodeAt(a++))&&45!==b&&58!==b&&!r5(b))return!1;if(45===_&&r5(b))return!1;for(;a<e.eMarks[l];){if(124!==(o=e.src.charCodeAt(a))&&45!==o&&58!==o&&!r5(o))return!1;a++}for(u=(i=n5(e,t+1)).split("|"),h=[],s=0;s<u.length;s++){if(!(f=u[s].trim())){if(0===s||s===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(f))return!1;58===f.charCodeAt(f.length-1)?h.push(58===f.charCodeAt(0)?"center":"right"):58===f.charCodeAt(0)?h.push("left"):h.push("")}if(-1===(i=n5(e,t).trim()).indexOf("|"))return!1;if(4<=e.sCount[t]-e.blkIndent)return!1;if((u=o5(i)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(d=u.length)||d!==h.length)return!1;if(n)return!0;for(b=e.parentType,e.parentType="table",y=e.md.block.ruler.getRules("blockquote"),(p=e.push("table_open","table",1)).map=n=[t,0],(p=e.push("thead_open","thead",1)).map=[t,t+1],(p=e.push("tr_open","tr",1)).map=[t,t+1],s=0;s<u.length;s++)p=e.push("th_open","th",1),h[s]&&(p.attrs=[["style","text-align:"+h[s]]]),(p=e.push("inline","",0)).content=u[s].trim(),p.children=[],p=e.push("th_close","th",-1);for(p=e.push("tr_close","tr",-1),p=e.push("thead_close","thead",-1),l=t+2;l<r&&!(e.sCount[l]<e.blkIndent);l++){for(g=!1,s=0,c=y.length;s<c;s++)if(y[s](e,l,r,!0)){g=!0;break}if(g)break;if(!(i=n5(e,l).trim()))break;if(4<=e.sCount[l]-e.blkIndent)break;for((u=o5(i)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),l===t+2&&((p=e.push("tbody_open","tbody",1)).map=m=[t+2,0]),(p=e.push("tr_open","tr",1)).map=[l,l+1],s=0;s<d;s++)p=e.push("td_open","td",1),h[s]&&(p.attrs=[["style","text-align:"+h[s]]]),(p=e.push("inline","",0)).content=u[s]?u[s].trim():"",p.children=[],p=e.push("td_close","td",-1);p=e.push("tr_close","tr",-1)}return m&&(p=e.push("tbody_close","tbody",-1),m[1]=l),p=e.push("table_close","table",-1),n[1]=l,e.parentType=b,e.line=l,!0},["paragraph","reference"]],["code",function(e,t,r){var n,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=n=t+1;n<r;)if(e.isEmpty(n))n++;else{if(!(4<=e.sCount[n]-e.blkIndent))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}],["fence",function(e,t,r,n){var o,i,a,s,c,l,u=!1,d=e.bMarks[t]+e.tShift[t],p=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(p<d+3)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if((i=(d=e.skipChars(c=d,o))-c)<3)return!1;if(l=e.src.slice(c,d),a=e.src.slice(d,p),96===o&&0<=a.indexOf(String.fromCharCode(o)))return!1;if(n)return!0;for(s=t;!(r<=++s)&&!((d=c=e.bMarks[s]+e.tShift[s])<(p=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&!(4<=e.sCount[s]-e.blkIndent||(d=e.skipChars(d,o))-c<i||e.skipSpaces(d)<p)){u=!0;break}return i=e.sCount[t],e.line=s+(u?1:0),(n=e.push("fence","code",0)).info=a,n.content=e.getLines(t+1,s,i,!0),n.markup=l,n.map=[t,e.line],!0},["paragraph","reference","blockquote","list"]],["blockquote",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b,w,k,v,x=e.lineMax,z=e.bMarks[t]+e.tShift[t],C=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(62!==e.src.charCodeAt(z++))return!1;if(n)return!0;for(s=d=e.sCount[t]+1,32===e.src.charCodeAt(z)?(z++,s++,d++,_=!(o=!1)):9===e.src.charCodeAt(z)?(_=!0,o=(e.bsCount[t]+d)%4!=3||(z++,s++,d++,!1)):_=!1,p=[e.bMarks[t]],e.bMarks[t]=z;z<C&&(i=e.src.charCodeAt(z),i5(i));)9===i?d+=4-(d+e.bsCount[t]+(o?1:0))%4:d++,z++;for(h=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(_?1:0),l=C<=z,g=[e.sCount[t]],e.sCount[t]=d-s,y=[e.tShift[t]],e.tShift[t]=z-e.bMarks[t],w=e.md.block.ruler.getRules("blockquote"),m=e.parentType,e.parentType="blockquote",u=t+1;u<r&&(v=e.sCount[u]<e.blkIndent,z=e.bMarks[u]+e.tShift[u],!((C=e.eMarks[u])<=z));u++)if(62!==e.src.charCodeAt(z++)||v){if(l)break;for(b=!1,a=0,c=w.length;a<c;a++)if(w[a](e,u,r,!0)){b=!0;break}if(b){e.lineMax=u,0!==e.blkIndent&&(p.push(e.bMarks[u]),h.push(e.bsCount[u]),y.push(e.tShift[u]),g.push(e.sCount[u]),e.sCount[u]-=e.blkIndent);break}p.push(e.bMarks[u]),h.push(e.bsCount[u]),y.push(e.tShift[u]),g.push(e.sCount[u]),e.sCount[u]=-1}else{for(s=d=e.sCount[u]+1,32===e.src.charCodeAt(z)?(z++,s++,d++,_=!(o=!1)):9===e.src.charCodeAt(z)?(_=!0,o=(e.bsCount[u]+d)%4!=3||(z++,s++,d++,!1)):_=!1,p.push(e.bMarks[u]),e.bMarks[u]=z;z<C&&(i=e.src.charCodeAt(z),i5(i));)9===i?d+=4-(d+e.bsCount[u]+(o?1:0))%4:d++,z++;l=C<=z,h.push(e.bsCount[u]),e.bsCount[u]=e.sCount[u]+1+(_?1:0),g.push(e.sCount[u]),e.sCount[u]=d-s,y.push(e.tShift[u]),e.tShift[u]=z-e.bMarks[u]}for(f=e.blkIndent,e.blkIndent=0,(k=e.push("blockquote_open","blockquote",1)).markup=">",k.map=n=[t,0],e.md.block.tokenize(e,t,u),(k=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=m,n[1]=e.line,a=0;a<y.length;a++)e.bMarks[a+t]=p[a],e.tShift[a+t]=y[a],e.sCount[a+t]=g[a],e.bsCount[a+t]=h[a];return e.blkIndent=f,!0},["paragraph","reference","blockquote","list"]],["hr",function(e,t,r,n){var o,i,a,s=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(42!==(o=e.src.charCodeAt(s++))&&45!==o&&95!==o)return!1;for(i=1;s<c;){if((a=e.src.charCodeAt(s++))!==o&&!a5(a))return!1;a===o&&i++}return!(i<3)&&(n||(e.line=t+1,(n=e.push("hr","hr",0)).map=[t,e.line],n.markup=Array(i+1).join(String.fromCharCode(o))),!0)},["paragraph","reference","blockquote","list"]],["list",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b,w,k,v,x,z,C,S,E=!1,A=!0;if(4<=e.sCount[t]-e.blkIndent)return!1;if(0<=e.listIndent&&4<=e.sCount[t]-e.listIndent&&e.sCount[t]<e.blkIndent)return!1;if(n&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(E=!0),0<=(k=l5(e,t))){if(c=!0,x=e.bMarks[t]+e.tShift[t],g=Number(e.src.slice(x,k-1)),E&&1!==g)return!1}else{if(!(0<=(k=c5(e,t))))return!1;c=!1}if(E&&e.skipSpaces(k)>=e.eMarks[t])return!1;if(d=e.src.charCodeAt(k-1),n)return!0;for(E=e.tokens.length,c?(S=e.push("ordered_list_open","ol",1),1!==g&&(S.attrs=[["start",g]])):S=e.push("bullet_list_open","ul",1),S.map=n=[t,0],S.markup=String.fromCharCode(d),h=t,v=!1,C=e.md.block.ruler.getRules("list"),g=e.parentType,e.parentType="list";h<r;){for(w=k,p=e.eMarks[h],y=f=e.sCount[h]+k-(e.bMarks[t]+e.tShift[t]);w<p;){if(9===(o=e.src.charCodeAt(w)))f+=4-(f+e.bsCount[h])%4;else{if(32!==o)break;f++}w++}if(s=y+(m=4<(m=p<=(i=w)?1:f-y)?1:m),(S=e.push("list_item_open","li",1)).markup=String.fromCharCode(d),S.map=l=[t,0],c&&(S.info=e.src.slice(x,k-1)),b=e.tight,_=e.tShift[t],y=e.sCount[t],m=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=s,e.tight=!0,e.tShift[t]=i-e.bMarks[t],e.sCount[t]=f,p<=i&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!v||(A=!1),v=1<e.line-t&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=m,e.tShift[t]=_,e.sCount[t]=y,e.tight=b,(S=e.push("list_item_close","li",-1)).markup=String.fromCharCode(d),h=t=e.line,l[1]=h,e.bMarks[t],r<=h)break;if(e.sCount[h]<e.blkIndent)break;if(4<=e.sCount[t]-e.blkIndent)break;for(z=!1,a=0,u=C.length;a<u;a++)if(C[a](e,h,r,!0)){z=!0;break}if(z)break;if(c){if((k=l5(e,h))<0)break;x=e.bMarks[h]+e.tShift[h]}else if((k=c5(e,h))<0)break;if(d!==e.src.charCodeAt(k-1))break}return(S=c?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(d),n[1]=h,e.line=h,e.parentType=g,A&&function(e,t){for(var r=e.level+2,n=t+2,o=e.tokens.length-2;n<o;n++)e.tokens[n].level===r&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,E),!0},["paragraph","reference","blockquote"]],["reference",function(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f,m,g,y,_,b=0,w=e.bMarks[t]+e.tShift[t],k=e.eMarks[t],v=t+1;if(4<=e.sCount[t]-e.blkIndent)return!1;if(91!==e.src.charCodeAt(w))return!1;for(;++w<k;)if(93===e.src.charCodeAt(w)&&92!==e.src.charCodeAt(w-1)){if(w+1===k)return!1;if(58!==e.src.charCodeAt(w+1))return!1;break}for(a=e.lineMax,y=e.md.block.ruler.getRules("reference"),p=e.parentType,e.parentType="reference";v<a&&!e.isEmpty(v);v++)if(!(3<e.sCount[v]-e.blkIndent||e.sCount[v]<0)){for(g=!1,c=0,l=y.length;c<l;c++)if(y[c](e,v,a,!0)){g=!0;break}if(g)break}for(k=(m=e.getLines(t,v,e.blkIndent,!1).trim()).length,w=1;w<k;w++){if(91===(o=m.charCodeAt(w)))return!1;if(93===o){d=w;break}(10===o||92===o&&++w<k&&10===m.charCodeAt(w))&&b++}if(d<0||58!==m.charCodeAt(d+1))return!1;for(w=d+2;w<k;w++)if(10===(o=m.charCodeAt(w)))b++;else if(!d5(o))break;if(!(h=e.md.helpers.parseLinkDestination(m,w,k)).ok)return!1;if(s=e.md.normalizeLink(h.str),!e.md.validateLink(s))return!1;for(w=h.pos,u=b+=h.lines,f=i=w;w<k;w++)if(10===(o=m.charCodeAt(w)))b++;else if(!d5(o))break;for(h=e.md.helpers.parseLinkTitle(m,w,k),w<k&&f!==w&&h.ok?(_=h.str,w=h.pos,b+=h.lines):(_="",w=i,b=u);w<k&&(o=m.charCodeAt(w),d5(o));)w++;if(w<k&&10!==m.charCodeAt(w)&&_)for(_="",w=i,b=u;w<k&&(o=m.charCodeAt(w),d5(o));)w++;return!(w<k&&10!==m.charCodeAt(w))&&(!!(u=u5(m.slice(1,d)))&&(n||(void 0===e.env.references&&(e.env.references={}),void 0===e.env.references[u]&&(e.env.references[u]={title:_,href:s}),e.parentType=p,e.line=t+b+1),!0))}],["html_block",function(e,t,r,n){var o,i,a,s=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(s))return!1;for(a=e.src.slice(s,c),o=0;o<p5.length&&!p5[o][0].test(a);o++);if(o===p5.length)return!1;if(n)return p5[o][2];if(i=t+1,!p5[o][1].test(a))for(;i<r&&!(e.sCount[i]<e.blkIndent);i++)if(s=e.bMarks[i]+e.tShift[i],c=e.eMarks[i],a=e.src.slice(s,c),p5[o][1].test(a)){0!==a.length&&i++;break}return e.line=i,(n=e.push("html_block","",0)).map=[t,i],n.content=e.getLines(t,i,e.blkIndent,!0),!0},["paragraph","reference","blockquote"]],["heading",function(e,t,r,n){var o,i,a=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(4<=e.sCount[t]-e.blkIndent)return!1;if(35!==(o=e.src.charCodeAt(a))||s<=a)return!1;for(i=1,o=e.src.charCodeAt(++a);35===o&&a<s&&i<=6;)i++,o=e.src.charCodeAt(++a);return!(6<i||a<s&&!h5(o))&&(n||(s=e.skipSpacesBack(s,a),a<(n=e.skipCharsBack(s,35,a))&&h5(e.src.charCodeAt(n-1))&&(s=n),e.line=t+1,(n=e.push("heading_open","h"+String(i),1)).markup="########".slice(0,i),n.map=[t,e.line],(n=e.push("inline","",0)).content=e.src.slice(a,s).trim(),n.map=[t,e.line],n.children=[],(n=e.push("heading_close","h"+String(i),-1)).markup="########".slice(0,i)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,o,i,a,s,c,l,u,d,p,h=t+1,f=e.md.block.ruler.getRules("paragraph");if(4<=e.sCount[t]-e.blkIndent)return!1;for(p=e.parentType,e.parentType="paragraph";h<r&&!e.isEmpty(h);h++)if(!(3<e.sCount[h]-e.blkIndent)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(d=e.src.charCodeAt(c))||61===d)&&(c=e.skipChars(c,d),l<=(c=e.skipSpaces(c)))){u=61===d?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,i=0,a=f.length;i<a;i++)if(f[i](e,h,r,!0)){o=!0;break}if(o)break}}return!!u&&(n=e.getLines(t,h,e.blkIndent,!1).trim(),e.line=h+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(d),s.map=[t,e.line],(s=e.push("inline","",0)).content=n,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(d),e.parentType=p,!0)}],["paragraph",function(e,t){var r,n,o,i,a,s=t+1,c=e.md.block.ruler.getRules("paragraph"),l=e.lineMax,u=e.parentType;for(e.parentType="paragraph";s<l&&!e.isEmpty(s);s++)if(!(3<e.sCount[s]-e.blkIndent||e.sCount[s]<0)){for(n=!1,o=0,i=c.length;o<i;o++)if(c[o](e,s,l,!0)){n=!0;break}if(n)break}return r=e.getLines(t,s,e.blkIndent,!1).trim(),e.line=s,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=r,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=u,!0}]];function y5(){this.ruler=new OO;for(var e=0;e<g5.length;e++)this.ruler.push(g5[e][0],g5[e][1],{alt:(g5[e][2]||[]).slice()})}y5.prototype.tokenize=function(e,t,r){for(var n,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,c=e.md.options.maxNesting;a<r&&(e.line=a=e.skipEmptyLines(a),!(r<=a))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=c){e.line=r;break}for(n=0;n<i&&!o[n](e,a,r,!1);n++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<r&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},y5.prototype.parse=function(e,t,r,n){e&&(n=new this.State(e,t,r,n),this.tokenize(n,n.line,n.lineMax))},y5.prototype.State=Pu;var _5=y5;for(var b5=xO.isSpace,w5=xO.isSpace,k5=[],v5=0;v5<256;v5++)k5.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){k5[e.charCodeAt(0)]=1});function x5(e,t){for(var r,n,o,i,a=[],s=t.length,c=0;c<s;c++)126===(n=t[c]).marker&&-1!==n.end&&(o=t[n.end],(i=e.tokens[n.token]).type="s_open",i.tag="s",i.nesting=1,i.markup="~~",i.content="",(i=e.tokens[o.token]).type="s_close",i.tag="s",i.nesting=-1,i.markup="~~",i.content="","text"===e.tokens[o.token-1].type&&"~"===e.tokens[o.token-1].content&&a.push(o.token-1));for(;a.length;){for(r=(c=a.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;c!==--r&&(i=e.tokens[r],e.tokens[r]=e.tokens[c],e.tokens[c]=i)}}Bu={tokenize:function(e,t){var r,n,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(n=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),r=0;r<o;r+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,length:0,jump:r/2,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(x5(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&x5(e,r[t].delimiters)}};function z5(e,t){for(var r,n,o,i,a,s=t.length-1;0<=s;s--)95!==(r=t[s]).marker&&42!==r.marker||-1!==r.end&&(n=t[r.end],a=0<s&&t[s-1].end===r.end+1&&t[s-1].token===r.token-1&&t[r.end+1].token===n.token+1&&t[s-1].marker===r.marker,i=String.fromCharCode(r.marker),(o=e.tokens[r.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[n.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[t[s-1].token].content="",e.tokens[t[r.end+1].token].content="",s--))}var Fu={tokenize:function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r<n.length;r++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:n.length,jump:r,token:e.tokens.length-1,end:-1,open:n.can_open,close:n.can_close});return e.pos+=n.length,!0},postProcess:function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(z5(e,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&z5(e,r[t].delimiters)}},C5=xO.normalizeReference,S5=xO.isSpace,E5=xO.normalizeReference,A5=xO.isSpace,q5=/^([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])?)*)$/,M5=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,D5=Ml.HTML_TAG_RE;var T5=xO.has,N5=xO.isValidEntityCode,O5=xO.fromCodePoint,I5=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,$5=/^&([a-z][a-z0-9]{1,31});/i;function L5(e,t){for(var r,n,o,i,a,s,c={},l=t.length,u=0;u<l;u++)if((n=t[u]).length=n.length||0,n.close){for(c.hasOwnProperty(n.marker)||(c[n.marker]=[-1,-1,-1,-1,-1,-1]),i=c[n.marker][(n.open?3:0)+n.length%3],a=r=(r=u-n.jump-1)<-1?-1:r;i<r;r-=o.jump+1)if((o=t[r]).marker===n.marker&&o.open&&o.end<0&&(s=!1,(o.close||n.open)&&(o.length+n.length)%3==0&&(o.length%3==0&&n.length%3==0||(s=!0)),!s)){s=0<r&&!t[r-1].open?t[r-1].jump+1:0,n.jump=u-r+s,n.open=!1,o.end=u,o.jump=s,o.close=!1,a=-1;break}-1!==a&&(c[n.marker][(n.open?3:0)+(n.length||0)%3]=a)}}var R5=xO.isWhiteSpace,j5=xO.isPunctChar,P5=xO.isMdAsciiPunct;function B5(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}B5.prototype.pushPending=function(){var e=new YO("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},B5.prototype.push=function(e,t,r){this.pending&&this.pushPending();e=new YO(e,t,r),t=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),e.level=this.level,0<r&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],t={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(e),this.tokens_meta.push(t),e},B5.prototype.scanDelims=function(e,t){for(var r,n,o,i,a=e,s=!0,c=!0,l=this.posMax,u=this.src.charCodeAt(e),d=0<e?this.src.charCodeAt(e-1):32;a<l&&this.src.charCodeAt(a)===u;)a++;return r=a-e,i=a<l?this.src.charCodeAt(a):32,o=P5(d)||j5(String.fromCharCode(d)),e=P5(i)||j5(String.fromCharCode(i)),d=R5(d),(i=R5(i))?s=!1:e&&(d||o||(s=!1)),d?c=!1:o&&(i||e||(c=!1)),e=t?(n=s,c):(n=s&&(!c||o),c&&(!s||e)),{can_open:n,can_close:e,length:r}},B5.prototype.Token=YO;var Yu=B5,F5=[["text",function(e,t){for(var r=e.pos;r<e.posMax&&!function(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return 1;default:return}}(e.src.charCodeAt(r));)r++;return r!==e.pos&&(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}],["newline",function(e,t){var r,n,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(r=e.pending.length-1,n=e.posMax,t||(0<=r&&32===e.pending.charCodeAt(r)?1<=r&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o<n&&b5(e.src.charCodeAt(o));)o++;return e.pos=o,!0}],["escape",function(e,t){var r,n=e.pos,o=e.posMax;if(92!==e.src.charCodeAt(n))return!1;if(++n<o){if((r=e.src.charCodeAt(n))<256&&0!==k5[r])return t||(e.pending+=e.src[n]),e.pos+=2,!0;if(10===r){for(t||e.push("hardbreak","br",0),n++;n<o&&(r=e.src.charCodeAt(n),w5(r));)n++;return e.pos=n,!0}}return t||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,t){var r,n,o,i,a,s,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(r=u,u++,n=e.posMax;u<n&&96===e.src.charCodeAt(u);)u++;if(c=(o=e.src.slice(r,u)).length,e.backticksScanned&&(e.backticks[c]||0)<=r)return t||(e.pending+=o),e.pos+=c,!0;for(s=u;-1!==(a=e.src.indexOf("`",s));){for(s=a+1;s<n&&96===e.src.charCodeAt(s);)s++;if((l=s-a)===c)return t||((i=e.push("code_inline","code",0)).markup=o,i.content=e.src.slice(u,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[l]=a}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=c,!0}],["strikethrough",Bu.tokenize],["emphasis",Fu.tokenize],["link",function(e,t){var r,n,o,i,a,s,c="",l="",u=e.pos,d=e.posMax,p=e.pos,h=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(o=e.pos+1,(n=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((i=n+1)<d&&40===e.src.charCodeAt(i)){for(h=!1,i++;i<d&&(r=e.src.charCodeAt(i),S5(r)||10===r);i++);if(d<=i)return!1;if(p=i,(a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax)).ok){for(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?i=a.pos:c="",p=i;i<d&&(r=e.src.charCodeAt(i),S5(r)||10===r);i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<d&&p!==i&&a.ok)for(l=a.str,i=a.pos;i<d&&(r=e.src.charCodeAt(i),S5(r)||10===r);i++);}(d<=i||41!==e.src.charCodeAt(i))&&(h=!0),i++}if(h){if(void 0===e.env.references)return!1;if(i<d&&91===e.src.charCodeAt(i)?(p=i+1,0<=(i=e.md.helpers.parseLinkLabel(e,i))?s=e.src.slice(p,i++):i=n+1):i=n+1,s=s||e.src.slice(o,n),!(s=e.env.references[C5(s)]))return e.pos=u,!1;c=s.href,l=s.title}return t||(e.pos=o,e.posMax=n,e.push("link_open","a",1).attrs=c=[["href",c]],l&&c.push(["title",l]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=i,e.posMax=d,!0}],["image",function(e,t){var r,n,o,i,a,s,c,l,u="",d=e.pos,p=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(s=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((n=s+1)<p&&40===e.src.charCodeAt(n)){for(n++;n<p&&(r=e.src.charCodeAt(n),A5(r)||10===r);n++);if(p<=n)return!1;for(l=n,(i=e.md.helpers.parseLinkDestination(e.src,n,e.posMax)).ok&&(u=e.md.normalizeLink(i.str),e.md.validateLink(u)?n=i.pos:u=""),l=n;n<p&&(r=e.src.charCodeAt(n),A5(r)||10===r);n++);if(i=e.md.helpers.parseLinkTitle(e.src,n,e.posMax),n<p&&l!==n&&i.ok)for(a=i.str,n=i.pos;n<p&&(r=e.src.charCodeAt(n),A5(r)||10===r);n++);else a="";if(p<=n||41!==e.src.charCodeAt(n))return e.pos=d,!1;n++}else{if(void 0===e.env.references)return!1;if(n<p&&91===e.src.charCodeAt(n)?(l=n+1,0<=(n=e.md.helpers.parseLinkLabel(e,n))?o=e.src.slice(l,n++):n=s+1):n=s+1,o=o||e.src.slice(c,s),!(o=e.env.references[E5(o)]))return e.pos=d,!1;u=o.href,a=o.title}return t||(t=e.src.slice(c,s),e.md.inline.parse(t,e.md,e.env,c=[]),(s=e.push("image","img",0)).attrs=u=[["src",u],["alt",""]],s.children=c,s.content=t,a&&u.push(["title",a])),e.pos=n,e.posMax=p,!0}],["autolink",function(e,t){var r,n,o,i,a,s=e.pos;if(60!==e.src.charCodeAt(s))return!1;for(i=e.pos,a=e.posMax;;){if(++s>=a)return!1;if(60===(o=e.src.charCodeAt(s)))return!1;if(62===o)break}return i=e.src.slice(i+1,s),M5.test(i)?(r=e.md.normalizeLink(i),!!e.md.validateLink(r)&&(t||((n=e.push("link_open","a",1)).attrs=[["href",r]],n.markup="autolink",n.info="auto",(n=e.push("text","",0)).content=e.md.normalizeLinkText(i),(n=e.push("link_close","a",-1)).markup="autolink",n.info="auto"),e.pos+=i.length+2,!0)):!!q5.test(i)&&(r=e.md.normalizeLink("mailto:"+i),!!e.md.validateLink(r)&&(t||((n=e.push("link_open","a",1)).attrs=[["href",r]],n.markup="autolink",n.info="auto",(n=e.push("text","",0)).content=e.md.normalizeLinkText(i),(n=e.push("link_close","a",-1)).markup="autolink",n.info="auto"),e.pos+=i.length+2,!0))}],["html_inline",function(e,t){var r,n,o=e.pos;return!!e.md.options.html&&(r=e.posMax,!(60!==e.src.charCodeAt(o)||r<=o+2)&&((33===(r=e.src.charCodeAt(o+1))||63===r||47===r||(n=r,97<=(n|=32)&&n<=122))&&(!!(n=e.src.slice(o).match(D5))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(n))return!1;if(n+1<o)if(35===e.src.charCodeAt(n+1)){if(r=e.src.slice(n).match(I5))return t||(o="x"===r[1][0].toLowerCase()?parseInt(r[1].slice(1),16):parseInt(r[1],10),e.pending+=N5(o)?O5(o):O5(65533)),e.pos+=r[0].length,!0}else if((r=e.src.slice(n).match($5))&&T5(vO,r[1]))return t||(e.pending+=vO[r[1]]),e.pos+=r[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}]],U5=[["balance_pairs",function(e){var t,r=e.tokens_meta,n=e.tokens_meta.length;for(L5(0,e.delimiters),t=0;t<n;t++)r[t]&&r[t].delimiters&&L5(0,r[t].delimiters)}],["strikethrough",Bu.postProcess],["emphasis",Fu.postProcess],["text_collapse",function(e){for(var t,r=0,n=e.tokens,o=e.tokens.length,i=t=0;i<o;i++)n[i].nesting<0&&r--,n[i].level=r,0<n[i].nesting&&r++,"text"===n[i].type&&i+1<o&&"text"===n[i+1].type?n[i+1].content=n[i].content+n[i+1].content:(i!==t&&(n[t]=n[i]),t++);i!==t&&(n.length=t)}]];function V5(){var e;for(this.ruler=new OO,e=0;e<F5.length;e++)this.ruler.push(F5[e][0],F5[e][1]);for(this.ruler2=new OO,e=0;e<U5.length;e++)this.ruler2.push(U5[e][0],U5[e][1])}V5.prototype.skipToken=function(e){var t,r,n=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if(void 0===s[n]){if(e.level<a)for(r=0;r<i&&(e.level++,t=o[r](e,!0),e.level--,!t);r++);else e.pos=e.posMax;t||e.pos++,s[n]=e.pos}else e.pos=s[n]},V5.prototype.tokenize=function(e){for(var t,r,n=this.ruler.getRules(""),o=n.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(r=0;r<o&&!(t=n[r](e,!1));r++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},V5.prototype.parse=function(e,t,r,n){var o,i,a,s=new this.State(e,t,r,n);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},V5.prototype.State=Yu;var H5=V5,W5=function(e){var t={};t.src_Any=yc.source,t.src_Cc=_c.source,t.src_Z=bc.source,t.src_P=Ys.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><|]";return t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t};function G5(r){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(e){r[e]=t[e]})}),r}function Z5(e){return Object.prototype.toString.call(e)}function K5(e){return"[object Function]"===Z5(e)}function J5(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Y5={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var X5={"http:":{validate:function(e,t,r){t=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(t)?t.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),!r.re.no_http.test(n)||3<=t&&":"===e[t-3]||3<=t&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length}},"mailto:":{validate:function(e,t,r){t=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(t)?t.match(r.re.mailto)[0].length:0}}},Q5="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",eI="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function tI(){return function(e,t){t.normalize(e)}}function rI(o){var t=o.re=W5(o.__opts__),e=o.__tlds__.slice();function r(e){return e.replace("%TLDS%",t.src_tlds)}o.onCompile(),o.__tlds_replaced__||e.push(Q5),e.push(t.src_xn),t.src_tlds=e.join("|"),t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");var i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}o.__compiled__={},Object.keys(o.__schemas__).forEach(function(e){var t=o.__schemas__[e];if(null!==t){var r,n={validate:null,link:null};if(o.__compiled__[e]=n,"[object Object]"===Z5(t))return"[object RegExp]"===Z5(t.validate)?n.validate=(r=t.validate,function(e,t){t=e.slice(t);return r.test(t)?t.match(r)[0].length:0}):K5(t.validate)?n.validate=t.validate:a(e,t),void(K5(t.normalize)?n.normalize=t.normalize:t.normalize?a(e,t):n.normalize=tI());"[object String]"!==Z5(t)?a(e,t):i.push(e)}}),i.forEach(function(e){o.__compiled__[o.__schemas__[e]]&&(o.__compiled__[e].validate=o.__compiled__[o.__schemas__[e]].validate,o.__compiled__[e].normalize=o.__compiled__[o.__schemas__[e]].normalize)}),o.__compiled__[""]={validate:null,normalize:tI()};e=Object.keys(o.__compiled__).filter(function(e){return 0<e.length&&o.__compiled__[e]}).map(J5).join("|");o.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+e+")","i"),o.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+e+")","ig"),o.re.pretest=RegExp("("+o.re.schema_test.source+")|("+o.re.host_fuzzy_test.source+")|@","i"),(e=o).__index__=-1,e.__text_cache__=""}function nI(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function oI(e,t){t=new nI(e,t);return e.__compiled__[t.schema].normalize(t,e),t}function iI(e,t){if(!(this instanceof iI))return new iI(e,t);var r;t||(r=e,Object.keys(r||{}).reduce(function(e,t){return e||Y5.hasOwnProperty(t)},!1)&&(t=e,e={})),this.__opts__=G5({},Y5,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=G5({},X5,e),this.__compiled__={},this.__tlds__=eI,this.__tlds_replaced__=!1,this.re={},rI(this)}iI.prototype.add=function(e,t){return this.__schemas__[e]=t,rI(this),this},iI.prototype.set=function(e){return this.__opts__=G5(this.__opts__,e),this},iI.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,a,s;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(n=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&0<=(s=e.search(this.re.host_fuzzy_test))&&(this.__index__<0||s<this.__index__)&&null!==(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(o=r.index+r[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=r.index+r[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&0<=e.indexOf("@")&&null!==(i=e.match(this.re.email_fuzzy))&&(o=i.index+i[1].length,i=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),0<=this.__index__},iI.prototype.pretest=function(e){return this.re.pretest.test(e)},iI.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},iI.prototype.match=function(e){var t=0,r=[];0<=this.__index__&&this.__text_cache__===e&&(r.push(oI(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(oI(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},iI.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,r){return e!==r[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),rI(this),this},iI.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},iI.prototype.onCompile=function(){};var aI=iI,_a={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},ka={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}},xa={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}},sI={default:_a,zero:ka,commonmark:xa},cI=/^(vbscript|javascript|file|data):/,lI=/^data:image\/(gif|png|jpeg|webp);/;function uI(e){e=e.trim().toLowerCase();return!cI.test(e)||!!lI.test(e)}var dI=["http:","https:","mailto:"];function pI(e){e=gc.parse(e,!0);if(e.hostname&&(!e.protocol||0<=dI.indexOf(e.protocol)))try{e.hostname=ju.toASCII(e.hostname)}catch(e){}return gc.encode(gc.format(e))}function hI(e){e=gc.parse(e,!0);if(e.hostname&&(!e.protocol||0<=dI.indexOf(e.protocol)))try{e.hostname=ju.toUnicode(e.hostname)}catch(e){}return gc.decode(gc.format(e),gc.decode.defaultChars+"%")}function fI(e,t){if(!(this instanceof fI))return new fI(e,t);t||xO.isString(e)||(t=e||{},e="default"),this.inline=new H5,this.block=new _5,this.core=new t5,this.renderer=new TO,this.linkify=new aI,this.validateLink=uI,this.normalizeLink=pI,this.normalizeLinkText=hI,this.utils=xO,this.helpers=xO.assign({},SO),this.options={},this.configure(e),t&&this.set(t)}fI.prototype.set=function(e){return xO.assign(this.options,e),this},fI.prototype.configure=function(t){var e,r=this;if(xO.isString(t)&&!(t=sI[e=t]))throw new Error('Wrong `markdown-it` preset "'+e+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&r.set(t.options),t.components&&Object.keys(t.components).forEach(function(e){t.components[e].rules&&r[e].ruler.enableOnly(t.components[e].rules),t.components[e].rules2&&r[e].ruler2.enableOnly(t.components[e].rules2)}),this},fI.prototype.enable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.enable(t,!0))},this);var r=r.concat(this.inline.ruler2.enable(t,!0)),n=t.filter(function(e){return r.indexOf(e)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},fI.prototype.disable=function(t,e){var r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(e){r=r.concat(this[e].ruler.disable(t,!0))},this);var r=r.concat(this.inline.ruler2.disable(t,!0)),n=t.filter(function(e){return r.indexOf(e)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},fI.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},fI.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");t=new this.core.State(e,this,t);return this.core.process(t),t.tokens},fI.prototype.render=function(e,t){return this.renderer.render(this.parse(e,t=t||{}),this.options,t)},fI.prototype.parseInline=function(e,t){t=new this.core.State(e,this,t);return t.inlineMode=!0,this.core.process(t),t.tokens},fI.prototype.renderInline=function(e,t){return this.renderer.render(this.parseInline(e,t=t||{}),this.options,t)};var mI=fI,gI=(new mI).utils.isSpace;function yI(e,t){var r=e.pos,n=e.pos,o=e.posMax;if(t)return!1;if("<br>"!==e.src.substr(r,4))return!1;for(e.push("hardbreak","br",0),n+=4;n<o&&gI(e.src.charCodeAt(n));)n++;return e.pos=n,!0}za={id:"hard_break",schema:{nodes:{hard_break:{sortOrder:1100,inline:!0,group:"inline",selectable:!1,parseDOM:[{tag:"br"}],toDOM:function(){return["br"]},parseMarkdown:{hardbreak:{node:"hard_break"}},toMarkdown:function(e,t,r,n){for(var o=n+1;o<r.childCount;o++)if(r.child(o).type!=t.type)return void(e.table?e.write("<br>"):e.write("\\\n"))}}}},registerMarkdownIt:function(e){e.inline.ruler.before("newline","htmlbreak",yI)}};function _I(e){return[{id:"makeHeading",node:"heading",group:"types",item:function(e){for(var t={},r=1;r<=6;r++)t["makeHead"+r]=ea(e.schema.nodes.heading,{label:"H"+r,title:e.translate("Change to heading")+" "+r+" ("+Array(r+1).join("#")+")",sortOrder:r,attrs:{level:r}});return new Zi([t.makeHead1,t.makeHead2,t.makeHead3,t.makeHead4,t.makeHead5,t.makeHead6],{label:e.translate("Heading")})}(e)}]}function bI(e,t,r,n){var o=e,i=n;if(r&&vI.call(t,o))throw Error("User defined id attribute '"+e+"' is NOT unique. Please fix it in your markdown to continue.");for(;vI.call(t,o);)o=e+"-"+i++;return t[o]=!0,o}function wI(e,s){s=Object.assign({},wI.defaults,s),e.core.ruler.push("anchor",function(n){var t,r,o={},i=n.tokens,a=Array.isArray(s.level)?(t=s.level,function(e){return t.includes(e)}):(r=s.level,function(e){return r<=e});i.filter(function(e){return"heading_open"===e.type}).filter(function(e){return a(Number(e.tag.substr(1)))}).forEach(function(e){var t=i[i.indexOf(e)+1].children.filter(function(e){return"text"===e.type||"code_inline"===e.type}).reduce(function(e,t){return e+t.content},""),r=null==(r=e.attrGet("id"))?bI(s.slugify(t),o,!1,s.uniqueSlugStartIndex):bI(r,o,!0,s.uniqueSlugStartIndex);e.attrSet("id",r),s.permalink&&s.renderPermalink(r,s,n,i.indexOf(e)),s.callback&&s.callback(e,{slug:r,title:t})})})}var kI={false:"push",true:"unshift"},vI=Object.prototype.hasOwnProperty;wI.defaults={level:1,slugify:function(e){return encodeURIComponent(String(e).trim().toLowerCase().replace(/\s+/g,"-"))},uniqueSlugStartIndex:1,permalink:!1,renderPermalink:function(e,t,r,n){e=[Object.assign(new r.Token("link_open","a",1),{attrs:[].concat(t.permalinkClass?[["class",t.permalinkClass]]:[],[["href",t.permalinkHref(e,r)]],Object.entries(t.permalinkAttrs(e,r)))}),Object.assign(new r.Token("html_block","",0),{content:t.permalinkSymbol}),new r.Token("link_close","a",-1)];t.permalinkSpace&&e[kI[!t.permalinkBefore]](Object.assign(new r.Token("text","",0),{content:" "})),(n=r.tokens[n+1].children)[kI[t.permalinkBefore]].apply(n,e)},permalinkClass:"header-anchor",permalinkSpace:!0,permalinkSymbol:"¶",permalinkBefore:!1,permalinkHref:function(e){return"#"+e},permalinkAttrs:function(e){return{}}};Ca={id:"heading",schema:{nodes:{heading:{sortOrder:400,attrs:{level:{default:1}},content:"(text | image)*",group:"block",defining:!0,parseDOM:[{tag:"h1",attrs:{level:1}},{tag:"h2",attrs:{level:2}},{tag:"h3",attrs:{level:3}},{tag:"h4",attrs:{level:4}},{tag:"h5",attrs:{level:5}},{tag:"h6",attrs:{level:6}}],toDOM:function(e){return["h"+e.attrs.level,0]},parseMarkdown:{block:"heading",getAttrs:function(e){return{level:+e.tag.slice(1)}}},toMarkdown:function(e,t){e.write(e.repeat("#",t.attrs.level)+" "),e.renderInline(t),e.closeBlock(t)}}}},menu:_I,inputRules:function(e){return[(e=e,fo(new RegExp("^(#{1,6})\\s$"),e.nodes.heading,function(e){return{level:e[1].length}}))]}};function xI(e){return[{id:"insertHorizontalRule",node:"horizontal_rule",group:"insert",item:(r=(e=e).schema.nodes.horizontal_rule,new ji({title:e.translate("Insert horizontal rule"),label:e.translate("Horizontal rule"),sortOrder:200,enable:function(e){return ra(e,r)},run:function(e,t){t(e.tr.replaceSelectionWith(r.create()))}}))}];var r}var Aa={id:"horizontal_rule",schema:{nodes:{horizontal_rule:{sortOrder:300,group:"block",parseDOM:[{tag:"hr"}],toDOM:function(){return["div",["hr"]]},parseMarkdown:{hr:{node:"horizontal_rule"}},toMarkdown:function(e,t){e.write(t.attrs.markup||"---"),e.closeBlock(t)}}}},menu:xI},zI=["","<","><",">"];function CI(e){return zI[parseInt(e)]||""}function SI(e){switch(e=parseInt(e)){case 1:return"pull-left";case 2:return"center-block";case 3:return"pull-right";default:return""}}function EI(e,t){return-1!==e.indexOf(t,e.length-t.length)}var AI=Object.freeze({__proto__:null,FLOAT_NONE:0,FLOAT_LEFT:1,FLOAT_CENTER:2,FLOAT_RIGHT:3,FLOAT_ALT_EXT_NONE:"",FLOAT_ALT_EXT_LEFT:"<",FLOAT_ALT_EXT_CENTER:"><",FLOAT_ALT_EXT_RIGHT:">",FLOAT_MAP:zI,getAltExtensionByFloat:CI,parseFloatFromAlt:function(e){var t=0,r="";return e?(EI(e,"><")?(e=e.substring(0,e.length-2),r="><",t=2):EI(e,"<")?(e=e.substring(0,e.length-1),r="<",t=1):EI(e,">")&&(e=e.substring(0,e.length-1),r=">",t=3),{alt:e,ext:r,float:t}):{alt:e,float:t,ext:r}},getClassForFloat:SI});function qI(e,t,r){for(var n=t,o={ok:!1,pos:t,value:""},i=e.charCodeAt(t);t<r&&48<=i&&i<=57||37===i;)i=e.charCodeAt(++t);return o.ok=!0,o.pos=t,o.value=e.slice(n,t),o}var MI=function(e,t,r){var n,o={ok:!1,pos:0,width:"",height:""};if(r<=t)return o;if(61!==(n=e.charCodeAt(t)))return o;if(120!==(n=e.charCodeAt(++t))&&(n<48||57<n))return o;var i=qI(e,t,r);if(t=i.pos,120!==(n=e.charCodeAt(t)))return o;r=qI(e,++t,r);return t=r.pos,o.width=i.value,o.height=r.value,o.pos=t,o.ok=!0,o};function DI(e,t){var g,y;e.inline.ruler.before("emphasis","image",(g=e,y=t,function(e,t){var r,n,o,i,a,s,c,l="",u="",d="",p=e.pos,h=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(f=e.pos+2,(s=g.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((n=s+1)<h&&40===e.src.charCodeAt(n)){for(n++;n<h&&(32===(r=e.src.charCodeAt(n))||10===r);n++);if(h<=n)return!1;for(c=n,(i=g.helpers.parseLinkDestination(e.src,n,e.posMax)).ok&&(d=e.md.normalizeLink(i.str),e.md.validateLink(d)?n=i.pos:d=""),c=n;n<h&&(32===(r=e.src.charCodeAt(n))||10===r);n++);if(i=g.helpers.parseLinkTitle(e.src,n,e.posMax),n<h&&c!==n&&i.ok)for(a=i.str,n=i.pos;n<h&&(32===(r=e.src.charCodeAt(n))||10===r);n++);else a="";if(0<=n-1&&32===(r=e.src.charCodeAt(n-1))&&(i=MI(e.src,n,e.posMax)).ok)for(l=i.width,u=i.height,n=i.pos;n<h&&(32===(r=e.src.charCodeAt(n))||10===r);n++);if(h<=n||41!==e.src.charCodeAt(n))return e.pos=p,!1;n++}else{if(void 0===e.env.references)return!1;for(;n<h&&(32===(r=e.src.charCodeAt(n))||10===r);n++);if(n<h&&91===e.src.charCodeAt(n)?(c=n+1,0<=(n=g.helpers.parseLinkLabel(e,n))?o=e.src.slice(c,n++):n=s+1):n=s+1,o=o||e.src.slice(f,s),!(o=e.env.references[g.utils.normalizeReference(o)]))return e.pos=p,!1;d=o.href,a=o.title}if(!t){e.pos=f,e.posMax=s;var f=new e.md.inline.State(e.src.slice(f,s),e.md,e.env,t=[]);if(f.md.inline.tokenize(f),y&&y.autofill&&""===l&&""===u)try{var m=sizeOf(d),l=m.width,u=m.height}catch(e){}(s=e.push("image","img",0)).attrs=f=[["src",d],["alt",""]];m=(s.children=t).length?t[t.length-1]:null;m?(t=(d=AI.parseFloatFromAlt(m.content)).float,d=d.alt,m.content=d,s.attrs.push(["float",t])):s.attrs.push(["float",AI.FLOAT_NONE]),a&&f.push(["title",a]),""!==l&&f.push(["width",l]),""!==u&&f.push(["height",u])}return e.pos=n,e.posMax=h,!0}))}var TI="noopener noreferrer nofollow";function NI(e,t){return t=t||{},/^https?:\/\//i.test(e)||/^mailto:/i.test(e)||/^ftps?:\/\//i.test(e)||t.anchor&&/^#((?:[!$&()*+,;=._~:@?-]|%[0-9a-fA-F]{2}|[a-zA-Z0-9])+)$/i.test(e)||t.relative&&/^\/[^\/].*$/i.test(e)}function OI(e,t,r,n){t=t||{},!1!==n&&(e=NI(e,n)?e:"#"),r=r||e;n={href:e};return"#"!==e&&(n.target="_blank",n.rel=TI),$("<div>").append($("<a>").attr($.extend(n,t)).text(r)).html()}function II(e,t,r){RI(t.translate("Edit image"),t,e.attrs,r,e)}function $I(e,t){return!(!LI(e)||!LI(t))&&-1!==e.indexOf(t,e.length-t.length)}var LI=function(e){if(1<arguments.length)return this.each(arguments,function(e,t){if(!LI(t))return!1}),!0;return void 0!==e};function RI(e,t,r,n,o){function i(e){return e=e.trim(),e=$I(e,"px")?e.substring(0,e.length-2):e}var a=n.state,s=a.selection,c=s.from,l=s.to,s=function(e){if((e=i(e)).length&&!/^[0-9]+%?$/.test(e))return t.translate("Invalid dimension format used.")};Us({title:e,fields:{src:new Hs({label:t.translate("Location"),required:!0,value:r&&r.src,validate:function(e){if(!NI(e))return t.translate("Invalid image source.")}}),title:new Hs({label:t.translate("Title"),value:r&&r.title}),alt:new Hs({label:t.translate("Description"),value:r?r.alt:a.doc.textBetween(c,l," ")}),width:new Hs({label:t.translate("Width"),value:r&&r.width,clean:i,validate:s}),height:new Hs({label:t.translate("Height"),value:r&&r.height,clean:i,validate:s}),float:new Ws({label:t.translate("Position"),value:r&&r.float,options:[{label:t.translate("Normal"),value:0},{label:t.translate("Left"),value:1},{label:t.translate("Center"),value:2},{label:t.translate("Right"),value:3}]})},callback:function(e){o&&o.attrs.src===e.src&&(e.fileGuid=o.attrs.fileGuid),e.float=parseInt(e.float),n.dispatch(n.state.tr.replaceSelectionWith(t.schema.nodes.image.createAndFill(e))),n.focus()}})}function jI(e){return[{id:"insertImage",node:"image",group:"insert",item:new ji({title:(n=e).translate("Insert image"),label:n.translate("Image"),sortOrder:100,enable:function(e){return ra(e,n.schema.nodes.image)&&na(e)},run:function(e,t,r){e.selection instanceof tt&&e.selection.node.type===n.schema.nodes.image?II(e.selection.node,n,r):RI(n.translate("Insert image"),n,null,r)}})}];var n}function PI(o,i){var a=this;this.createDom(o),i.event.on("clear, serialize",function(){$(".humhub-richtext-inline-menu").remove()}),this.dom.addEventListener("mouseenter",function(e){var t=$(a.dom),r=t.offset(),n=i.editor.$.offset();r.top<n.top||(r=$("<div>").addClass("humhub-richtext-inline-menu").addClass("humhub-richtext-image-edit").html('<button class="btn btn-primary btn-xs"><i class="fa fa-pencil"></i></button>').css({position:"absolute",left:r.left+t.width()-25,top:r.top+5,"z-index":997}).on("mousedown",function(e){var t=i.editor.view,r=t.state.doc;t.dispatch(t.state.tr.setSelection(tt.create(r,t.posAtDOM(a.dom))).scrollIntoView()),II(o,i,t)}),$("html").append(r))}),this.dom.addEventListener("mouseleave",function(e){e=e.toElement||e.relatedTarget;$(e).closest(".humhub-richtext-inline-menu").length||$(".humhub-richtext-inline-menu").remove()})}var Sa={id:"image",schema:{nodes:{image:{sortOrder:1e3,inline:!0,attrs:{src:{},alt:{default:null},title:{default:null},width:{default:null},height:{default:null},float:{default:0},fileGuid:{default:null}},group:"inline",draggable:!0,parseDOM:[{tag:"img[src]",getAttrs:function(e){return{src:e.getAttribute("src"),title:e.getAttribute("title"),alt:e.getAttribute("alt"),width:e.getAttribute("width"),height:e.getAttribute("height"),fileGuid:e.getAttribute("data-file-guid")}}}],parseMarkdown:{node:"image",getAttrs:function(e){var t=window.humhub?humhub.modules.file.filterFileUrl(e.attrGet("src")).url:e.attrGet("src"),r=window.humhub?humhub.modules.file.filterFileUrl(e.attrGet("src")).guid:null;return{src:t,title:e.attrGet("title")||null,width:e.attrGet("width")||null,height:e.attrGet("height")||null,alt:e.attrGet("alt")||null,float:e.attrGet("float")||0,fileGuid:r}}},toMarkdown:function(e,t){var r="";(t.attrs.width||t.attrs.height)&&(r+=" =",r+=t.attrs.width||"",r+="x",r+=t.attrs.height||"");var n=t.attrs.fileGuid?"file-guid:"+t.attrs.fileGuid:t.attrs.src,o=CI(t.attrs.float);e.write("+(t.attrs.title?" "+e.quote(t.attrs.title):"")+r+")")}}}},menu:jI,plugins:function(e){return[((t=e).editor.$.on("mouseleave",function(e){e=e.toElement||e.relatedTarget;$(e).closest(".humhub-richtext-inline-menu").length||$(".humhub-richtext-inline-menu").remove()}),new mt({props:{nodeViews:{image:function(e){return new PI(e,t)}}},filterTransaction:function(e,t){return e.curSelection instanceof tt||$(".humhub-richtext-image-edit").remove(),!0}}))];var t},registerMarkdownIt:function(e){e.use(DI);var c=e.renderer.rules.image||function(e,t,r,n,o){return o.renderToken(e,t,r)};e.renderer.rules.image=function(e,t,r,n,o){var i=e[t],a=i.attrIndex("src"),s=window.humhub?humhub.modules.file.filterFileUrl(i.attrs[a][1]):{url:i.attrs[a][1]};i.attrs[a][1]=NI(s.url)?s.url:"#",s.guid&&i.attrPush(["data-file-guid",s.guid]),n&&n.context&&n.context.uuid&&i.attrPush(["data-ui-gallery",n.context.uuid]);s=i.attrs[i.attrIndex("float")][1];return s&&(i.attrPush(["class",SI(s)]),i.attrs.splice(i.attrIndex("float"),1)),c(e,t,r,n,o)}}},BI={marks:{sortOrder:300,link:{attrs:{href:{},title:{default:null},target:{default:"_blank"},fileGuid:{default:null},rel:{default:TI}},inclusive:!(PI.prototype.createDom=function(e){var t=NI(e.attrs.src)?e.attrs.src:"#";this.dom=$("<img>").attr({src:t,title:e.attrs.title||null,width:e.attrs.width||null,height:e.attrs.height||null,alt:e.attrs.alt||null,class:SI(e.attrs.float),"data-file-guid":e.attrs.fileGuid})[0]}),parseDOM:[{tag:"a[href]",getAttrs:function(e){var t=e.getAttribute("href");return{href:t=!NI(t)?"#":t,title:e.getAttribute("title"),target:e.getAttribute("target"),fileGuid:e.getAttribute("data-file-guid")}}}],toDOM:function(e){e=e.attrs;return["a",{href:e.href,title:e.title},0]},parseMarkdown:{mark:"link",getAttrs:function(e){var t=window.humhub?humhub.modules.file.filterFileUrl(e.attrGet("href")).url:e.attrGet("href"),r=window.humhub?humhub.modules.file.filterFileUrl(e.attrGet("href")).guid:null;return{href:t=!NI(t)?"#":t,title:e.attrGet("title")||null,fileGuid:r}}},toMarkdown:{open:"[",close:function(e,t){var r=t.attrs.fileGuid?"file-guid:"+t.attrs.fileGuid:t.attrs.href;return"]("+e.esc(r)+(t.attrs.title?" "+e.quote(t.attrs.title):"")+")"}}}}};function FI(e,n,t,o,i){var a=n.editor.view,t={text:new Hs({label:"Text",value:t&&t.text}),href:new Hs({label:n.translate("Link target"),value:t&&t.href,required:!0,clean:function(e){return NI(e)?e:"https://"+e}}),title:new Hs({label:"Title",value:t&&t.title})};o||delete t.text,Us({title:e,fields:t,callback:function(e){var t,r;o?(i.attrs.href===e.href&&(e.fileGuid=i.attrs.fileGuid),t=i.type.removeFromSet(o.marks),(r=o.copy(e.text)).marks=t,delete e.text,i.attrs=e,r.marks=i.addToSet(r.marks),a.dispatch(a.state.tr.replaceSelectionWith(r,!1))):jo(n.schema.marks.link,e)(a.state,a.dispatch),a.focus()}})}function UI(e){return[{id:"linkItem",mark:"link",group:"marks",item:(o=(n=e).schema.marks.link,new ji({title:n.translate("Add or remove link"),sortOrder:500,icon:Ki.link,active:function(e){return Ri(e,o)},enable:function(e){return!e.selection.empty&&na(e)},run:function(e,t,r){if(Ri(e,o))return jo(o)(e,t),!0;FI(n.translate("Create a link"),n)}}))}];var n,o}function VI(e,c){var l=this;this.createDom(e),this.dom.addEventListener("click",function(e){var t,r,n,o,i,a,s;t=l.dom,i=(r=c).editor.view.state.doc,a=r.editor.view,s=a.posAtDOM(t),(t=i.nodeAt(s)).type==r.schema.nodes.text&&(s=(i=i.resolve(s)).node(0).resolve(i.pos+t.nodeSize),a.dispatch(a.state.tr.setSelection(new Qe(i,s)).scrollIntoView()),n=r,o=null,t.marks.forEach(function(e){e.type==n.schema.marks.link&&(o=e)}),s=o,FI(r.translate("Edit link"),r,$.extend({},s.attrs,{text:t.text}),t,s))})}VI.prototype.createDom=function(e){this.dom=$(OI(e.attrs.href,{"data-file-guid":e.attrs.fileGuid,target:e.attrs.target||"_blank"}))[0]},VI.prototype.stopEvent=function(){return!0};var HI=/((https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,})|[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6})/gi,WI=function(e,s){var c=[],l=[];return e.forEach(function(e){if(e.isText){for(var t=e.text,r=0;a=HI.exec(t);){var n=a.index,o=n+a[0].length,i=e.type.schema.marks.link;0<n&&c.push(e.cut(r,n));var a=t.slice(n,o);0!==a.indexOf("http")&&(a="mailto:"+a),l.push(a),c.push(e.cut(n,o).mark(i.create({href:a}).addToSet(e.marks))),r=o}r<t.length&&c.push(e.cut(r))}else c.push(e.copy(WI(e.content,s)))}),l.length&&s.event.trigger("linkified",[l,c]),E.fromArray(c)},Ea={id:"link",schema:BI,menu:UI,registerMarkdownIt:function(e){var s=e.renderer.rules.link_open||function(e,t,r,n,o){return o.renderToken(e,t,r)};e.renderer.rules.link_open=function(e,t,r,n,o){var i=e[t].attrIndex("href"),a=window.humhub?humhub.modules.file.filterFileUrl(e[t].attrs[i][1]):{url:e[t].attrs[i][1]};e[t].attrs[i][1]=a.url,a.guid&&(e[t].attrPush(["data-file-guid",a.guid]),e[t].attrPush(["data-file-download",""]),e[t].attrPush(["data-file-url",a.url])),NI(a.url,{anchor:e[t].anchor})||(e[t].attrs[i][1]="#");i=e[t].attrIndex("target");return i<0?e[t].attrPush(["target","_blank"]):e[t].attrs[i][1]||(e[t].attrs[i][1]="_blank"),e[t].attrPush(["rel",TI]),s(e,t,r,n,o)}},plugins:function(e){return[(t=e,new mt({props:{nodeViews:{link:function(e){return new VI(e,t)}},transformPasted:function(e){return new A(WI(e.content,t),e.openStart,e.openEnd)}}}))];var t}};function GI(e){return[{id:"outdentListItem",node:"list_item",group:"format",item:$i(yd(e.schema.nodes.list_item),{title:e.translate("Decrease indent"),icon:Ki.outdent,sortOrder:110})},{id:"indentListItem",node:"list_item",group:"format",item:$i(_d(e.schema.nodes.list_item),{title:e.translate("Increase indent"),icon:Ki.indent,sortOrder:120})}]}function ZI(e,t){this.state=e,this.provider=t.provider,this.reset()}Vs={id:"list_item",schema:{nodes:{list_item:{sortOrder:800,content:"paragraph block*",defining:!0,parseDOM:[{tag:"li"}],toDOM:function(){return["li",0]},parseMarkdown:{block:"list_item"},toMarkdown:function(e,t){e.renderContent(t)}}}},menu:GI},cc={nodes:{mention:{inline:!0,group:"inline",selectable:!0,draggable:!0,attrs:{name:{default:""},guid:{default:""},href:{default:"#"}},parseDOM:[{tag:"span[data-mention]",getAttrs:function(e){return{guid:e.getAttribute("data-mention"),name:e.textContent}}}],toDOM:function(e){return["span",{"data-mention":e.attrs.guid,contentEditable:"false",style:"display:inline-block"},["span",{style:"display:block"},"@"+e.attrs.name]]},parseMarkdown:{node:"mention",getAttrs:function(e){return{name:e.attrGet("name"),guid:e.attrGet("guid"),href:e.attrGet("href")}}},toMarkdown:function(e,t){var r=fO(t).getMark("link");r&&e.write(BI.marks.link.toMarkdown.close(e,r));var n=t.attrs,o=n.guid,t=n.name,n=n.href;e.write("["+e.esc(t)+"](mention:"+e.esc(o)+" "+e.quote(n)+")"),r&&e.write(BI.marks.link.toMarkdown.open)}}},marks:{mentionQuery:{excludes:"_",inclusive:!0,parseDOM:[{tag:"span[data-mention-query]"}],toDOM:function(e){return["span",{"data-mention-query":!0,style:"color: #0078D7"}]}}}};ZI.prototype.findQueryNode=function(){return $(this.view.dom).find("[data-mention-query]")},ZI.prototype.update=function(e,t){this.view=t;var r=(this.state=e).schema.marks.mentionQuery,n=e.doc,o=e.selection,i=o.$from,a=o.from,e=o.to;if(this.active=n.rangeHasMark(a-1,e,r),!this.active)return this.reset();o=this.findQueryNode();if(KI(o.text()," "))return t.dispatch(this.state.tr.removeMark(0,this.state.doc.nodeSize-2,r)),this.reset();a=n.resolve(a-1);this.queryMark={start:a.path[a.path.length-1],end:e},i.nodeBefore&&i.nodeBefore.text&&((i=i.nodeBefore.text.substr(1))!=this.query&&(this.query=i,this.provider.query(this,o[0])))},ZI.prototype.reset=function(){var e=this.state.schema.marks.mentionQuery;this.state.storedMarks&&this.state.storedMarks.length&&(this.state.storedMarks=e.removeFromSet(this.state.storedMarks)),this.active=!1,this.query=null,this.provider.reset()},ZI.prototype.addMention=function(e){if(!e||!e.name||!e.guid)return this.view.dispatch(this.state.tr.removeMark(0,this.state.doc.nodeSize-2,r)),void this.reset();var t=this.state.schema.nodes.mention,r=this.state.schema.marks.mentionQuery,e=[t.create({name:e.name,guid:e.guid,href:e.link},null),this.state.schema.text(" ")],e=this.state.tr.removeMark(0,this.state.doc.nodeSize-2,r).replaceWith(this.queryMark.start,this.queryMark.end,e);a4&&document.getSelection().empty(),this.view.dispatch(e),this.view.focus()};var KI=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},JI=new _t("mention"),YI=(new mI).utils.isSpace;function XI(h,f){return(f=f||{}).node=f.node||"a",f.hrefAttr=f.hrefAttr||"href",f.titleAttr=f.titleAttr||"title",f.labelAttr=f.labelAttr||"label",function(e,t){var r,n,o,i,a,s,c="",l=h+":";e.pos;var u,d=e.posMax;e.pos;if(91!==e.src.charCodeAt(e.pos))return!1;if(n=e.pos+1,(o=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if(!((i=o+1)<d&&40===e.src.charCodeAt(i)))return!1;for(i++;i<d&&(r=e.src.charCodeAt(i),YI(r)||10===r);i++);if(d<=i)return!1;for(var p=0;p<l.length;p++)if(e.src.charAt(i++)!==l.charAt(p))return!1;for((a=e.md.helpers.parseLinkDestination(e.src,i,e.posMax)).ok&&(c=e.md.normalizeLink(a.str),e.md.validateLink(c)?i=a.pos:c=""),u=i;i<d&&(r=e.src.charCodeAt(i),YI(r)||10===r);i++);if(a=e.md.helpers.parseLinkTitle(e.src,i,e.posMax),i<d&&u!==i&&a.ok)for(s=a.str,i=a.pos;i<d&&(r=e.src.charCodeAt(i),YI(r)||10===r);i++);else s="";if(d<=i||41!==e.src.charCodeAt(i))return!1;if(i++,!t)for(e.pos=n,e.posMax=o,o=e.src.substring(n,o),e.push(h,f.node,0).attrs=c=[[f.hrefAttr,c]],o&&c.push([f.labelAttr,o]),s&&c.push([f.titleAttr,s]);41!==e.src.charCodeAt(e.pos);)e.pos++;return e.pos=i,e.posMax=d,!0}}var lc={id:"mention",schema:cc,plugins:function(e){return e.options.mention&&e.options.mention.provider?[(r=e,new mt({state:{init:function(e,t){return new ZI(t,r.options.mention)},apply:function(e,t,r,n){return t}},key:JI,view:function(e){var r=JI.getState(e.state);return{update:function(e,t){r.update(e.state,e)},destroy:function(){}}},appendTransaction:function(e,t,r){return fO(r.doc).find("mention").mark("link").removeMark("link",r)}}))]:[];var r},inputRules:function(e){return[(a=e,new eo(new RegExp("(^|[\\s(])@$"),function(e,t,r,n){var o=a.mark("mentionQuery"),i=a.text("@",[o]);if(!_O(e.selection.$anchor.nodeBefore,o))return r+=t[0].length-1,e.tr.removeMark(0,e.doc.nodeSize-2,o).setSelection(Qe.create(e.doc,r,n)).replaceSelectionWith(i,!1)}))];var a},keymap:function(e){return{ArrowUp:function(e,t){e=JI.getState(e);return!!e.active&&(e.provider.prev(),!0)},ArrowDown:function(e,t){e=JI.getState(e);return!(!e||!e.active)&&(e.provider.next(),!0)},Enter:function(e,t){e=JI.getState(e);return!(!e||!e.active)&&(e.provider.select(),!0)},Escape:function(e,t){e=JI.getState(e);return!(!e||!e.active)&&(e.provider.reset(),!0)}}},registerMarkdownIt:function(e){e.inline.ruler.before("link","mention",XI("mention",{labelAttr:"name",hrefAttr:"guid",titleAttr:"href"})),e.renderer.rules.mention=function(e,t){var r=e[t],e=r.attrGet("href"),t=r.attrGet("guid"),r="@"+r.attrGet("name");return NI(e,{relative:!0})?OI(e,{"data-contentcontainer-guid":t},r,!1):OI("#",{class:"not-found"},r)}}},ec={nodes:{oembed:{attrs:{href:{}},marks:"",atom:!0,draggable:!0,inline:!0,group:"inline",parseDOM:[{tag:"[data-oembed]",getAttrs:function(e){return{href:e.getAttribute("data-oembed")}}}],toDOM:function(e){var t=humhub.require("oembed").get(e.attrs.href);return(t&&t.length?t.show():$(OI(e.attrs.href,{class:"not-found"})))[0]},parseMarkdown:{node:"oembed",getAttrs:function(e){return{href:e.attrGet("href")}}},toMarkdown:function(e,t){e.write("["+t.attrs.href+"](oembed:"+t.attrs.href+")")}}}},QI=XI("oembed",{node:"div"}),nc={id:"oembed",schema:ec,init:function(n,e){e&&n.event.on("linkified",function(e,t){var r=n.editor.view.state.doc;fO(r).find("oembed").size()>=n.getPluginOption("oembed","max",5)||humhub.require("oembed").load(t).then(function(e){$.each(e,function(t,e){return fO(n.editor.view.state.doc).find().mark("link").where(function(e){return fO(e).getMark("link").attrs.href===t}).replaceWith(n.schema.nodes.oembed.create({href:t}),n.editor.view),!1})})})},registerMarkdownIt:function(e){e.inline.ruler.before("link","oembed",QI),e.renderer.rules.oembed=function(e,t){e=e[t].attrGet("href"),t=humhub.require("oembed").get(e);return t&&t.length?$("<div>").append(t).html():OI(e)}}},e$=new _t("focus"),Yc={id:"focus",plugins:function(e){return[new mt({key:e$,state:{init:function(){return!1},apply:function(e,t){e=e.getMeta(e$);return"boolean"==typeof e?e:t}},props:{handleDOMEvents:{blur:function(e){return e.dispatch(e.state.tr.setMeta(e$,!1)),!1},focus:function(e,t){return e.dispatch(e.state.tr.setMeta(e$,!0)),!1}}}})]}};function t$(e){return[{id:"wrapOrderedList",node:"ordered_list",group:"format",item:$i(gd(e.schema.nodes.ordered_list),{title:e.translate("Wrap in ordered list"),icon:Ki.orderedList,sortOrder:200})}]}pl={id:"ordered_list",menu:t$,schema:{nodes:{ordered_list:{sortOrder:600,content:"list_item+",group:"block",attrs:{order:{default:1},tight:{default:!0}},parseDOM:[{tag:"ol",getAttrs:function(e){return{order:e.hasAttribute("start")?+e.getAttribute("start"):1,tight:e.hasAttribute("data-tight")}}}],toDOM:function(e){return["ol",{start:1==e.attrs.order?null:e.attrs.order,"data-tight":e.attrs.tight?"true":null},0]},parseMarkdown:{block:"ordered_list",getAttrs:function(e){return{order:+e.attrGet("start")||1}}},toMarkdown:function(t,e){var r,n,o;t.table?t.text(e.textContent):(r=e.attrs.order||1,n=String(r+e.childCount-1).length,o=t.repeat(" ",n+2),t.renderList(e,o,function(e){e=String(r+e);return t.repeat(" ",n-e.length)+e+". "}))}}}},inputRules:function(e){return[ho(/^(\d+)\.\s$/,e.nodes.ordered_list,function(e){return{order:+e[1]}},function(e,t){return t.childCount+t.attrs.order==+e[1]})]}};function r$(e){return[{id:"makeParagraph",node:"paragraph",group:"types",item:ea((e=e).schema.nodes.paragraph,{title:e.translate("Change to paragraph"),label:e.translate("Paragraph")})}]}hl={id:"paragraph",schema:{nodes:{paragraph:{sortOrder:100,content:"inline*",group:"block",parseDOM:[{tag:"p"}],toDOM:function(){return["p",0]},parseMarkdown:{block:"paragraph"},toMarkdown:function(e,t,r){e.renderInline(t),e.table?t.content&&t.content.size&&r.lastChild!==t&&e.write("<br><br>"):e.closeBlock(t)}}}},menu:r$};function n$(e){return[{id:"markStrikethrough",mark:"strikethrough",group:"marks",item:Li(e.schema.marks.strikethrough,{title:e.translate("Toggle strikethrough"),icon:Ki.strikethrough,sortOrder:300})}]}Ud={id:"strikethrough",schema:{marks:{strikethrough:{parseDOM:[{tag:"s"}],toDOM:function(){return["s"]},parseMarkdown:{s:{mark:"strikethrough"}},toMarkdown:{open:"~~",close:"~~",mixable:!0,expelEnclosingWhitespace:!0}}}},menu:n$};function o$(e){return[{id:"markStrong",mark:"strong",group:"marks",item:Li(e.schema.marks.strong,{title:e.translate("Toggle strong style"),icon:Ki.strong,sortOrder:100})}]}var i$=function(e,t){if(this.content=e,this.size=t||0,null==t)for(var r=0;r<e.length;r++)this.size+=e[r].nodeSize},bl={firstChild:{configurable:!0},lastChild:{configurable:!0},childCount:{configurable:!0}};i$.prototype.nodesBetween=function(e,t,r,n,o){void 0===n&&(n=0);for(var i=0,a=0;a<t;i++){var s,c=this.content[i],l=a+c.nodeSize;e<l&&!1!==r(c,n+a,o,i)&&c.content.size&&(s=a+1,c.nodesBetween(Math.max(0,e-s),Math.min(c.content.size,t-s),r,n+s)),a=l}},i$.prototype.descendants=function(e){this.nodesBetween(0,this.size,e)},i$.prototype.textBetween=function(r,n,o,i){var a="",s=!0;return this.nodesBetween(r,n,function(e,t){e.isText?(a+=e.text.slice(Math.max(r,t)-t,n-t),s=!o):e.isLeaf&&i?(a+=i,s=!o):!s&&e.isBlock&&(a+=o,s=!0)},0),a},i$.prototype.append=function(e){if(!e.size)return this;if(!this.size)return e;var t=this.lastChild,r=e.firstChild,n=this.content.slice(),o=0;for(t.isText&&t.sameMarkup(r)&&(n[n.length-1]=t.withText(t.text+r.text),o=1);o<e.content.length;o++)n.push(e.content[o]);return new i$(n,this.size+e.size)},i$.prototype.cut=function(e,t){if(null==t&&(t=this.size),0==e&&t==this.size)return this;var r=[],n=0;if(e<t)for(var o=0,i=0;i<t;o++){var a=this.content[o],s=i+a.nodeSize;e<s&&((i<e||t<s)&&(a=a.isText?a.cut(Math.max(0,e-i),Math.min(a.text.length,t-i)):a.cut(Math.max(0,e-i-1),Math.min(a.content.size,t-i-1))),r.push(a),n+=a.nodeSize),i=s}return new i$(r,n)},i$.prototype.cutByIndex=function(e,t){return e==t?i$.empty:0==e&&t==this.content.length?this:new i$(this.content.slice(e,t))},i$.prototype.replaceChild=function(e,t){var r=this.content[e];if(r==t)return this;var n=this.content.slice(),r=this.size+t.nodeSize-r.nodeSize;return n[e]=t,new i$(n,r)},i$.prototype.addToStart=function(e){return new i$([e].concat(this.content),this.size+e.nodeSize)},i$.prototype.addToEnd=function(e){return new i$(this.content.concat(e),this.size+e.nodeSize)},i$.prototype.eq=function(e){if(this.content.length!=e.content.length)return!1;for(var t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0},bl.firstChild.get=function(){return this.content.length?this.content[0]:null},bl.lastChild.get=function(){return this.content.length?this.content[this.content.length-1]:null},bl.childCount.get=function(){return this.content.length},i$.prototype.child=function(e){var t=this.content[e];if(!t)throw new RangeError("Index "+e+" out of range for "+this);return t},i$.prototype.maybeChild=function(e){return this.content[e]},i$.prototype.forEach=function(e){for(var t=0,r=0;t<this.content.length;t++){var n=this.content[t];e(n,r,t),r+=n.nodeSize}},i$.prototype.findDiffStart=function(e,t){return function e(t,r,n){for(var o=0;;o++){if(o==t.childCount||o==r.childCount)return t.childCount==r.childCount?null:n;var i=t.child(o),a=r.child(o);if(i!=a){if(!i.sameMarkup(a))return n;if(i.isText&&i.text!=a.text){for(var s=0;i.text[s]==a.text[s];s++)n++;return n}if(i.content.size||a.content.size){var c=e(i.content,a.content,n+1);if(null!=c)return c}n+=i.nodeSize}else n+=i.nodeSize}}(this,e,t=void 0===t?0:t)},i$.prototype.findDiffEnd=function(e,t,r){return function e(t,r,n,o){for(var i=t.childCount,a=r.childCount;;){if(0==i||0==a)return i==a?null:{a:n,b:o};var s=t.child(--i),c=r.child(--a),l=s.nodeSize;if(s!=c){if(!s.sameMarkup(c))return{a:n,b:o};if(s.isText&&s.text!=c.text){for(var u=0,d=Math.min(s.text.length,c.text.length);u<d&&s.text[s.text.length-u-1]==c.text[c.text.length-u-1];)u++,n--,o--;return{a:n,b:o}}if(s.content.size||c.content.size){var p=e(s.content,c.content,n-1,o-1);if(p)return p}n-=l,o-=l}else n-=l,o-=l}}(this,e,t=void 0===t?this.size:t,r=void 0===r?e.size:r)},i$.prototype.findIndex=function(e,t){if(void 0===t&&(t=-1),0==e)return s$(0,e);if(e==this.size)return s$(this.content.length,e);if(e>this.size||e<0)throw new RangeError("Position "+e+" outside of fragment ("+this+")");for(var r=0,n=0;;r++){var o=n+this.child(r).nodeSize;if(e<=o)return o==e||0<t?s$(r+1,o):s$(r,n);n=o}},i$.prototype.toString=function(){return"<"+this.toStringInner()+">"},i$.prototype.toStringInner=function(){return this.content.join(", ")},i$.prototype.toJSON=function(){return this.content.length?this.content.map(function(e){return e.toJSON()}):null},i$.fromJSON=function(e,t){if(!t)return i$.empty;if(!Array.isArray(t))throw new RangeError("Invalid input for Fragment.fromJSON");return new i$(t.map(e.nodeFromJSON))},i$.fromArray=function(e){if(!e.length)return i$.empty;for(var t,r=0,n=0;n<e.length;n++){var o=e[n];r+=o.nodeSize,n&&o.isText&&e[n-1].sameMarkup(o)?(t=t||e.slice(0,n))[t.length-1]=o.withText(t[t.length-1].text+o.text):t&&t.push(o)}return new i$(t||e,r)},i$.from=function(e){if(!e)return i$.empty;if(e instanceof i$)return e;if(Array.isArray(e))return this.fromArray(e);if(e.attrs)return new i$([e],e.nodeSize);throw new RangeError("Can not convert "+e+" to a Fragment"+(e.nodesBetween?" (looks like multiple versions of prosemirror-model were loaded)":""))},Object.defineProperties(i$.prototype,bl);var a$={index:0,offset:0};function s$(e,t){return a$.index=e,a$.offset=t,a$}function c$(e,t){if(e===t)return!0;if(!e||"object"!=typeof e||!t||"object"!=typeof t)return!1;var r=Array.isArray(e);if(Array.isArray(t)!=r)return!1;if(r){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(!c$(e[n],t[n]))return!1}else{for(var o in e)if(!(o in t&&c$(e[o],t[o])))return!1;for(var i in t)if(!(i in e))return!1}return!0}i$.empty=new i$([],0);function l$(e,t){this.type=e,this.attrs=t}function u$(e){e=Error.call(this,e);return e.__proto__=u$.prototype,e}l$.prototype.addToSet=function(e){for(var t,r=!1,n=0;n<e.length;n++){var o=e[n];if(this.eq(o))return e;if(this.type.excludes(o.type))t=t||e.slice(0,n);else{if(o.type.excludes(this.type))return e;!r&&o.type.rank>this.type.rank&&((t=t||e.slice(0,n)).push(this),r=!0),t&&t.push(o)}}return t=t||e.slice(),r||t.push(this),t},l$.prototype.removeFromSet=function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e},l$.prototype.isInSet=function(e){for(var t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1},l$.prototype.eq=function(e){return this==e||this.type==e.type&&c$(this.attrs,e.attrs)},l$.prototype.toJSON=function(){var e,t={type:this.type.name};for(e in this.attrs){t.attrs=this.attrs;break}return t},l$.fromJSON=function(e,t){if(!t)throw new RangeError("Invalid input for Mark.fromJSON");e=e.marks[t.type];if(!e)throw new RangeError("There is no mark type "+t.type+" in this schema");return e.create(t.attrs)},l$.sameSet=function(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(!e[r].eq(t[r]))return!1;return!0},l$.setFrom=function(e){if(!e||0==e.length)return l$.none;if(e instanceof l$)return[e];e=e.slice();return e.sort(function(e,t){return e.type.rank-t.type.rank}),e},l$.none=[],((u$.prototype=Object.create(Error.prototype)).constructor=u$).prototype.name="ReplaceError";function d$(e,t,r){this.content=e,this.openStart=t,this.openEnd=r}fl={size:{configurable:!0}};function p$(e,t,r){if(r.openStart>e.depth)throw new u$("Inserted content deeper than insertion position");if(e.depth-r.openStart!=t.depth-r.openEnd)throw new u$("Inconsistent open depths");return function e(t,r,n,o){var i=t.index(o),a=t.node(o);{if(i==r.index(o)&&o<t.depth-n.openStart){var s=e(t,r,n,o+1);return a.copy(a.content.replaceChild(i,s))}if(n.content.size){if(n.openStart||n.openEnd||t.depth!=o||r.depth!=o){var c=w$(n,t),l=c.start,c=c.end;return y$(a,_$(t,l,c,r,o))}l=t.parent,c=l.content;return y$(l,c.cut(0,t.parentOffset).append(n.content).append(c.cut(r.parentOffset)))}return y$(a,b$(t,r,o))}}(e,t,r,0)}function h$(e,t){if(!t.type.compatibleContent(e.type))throw new u$("Cannot join "+t.type.name+" onto "+e.type.name)}function f$(e,t,r){e=e.node(r);return h$(e,t.node(r)),e}function m$(e,t){var r=t.length-1;0<=r&&e.isText&&e.sameMarkup(t[r])?t[r]=e.withText(t[r].text+e.text):t.push(e)}function g$(e,t,r,n){var o=(t||e).node(r),i=0,a=t?t.index(r):o.childCount;e&&(i=e.index(r),e.depth>r?i++:e.textOffset&&(m$(e.nodeAfter,n),i++));for(var s=i;s<a;s++)m$(o.child(s),n);t&&t.depth==r&&t.textOffset&&m$(t.nodeBefore,n)}function y$(e,t){if(!e.type.validContent(t))throw new u$("Invalid content for node "+e.type.name);return e.copy(t)}function _$(e,t,r,n,o){var i=e.depth>o&&f$(e,t,o+1),a=n.depth>o&&f$(r,n,o+1),s=[];return g$(null,e,o,s),i&&a&&t.index(o)==r.index(o)?(h$(i,a),m$(y$(i,_$(e,t,r,n,o+1)),s)):(i&&m$(y$(i,b$(e,t,o+1)),s),g$(t,r,o,s),a&&m$(y$(a,b$(r,n,o+1)),s)),g$(n,null,o,s),new i$(s)}function b$(e,t,r){var n=[];return g$(null,e,r,n),e.depth>r&&m$(y$(f$(e,t,r+1),b$(e,t,r+1)),n),g$(t,null,r,n),new i$(n)}function w$(e,t){for(var r=t.depth-e.openStart,n=t.node(r).copy(e.content),o=r-1;0<=o;o--)n=t.node(o).copy(i$.from(n));return{start:n.resolveNoCache(e.openStart+r),end:n.resolveNoCache(n.content.size-e.openEnd-r)}}fl.size.get=function(){return this.content.size-this.openStart-this.openEnd},d$.prototype.insertAt=function(e,t){t=function e(t,r,n,o){var i=t.findIndex(r);var a=i.index;var s=i.offset;i=t.maybeChild(a);if(s==r||i.isText)return o&&!o.canReplace(a,a,n)?null:t.cut(0,r).append(n).append(t.cut(r));n=e(i.content,r-s-1,n);return n&&t.replaceChild(a,i.copy(n))}(this.content,e+this.openStart,t,null);return t&&new d$(t,this.openStart,this.openEnd)},d$.prototype.removeBetween=function(e,t){return new d$(function e(t,r,n){var o=t.findIndex(r);var i=o.index;var a=o.offset;var s=t.maybeChild(i);var c=t.findIndex(n);o=c.index;c=c.offset;if(a==r||s.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,r).append(t.cut(n))}if(i!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(i,s.copy(e(s.content,r-a-1,n-a-1)))}(this.content,e+this.openStart,t+this.openStart),this.openStart,this.openEnd)},d$.prototype.eq=function(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd},d$.prototype.toString=function(){return this.content+"("+this.openStart+","+this.openEnd+")"},d$.prototype.toJSON=function(){if(!this.content.size)return null;var e={content:this.content.toJSON()};return 0<this.openStart&&(e.openStart=this.openStart),0<this.openEnd&&(e.openEnd=this.openEnd),e},d$.fromJSON=function(e,t){if(!t)return d$.empty;var r=t.openStart||0,n=t.openEnd||0;if("number"!=typeof r||"number"!=typeof n)throw new RangeError("Invalid input for Slice.fromJSON");return new d$(i$.fromJSON(e,t.content),r,n)},d$.maxOpen=function(e,t){void 0===t&&(t=!0);for(var r=0,n=0,o=e.firstChild;o&&!o.isLeaf&&(t||!o.type.spec.isolating);o=o.firstChild)r++;for(var i=e.lastChild;i&&!i.isLeaf&&(t||!i.type.spec.isolating);i=i.lastChild)n++;return new d$(e,r,n)},Object.defineProperties(d$.prototype,fl),d$.empty=new d$(i$.empty,0,0);function k$(e,t,r){this.pos=e,this.path=t,this.depth=t.length/3-1,this.parentOffset=r}Al={parent:{configurable:!0},doc:{configurable:!0},textOffset:{configurable:!0},nodeAfter:{configurable:!0},nodeBefore:{configurable:!0}};k$.prototype.resolveDepth=function(e){return null==e?this.depth:e<0?this.depth+e:e},Al.parent.get=function(){return this.node(this.depth)},Al.doc.get=function(){return this.node(0)},k$.prototype.node=function(e){return this.path[3*this.resolveDepth(e)]},k$.prototype.index=function(e){return this.path[3*this.resolveDepth(e)+1]},k$.prototype.indexAfter=function(e){return e=this.resolveDepth(e),this.index(e)+(e!=this.depth||this.textOffset?1:0)},k$.prototype.start=function(e){return 0==(e=this.resolveDepth(e))?0:this.path[3*e-1]+1},k$.prototype.end=function(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size},k$.prototype.before=function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]},k$.prototype.after=function(e){if(!(e=this.resolveDepth(e)))throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[3*e-1]+this.path[3*e].nodeSize},Al.textOffset.get=function(){return this.pos-this.path[this.path.length-1]},Al.nodeAfter.get=function(){var e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;var r=this.pos-this.path[this.path.length-1],n=e.child(t);return r?e.child(t).cut(r):n},Al.nodeBefore.get=function(){var e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):0==e?null:this.parent.child(e-1)},k$.prototype.posAtIndex=function(e,t){t=this.resolveDepth(t);for(var r=this.path[3*t],n=0==t?0:this.path[3*t-1]+1,o=0;o<e;o++)n+=r.child(o).nodeSize;return n},k$.prototype.marks=function(){var e=this.parent,t=this.index();if(0==e.content.size)return l$.none;if(this.textOffset)return e.child(t).marks;var r=e.maybeChild(t-1),n=e.maybeChild(t);r||(t=r,r=n,n=t);for(var o=r.marks,i=0;i<o.length;i++)!1!==o[i].type.spec.inclusive||n&&o[i].isInSet(n.marks)||(o=o[i--].removeFromSet(o));return o},k$.prototype.marksAcross=function(e){var t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;for(var r=t.marks,n=e.parent.maybeChild(e.index()),o=0;o<r.length;o++)!1!==r[o].type.spec.inclusive||n&&r[o].isInSet(n.marks)||(r=r[o--].removeFromSet(r));return r},k$.prototype.sharedDepth=function(e){for(var t=this.depth;0<t;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0},k$.prototype.blockRange=function(e,t){if((e=void 0===e?this:e).pos<this.pos)return e.blockRange(this);for(var r=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);0<=r;r--)if(e.pos<=this.end(r)&&(!t||t(this.node(r))))return new C$(this,e,r)},k$.prototype.sameParent=function(e){return this.pos-this.parentOffset==e.pos-e.parentOffset},k$.prototype.max=function(e){return e.pos>this.pos?e:this},k$.prototype.min=function(e){return e.pos<this.pos?e:this},k$.prototype.toString=function(){for(var e="",t=1;t<=this.depth;t++)e+=(e?"/":"")+this.node(t).type.name+"_"+this.index(t-1);return e+":"+this.parentOffset},k$.resolve=function(e,t){if(!(0<=t&&t<=e.content.size))throw new RangeError("Position "+t+" out of range");for(var r=[],n=0,o=t,i=e;;){var a=i.content.findIndex(o),s=a.index,c=a.offset,a=o-c;if(r.push(i,s,n+c),!a)break;if((i=i.child(s)).isText)break;o=a-1,n+=c+1}return new k$(t,r,o)},k$.resolveCached=function(e,t){for(var r=0;r<v$.length;r++){var n=v$[r];if(n.pos==t&&n.doc==e)return n}var o=v$[x$]=k$.resolve(e,t);return x$=(x$+1)%z$,o},Object.defineProperties(k$.prototype,Al);var v$=[],x$=0,z$=12,C$=function(e,t,r){this.$from=e,this.$to=t,this.depth=r},Zl={start:{configurable:!0},end:{configurable:!0},parent:{configurable:!0},startIndex:{configurable:!0},endIndex:{configurable:!0}};Zl.start.get=function(){return this.$from.before(this.depth+1)},Zl.end.get=function(){return this.$to.after(this.depth+1)},Zl.parent.get=function(){return this.$from.node(this.depth)},Zl.startIndex.get=function(){return this.$from.index(this.depth)},Zl.endIndex.get=function(){return this.$to.indexAfter(this.depth)},Object.defineProperties(C$.prototype,Zl);var S$=Object.create(null),Pu=function(e,t,r,n){this.type=e,this.attrs=t,this.content=r||i$.empty,this.marks=n||l$.none},Ml={nodeSize:{configurable:!0},childCount:{configurable:!0},textContent:{configurable:!0},firstChild:{configurable:!0},lastChild:{configurable:!0},isBlock:{configurable:!0},isTextblock:{configurable:!0},inlineContent:{configurable:!0},isInline:{configurable:!0},isText:{configurable:!0},isLeaf:{configurable:!0},isAtom:{configurable:!0}};Ml.nodeSize.get=function(){return this.isLeaf?1:2+this.content.size},Ml.childCount.get=function(){return this.content.childCount},Pu.prototype.child=function(e){return this.content.child(e)},Pu.prototype.maybeChild=function(e){return this.content.maybeChild(e)},Pu.prototype.forEach=function(e){this.content.forEach(e)},Pu.prototype.nodesBetween=function(e,t,r,n){this.content.nodesBetween(e,t,r,n=void 0===n?0:n,this)},Pu.prototype.descendants=function(e){this.nodesBetween(0,this.content.size,e)},Ml.textContent.get=function(){return this.textBetween(0,this.content.size,"")},Pu.prototype.textBetween=function(e,t,r,n){return this.content.textBetween(e,t,r,n)},Ml.firstChild.get=function(){return this.content.firstChild},Ml.lastChild.get=function(){return this.content.lastChild},Pu.prototype.eq=function(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)},Pu.prototype.sameMarkup=function(e){return this.hasMarkup(e.type,e.attrs,e.marks)},Pu.prototype.hasMarkup=function(e,t,r){return this.type==e&&c$(this.attrs,t||e.defaultAttrs||S$)&&l$.sameSet(this.marks,r||l$.none)},Pu.prototype.copy=function(e){return(e=void 0===e?null:e)==this.content?this:new this.constructor(this.type,this.attrs,e,this.marks)},Pu.prototype.mark=function(e){return e==this.marks?this:new this.constructor(this.type,this.attrs,this.content,e)},Pu.prototype.cut=function(e,t){return 0==e&&t==this.content.size?this:this.copy(this.content.cut(e,t))},Pu.prototype.slice=function(e,t,r){if(void 0===r&&(r=!1),e==(t=void 0===t?this.content.size:t))return d$.empty;var n=this.resolve(e),e=this.resolve(t),r=r?0:n.sharedDepth(t),t=n.start(r),t=n.node(r).content.cut(n.pos-t,e.pos-t);return new d$(t,n.depth-r,e.depth-r)},Pu.prototype.replace=function(e,t,r){return p$(this.resolve(e),this.resolve(t),r)},Pu.prototype.nodeAt=function(e){for(var t=this;;){var r=t.content.findIndex(e),n=r.index,r=r.offset;if(!(t=t.maybeChild(n)))return null;if(r==e||t.isText)return t;e-=r+1}},Pu.prototype.childAfter=function(e){var t=this.content.findIndex(e),e=t.index,t=t.offset;return{node:this.content.maybeChild(e),index:e,offset:t}},Pu.prototype.childBefore=function(e){if(0==e)return{node:null,index:0,offset:0};var t=this.content.findIndex(e),r=t.index,t=t.offset;if(t<e)return{node:this.content.child(r),index:r,offset:t};e=this.content.child(r-1);return{node:e,index:r-1,offset:t-e.nodeSize}},Pu.prototype.resolve=function(e){return k$.resolveCached(this,e)},Pu.prototype.resolveNoCache=function(e){return k$.resolve(this,e)},Pu.prototype.rangeHasMark=function(e,t,r){var n=!1;return e<t&&this.nodesBetween(e,t,function(e){return!(n=r.isInSet(e.marks)?!0:n)}),n},Ml.isBlock.get=function(){return this.type.isBlock},Ml.isTextblock.get=function(){return this.type.isTextblock},Ml.inlineContent.get=function(){return this.type.inlineContent},Ml.isInline.get=function(){return this.type.isInline},Ml.isText.get=function(){return this.type.isText},Ml.isLeaf.get=function(){return this.type.isLeaf},Ml.isAtom.get=function(){return this.type.isAtom},Pu.prototype.toString=function(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);var e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),function(e,t){for(var r=e.length-1;0<=r;r--)t=e[r].type.name+"("+t+")";return t}(this.marks,e)},Pu.prototype.contentMatchAt=function(e){e=this.type.contentMatch.matchFragment(this.content,0,e);if(!e)throw new Error("Called contentMatchAt on a node with invalid content");return e},Pu.prototype.canReplace=function(e,t,r,n,o){void 0===r&&(r=i$.empty),void 0===n&&(n=0),void 0===o&&(o=r.childCount);e=this.contentMatchAt(e).matchFragment(r,n,o),t=e&&e.matchFragment(this.content,t);if(!t||!t.validEnd)return!1;for(var i=n;i<o;i++)if(!this.type.allowsMarks(r.child(i).marks))return!1;return!0},Pu.prototype.canReplaceWith=function(e,t,r,n){if(n&&!this.type.allowsMarks(n))return!1;r=this.contentMatchAt(e).matchType(r),t=r&&r.matchFragment(this.content,t);return!!t&&t.validEnd},Pu.prototype.canAppend=function(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)},Pu.prototype.check=function(){if(!this.type.validContent(this.content))throw new RangeError("Invalid content for node "+this.type.name+": "+this.content.toString().slice(0,50));for(var e=l$.none,t=0;t<this.marks.length;t++)e=this.marks[t].addToSet(e);if(!l$.sameSet(e,this.marks))throw new RangeError("Invalid collection of marks for node "+this.type.name+": "+this.marks.map(function(e){return e.type.name}));this.content.forEach(function(e){return e.check()})},Pu.prototype.toJSON=function(){var e,t={type:this.type.name};for(e in this.attrs){t.attrs=this.attrs;break}return this.content.size&&(t.content=this.content.toJSON()),this.marks.length&&(t.marks=this.marks.map(function(e){return e.toJSON()})),t},Pu.fromJSON=function(e,t){if(!t)throw new RangeError("Invalid input for Node.fromJSON");var r=null;if(t.marks){if(!Array.isArray(t.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=t.marks.map(e.markFromJSON)}if("text"==t.type){if("string"!=typeof t.text)throw new RangeError("Invalid text node in JSON");return e.text(t.text,r)}var n=i$.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,n,r)},Object.defineProperties(Pu.prototype,Ml);function E$(e){return t=/(?:\*\*|__)([^\*_]+)(?:\*\*|__)$/,s=e.marks.strong,new eo(t,function(e,t,r,n){var o=c instanceof Function?c(t):c,i=e.selection.$to.nodeBefore;if(!i||!i.isText||i.text.length<t[0].length-1||function(e){if(!e)return!1;var t=!1;return e.marks.forEach(function(e){e.type.spec.isCode&&(t=!0)}),t}(i)||s.isInSet(i.marks))return null;if(t[1]){var a=e.tr,i=r+t[0].indexOf(t[1]),e=i+t[1].length;return e<n&&a.delete(e,n),r<i&&a.delete(r,i),n=r+t[1].length,a.addMark(r,n,s.create(o)),a.removeStoredMark(s),a}return null});var t,s,c}Bu={id:"strong",schema:{marks:{strong:{sortOrder:200,parseDOM:[{tag:"b"},{tag:"strong"},{style:"font-weight",getAttrs:function(e){return/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}}],toDOM:function(){return["strong"]},parseMarkdown:{mark:"strong"},toMarkdown:{open:"**",close:"**",mixable:!0,expelEnclosingWhitespace:!0}}}},menu:o$,inputRules:function(e){return[E$(e)]}};(Fu=function(e){var t,r=e.cellAttributes||{},n={colspan:{default:1},rowspan:{default:1},colwidth:{default:null}};for(t in r)n[t]={default:r[t].default};return{table:{content:"table_row+",tableRole:"table",isolating:!0,group:e.tableGroup,parseDOM:[{tag:"table"}],toDOM:function(){return["table",["tbody",0]]}},table_row:{content:"(table_cell | table_header)*",tableRole:"row",parseDOM:[{tag:"tr"}],toDOM:function(){return["tr",0]}},table_cell:{content:e.cellContent,attrs:n,tableRole:"cell",isolating:!0,parseDOM:[{tag:"td",getAttrs:function(e){return Wa(e,r)}}],toDOM:function(e){return["td",Ga(e,r),0]}},table_header:{content:e.cellContent,attrs:n,tableRole:"header_cell",isolating:!0,parseDOM:[{tag:"th",getAttrs:function(e){return Wa(e,r)}}],toDOM:function(e){return["th",Ga(e,r),0]}}}}({tableGroup:"block",cellContent:"paragraph+",cellAttributes:{style:{default:null,getFromDOM:function(e){return e.style},setDOMAttr:function(e,t){e&&(t.style=e)}}}})).table_row.parseMarkdown={tr:{block:"table_row"}},Fu.table_header.parseMarkdown={th:{block:"table_header"}},Fu.table_cell.parseMarkdown={td:{block:"table_cell"}};var Fu=Object.assign(Fu,{table:{content:"(table_row+ | table_head | table_body | table_foot)",tableRole:"table",isolating:!1,group:"block",parseDOM:[{tag:"table"}],toDOM:function(){return["table",["tbody",0]]},toMarkdown:function(e,t){A$(e,t)},parseMarkdown:{block:"table"}},table_head:{content:"table_row*",tableRole:"head",parseDOM:[{tag:"thead"}],toDOM:function(){return["thead",0]},parseMarkdown:{thead:{block:"table_head"}}},table_body:{content:"table_row*",tableRole:"body",parseDOM:[{tag:"tbody"}],toDOM:function(){return["tbody",0]},parseMarkdown:{tbody:{block:"table_body"}}},table_foot:{content:"table_row*",tableRole:"foot",parseDOM:[{tag:"tfoot"}],toDOM:function(){return["tfoot",0]},parseMarkdown:{tfoot:{block:"table_foot"}}}}),A$=function(n,o,i){n.table=!0,void 0===i&&(i=!0),o.forEach(function(e,t,r){"table_body"===e.type.name||"table_head"===e.type.name?A$(n,e,0===r):(i&&0===r?q$:M$)(n,e),r!==o.childCount-1&&n.write("\n")}),n.table=!1,n.closeBlock(o)},q$=function(e,t){M$(e,t),e.write("\n"),M$(e,t,!0)},M$=function(n,e,o){n.write("|"),e.forEach(function(e,t,r){D$(n,e,o)})},D$=function(e,t,r){e.write(" "),r?t.textContent.length?e.write(e.repeat("-",t.textContent.length)):e.write("---"):e.renderContent(t),e.write(" "),e.write("|")};function T$(e,t){var r=e.bMarks[t]+e.blkIndent,t=e.eMarks[t];return e.src.substr(r,t-r)}function N$(e){for(var t=[],r=0,n=e.length,o=0,i=0,a=!1,s=0,c=e.charCodeAt(r);r<n;)96===c?a?(a=!1,s=r):o%2==0&&(a=!0,s=r):124!==c||o%2!=0||a||(t.push(e.substring(i,r)),i=r+1),92===c?o++:o=0,++r===n&&a&&(a=!1,r=s+1),c=e.charCodeAt(r);return t.push(e.substring(i)),t}function O$(e,t,r,n){var o,i,a,s,c,l,u,d,p,h,f;if(r<t+2)return!1;if(e.sCount[c=t+1]<e.blkIndent)return!1;if(4<=e.sCount[c]-e.blkIndent)return!1;if((a=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(o=e.src.charCodeAt(a++))&&45!==o&&58!==o)return!1;for(;a<e.eMarks[c];){if(124!==(o=e.src.charCodeAt(a))&&45!==o&&58!==o&&!function(e){switch(e){case 9:case 32:return 1}}(o))return!1;a++}for(l=(i=T$(e,t+1)).split("|"),p=[],s=0;s<l.length;s++){if(!(h=l[s].trim())){if(0===s||s===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(h))return!1;58===h.charCodeAt(h.length-1)?p.push(58===h.charCodeAt(0)?"center":"right"):58===h.charCodeAt(0)?p.push("left"):p.push("")}if(-1===(i=T$(e,t).trim()).indexOf("|"))return!1;if(4<=e.sCount[t]-e.blkIndent)return!1;if((u=(l=N$(i.replace(/^\||\|$/g,""))).length)>p.length)return!1;if(n)return!0;for((d=e.push("table_open","table",1)).map=f=[t,0],(d=e.push("tr_open","tr",1)).map=[t,t+1],s=0;s<l.length;s++)(d=e.push("th_open","th",1)).map=[t,t+1],p[s]&&(d.attrs=[["style","text-align:"+p[s]]]),(d=e.push("paragraph_open","p",1)).map=[t,e.line],(d=e.push("inline","",0)).content=l[s].trim(),d.map=[t,t+1],d.children=[],d=e.push("paragraph_close","p",-1),d=e.push("th_close","th",-1);for((d=e.push("tr_close","tr",-1)).map=n=[t+2,0],c=t+2;c<r&&!(e.sCount[c]<e.blkIndent)&&-1!==(i=T$(e,c).trim()).indexOf("|")&&!(4<=e.sCount[c]-e.blkIndent);c++){for(l=N$(i.replace(/^\||\|$/g,"")),d=e.push("tr_open","tr",1),s=0;s<u;s++)d=e.push("td_open","td",1),p[s]&&(d.attrs=[["style","text-align:"+p[s]]]),(d=e.push("paragraph_open","p",1)).map=[t,e.line],(d=e.push("inline","",0)).content=l[s]?l[s].trim():"",d.children=[],d=e.push("paragraph_close","p",-1),d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return d=e.push("table_close","table",-1),f[1]=n[1]=c,e.line=c,!0}function I$(e){return[{id:"insertTable",node:"table",item:(i=(r=e).schema,n=$o(i.nodes.table_header),o={title:r.translate("Create table"),icon:Ki.table,sortOrder:300,run:function(e,n,o){Us({title:r.translate("Insert table"),fields:{rowCount:new Hs({label:r.translate("Rows"),required:!0,value:1}),columnCount:new Hs({label:r.translate("Columns"),value:1})},callback:function(e){$o(i.nodes.table_header)(o.state,n);for(var t=1;t<e.columnCount;t++)Ms(o.state,n);Rs(o.state,n),Rs(o.state,n);for(var r=1;r<e.rowCount;r++)Os(o.state,n);o.focus()}})},enable:function(e){return n(e)},select:function(e){return n(e)}},new ji(o))},{id:"tableOptions",node:"table",item:new Gi([t((e=e).translate("Insert column before"),qs,0),t(e.translate("Insert column after"),Ms,1),t(e.translate("Delete column"),Ds,2),t(e.translate("Insert row before"),Ns,3),t(e.translate("Insert row after"),Os,4),t(e.translate("Delete row"),Is,5),t(e.translate("Delete table"),Ps,6)],{icon:Ki.table,sortOrder:301})}];function t(e,t,r){return new ji({label:e,select:t,run:t,sortOrder:r,title:""})}var r,i,n,o}function $$(e,t){return 1===e.childCount&&"paragraph"===e.firstChild.type.name&&0===e.firstChild.content.size&&!t.hasContentDecorations()}function L$(e,t){var r=document.createElement("div");return r.textContent=t.options.placeholder.text,r.className=t.options.placeholder.class||"placeholder",Tn.widget(1,r)}Yu={id:"table",schema:{nodes:Fu},menu:I$,registerMarkdownIt:function(e){e.block.ruler.at("table",O$)}},_a={id:"text",schema:{nodes:{text:{sortOrder:900,group:"inline",toDOM:function(e){return e.text},toMarkdown:function(e,t){var r=!1;t.marks.forEach(function(e){e.type.spec.isCode&&(r=!0)});t=t.text;r&&(t=t.replace("`","")),e.text(t,!r)}}}}},ka={id:"attributes",plugins:function(e){return[new mt({props:{attributes:e.options.attributes}})]}},xa={id:"placeholder",plugins:function(e){return e.options.placeholder&&e.options.placeholder.text?[(o=e,new mt({state:{init:function(e,t){return $$(t.doc,o)?$n.create(t.doc,[L$(t.doc,o)]):$n.empty},apply:function(e,t,r,n){return!e$.getState(n)&&$$(e.doc,o)?t.add(e.doc,[L$(e.doc,o)]):$n.empty}},props:{decorations:function(e){return this.getState(e)}}}))]:[];var o}},cc={id:"loader",plugins:function(e){return[Ta(e)]}};function R$(e,t,r,n){var o={},i=humhub.require("ui.widget.Widget").instance($("#"+r.id+"-file-upload"));i.off("uploadStart.richtext").on("uploadStart.richtext",function(e,t){Ia(r,o,!0)}).off("uploadEnd.richtext").on("uploadEnd.richtext",function(e,t){$a(r,o,j$(r,t),!0)}).off("uploadFinish.richtext").on("uploadFinish.richtext",function(){La(r,o,!0)}),n?i.$.fileupload("add",{files:n}):i.run()}var j$=function(e,t){var n=e.schema,o=[];return t.result.files.forEach(function(e){var t,r;e.error||(t=e.url,r="mime-image"===e.mimeIcon?n.nodes.image.create({src:t,title:e.name,alt:e.name,fileGuid:e.guid}):(r=n.marks.link.create({href:t,fileGuid:e.guid}),n.text(e.name,[r])),o.push(r))}),o};function P$(e){return[{id:"uploadFile",mark:"link",group:"insert",item:new ji({title:(n=e).translate("Upload and include a File"),label:n.translate("Upload File"),sortOrder:0,enable:na,run:function(e,t,r){r.state.selection.$from.parent.inlineContent&&R$(0,0,n)}})}];var n}function B$(r){var e=d4(r);return new mt({props:{clipboardTextParser:$.proxy(e.parse,e),transformPasted:function(e){if(e&&e instanceof C&&e.type==r.schema.nodes.doc)return new A(e.content,0,0);try{var t=function(e){if(e.editor.view.state.storedMarks&&e.editor.view.state.storedMarks.length)return e.editor.view.state.storedMarks;e=e.editor.view.state.selection.$from.nodeBefore;return e?e.marks:null}(r);t&&t.length&&function(e,t){e=e.content.firstChild;e&&(!(e=fO(e).find("text")).flat.length||(e=e.flat[0]).isPlain()&&e.addMarks(t))}(e,t)}catch(e){console.warn(e)}return e},handleDOMEvents:{paste:function(e,t){t.clipboardData.files&&t.clipboardData.files.length&&(R$(e.state,0,r,t.clipboardData.files),t.preventDefault())}}}})}ec={id:"upload",menu:P$};var bl={id:"clipboard",plugins:function(e){return[B$(e)]}},F$={false:"push",true:"unshift"},fl={id:"anchor",renderOnly:!0,init:function(e,t){t||e.editor.$.on("mouseenter",":header",function(){$(this).find(".header-anchor").show()}).on("mouseleave",":header",function(){$(this).find(".header-anchor").hide()})},registerMarkdownIt:function(e){var t={permalink:!0,renderPermalink:function(e,t,r,n){e=[Object.assign(new r.Token("link_open","a",1),{anchor:!0,attrs:[["class",t.permalinkClass],["href",t.permalinkHref(e,r)],["style","display:none"],["target","_self"],["aria-hidden","true"]]}),Object.assign(new r.Token("text","",0),{content:t.permalinkSymbol}),new r.Token("link_close","a",-1)];e[F$[!t.permalinkBefore]](Object.assign(new r.Token("text","",0),{content:" "})),(n=r.tokens[n+1].children)[F$[t.permalinkBefore]].apply(n,e)}};t&&e.use(wI,t)}};function U$(e){var t=e.editor.$;t.is(".fullscreen")&&($("body").removeClass("modal-open"),t.removeClass("fullscreen"),t.find(".Prosemirror").blur(),e.fullScreenMenuItem.switchIcon(Ki.enlarge))}function V$(e){var t=e.editor.$;t.is(".fullscreen")||(document.activeElement.blur(),setTimeout(function(){e.editor.view.focus()},200),$("body").addClass("modal-open"),t.addClass("fullscreen"),e.fullScreenMenuItem.switchIcon(Ki.shrink))}function H$(e){return[{id:"fullScreen",group:"resize",item:(t=e,new ji({id:"fullscreen",title:"Fullscreen",sortOrder:300,run:function(){(t.editor.$.is(".fullscreen")?U$:V$)(t)},icon:Ki.enlarge}))}];var t}var Al={id:"fullscreen",init:function(t){!0===t.getPluginOption("fullscreen","autoFullScreen")&&t.editor.$.on("click",".ProseMirror",function(e){humhub.require("ui.view").isSmall()&&!t.editor.$.is(".fullscreen")&&V$(t)}),t.editor.$.on("clear",function(){U$(t)})},menu:function(e){var t=H$(e);return e.fullScreenMenuItem=t[0].item,t}},W$=".helper-group, .format-group, .insert-dropdown, .ProseMirror-menu-insertTable:not(.hidden), .ProseMirror-menu-fullScreen:not(.hidden)";function G$(e){return e.editor.$.find(e.getPluginOption("resizeNav","selector",W$))}function Z$(e){return[{id:"resizeNav",group:"resize",item:(t=e,new ji({id:"resizeNav",title:"More",sortOrder:400,run:function(){var e=G$(t);t.editor.$.find(".helper-group").is(":visible")?(e.hide(),this.switchIcon(Ki.angleDoubleRight),$(this.dom).data("state",!1)):(e.fadeIn(),this.switchIcon(Ki.angleDoubleLeft),$(this.dom).data("state",!0))},icon:Ki.angleDoubleRight}))}];var t}function K$(e,t){this.state=e,this.context=t.context,this.oldStageHeight=0,this.scrollActive=!1,this.niceScrollInit=!1,this.initialized=!1}Zl={id:"resizeNav",init:function(r){r.event.on("afterMenuBarInit",function(e,t){G$(r).hide()}).on("afterMenuBarUpdate",function(e,t){$(t.menu).find(".ProseMirror-menu-resizeNav").data("state")||G$(r).hide()})},menu:Z$};K$.prototype.update=function(){var e=this.context.editor.getStage()[0].offsetHeight;e!==this.oldStageHeight&&(this.oldStageHeight=e,!this.scrollActive&&this.context.editor.getStage()[0].scrollHeight>e?(this.niceScrollInit||humhub.require("ui.view").isSmall()||!this.context.editor.getStage().niceScroll||this.context.editor.getStage().niceScroll({cursorwidth:"7",cursorborder:"",cursorcolor:"#606572",cursoropacitymax:"0.3",nativeparentscrolling:!1,autohidemode:!1,railpadding:{top:2,right:3,left:0,bottom:2}}),this.niceScrollInit=!0,this.scrollActive=!0,this.context.editor.trigger("scrollActive")):this.initialized&&!this.scrollActive||(this.scrollActive=!1,this.context.editor.trigger("scrollInactive")),this.initialized=!0)};var J$=new _t("max_height"),Pu={id:"max-height",init:function(e,t){t&&e.editor.on("init",function(){e.options.maxHeight&&e.editor.getStage().css({"max-height":e.options.maxHeight,overflow:"auto"}),e.editor.isEmpty()||J$.getState(e.editor.view.state).update()})},plugins:function(r){return[new mt({state:{init:function(e,t){return new K$(t,{context:r})},apply:function(e,t,r){return t}},key:J$,view:function(e){return{update:function(e,t){J$.getState(e.state).update()},destroy:function(){}}}})]}},Ml={id:"save",plugins:function(e){return e.options.mention&&e.options.mention.provider?[(r=e,new mt({props:{handleKeyDown:function(e,t){!1!==r.options.keySubmit&&t.ctrlKey&&"s"===t.key&&(t.preventDefault(),!(t=r.editor.$.closest("form")).length||(t=t.find('[type="submit"]')).length&&(r.editor.$.trigger("focusout"),t.trigger("click")))}}}))]:[];var r}},Fu=function(){this.plugins=[],this.pluginMap={},this.presets=new Y$(this),this.editorPresets=new Y$(this)};Fu.prototype.getPresetRegistry=function(e){return e.editor.isEdit()?this.editorPresets:this.presets},Fu.prototype.register=function(e,t){t=t||{},this.plugins.push(e),this.pluginMap[e.id]=e,(t="string"==typeof t?{preset:t}:t).preset&&this.addToPreset(e,t.preset,t)},Fu.prototype.registerPreset=function(e,t){this.presets.register(e,t),this.editorPresets.register(e,t),t.callback&&t.callback($.proxy(this.addToPreset,this))},Fu.prototype.addToPreset=function(e,t,r){r=r||{},(e="string"==typeof e?this.pluginMap[e]:e)?(e.renderOnly||this.editorPresets.add(t,e,r),e.editorOnly||this.presets.add(t,e,r)):console.warn("Could not add plugin to preset "+t)};var Y$=function(e){this.pluginRegistry=e,this.map={}};Y$.prototype.get=function(e){return this.map[e]},Y$.prototype.register=function(t,r){var n=this,o=[];if(Array.isArray(r))r.forEach(function(e){e=n.pluginRegistry.pluginMap[e];e&&o.push(e)});else if(r.extend){var e=this.map[r.extend];if(!e)return void console.error("Could not extend richtext preset "+r.extend+" preset not registered!");r.exclude&&Array.isArray(r.exclude)?e.forEach(function(e){e&&!r.exclude.includes(e.id)&&o.push(e)}):o=e.slice(0),r.include&&Array.isArray(r.include)&&r.include.forEach(function(e){n.pluginRegistry.pluginMap[e]?o.push(n.pluginRegistry.pluginMap[e]):console.error("Could not include plugin "+e+" to preset "+t+" plugin not found!")})}this.map[t]=o},Y$.prototype.add=function(e,t,r){r=r||{};var n,o=this.map[e]?this.map[e].slice():[];r.before&&this.pluginRegistry.pluginMap[r.before]?0<=(n=o.indexOf(this.pluginRegistry.pluginMap[r.before]))?o.splice(n,0,t):(console.warn("Tried appending plugin before non existing preset plugin: "+e+" before:"+r.before),o.push(t)):r.after&&this.pluginRegistry.pluginMap[r.after]?0<=(n=o.indexOf(this.pluginRegistry.pluginMap[r.after]))?o.splice(n+1,0,t):(console.warn("Tried appending plugin after non existing preset plugin: "+e+" after:"+r.after),o.push(t)):o.push(t),this.map[e]=o};var X$=new Fu,_t=function(e,t){X$.register(e,t)},Fu=function(e,t){X$.registerPreset(e,t)};_t(hd,"markdown"),_t(Yc,"markdown"),_t(bl,"markdown"),_t(cc,"markdown"),_t(hl,"markdown"),_t(md,"markdown"),_t(wd,"markdown"),_t(Ud,"markdown"),_t(Od,"markdown"),_t(Bu,"markdown"),_t(vd,"markdown"),_t(Ea,"markdown"),_t(zd,"markdown"),_t(ml),_t(za,"markdown"),_t(Aa,"markdown"),_t(Sa,"markdown"),_t(Vs,"markdown"),_t(lc),_t(nc),_t(pl,"markdown"),_t(Ca,"markdown"),_t(Yu,"markdown"),_t(_a,"markdown"),_t(ka,"markdown"),_t(ec,"markdown"),_t(xa,"markdown"),_t(fl),_t(Al,"markdown"),_t(Zl,"markdown"),_t(Pu,"markdown"),_t(Ml,"markdown"),Fu("normal",{extend:"markdown",callback:function(e){e("emoji","normal",{before:"hard_break"}),e("mention","normal",{before:"ordered_list"}),e("oembed","normal",{before:"ordered_list"})}}),Fu("document",{extend:"normal",callback:function(e){e("anchor","document",{before:"fullscreen"})}}),Fu("full",{extend:"normal"});var Q$=function(e){this.map={},this.options=e};Q$.prototype.add=function(e,t){this.map[e.preset]=t},Q$.prototype.create=function(e){return this.options.create.apply(null,[e])},Q$.isCustomPluginSet=function(e){return!!e.exclude||!!e.include},Q$.prototype.check=function(e){var t=e.options;if(this.options.name&&e[this.options.name])return e[this.options.name];var r=[];return(r=!Q$.isCustomPluginSet(t)&&this.map[t.preset]?this.map[t.preset]:r)&&(!Array.isArray(r)||r.length)||(r=this.create(e),Q$.isCustomPluginSet(t)||this.add(t,r)),this.options.name&&(e[this.options.name]=r),r};function e4(e){var t=e.options;if(e.plugins)return e.plugins;var r=(r=X$.getPresetRegistry(e)).get(t.preset)?r.get(t.preset):X$.plugins;if(!Q$.isCustomPluginSet(t))return e.plugins=r.slice();var n=[];return t.exclude&&r.forEach(function(e){e&&!t.exclude.includes(e.id)&&n.push(e)}),t.include&&t.include.forEach(function(e){X$.plugins[e]?n.push(plugins[e]):console.error("Could not include plugin "+e+" plugin not registered!")}),e.plugins=n}function t4(r){var e=r.plugins,n=[];return e.forEach(function(e){var t;e.init&&e.init(r,r.editor.isEdit()),r.editor.isEdit()&&e.plugins&&((t=e.plugins(r))&&t.length&&(n=n.concat(t),r.prosemirrorPlugins[e.id]=t))}),n}function r4(e){return s4.check(e)}function n4(t,e,r){return Array.isArray(e)?e.forEach(function(e){t=n4(t,e,r)}):((t=$.isFunction(t)?t(r):t).nodes=Object.assign(t.nodes||{},e.schema&&e.schema.nodes||{}),t.marks=Object.assign(t.marks||{},e.schema&&e.schema.marks||{})),t}function o4(e){return l4.check(e)}function i4(e){return h4.check(e)}var a4=!!navigator.userAgent.match(/Chrome\/(5[89]|6[012])/),s4=new Q$({name:"renderer",create:function(e){return c4(e)}}),c4=function(e){var t=e&&e.options.markdownIt||{html:!1,breaks:!0,linkify:!0},r=mI(t);return e4(e).forEach(function(e){e.registerMarkdownIt&&e.registerMarkdownIt(r)}),r},l4=new Q$({name:"schema",create:function(e){return new K(n4({},e.plugins,e))}}),u4=new Q$({name:"parser",create:function(e){return p4(e)}}),d4=function(e){return u4.check(e)},p4=function(e){var t=e4(e),i={};return t.forEach(function(e){if(e.schema){var t,r=Object.assign({},e.schema.nodes||{},e.schema.marks||{});for(t in r){var n,o=r[t];o.parseMarkdown&&(o.parseMarkdown.block||o.parseMarkdown.node||o.parseMarkdown.mark||o.parseMarkdown.ignore?i[t]=o.parseMarkdown:(n=Object.keys(o.parseMarkdown)[0],i[n]=o.parseMarkdown[n]))}}}),new id(e.schema||o4(e),r4(e),i)},h4=new Q$({name:"serializer",create:function(e){return f4(e)}}),f4=function(e){var e=e4(e),s={},c={};return e.forEach(function(e){if(e.schema){var t,r=e.schema.nodes||{};for(t in r){var n=r[t];n.toMarkdown&&(s[t]=n.toMarkdown)}var o,i=e.schema.marks||{};for(o in i){var a=i[o];a.toMarkdown?c[o]=a.toMarkdown:c[o]={open:"",close:""}}}}),new m4(s,c)},m4=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.serialize=function(e,t){t=new g4(this.nodes,this.marks,t);return t.renderContent(e),t.out},t}(sd),g4=function(e){function t(){e.apply(this,arguments)}return e&&(t.__proto__=e),((t.prototype=Object.create(e&&e.prototype)).constructor=t).prototype.esc=function(e,t){return e=e.replace(/[|`*\\~\[\]]/g,"\\$&"),e=t?e.replace(/^[:#\-*+]/,"\\$&").replace(/^(\d+)\./,"$1\\."):e},t}(pd),cd=Object.freeze({__proto__:null,getParser:d4,getSerializer:i4,getRenderer:r4,createLinkExtension:XI,MarkdownParser:id,MarkdownSerializer:sd,MarkdownSerializerState:pd,defaultMarkdownParser:cd,defaultMarkdownSerializer:ld,schema:Xu});var y4=function(r,e){var n=this;this.editorView=r,this.width=e.width||1,this.color=e.color||"black",this.class=e.class,this.cursorPos=null,this.element=null,this.timeout=null,this.handlers=["dragover","dragend","drop","dragleave"].map(function(t){function e(e){return n[t](e)}return r.dom.addEventListener(t,e),{name:t,handler:e}})};y4.prototype.destroy=function(){var r=this;this.handlers.forEach(function(e){var t=e.name,e=e.handler;return r.editorView.dom.removeEventListener(t,e)})},y4.prototype.update=function(e,t){null!=this.cursorPos&&t.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())},y4.prototype.setCursor=function(e){e!=this.cursorPos&&(null==(this.cursorPos=e)?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())},y4.prototype.updateOverlay=function(){var e,t,r=this.editorView.state.doc.resolve(this.cursorPos);r.parent.inlineContent||(e=r.nodeBefore,r=r.nodeAfter,(e||r)&&(t=this.editorView.nodeDOM(this.cursorPos-(e?e.nodeSize:0)).getBoundingClientRect(),i=e?t.bottom:t.top,e&&r&&(i=(i+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),t={left:t.left,right:t.right,top:i-this.width/2,bottom:i+this.width/2})),t||(t={left:(n=this.editorView.coordsAtPos(this.cursorPos)).left-this.width/2,right:n.left+this.width/2,top:n.top,bottom:n.bottom});var n,o,i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none; background-color: "+this.color),i=!i||i==document.body&&"static"==getComputedStyle(i).position?(o=-pageXOffset,-pageYOffset):(o=(n=i.getBoundingClientRect()).left-i.scrollLeft,n.top-i.scrollTop),this.element.style.left=t.left-o+"px",this.element.style.top=t.top-i+"px",this.element.style.width=t.right-t.left+"px",this.element.style.height=t.bottom-t.top+"px"},y4.prototype.scheduleRemoval=function(e){var t=this;clearTimeout(this.timeout),this.timeout=setTimeout(function(){return t.setCursor(null)},e)},y4.prototype.dragover=function(e){if(this.editorView.editable){e=this.editorView.posAtCoords({left:e.clientX,top:e.clientY});if(e){e=e.pos;if(this.editorView.dragging&&this.editorView.dragging.slice&&null==(e=Ie(this.editorView.state.doc,e,this.editorView.dragging.slice)))return this.setCursor(null);this.setCursor(e),this.scheduleRemoval(5e3)}}},y4.prototype.dragend=function(){this.scheduleRemoval(20)},y4.prototype.drop=function(){this.scheduleRemoval(20)},y4.prototype.dragleave=function(e){e.target!=this.editorView.dom&&this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)};var _4=function(r){function c(e){r.call(this,e,e)}return r&&(c.__proto__=r),((c.prototype=Object.create(r&&r.prototype)).constructor=c).prototype.map=function(e,t){t=e.resolve(t.map(this.head));return c.valid(t)?new c(t):r.near(t)},c.prototype.content=function(){return A.empty},c.prototype.eq=function(e){return e instanceof c&&e.head==this.head},c.prototype.toJSON=function(){return{type:"gapcursor",pos:this.head}},c.fromJSON=function(e,t){if("number"!=typeof t.pos)throw new RangeError("Invalid input for GapCursor.fromJSON");return new c(e.resolve(t.pos))},c.prototype.getBookmark=function(){return new b4(this.anchor)},c.valid=function(e){var t=e.parent;if(t.isTextblock||!function(e){for(var t=e.depth;0<=t;t--){var r=e.index(t);if(0!=r)for(var n=e.node(t).child(r-1);;n=n.lastChild){if(0==n.childCount&&!n.inlineContent||n.isAtom||n.type.spec.isolating)return!0;if(n.inlineContent)return!1}}return!0}(e)||!function(e){for(var t=e.depth;0<=t;t--){var r=e.indexAfter(t),n=e.node(t);if(r!=n.childCount)for(var o=n.child(r);;o=o.firstChild){if(0==o.childCount&&!o.inlineContent||o.isAtom||o.type.spec.isolating)return!0;if(o.inlineContent)return!1}}return!0}(e))return!1;var r=t.type.spec.allowGapCursor;if(null!=r)return r;e=t.contentMatchAt(e.index()).defaultType;return e&&e.isTextblock},c.findFrom=function(e,t,r){e:for(;;){if(!r&&c.valid(e))return e;for(var n=e.pos,o=null,i=e.depth;;i--){var a=e.node(i);if(0<t?e.indexAfter(i)<a.childCount:0<e.index(i)){o=a.child(0<t?e.indexAfter(i):e.index(i)-1);break}if(0==i)return null;n+=t;a=e.doc.resolve(n);if(c.valid(a))return a}for(;;){var s=0<t?o.firstChild:o.lastChild;if(!s){if(!o.isAtom||o.isText||tt.isSelectable(o))break;e=e.doc.resolve(n+o.nodeSize*t),r=!1;continue e}o=s,n+=t;s=e.doc.resolve(n);if(c.valid(s))return s}return null}},c}(Je);_4.prototype.visible=!1,Je.jsonID("gapcursor",_4);var b4=function(e){this.pos=e};b4.prototype.map=function(e){return new b4(e.map(this.pos))},b4.prototype.resolve=function(e){e=e.resolve(this.pos);return _4.valid(e)?new _4(e):Je.near(e)};var w4=qi({ArrowLeft:k4("horiz",-1),ArrowRight:k4("horiz",1),ArrowUp:k4("vert",-1),ArrowDown:k4("vert",1)});function k4(e,a){var s="vert"==e?0<a?"down":"up":0<a?"right":"left";return function(e,t,r){var n=e.selection,o=0<a?n.$to:n.$from,i=n.empty;if(n instanceof Qe){if(!r.endOfTextblock(s)||0==o.depth)return!1;i=!1,o=e.doc.resolve(0<a?o.after():o.before())}i=_4.findFrom(o,a,i);return!!i&&(t&&t(e.tr.setSelection(new _4(i))),!0)}}function v4(e,t,r){if(!e.editable)return!1;t=e.state.doc.resolve(t);if(!_4.valid(t))return!1;r=e.posAtCoords({left:r.clientX,top:r.clientY}).inside;return!(-1<r&&tt.isSelectable(e.state.doc.nodeAt(r)))&&(e.dispatch(e.state.tr.setSelection(new _4(t))),!0)}function x4(e){if(!(e.selection instanceof _4))return null;var t=document.createElement("div");return t.className="ProseMirror-gapcursor",$n.create(e.doc,[Tn.widget(e.selection.head,t,{key:"gapcursor"})])}var z4="undefined"!=typeof navigator&&/Mac/.test(navigator.platform);function C4(e,t){var r=e.selection,n=r.$head,o=r.$anchor,i=n.parent,a=!1;if(o.path.forEach(function(e,t){t%3||!e.type||"blockquote"!==e.type.name||(a=!0)}),!i.type.spec.code&&!a||o.parentOffset!=n.parentOffset||!n.sameParent(o)||n.parent.content.size!=n.parentOffset)return!1;if(e.doc.resolve(n.pos-n.parentOffset+i.nodeSize-1).nodeAfter)return!1;var s=n.node(-1),r=n.indexAfter(-1),o=s.contentMatchAt(r).defaultType;return!!s.canReplaceWith(r,r,o)&&(t&&(n=!i.type.spec.code&&a?n.after()+1:n.after(),(o=e.tr.replaceWith(n,n,o.createAndFill())).setSelection(Je.near(o.doc.resolve(n),1)),t(o.scrollIntoView())),!0)}function S4(t,r){var e=t.selection;return!!(e instanceof Qe&&!e.$head.nodeAfter&&e.$head.nodeBefore&&e.$head.nodeBefore.isText&&e.$head.nodeBefore.marks.length)&&(r&&e.$head.nodeBefore.marks.forEach(function(e){!function(e,t,r){var n=t.selection,o=n.empty,i=n.$cursor,a=n.ranges;if(o&&!i||!function(n,o,i){for(var e=0;e<o.length;e++){var t=function(e){var t=o[e],e=t.$from,t=t.$to,r=0==e.depth&&n.type.allowsMarkType(i);if(n.nodesBetween(e.pos,t.pos,function(e){return!r&&void(r=e.inlineContent&&e.type.allowsMarkType(i))}),r)return{v:!0}}(e);if(t)return t.v}return!1}(t.doc,a,e))return;if(r)if(i)e.isInSet(t.storedMarks||i.marks())&&r(t.tr.removeStoredMark(e));else{for(var s=!1,c=t.tr,l=0;!s&&l<a.length;l++){var u=a[l],d=u.$from,u=u.$to;s=t.doc.rangeHasMark(d.pos,u.pos,e)}for(var p=0;p<a.length;p++){var h=a[p],f=h.$from,h=h.$to;s&&c.removeMark(f.pos,h.pos,e)}r(c.scrollIntoView())}}(e.type,t,r)}),!0)}function E4(e){var t,r,n,d,o,i,a={},s=e.schema,c=e.options.mapKeys;function l(e,t){if(c){var r=c[e];if(!1===r)return;r&&(e=r)}a[e]=t}if(l("ArrowDown",C4),l("ArrowRight",S4),l("Mod-z",pi),l("Shift-Mod-z",hi),z4||l("Mod-y",hi),l("Alt-ArrowUp",zo),l("Alt-ArrowDown",Co),l("Mod-BracketLeft",So),l("Escape",No),(t=s.marks.strong)&&l("Mod-b",jo(t)),(t=s.marks.em)&&l("Mod-i",jo(t)),(t=s.marks.code)&&l("Mod-`",jo(t)),(t=s.nodes.bullet_list)&&l("Shift-Ctrl-8",gd(t)),(t=s.nodes.ordered_list)&&l("Shift-Ctrl-9",gd(t)),(t=s.nodes.blockquote)&&l("Ctrl->",$o(t)),(t=s.nodes.hard_break)&&(r=t,l("Mod-Enter",e=Po(qo,function(e,t){return e.selection&&e.selection.$anchor.parent&&e.selection.$anchor.parent.type===s.nodes.heading?To(e,t):t(e.tr.replaceSelectionWith(r.create()).scrollIntoView()),!0})),l("Shift-Enter",e),z4&&l("Ctrl-Enter",e)),(t=s.nodes.list_item)&&(n=function(e,t){var r=e.selection,n=r.$from,o=r.$to,i=r.node;if(i&&i.isBlock||n.depth<2||!n.sameParent(o))return!1;var a=n.node(-1);if(a.type!=d)return!1;if(0==n.parent.content.size&&n.node(-1).childCount==n.indexAfter(-1)){if(2==n.depth||n.node(-3).type!=d||n.index(-2)!=n.node(-2).childCount-1)return!1;if(t){for(var s=E.empty,c=n.index(-1)?1:n.index(-2)?2:3,l=n.depth-c;l>=n.depth-3;l--)s=E.from(n.node(l).copy(s));var r=n.indexAfter(-1)<n.node(-2).childCount?1:n.indexAfter(-2)<n.node(-3).childCount?2:3,s=s.append(E.from(d.createAndFill())),i=n.before(n.depth-(c-1)),c=e.tr.replace(i,n.after(-r),new A(s,4-c,0)),u=-1;c.doc.nodesBetween(i,c.doc.content.size,function(e,t){return!(-1<u)&&void(e.isTextblock&&0==e.content.size&&(u=t+1))}),-1<u&&c.setSelection(e.selection.constructor.near(c.doc.resolve(u))),t(c.scrollIntoView())}return!0}a=o.pos==n.end()?a.contentMatchAt(0).defaultType:null,o=e.tr.delete(n.pos,o.pos),a=a&&[null,{type:a}];return!!Me(o.doc,n.pos,2,a)&&(t&&t(o.split(n.pos,2,a).scrollIntoView()),!0)},l("Mod-[",yd(d=t)),l("Mod-]",_d(t))),(t=s.nodes.paragraph)&&l("Shift-Ctrl-0",Lo(t)),(t=s.nodes.code_block)&&l("Shift-Ctrl-\\",Lo(t)),t=s.nodes.heading)for(var u=1;u<=6;u++)l("Shift-Ctrl-"+u,Lo(t,{level:u}));for(i in(t=s.nodes.horizontal_rule)&&(o=t,l("Mod-_",function(e,t){return t(e.tr.replaceSelectionWith(o.create()).scrollIntoView()),!0})),Go.Backspace=Po(oo,go,yo,bo),Go.Enter=n?Po(n,Eo,Mo,Do,To):Po(Eo,Mo,Do,To),Go)l(i,Go[i]);return a}function A4(e){var t,r,n,o,i,a,s,c,l=(l=(a=(t=e).plugins,r=[],a.forEach(function(e){e.keymap&&r.push(Ai(e.keymap(t)))}),r)).concat([(a=e.plugins,s=e.schema,c=po.concat([ao,io]),a.forEach(function(e){e.inputRules&&(c=c.concat(e.inputRules(s)))}),ro({rules:c})),Ai(E4(e)),Ai(Go),(void 0===i&&(i={}),new mt({view:function(e){return new y4(e,i)}})),new mt({props:{decorations:x4,createSelectionBetween:function(e,t,r){if(t.pos==r.pos&&_4.valid(r))return new _4(r)},handleClick:v4,handleKeyDown:w4}}),(void 0===(o=(n=void 0===n?{}:n).allowTableNodeSelection)&&(o=!1),new mt({key:Ka,state:{init:function(){return null},apply:function(e,t){var r=e.getMeta(Ka);if(null!=r)return-1==r?null:r;if(null==t||!e.docChanged)return t;e=e.mapping.mapResult(t),t=e.deleted,e=e.pos;return t?null:e}},props:{decorations:ss,handleDOMEvents:{mousedown:ks},createSelectionBetween:function(e){if(null!=Ka.getState(e.state))return e.state.selection},handleTripleClick:bs,handleKeyDown:fs,handlePaste:ws},appendTransaction:function(e,t,r){return cs(r,Ss(r,t),o)}})),((n=e).menu=aa({content:ia(n),floating:!1,context:n}),n.menu),Ai({Tab:js(1),"Shift-Tab":js(-1)})]);return!1!==e.options.history&&l.push(di()),l.concat(t4(e))}ld=function(e){this.event=$({}),this.options=e,void 0===this.options.minInput&&(this.options.minInput=2),this.options.minInputText=this.options.minInputText||"Please type at least "+this.options.minInput+" characters"};ld.prototype.query=function(e,t){var r=this;if(this.state=e,this.$node=$(t),0<this.options.minInput&&this.state.query.length<this.options.minInput)return this.result={text:this.options.minInputText},void this.update();this.loading();t=this.find(this.state.query,t);t.then?t.then(function(e){r.updateResult(e)}):this.updateResult(t)},ld.prototype.loading=function(){this.result={loader:!0},this.update()},ld.prototype.updateResult=function(e){this.result=e,this.update()},ld.prototype.find=function(e,t){},ld.prototype.reset=function(e,t){this.$container&&(this.$container.remove(),this.$container=null,this.event.trigger("closed"))},ld.prototype.prev=function(){var e=this.$container.find(".cur"),t=e.prev();t.length&&(t.addClass("cur"),e.removeClass("cur"))},ld.prototype.next=function(){var e=this.$container.find(".cur"),t=e.next();t.length&&(t.addClass("cur"),e.removeClass("cur"))},ld.prototype.select=function(){var e=this.$container.find(".cur");this.state.addMention(e.data("item")),this.reset()},ld.prototype.update=function(e){this.$container?this.$container.empty():this.$container=$('<div class="atwho-view humhub-richtext-provider">').css({"margin-top":"5px"});var t=this.$node.offset();this.$container.css({top:t.top+this.$node.outerHeight()+2,left:t.left});var n,r,o=this;this.result&&this.result.length?(n=$('<ul style="list-style-type: none;padding:0px;margin:0px;">'),this.result.forEach(function(e){var t=humhub.modules.util.string.encode(e.name),r=e.image?$("<li>"+e.image+" "+t+"</li>"):$("<li>"+t+"</li>");r.data("item",e).on("click",function(){o.$container.find(".cur").removeClass("cur"),r.addClass("cur"),o.select()}),n.append(r)}),n.find("li").first().addClass("cur"),this.$container.append(n)):this.result.text?(r=humhub.modules.util.string.encode(this.result.text),this.$container.append($("<span>"+r+"</span>"))):this.result.loader?(r=humhub.require("ui.loader").set($("<span>"),{span:!0,size:"8px",css:{padding:"0px",width:"60px"}}),this.$container.append($('<div style="text-align:center;">').append(r))):this.$container.append($("<span>No Result</span>")),$("body").append(this.$container.show())};function q4(e,t){this.event=$({}),this.uuid="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}),this.editor=e,(this.editor.context=this).id=this.editor.$.attr("id"),this.init(t),this.contentDecorations=[],this.prosemirrorPlugins={}}q4.prototype.init=function(e){e.pluginOptions&&$.extend(e,e.pluginOptions),this.options=e,this.options.preset=e.preset||"full",Array.isArray(e.exclude)&&!e.exclude.length&&(this.options.exclude=void 0),Array.isArray(e.include)&&!e.include.length&&(this.options.include=void 0),e4(this),o4(this)},q4.prototype.clear=function(){this.event.trigger("clear")},q4.prototype.getPluginOption=function(e,t,r){e=this.options[e];return t?e&&void 0!==e[t]?e[t]:r:e},q4.prototype.translate=function(e){return this.options.translate&&this.options.translate(e)||e},q4.prototype.getProsemirrorPlugins=function(e,t){return this.prosemirrorPlugins[e]},q4.prototype.getPlugin=function(e,t){for(var r=0;r<this.plugins.length;r++){var n=this.plugins[r];if(n.id===e)return n}},q4.prototype.addContentDecoration=function(e){this.contentDecorations.indexOf(e)<0&&this.contentDecorations.push(e)},q4.prototype.removeContentDecoration=function(e){var t=this.contentDecorations.indexOf();0<=t&&this.contentDecorations.splice(t,1)},q4.prototype.hasContentDecorations=function(){return!!this.contentDecorations.length},$(document).on("mousedown.richtextProvider",function(e){$(e.target).closest(".humhub-richtext-provider:visible").length||$(".humhub-richtext-provider:visible").each(function(){var e=$(this),t=e.data("provider");t&&t.reset?t.reset():e.hide().trigger("hidden")})});Xu=function(e,t){void 0===t&&(t={}),this.$=$(e),this.context=new q4(this,t),this.parser=d4(this.context),this.serializer=i4(this.context),this.renderer=r4(this.context),this.isEdit()||t4(this.context)};Xu.prototype.isEdit=function(){return this.context.options.edit||this.$.is(".ProsemirrorEditor")},Xu.prototype.clear=function(){this.view.destroy(),this.context.clear(),this.$stage=null,this.init()},Xu.prototype.getStage=function(){return this.$stage||(this.$stage=this.$.find(".humhub-ui-richtext")),this.$stage},Xu.prototype.isEmpty=function(){var e=this.view.state.doc;return 1===e.childCount&&"paragraph"===e.firstChild.type.name&&0===e.firstChild.content.size&&!this.context.hasContentDecorations()},Xu.prototype.init=function(e){var t=this;void 0===e&&(e=""),this.view&&this.view.destroy();var e=Ss(r=dt.create({doc:this.parser.parse(e),plugins:A4(this.context)})),r=e?r.apply(e.setMeta("addToHistory",!1)):r;this.view=new Gn(this.$[0],{state:r}),this.$.is(".focusMenu")&&(this.$menuBar=this.$.find(".ProseMirror-menubar").hide(),this.$editor=$(this.view.dom).on("focus",function(){t.$menuBar.show()}).on("blur",function(e){t.$.is(".fullscreen")||t.$menuBar.hide()})),this.$editor=$(this.view.dom),$(".humhub-richtext-inline-menu").remove(),this.trigger("init")},Xu.prototype.serialize=function(){return this.trigger("serialize"),this.serializer.serialize(this.view.state.doc)},Xu.prototype.trigger=function(e,t){this.context.event.trigger(e,t),this.$.trigger(e,t)},Xu.prototype.on=function(e,t){this.$.on(e,t)},Xu.prototype.render=function(){return this.renderer.render(this.$.text(),this)},window.prosemirror={MarkdownEditor:Xu,state:bt,view:Qn,transform:Ze,inputRules:mo,model:de,commands:Zo,history:fi,keymap:Mi,menu:ca,loader:Ua,pmmenu:Na,prompt:Gs,getRenderer:r4,plugin:{registerPreset:Fu,registerPlugin:_t,markdown:cd},$node:fO,MentionProvider:ld}}(),humhub.module("ui.richtext.prosemirror",function(t,e,r){var n=e("util").object,i=e("client"),a=e("ui.widget").Widget,o=e("ui.additions"),s=prosemirror.MarkdownEditor,c=prosemirror.MentionProvider,l=a.extend();l.component="humhub-ui-richtexteditor",l.prototype.getDefaultOptions=function(){return{attributes:{class:"atwho-input form-control humhub-ui-richtext","data-ui-markdown":!0},mention:{provider:new HumHubMentionProvider(t.config.mention)},link:{validate:t.config.validate},emoji:t.config.emoji,oembed:t.config.oembed,translate:function(e){return t.text(e)}}},l.prototype.init=function(){this.options.placeholder&&(this.options.placeholder={text:this.options.placeholder,class:"placeholder atwho-placeholder"}),this.options.disabled&&setTimeout(r.proxy(this.disable,this),50),this.editor=new s(this.$,this.options),this.editor.init(this.getInitValue()),this.options.focus&&this.editor.view.focus();var e=this;this.$.on("focusout",function(){e.getInput().val(e.editor.serialize()).trigger("blur")}).on("clear",function(){e.editor.clear()}).on("focus",function(){e.focus()}),this.$.find(".humhub-ui-richtext").on("focus",function(){e.focus(),e.getInput().val(e.editor.serialize()).trigger("blur")}),this.options.backupInterval&&setInterval(function(){e.backup()},1e3*this.options.backupInterval)},l.prototype.getInitValue=function(){var e=this.getInput().attr("id"),t=this.getBackup();return"string"==typeof t[e]&&""!==t[e]?t[e]:this.$.find("[data-ui-richtext]").text()},l.prototype.getBackup=function(){var e=sessionStorage.getItem(this.options.backupCookieKey);return"string"==typeof e&&""!==e?JSON.parse(e):{}},l.prototype.backup=function(){var e=this.getInput().attr("id"),t=this.editor.serialize(),r=void 0!==this.backupedValue;!r&&""===t||r&&t===this.backupedValue||(this.backupedValue=t,t=this.getBackup(),""===this.backupedValue&&void 0!==t[e]?delete t[e]:t[e]=this.backupedValue,Object.keys(t).length?sessionStorage.setItem(this.options.backupCookieKey,JSON.stringify(t)):sessionStorage.removeItem(this.options.backupCookieKey))},l.prototype.focus=function(){this.editor.view.focus()},l.prototype.disable=function(e){e=e||this.options.disabledText,r(this.editor.view.dom).removeAttr("contenteditable").attr({disabled:"disabled",title:e}).tooltip({placement:"bottom"})},l.prototype.getInput=function(){return r("#"+this.$.attr("id")+"_input")};e=a.extend();e.component="humhub-ui-richtext",e.prototype.init=function(){this.options.edit||(this.editor=new s(this.$,this.options),this.$.html(this.editor.render()),o.applyTo(this.$,{filter:["highlightCode"]}),this.$.find("table").wrap('<div class="table-responsive"></div>'),this.$.trigger("afterRender")),document.execCommand("enableObjectResizing",!1,"false"),document.execCommand("enableInlineTableEditing",!1,"false")},HumHubMentionProvider=function(e){c.call(this,e)},n.inherits(HumHubMentionProvider,c),HumHubMentionProvider.prototype.find=function(e,t){this.xhr&&this.xhr.abort();var n=this,o=a.closest(t);return new Promise(function(t,r){i.get(o.options.mentioningUrl,{data:{keyword:e},beforeSend:function(e){n.xhr=e}}).then(function(e){t(e.data)}).catch(function(e){r(r)})})};t.export({initOnPjaxLoad:!0,unload:function(e){r(".humhub-richtext-provider").remove(),r(".ProseMirror-prompt").remove()},RichTextEditor:l,RichText:e,buildMentioning:function(e){return"["+e.text()+"](mention:"+e.data("guid")+' "'+e.attr("href")+'")'},api:prosemirror})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(jQuery)}(function(d){var r=/\+/g;function p(e){return f.raw?e:encodeURIComponent(e)}function h(e,t){e=f.raw?e:function(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(r," ")),f.json?JSON.parse(e):e}catch(e){}}(e);return d.isFunction(t)?t(e):e}var f=d.cookie=function(e,t,r){var n,o;if(void 0!==t&&!d.isFunction(t))return"number"==typeof(r=d.extend({},f.defaults,r)).expires&&(o=r.expires,(n=r.expires=new Date).setTime(+n+864e5*o)),document.cookie=[p(e),"=",(o=t,p(f.json?JSON.stringify(o):String(o))),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("");for(var i=e?void 0:{},a=document.cookie?document.cookie.split("; "):[],s=0,c=a.length;s<c;s++){var l=a[s].split("="),u=(u=l.shift(),f.raw?u:decodeURIComponent(u)),l=l.join("=");if(e&&e===u){i=h(l,t);break}e||void 0===(l=h(l))||(i[u]=l)}return i};f.defaults={},d.removeCookie=function(e,t){return void 0!==d.cookie(e)&&(d.cookie(e,"",d.extend({},t,{expires:-1})),!d.cookie(e))}}),humhub.module("user",function(e,t,r){e.export({isGuest:function(){return e.config.isGuest},guid:function(){return e.config.guid},getLocale:function(){return e.config.locale}})}),humhub.module("user.login",function(e,t,i){e.export({init:function(){i("body").on("click",".authChoice .auth-link",function(e){var t=i("#login-rememberme").is(":checked"),r=i(this),n=r.data("originalUrl");n||(n=r.attr("href"),r.data("originalUrl",n));n=new URL(n,window.location.origin);t&&n.searchParams.set("rememberMe",1),r.attr("href",n.toString())})},delayLoginAction:function(e,t,r){var n=i(r).html();i(r).html(t+" ("+e+")").prop("disabled",!0);var o=setInterval(function(){i(r).html(t+" ("+--e+")"),e<=0&&(clearInterval(o),i(r).html(n).prop("disabled",!1))},1e3)}})}),humhub.module("live",function(t,r,e){var n,o=r("util").object;t.export({init:function(){if(t.config.isActive)try{var e=r(t.config.client.type);e?n=new e(t.config.client.options):t.log.warn("Invalid live client configuration detected, live client could not be initialized.",t.config)}catch(e){t.log.warn("Invalid live client configuration detected, live client could not be initialized.",t.config),t.log.error(e)}},setDelay:function(e){o.isFunction(n.setDelay)&&n.setDelay(e)}})}),humhub.module("live.poll",function(n,e,t){var r=e("client"),o=e("event"),i=e("util").object,a={requests:0,updates:0},e=function(e){e?(this.options=e,this.options.minInterval=e.minInterval||10,this.options.maxInterval=e.maxInterval||45,this.options.idleFactor=e.idleFactor||.1,this.options.idleInterval=e.idleDelay||20,this.options.initTime=e.initTime||Date.now(),this.init()):n.log.error("Could not initialize PollClient. No options given!")};e.prototype.init=function(){var e;this.options.url?(this.subscriberId=this.generateSubscriberId(),this.focus=!0,this.delay=this.options.minInterval,this.call=this.update.bind(this),this.handle=this.handleUpdate.bind(this),this.handleError=this.handleUpdateError.bind(this),this.lastTs=this.options.initTime,t(window).on("blur",this.onWindowBlur.bind(this)).on("focus",this.onWindowFocus.bind(this)),e=this,t(document).on("mousemove keydown mousedown touchstart",i.debounce(function(){e.stopIdle()},200)),this.resetPollTimeout(),this.startIdleTimer(),this.initBroadCast()):n.log.error("Could not initialize PollClient. No url option given!")},e.prototype.generateSubscriberId=function(){return"_"+Math.random().toString(36).substr(2,9)},e.prototype.initBroadCast=function(){var t;window.BroadcastChannel&&(this.channel=new BroadcastChannel("live.poll"),(t=this).channel.onmessage=function(e){if(e.data&&e.data.subscriberId!==t.subscriberId)switch(t.focus||t.resetPollTimeout(t.options.maxInterval),e.data.type){case"request":t.resetPollTimeout();break;case"focus":t.resetPollTimeout(t.options.maxInterval);break;case"update":t.handleUpdate(e.data)}})},e.prototype.onWindowFocus=function(){this.focus=!0,this.stopIdle(),this.broadCast("focus")},e.prototype.onWindowBlur=function(){this.focus=!1,this.updateIdle()},e.prototype.resetPollTimeout=function(e){clearTimeout(this.timeout),e&&this.setDelay(e),this.timeout=setTimeout(this.call,this.getDelay())},e.prototype.startIdleTimer=function(){setInterval(t.proxy(this.updateIdle,this),1e3*this.options.idleInterval)},e.prototype.stopIdle=function(){this.setDelay(this.options.minInterval),new Date-this.lastTs>this.options.minInterval&&this.resetPollTimeout()},e.prototype.updateIdle=function(){this.delay<this.options.maxInterval&&this.setDelay(Math.ceil(this.delay+this.delay*this.options.idleFactor)),this.delay>this.options.maxInterval&&this.setDelay(this.options.maxInterval)},e.prototype.update=function(){this.broadCast("request"),a.requests++,r.get(this.getCallOptions()).then(this.handle).catch(this.handleError)},e.prototype.getCallOptions=function(){return{url:this.options.url,data:{last:this.lastTs}}},e.prototype.handleUpdate=function(e){this.lastTs>=e.queryTime||this.subscriberId!==e.subscriberId&&(a.updates++,this.lastTs=e.queryTime,this.resetPollTimeout(),e.subscriberId||this.broadCast("update",{queryTime:e.queryTime,events:e.events}),this.triggerEventUpdates(e))},e.prototype.triggerEventUpdates=function(r){var e;i.isObject(r.events)&&(e=this.groupEvents(r.events),t.each(e,function(e,t){try{o.trigger(e.replace(/\./g,":"),[t,r])}catch(e){n.log.error(e)}}),this.lastIds=Object.keys(r.events))},e.prototype.broadCast=function(e,t){t=t||{},this.channel&&!t.subscriberId&&(t.subscriberId=this.subscriberId,t.type=e,this.channel.postMessage(t))},e.prototype.groupEvents=function(e){var r={},n=this;return t.each(e,function(e,t){n.lastIds&&-1<n.lastIds.indexOf(e)||(r[t.type]?r[t.type].push(t):r[t.type]=[t])}),r},e.prototype.handleUpdateError=function(e){navigator.onLine?n.log.error(e):(this.resetPollTimeout(this.options.maxInterval),n.log.info("Poll request blocked due to offline status"))},e.prototype.getDelay=function(){return 1e3*this.delay},e.prototype.setDelay=function(e){this.delay=e},n.export({PollClient:e})}),humhub.module("notification",function(o,e,i){var t=e("util"),a=t.object,r=t.string,n=e("ui.widget").Widget,s=e("event"),c=e("client"),l=e("ui.view"),u=e("user"),d=[],p=[];o.initOnPjaxLoad=!0;function h(e,t){n.call(this,e,t)}a.inherits(h,n);var f=function(e,t){n.call(this,e,t)};a.inherits(f,n),f.prototype.init=function(){var r=this;s.on("humhub:notification:filterApplied",function(e,t){e.preventDefault(),r.reload({data:i(t).serializeArray()})})},h.prototype.init=function(e){this.isOpen=!1,this.lastEntryLoaded=!1,this.lastEntryId=0,this.originalTitle=document.title,this.initDropdown(),this.handleResult(e);var o=this;s.on("humhub:modules:notification:live:NewNotification",function(e,t,r){var n=o.filterEvents(t),n=o.$.data("notification-count")?parseInt(o.$.data("notification-count"))+n.length:n.length;o.updateCount(n),o.sendDesktopNotifications(t,r.lastSessionTime)})},h.prototype.filterEvents=function(e){if(e&&e.length){var r=[];return e.forEach(function(e){var t;d.indexOf(e.data.notificationId)<0&&((t=e.data.notificationGroup)&&t.length&&!(p.indexOf(t)<0)||(r.push(e),p.push(t)))}),r}},h.prototype.initDropdown=function(){this.$entryList=this.$.find("ul.media-list"),this.$dropdown=this.$.find("#dropdown-notifications");var t=this;this.$entryList.scroll(function(){var e=t.$entryList.height();t.$entryList.prop("scrollHeight")-e-1<=t.$entryList.scrollTop()&&(t.lastEntryLoaded||t.loadEntries())})},h.prototype.toggle=function(){this.lastEntryLoaded=!1,this.lastEntryId=0,this.isOpen=!this.$dropdown.is(":visible"),this.isOpen&&(this.$entryList.empty().hide(),this.loadEntries())},h.prototype.loadEntries=function(){var e;this.loading||((e=this).loader(),c.get(o.config.loadEntriesUrl,{data:{from:this.lastEntryId}}).then(i.proxy(this.handleResult,this)).catch(m).finally(function(){e.loader(!1),e.loading=!1}))},h.prototype.handleResult=function(e){e.counter?(this.lastEntryId=e.lastEntryId,this.$entryList.append(e.output),i("span.time").timeago()):this.$entryList.append(r.template(o.templates.placeholder,{text:o.text("placeholder")})),this.parseNotifications(),this.updateCount(parseInt(e.newNotifications)),this.lastEntryLoaded=e.counter<6,this.$entryList.fadeIn("fast")},h.prototype.parseNotifications=function(){this.$entryList.find("[data-notification-id]").each(function(){var e=i(this),t=e.data("notificationId");t&&d.indexOf(t)<0&&d.push(t);t=e.data("notificationGroup");p.indexOf(t)<0&&p.push(e.data("notificationGroup"))})},h.prototype.updateCount=function(e){var t,r;this.$.data("notification-count")!==e?(i("#badge-notifications").hide(),s.trigger("humhub:notification:updateCount",[e]),e?(g(e),i("#badge-notifications").html(e),i("#mark-seen-link").show(),i("#badge-notifications").fadeIn("fast"),(r=(t=i("#icon-notifications .fa")).clone()).addClass("animated swing"),t.replaceWith(r)):(g(!1),i("#badge-notifications").html("0"),i("#mark-seen-link").hide(),i("#icon-notifications .fa").removeClass("animated swing")),this.$.data("notification-count",e)):e||i("#badge-notifications").hide()},h.prototype.sendDesktopNotifications=function(e,r){if(e&&o.config.sendDesktopNotifications)if(e.text)o.sendDesktopNotifiaction(e.text);else if(e.notifications)for(var t=e.notifications,n=0;n<t.length;n++)o.sendDesktopNotifiaction(t[n]);else a.isArray(e)&&i.each(e,function(e,t){r&&r>t.data.ts||t.data&&t.data.text&&o.sendDesktopNotifiaction(t.data.text)})};var m=function(e){o.log.error(e,!0)};h.prototype.loader=function(e){!1!==e?this.$.find("#loader_notifications").show():this.$.find("#loader_notifications").hide()},h.prototype.markAsSeen=function(e){var t=this;return c.post(e).then(function(e){i("#badge-notifications").hide(),i("#mark-seen-link").hide(),t.updateCount(0),d=[],p=[]}).catch(function(e){o.log.error(e,!0)})};var g=function(e){e?document.title="("+e+") "+l.getState().title:!1===e&&(document.title=l.getState().title)};o.templates={placeholder:'<li class="placeholder">{text}</li>'};var y=function(){var t=i("#notification_overview_filter");t.on("click","label",function(e){e.preventDefault();e=i(this).children().first();e.prop("checked",!e.prop("checked")),s.trigger("humhub:notification:filterApplied",t)})};o.export({init:function(e){u.isGuest()||i("#notification_widget").length&&(g(i("#notification_widget").data("notification-count")),function(){if(y(),i("#notification_overview_list").length)f.instance("#notification_overview_list");if(i("#notification_overview_list").length)if(!i("#notification_overview_list li.new").length)i("#notification_overview_markseen").hide()}(),!e&&l.isLarge()&&(i("#dropdown-notifications ul.media-list").niceScroll({cursorwidth:"7",cursorborder:"",cursorcolor:"#555",cursoropacitymax:"0.2",nativeparentscrolling:!1,railpadding:{top:0,right:3,left:0,bottom:0}}),i("#dropdown-notifications ul.media-list").on("touchmove",function(e){e.preventDefault()})),o.menu=h.instance("#notification_widget"))},markAsSeen:function(e){h.instance("#notification_widget").markAsSeen(e).then(function(){location.reload()})},sendDesktopNotifiaction:function(e,t){t=t||o.config.icon,e&&e.length&¬ify.createNotification("Notification",{body:e,icon:t})},getNotificationCount:function(){return h.instance("#notification_widget").$.data("notification-count")},NotificationDropDown:h,OverviewWidget:f})}),humhub.module("content.container",function(n,o,i){var a=o("client"),s=o("ui.additions");n.export({follow:function(t){var r=t.$trigger.data("content-container-id");a.post(t).then(function(e){e.success&&(s.switchButtons(t.$trigger,i('[data-content-container-id="'+r+'"].unfollowButton')),e.space&&o("space.chooser").SpaceChooser.instance(i("#space-menu-dropdown")).appendItem(e.space))}).catch(function(e){n.log.error(e,!0)})},unfollow:function(t){var r=t.$trigger.data("content-container-id");a.post(t).then(function(e){e.success&&(s.switchButtons(t.$trigger,i('[data-content-container-id="'+r+'"].followButton')),e.space&&o("space.chooser").SpaceChooser.instance(i("#space-menu-dropdown")).removeItem(e.space))}).catch(function(e){n.log.error(e,!0)})},relationship:function(r){var e={},t=r.$trigger.data("button-options");t&&(e.data={options:t}),a.post(r,e).then(function(e){var t=r.$trigger;(t=t.closest(".btn-group").length?t.closest(".btn-group"):t).hide().after(e.data);e=t.next();t.remove(),e.data("show-buttons")&&e.parent().find(e.data("show-buttons")).show(),e.data("hide-buttons")&&e.parent().find(e.data("hide-buttons")).hide()}).catch(function(e){n.log.error(e,!0)})},unload:function(){n.config.guid=null},guid:function(){return n.config.guid},enableModule:function(t){a.post(t).then(function(e){e.success&&(s.switchButtons(t.$trigger,t.$trigger.siblings(".disable")),t.$trigger.siblings(".moduleConfigure").fadeIn("fast")),t.$trigger.data("reload")&&a.reload()}).catch(function(e){n.log.error(e,!0)}).finally(function(){t.finish()})},disableModule:function(t){a.post(t).then(function(e){e.success&&(s.switchButtons(t.$trigger,t.$trigger.siblings(".enable")),t.$trigger.siblings(".moduleConfigure").fadeOut("fast")),t.$trigger.data("reload")&&a.reload()}).catch(function(e){n.log.error(e,!0)}).finally(function(){t.finish()})}})}),humhub.module("user.picker",function(t,r,e){function n(e,t){i.call(this,e,t)}var o=r("util").object,i=r("ui.picker").Picker;o.inherits(n,i),n.prototype.selectSelf=function(){var e=r("config").get("user");e&&!e.isGuest&&this.select(e.guid,e.text,e.image)};t.export({UserPicker:n,actionSelectSelf:function(e){e=n.instance(e.$target);e instanceof n?e.selectSelf():t.log.error("Tried self select on non picker node!",!0)}})}),humhub.module("post",function(e,t,n){t=t("ui.widget").Widget.extend();t.prototype.init=function(){var r=this;this.$.find("[data-ui-richtext]").on("afterRender",function(){var e=n(this).children(),t=e.first();1===e.length&&t.is("p")&&t.text().length<150&&!t.find("br").length&&r.$.addClass("post-short-text")})},e.export({Post:t})}),humhub.module("space",function(r,e,n){var o=e("client"),i=e("ui.additions"),a=e("event");r.export({init:function(){r.isSpacePage()||(r.options=void 0)},initOnPjaxLoad:!0,guid:function(){return null},archive:function(t){o.post(t).then(function(e){e.success&&(i.switchButtons(t.$trigger,t.$trigger.siblings(".unarchive")),r.log.success("success.archived"),a.trigger("humhub:space:archived",e.space))}).catch(function(e){r.log.error(e,!0)})},unarchive:function(t){o.post(t).then(function(e){e.success&&(i.switchButtons(t.$trigger,t.$trigger.siblings(".archive")),r.log.success("success.unarchived"),a.trigger("humhub:space:unarchived",e.space))}).catch(function(e){r.log.error(e,!0)})},isSpacePage:function(){return 0<n(".space-layout-container").length},setSpace:function(e,t){r.options&&r.options.guid===e.guid||(r.options=e,t&&a.trigger("humhub:space:changed",n.extend({},r.options)))}})}),humhub.module("topic",function(i,e,a){function r(e){var t=e.data("topic-id"),r=e.find(".label").text(),t=d({id:t,name:r});return{id:e.data("topic-id"),name:r,$label:t,icon:i.config.icon}}function n(){t.trigger("humhub:topic:updated",[p()])}var t=e("event"),o={},s=e("util").string,c=e("client"),l=e("ui.loader"),u=e("ui.widget").Widget,d=function(e){return a(s.template(i.template.removeLabel,{id:e.id,name:s.encode(e.name),icon:i.config.icon}))},p=function(){var r=[];return a.each(o,function(e,t){r.push(t)}),r};i.template={removeLabel:'<a href="#" class="topic-remove-label" data-action-click="topic.removeTopic" data-topic-id="{id}"><span class="label label-default animated bounceIn">{icon} {name}</span></a>'},i.export({addTopic:function(e){var t=u.instance(a("#wall-stream-filter-nav"));!t||!t.getFilterById("topic")&&e.$trigger.data("topic-url")?c.pjax.redirect(e.$trigger.data("topic-url")):(t=e.$trigger.data("topic-id"),o[t]||(o[t]=r(e.$trigger),n()))},setTopics:function(e){o={},e.forEach(function(e){e.$label=d(e),e.icon=i.config.icon,o[e.id]=e}),n()},removeTopic:function(e){e=r(e.$trigger);delete o[e.id],n()},removeOverviewTopic:function(e){var t=e.$trigger.closest("[data-key]"),r=t.find("td:first"),n=r.text(),o=l.set(a("<span>").text(n),{size:"10px",css:{padding:"0px"}});r.html(o),c.post(e).then(function(e){e.success&&(t.remove(),i.log.success(e.message,!0))}).catch(function(e){i.log.error(e,!0),l.reset(o)})},getTopics:function(){return a.extend({},o)},getTopicIds:function(){return Object.keys(o)||[]},unload:function(){o={}}})}),humhub.module("ui.filter",function(e,t,n){var r=t("ui.widget").Widget,o=t("util").object,i=o.extendable(function(e,t){this.$=e,this.filter=t});i.prototype.getValue=function(){},i.prototype.toggle=function(){},i.prototype.isActive=function(){},i.prototype.inputChange=function(e){this.filter.triggerChange(e),this.updateUrl()},i.prototype.updateUrl=function(){let t=this.getCategory();const e=this.getValue();"object"==typeof e?(t+="[]",h.removeParam(t),e.forEach(e=>h.appendParam(t,e))):(h.removeParam(t),h.appendParam(t,e))},i.prototype.getId=function(){return this.$.data("filter-id")},i.prototype.hasCategory=function(){return!!this.$.data("filter-category")},i.prototype.isMultiple=function(){return this.$.data("filter-multiple")},i.prototype.getKey=function(){return this.hasCategory()?this.getCategory():this.getId()},i.prototype.getCategory=function(){return this.$.data("filter-category")||this.getId()};var a=i.extend(function(e,t){i.call(this,e,t),this.delay=o.defaultValue(this.$.data("filter-input-delay"),500)});a.prototype.inputChange=function(e){var t;13===e.keyCode&&e.preventDefault(),this.getValue()!==this.lastValue&&(this.lastValue=this.getValue(),this.request&&clearTimeout(this.request),(t=this).request=setTimeout(function(){t.filter.triggerChange()},this.delay))},a.prototype.getValue=function(){return this.$.val()},a.prototype.isActive=function(){return this.getValue()&&this.getValue().length};var s=i.extend(function(e,t){i.call(this,e,t),this.$icon=this.$.children("i"),this.activeClass=o.defaultValue(this.$.data("filter-icon-active"),"fa-check-square-o"),this.inActiveClass=o.defaultValue(this.$.data("filter-icon-inactive"),"fa-square-o")});s.prototype.getValue=function(){return o.defaultValue(this.$.data("filter-value"),this.getId())},s.prototype.isActive=function(){return this.$icon.hasClass(this.activeClass)},s.prototype.toggle=function(){this.$icon.toggleClass(this.inActiveClass).toggleClass(this.activeClass),this.filter.triggerChange(this),this.updateUrl()},s.prototype.updateUrl=function(){var e=this.getCategory()+"["+this.getId()+"]";this.isActive()?h.appendParam(e,"1"):h.removeParam(e)},s.prototype.deactivate=function(){this.$icon.removeClass(this.activeClass).addClass(this.inActiveClass)},s.prototype.activate=function(){this.$icon.removeClass(this.inActiveClass).addClass(this.activeClass)};var c=s.extend(function(e,t){s.call(this,e,t),this.activeClass=o.defaultValue(this.$.data("filter-icon-active"),"fa-dot-circle-o"),this.inActiveClass=o.defaultValue(this.$.data("filter-icon-inactive"),"fa-circle-o")});c.prototype.toggle=function(){var e=this.isActive();this.isActive()&&this.isForce()||(this.findInputsByGroup(this.getCategory()).forEach(function(e){e.deactivate()}),e||this.activate(),this.filter.triggerChange(),this.updateUrl())},c.prototype.updateUrl=function(){h.updateParam(this.getRadioGroup(),this.getId())},c.prototype.isForce=function(){return this.$.data("radio-force")},c.prototype.findInputsByGroup=function(){var e=[],t=this;return this.filter.$.find('[data-radio-group="'+this.getRadioGroup()+'"]').each(function(){e.push(t.filter.getFilterInput(n(this)))}),e},c.prototype.getRadioGroup=function(){return this.$.data("radio-group")};var l=i.extend(function(e,t){i.call(this,e,t)});i.prototype.getValue=function(){return r.instance(this.$).val()},i.prototype.isActive=function(){return r.instance(this.$).hasValues()};t=i.extend(function(e,t){i.call(this,e,t)});t.prototype.getValue=function(){return this.$.val()},t.prototype.isActive=function(){return this.getValue()&&this.getValue().length};var u={checkbox:s,radio:c,picker:l,dropdown:a,text:a,"date-picker":t},d=r.extend();d.prototype.init=function(){},d.prototype.toggleFilter=function(e){e=this.getFilterInput(e.$trigger);e&&e.toggle()},d.prototype.inputChange=function(e){var t=this.getFilterInput(e.$trigger);t?t.inputChange(e):this.triggerChange()},d.prototype.getFilterInput=function(e){var t=e.data("filter-input-instance");if(t)return t;var r=u[d.getFilterType(e)];return r?(t=new r(e,this),e.data("filter-input-instance",t),t):null},d.prototype.triggerChange=function(){this.fire("afterChange")},d.prototype.getFilterMap=function(e){var r={};return this.getFilterInputs().forEach(function(e){var t;e.isActive()&&(t=r[e.getKey()],e.isMultiple()?(t=t||[]).push(e.getValue()):t=e.getValue(),r[e.getKey()]=t)}),r},d.prototype.getFilterInputs=function(){var t=[],r=this;return this.$.find("[data-filter-id]").each(function(){var e=r.getFilterInput(n(this));e&&t.push(e)}),t},d.prototype.getFilterById=function(e){return this.getFilterInput(n('[data-filter-id = "'+e+'"]'))},d.prototype.isActive=function(e){e=this.getFilterById(e);return!!e&&e.isActive()},d.prototype.getActiveFilterCount=function(t){var r=0;return this.getFilterInputs().forEach(function(e){e.isActive()&&p(e,t)&&r++}),r};var p=function(e,t){var r=!0;return(t=t||{}).exclude&&(r=o.isArray(t.exclude)?t.exclude.indexOf(e.getCategory())<0:e.getCategory()!==t.exclude),r=t.include?o.isArray(t.include)?0<=t.include.indexOf(e.getCategory()):e.getCategory()===t.include:r};d.getFilterType=function(e){return e.data("filter-type")};var h={url:()=>window.location.href,set:function(e){window.history.pushState(null,"",this.clear(e))},appendParam:function(e,t){var r=-1<this.url().indexOf("?")?"&":"?";this.set(this.url()+r+e+"="+t)},removeParam:function(e){e=new RegExp("(\\?|&)"+this.escapeRegExp(e)+"=[^&]*","g");this.set(this.url().replace(e,"$1"))},updateParam:function(e,t){var r="[?&]"+this.escapeRegExp(e)+"=";-1<this.url().search(new RegExp(r+"[^&]*"))?this.set(this.url().replace(new RegExp("("+r+")[^&]*","g"),"$1"+t)):this.appendParam(e,t)},escapeRegExp:e=>e.replace(/[-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),clear:e=>e.replace(/&&/g,"&").replace(/\?&+/,"?").replace(/[?&]+$/,"")};e.export({Filter:d,FilterInput:i,findFilterByComponent:function(e){e=(o.isJQuery(e)?e:e.$).attr("id");if(!e)return null;e=n(['[data-filter-component-id="'+e+'"]']);return e.length?r.instance(e[0]):null},addFilterType:function(e,t){u[e]=t}})}),humhub.module("comment",function(i,r,n){var t=r("content").Content,o=r("ui.widget").Widget,a=(r("util").object,r("client")),s=r("ui.loader"),c=r("ui.additions"),e=o.extend();e.prototype.submit=function(e){var r=this;a.submit(e,{dataType:"html"}).status({200:function(e){var t=r.getRichtext();r.addComment(e.html),r.getInput().val("").trigger("autosize.resize"),t.$.trigger("clear"),r.getUpload().reset(),r.$.find(".form-group").removeClass("has-error"),r.$.find(".help-block-error").html("")},400:function(e){r.replace(e.html)}}).catch(function(e){i.log.error(e,!0)})},e.prototype.getRichtext=function(){return o.closest(this.$.find("div.humhub-ui-richtext"))},e.prototype.addComment=function(e){var t=n(e),e=t.not("script, link").filter(function(){return 1===this.nodeType});e.css("opacity",0),this.getCommentsContainer().append(t),this.incrementCommentCount(1),c.applyTo(e),e.hide().css("opacity",1).fadeIn("fast"),this.$.find("hr").show()},e.prototype.incrementCommentCount=function(e){try{var t=this.$.closest('[data-action-component="comment.Comment"]');if(!(t=!t.length?this.$.closest(".stream-entry-addons"):t).length)return;var r=t.find(".wall-entry-controls:first");if(!r.length)return;var n,o=r.find(".comment-count");o.length&&(n=o.data("count"),n+=e,o.text(" ("+n+")").show(),o.data("count",n))}catch(e){i.log.error(e,!1)}},e.prototype.getUpload=function(){return o.instance(this.$.find(".main_comment_upload"))},e.prototype.getCommentsContainer=function(){return this.$.siblings(".comment")},e.prototype.getInput=function(){return this.$.find("textarea")};var l=t.extend(function(e){t.call(this,e),c.observe(this.$)});l.prototype.edit=function(e){this.loader();var t=this;a.post(e,{dataType:"html"}).then(function(e){t.setEditContent(e.html)}).finally(function(){t.loader(!1)})},l.prototype.setEditContent=function(e){this.$.find(".comment_edit_content:first,.content_edit:first").replaceWith(e),this.$.find(".comment-cancel-edit-link:first").show(),this.$.find(".comment-edit-link:first").hide()},l.prototype.getRichtext=function(){return o.instance(this.$.find("div.humhub-ui-richtext:first"))},l.prototype.delete=function(e){var t=this.$.parent().siblings(".comment_create"),r=!this.isNestedComment()&&t.length&&!this.$.siblings(".media").length;this.$.data("content-delete-url",e.$trigger.data("content-delete-url")),this.super("delete",{modal:i.config.modal.delteConfirm}).then(function(e){e&&(i.log.success("success.delete"),r&&t.find("hr").hide())}).catch(function(e){i.log.error(e,!0)})},l.prototype.adminDelete=function(e){var t=this.$.parent().siblings(".comment_create"),r=!this.isNestedComment()&&t.length&&!this.$.siblings(".media").length;this.$.data("content-delete-url",e.$trigger.data("content-delete-url")),this.$.data("admin-delete-modal-url",e.$trigger.data("admin-delete-modal-url")),this.super("adminDelete").then(function(e){e&&(i.log.success("success.delete"),r&&t.find("hr").hide())}).catch(function(e){i.log.error(e,!0)})},l.prototype.isNestedComment=function(){return 0!==this.$.closest(".nested-comments-root").length},l.prototype.editSubmit=function(e){var t=this;a.submit(e,{dataType:"html"}).status({200:function(e){t.replace(e.html),t.highlight(),t.$.find(".comment-cancel-edit-link:first").hide(),t.$.find(".comment-edit-link:first").show()},400:function(e){t.setEditContent(e.html)}}).catch(function(e){i.log.error(e,!0)})},l.prototype.replace=function(e){var t=this.$.attr("id");this.$.replaceWith(e),this.$=n("#"+t),c.observe(this.$,!0)},l.prototype.cancelEdit=function(e){var t=this;this.loader(),a.html(e).then(function(e){t.replace(e.html),t.$.find(".comment-cancel-edit-link:first").hide(),t.$.find(".comment-edit-link:first").show()}).catch(function(e){i.log.error(e,!0)}).finally(function(){t.loader(!1)})},l.prototype.highlight=function(){c.highlight(this.$.find(".comment-message:first"))},l.prototype.loader=function(e){var t=this.$.find(".comment-entry-loader:first");if(!1===e)return this.$.find(".preferences:first").show(),void s.reset(t);s.set(t,{size:"8px",css:{padding:"2px",width:"60px"}}),this.$.find(".preferences:first").hide()},l.prototype.showBlocked=function(e){var t=this;t.loader(),a.html(e).then(function(e){t.replace(e.html)}).catch(function(e){i.log.error(e,!0)}).finally(function(){t.loader(!1)})};function u(e,t){var r,n=e.is(":visible");!n||e.children(".comment_create").is(":visible")?(r=e.children(".comment_create"),e.find(".comment .media").length||e.closest('[data-action-component="comment.Comment"]').length||r.find("hr").hide(),r.show(),t&&e.slideToggle(),n||e.find(".humhub-ui-richtext").trigger("focus")):e.children(".comment_create").slideToggle(void 0,function(){e.find(".humhub-ui-richtext").trigger("focus")})}i.export({init:function(){n(document).on("mouseover",".comment .media",function(){var e=n(this),t=e.find(".preferences:first");s.is(e.find(".comment-entry-loader"))||t.show()}),n(document).on("mouseout",".comment .media",function(){var e=n(this).find(".preferences:first");e.find("li").hasClass("open")||e.hide()})},Comment:l,Form:e,scrollActive:function(e){e.$trigger.closest(".comment-create-input-group").addClass("scrollActive")},scrollInactive:function(e){e.$trigger.closest(".comment-create-input-group").removeClass("scrollActive")},showAll:function(r){a.post(r,{dataType:"html"}).then(function(e){var t=r.$trigger.parent();t.html(e.html),c.applyTo(t)}).catch(function(e){i.log.error(e,!0)})},showMore:function(r){s.set(r.$trigger,{size:"8px",css:{padding:"2px",width:"60px"}}),a.post(r,{dataType:"html"}).then(function(e){var t=r.$trigger.closest(".comment"),e=n(e.html);t.prepend(e),r.$trigger.closest(".showMore").remove(),c.applyTo(e)}).catch(function(e){i.log.error(e,!0),s.unset(r.$trigger)})},toggleComment:function(e){var t;e.$target.parents(".nested-comments-root").length<2?u(t=e.$target,!0):(u(t=e.$target.closest(".comment").closest(".comment-container"),!1),t=o.instance(t.find(".ProsemirrorEditor:last")),e=r("ui.richtext.prosemirror").buildMentioning(e.$target.closest(".media").find(".media-heading a")),t.editor.init(e),t.$.trigger("focus"))}})}),humhub.module("like",function(t,e,r){var n=e("client"),o=e("ui.additions"),i=e("action").Component;t.export({toggleLike:function(r){n.post(r).then(function(e){var t;e.currentUserLiked?(o.switchButtons(r.$trigger,r.$trigger.siblings(".unlike")),(t=i.closest(r.$trigger))&&t.$.trigger("humhub:like:liked")):o.switchButtons(r.$trigger,r.$trigger.siblings(".like")),function(e,t){if(t)e.find(".likeCount").html("("+t+")").show();else e.find(".likeCount").hide()}(r.$trigger.parent(),e.likeCounter)}).catch(function(e){t.log.error(e,!0)})}})}),humhub.module("stream.StreamEntry",function(n,e,i){e("util");var o=e("client"),r=e("content").Content,t=e("action").Component,a=e("ui.loader"),s=e("ui.modal"),c=e("ui.additions"),l=e("stream"),u=r.extend(function(e){r.call(this,e),this.stream();var t=this;this.$.on("humhub:like:liked",function(){t.$.find(".turnOffNotifications").show(),t.$.find(".turnOnNotifications").hide()})},"StreamEntry");u.SELECTOR="[data-stream-entry]",u.prototype.stream=function(){return this.parent()},u.prototype.contentComponent=function(){var e=t.find(this.getContent(),"[data-content-component]",!0);return e.length?e[0]:void 0},u.prototype.delete=function(){var e=this.contentComponent(),e=e&&e.delete?e.delete():this.super("delete"),t=this,r=this.stream();e.then(function(e){e&&t.$.remove()}).catch(function(e){n.log.error(e,!0)}).finally(function(){r.onChange()})},u.prototype.reload=function(){if(void 0!==this.stream())return this.stream().reloadEntry(this).catch(function(e){n.log.error(e,!0)})},u.prototype.edit=function(e){var t=this;t.loader(),o.html(e).then(function(e){t.$.find(".stream-entry-edit-link").hide(),t.$.find(".stream-entry-cancel-edit-link").show(),t.setEditContent(e.html)}).catch(function(e){n.log.error(e,!0)}).finally(function(){t.loader(!1)})},u.prototype.setEditContent=function(e){this.replaceContent(e),this.$.find(".stream-entry-addons > .hideOnEdit").remove(),this.apply(),this.$.find('input[type="text"]:visible, textarea:visible, [contenteditable="true"]:visible').first().focus()},u.prototype.replaceContent=function(r){var n=this;return new Promise(function(e,t){n.getContent().replaceWith(r),e(n)})},u.prototype.getContent=function(){return this.$.find(".content, .content_edit").first()},u.prototype.editModal=function(e){var t=this;s.load(e).then(function(e){s.global.$.one("hidden.bs.modal",function(){t.reload()})}).catch(function(e){n.log.error(e,!0)})},u.prototype.cancelEdit=function(){var e=this;this.loader(),this.reload().then(function(){e.$.find(".stream-entry-edit-link").show(),e.$.find(".stream-entry-cancel-edit-link").hide()}).catch(function(e){n.log.error(e,!0)}).finally(function(){e.loader(!1)})},u.prototype.apply=function(){c.applyTo(this.$)},u.prototype.editSubmit=function(e){var t=this;o.submit(e,{url:e.url,dataType:"html"}).status({200:function(e){t.$.html(e.html),t.apply(),t.highlight()},400:function(e){t.replaceContent(e.html),t.apply()}}).catch(function(e){n.log.error(e,!0)})},u.prototype.highlight=function(){c.highlight(this.getContent())},u.prototype.loader=function(e){var t=this.$.find(".stream-entry-loader");if(!1===e)return a.reset(t),this.$.find(".wallentry-labels").show(),void this.$.find(".preferences").show();this.$.find(".wallentry-labels").hide(),this.$.find(".preferences").hide(),a.set(t,{position:"left",size:"8px",css:{padding:"0px",width:"60px"}})};e=function(e){this.loader();var t=this;o.post(e).then(function(e){e.success?t.reload():(n.log.error(e,!0),t.loader(!1))}).catch(function(e){t.loader(!1),n.log.error(e,!0)})};u.prototype.toggleVisibility=e,u.prototype.lockComments=e,u.prototype.unlockComments=e,u.prototype.isPinned=function(e){return this.$.is('[data-stream-pinned="1"]')},u.prototype.pin=function(e){var t=this;this.loader();var r=this.stream();o.post(e.url,e).then(function(e){e.success?t.remove().then(function(){r.load({contentId:t.getKey(),prepend:!0})}):e.info?n.log.info(e.info,!0):n.log.error(e.error,!0)},e).catch(function(e){n.log.error(e,!0)}).finally(function(){t.loader(!1)})},u.prototype.unpin=function(e){var t=this;this.loader(),o.post(e.url).then(function(){t.stream().init()}).catch(function(e){n.log.error(e,!0),t.loader(!1)})},u.prototype.replace=function(n){var o=this;return new Promise(function(e,t){var r=i(n);o.$.fadeOut(function(){o.$.replaceWith(r),o.$=r.find(u.SELECTOR).addBack(u.SELECTOR),o.apply(),o.$.hide().css("opacity",1).fadeIn("fast",function(){e()})})})},u.prototype.archive=function(e){var t=this;this.loader(),o.post(e.url).then(function(e){e.success?(void 0===t.stream().filter||t.stream().filter.isActive("entry_archived")?t.reload():t.remove()).then(function(){l.log.success("success.archive",!0)}):n.log.error(e,!0)}).catch(function(e){n.log.error(e,!0),t.loader(!1)})},u.prototype.unarchive=function(e){var t=this;this.loader(),o.post(e.url).then(function(e){e.success&&t.reload().then(function(){l.log.success("success.unarchive",!0)}).catch(function(e){l.log.error("error.default",!0)})}).catch(function(e){n.log.error("Unexpected error",e,!0),t.loader(!1)})},u.prototype.remove=function(){var e=this.stream();return r.prototype.remove.call(this).then(i.proxy(e.onChange,e))},n.export=u}),humhub.module("stream.StreamRequest",function(e,t,o){var i=t("util").object,n=t("client"),t=function(e,t){this.options=t||{},this.stream=e,(this.stream.request=this).initOptions(t)};t.prototype.initOptions=function(e){this.contentId=this.options.contentId,this.options.commentId&&(this.commentId=this.options.commentId),this.viewContext=this.options.viewContext,this.loader=i.defaultValue(this.options.loader,!i.isDefined(this.options.insertAfter)),this.url=i.defaultValue(this.options.url,this.stream.options.stream),this.limit=i.defaultValue(this.options.limit,this.stream.options.loadCount),i.isDefined(this.options.to)?this.to=this.options.to:this.from=i.defaultValue(this.options.from,this.stream.state.lastContentId),this.suppressionsOnly=this.options.suppressionsOnly,this.channel=this.options.channel},t.prototype.loadSingle=function(e){return this.options.contentId=e,this.load()},t.prototype.load=function(){if(this.stream.trigger("humhub:stream:beforeLoadEntries",[this.stream,this]),this.stream.isLoading())return Promise.resolve();this.loader&&this.stream.loader.show(!0),this.stream.state.loading=!0;var t=this.stream.state.lastRequest=this;return t._send().then(function(e){return t.response=e,t.loader&&t.stream.loader.show(!1),t.stream.state.loading=!1,t.stream.trigger("humhub:stream:afterLoadEntries",[t.stream,this]),t}).finally(function(){t.stream.state.loading=!1})},t.prototype._send=function(){var t=this,r=this.stream;return r.currentXhr&&r.currentXhr.abort(),n.ajax(this.url,{data:this.getRequestData(),beforeSend:function(e){t.isUpdateRequest()||(r.currentXhr=e)}}).then(function(e){return r.currentXhr=void 0,r.state.initialized=!0,e})},t.prototype.getRequestData=function(){var r={},n=this;return this.contentId||(r[this.buildRequestDataKey("sort")]=this.sort,i.isDefined(this.to)?r[this.buildRequestDataKey("to")]=this.to:r[this.buildRequestDataKey("from")]=this.from,r[this.buildRequestDataKey("limit")]=this.limit),this.viewContext&&(r.viewContext=this.viewContext),r[this.buildRequestDataKey("contentId")]=this.contentId,this.commentId&&(r[this.buildRequestDataKey("commentId")]=this.commentId),r[this.buildRequestDataKey("suppressionsOnly")]=this.suppressionsOnly,this.options.data&&o.each(this.options.data,function(e,t){r[this.buildRequestDataKey(e)]=t}),o.each(this.stream.filter.getFilterMap(),function(e,t){r[n.buildRequestDataKey(e)]=t}),r},t.prototype.buildRequestDataKey=function(e){return"StreamQuery["+e+"]"},t.prototype.isLastEntryResponse=function(){return!this.isSingleEntryRequest()&&!this.isUpdateRequest()&&i.isEmpty(this.response.content)},t.prototype.getResultHtml=function(){var n="";return this.forEachResult(function(e,t,r){n+=r}),n},t.prototype.forEachResult=function(r){var n=this;o.each(this.response.contentOrder,function(e,t){r.call(null,t,n.response.content[t],n.response.content[t].output)})},t.prototype.isSingleEntryRequest=function(){return!!this.contentId},t.prototype.isUpdateRequest=function(){return!!this.to},e.export=t}),humhub.module("stream.Stream",function(t,e,s){function r(e){this.stream=e,this.lastContentId=0,this.lastEntryLoaded=!1,this.loading=!1}function n(e){this.stream=e}var o=e("util"),i=o.object,a=o.string,c=e("ui.widget").Widget,l=e("ui.additions"),u=e("stream").StreamEntry,d=e("ui.filter"),p=d.Filter,h=e("stream").StreamRequest,f=e("ui.loader"),m=e("event"),g="humhub:stream:initialized",y="stream-contentid",_="stream-commentid";n.prototype.show=function(e){!1===e||this.stream.$content.find(".loader").length?e||f.remove(this.stream.$content):(f.remove(this.stream.$content),f.append(this.stream.$content))};e=c.extend();e.prototype.onClear=function(){},e.prototype.initScroll=function(){var e,t,r;window.IntersectionObserver&&this.options.scrollSupport&&(e={root:this.$content[0],rootMargin:"50px"},e=this.options.scrollOptions?s.extend(e,this.options.scrollOptions):e,t=s('<div class="stream-end"></div>'),this.$content.append(t),r=this,new IntersectionObserver(function(e){r.preventScrollLoading()||e.length&&e[0].isIntersecting&&r.load().finally(function(){r.state.scrollLock=!1})},e).observe(t[0]))},e.prototype.preventScrollLoading=function(){return this.state.scrollLock||!this.canLoadMore()||!this.state.lastRequest||this.state.firstRequest.isSingleEntryRequest()},e.prototype.initEvents=function(){},e.prototype.onUpdateAvailable=function(e){this.options.autoUpdate&&this.loadUpdate()},e.prototype.initDefaultEvents=function(){var r=this;m.on("humhub:modules:content:live:NewContent.stream",function(e,t){!(t&&r.state.initialized&&t.length)||r.hasActiveFilters()||r.state.firstRequest&&r.state.firstRequest.isSingleEntryRequest()||!r.isUpdateAvailable(t)||r.onUpdateAvailable()}),this.on(g,function(){r.initScroll()})},e.prototype.isUpdateAvailable=function(e){return!1},e.prototype.getDefaultOptions=function(){return{contentSelector:"[data-stream-content]",streamEntryClass:u,loadCount:4,initLoadCount:8}},e.prototype.init=function(){return this.state&&(this.$.data(y,null),this.$.data(_,null)),this.state=new r(this),this.$content||this.initWidget(),this.clear().show().loadInit().then(s.proxy(this.handleResponse,this)).then(s.proxy(this.updateTop,this)).then(s.proxy(this.triggerInitEvent,this)).catch(s.proxy(this.handleLoadError,this))},e.prototype.updateTop=function(e){return e&&(this.topEntry=this.firstEntry(!0)),e},e.prototype.triggerInitEvent=function(e){return this.trigger(g,this),e},e.prototype.initWidget=function(){this.$content=this.$.find(this.options.contentSelector),this.loader=this.options.loader||new n(this),this.initDefaultEvents(),this.initEvents(),this.initFilter()},e.prototype.initFilter=function(){this.options.filter?this.filter=this.options.filter:this.filter=d.findFilterByComponent(this)||new p,i.isString(this.filter)&&(this.filter=c.instance(this.filter));var e=this;this.filter.on("afterChange",function(){e.init()})},e.prototype.loadInit=function(){var e=this.$.data(y),t=this.$.data(_),e={contentId:e,viewContext:e?"detail":null,limit:this.options.initLoadCount};return t&&(e.commentId=t),this.state.firstRequest=new h(this,e),this.state.firstRequest.load()},e.prototype.handleResponse=function(e){return e?e.isLastEntryResponse()?Promise.resolve(this.handleLastEntryLoaded()):e.options.insertAfter?this.handleInsertAfterResponse(e):e.options.prepend?this.prependResponseEntries(e):this.handleLoadMoreResponse(e):Promise.resolve()},e.prototype.handleLoadError=function(e){"abort"===e.errorThrown?t.log.warn("Stream request aborted!"):(t.log.error(e,!0),this.$content.append("Stream could not be initialized!"))},e.prototype.loadEntry=function(e){return new h(this,{contentId:e}).load()},e.prototype.canLoadMore=function(){return!this.isLoading()&&!this.state.lastEntryLoaded},e.prototype.isLoading=function(){return!0===this.state.loading},e.prototype.lastEntryLoaded=function(){return!0===this.state.lastEntryLoaded},e.prototype.loadUpdate=function(){var e=this.topEntry||c.instance(this.$.find(u.SELECTOR+":first")),e=e?e.getKey():0;return this.load({to:e,prepend:!0,respectPinned:!0,loader:!1,limit:20}).then(s.proxy(this.updateTop,this))},e.prototype.load=function(e){return new h(this,e).load().then(s.proxy(this.handleResponse,this)).catch(s.proxy(this.handleLoadError,this))},e.prototype.loadEntries=function(e){return this.load(e)},e.prototype.clear=function(){return this.hide(),this.$content.empty(),this.loader.show(!1),this.trigger("humhub:stream:clear",this),this.onClear(),this},e.prototype.handleLastEntryLoaded=function(){this.state.lastEntryLoaded=!0,this.trigger("humhub:stream:lastEntryLoaded",[this]),this.onChange("afterLoadEntries")},e.prototype.handleLoadMoreResponse=function(e){return this.state.lastEntryLoaded=e.response.isLast,this.state.lastContentId=e.response.lastContentId,this.addResponseEntries(e,e.options)},e.prototype.handleInsertAfterResponse=function(e){this.addResponseEntries(e)},e.prototype.appendResponseEntries=function(e,t){return this.addResponseEntries(e,t)},e.prototype.prependResponseEntries=function(e){return this.addResponseEntries(e,{prepend:!0})},e.prototype.insertResponseEntriesAfter=function(e,t){return this.addResponseEntries(e,{insertAfter:t})},e.prototype.addResponseEntries=function(e,t){t=s.extend(e.options,t||{});var r=this;this.removeResponseEntries(e);var n=s(e.getResultHtml());return n.length?(this.$.trigger("humhub:stream:beforeAddEntries",[e.response,e,n]),(t.prepend?this.prependEntry(n,t.respectPinned):t.insertAfter?this.after(n,t.insertAfter):this.appendEntry(n)).then(function(){return r.trigger("humhub:stream:afterAddEntries",[e.response,e,n]),e})):(r.onChange(e),Promise.resolve())},e.prototype.removeResponseEntries=function(e){var t=this;e.forEachResult(function(e){e=t.entry(e);e&&e.remove()})},e.prototype.prependEntry=function(e,t){t=this.firstEntry(t);return t?t.isPinned()?this.after(e,t.$):this.before(e,t.$):this._streamEntryAnimation(e,function(e){this.$content.prepend(e)})},e.prototype.after=function(e,t){return this._streamEntryAnimation(e,function(e){t.after(e)})},e.prototype.before=function(e,t){return this._streamEntryAnimation(e,function(e){t.before(e)})},e.prototype.appendEntry=function(e){return this._streamEntryAnimation(e,function(e){var t=this.$content.find(".stream-end:first");t.length?t.before(e):this.$content.append(e)})},e.prototype._streamEntryAnimation=function(o,i){var a=this;return new Promise(function(e,t){var r=s(o),n=r.not("script, link").filter(function(){return 1===this.nodeType});n.css("opacity",0),i.call(a,r),l.applyTo(n),setTimeout(function(){s.when(n.hide().css("opacity",1).fadeIn("fast")).then(function(){a.onChange(),e()})})})},e.prototype.reloadEntry=function(r){var n=this;return new Promise(function(t,e){(r=i.isString(r)?n.entry(r):r)?(r.loader(),n.loadEntry(r.getKey()).then(function(e){e=s(e.getResultHtml());e&&e.length?r.replace(e).then(t):(r.remove(),t(r))},e).finally(function(){r.loader(!1)})):e("Attempt to reload non existing entry")})},e.prototype.onChange=function(e){var t,r=this.hasEntries();this.$.find(".streamMessage").remove(),this.clearFilterErrors(),this.hasFilterErrors()?this.displayFilterErrors():!r&&this.isShowSingleEntry()?e&&e.response&&e.response.errorCode&&403===e.response.errorCode?this.setStreamMessage(e.response.error):(t=this,setTimeout(function(){t.init()},50)):r?this.isShowSingleEntry()?this.onSingleEntryStream():(this.filter.show(),s('[data-stream-create-content="'+this.options.uiWidget+'"]').show()):this.onEmptyStream()},e.prototype.hasFilter=function(e){return this.filter.hasFilter(e)},e.prototype.onEmptyStream=function(){var e,t=this.hasActiveFilters();this.$.find(".streamMessage").remove(),this.isShowSingleEntry()||(e=t?this.options.streamEmptyFilterMessage:this.options.streamEmptyMessage,this.setStreamMessage(e,t)),t?this.filter.show():this.filter.hide()},e.prototype.setStreamMessage=function(e,t){this.$content.append(a.template(this.static("templates").streamMessage,{message:e,cssClass:t?this.options.streamEmptyFilterClass:this.options.streamEmptyClass}))},e.prototype.hasFilterErrors=function(){return this.request&&this.request.response&&"object"==typeof this.request.response.filterErrors},e.prototype.displayFilterErrors=function(){if(this.hasFilterErrors()){var e,t=this.request.response.filterErrors;for(e in t){var r=this.filter.$.find('[data-filter-category="'+e+'"]');r.length&&r.parent().addClass("has-error").append('<div class="help-block help-block-error">'+t[e]+"</div>")}}},e.prototype.clearFilterErrors=function(){this.filter.$.find("[data-filter-category]").parent().removeClass("has-error").find("div.help-block.help-block-error").remove()},e.prototype.onSingleEntryStream=function(){this.filter.hide()},e.templates={streamMessage:'<div class="streamMessage {cssClass}"><div class="panel"><div class="panel-body">{message}</div></div></div>'},e.prototype.isShowSingleEntry=function(){return this.state.lastRequest&&this.$.data(y)===this.state.lastRequest.contentId&&this.state.lastRequest.isSingleEntryRequest()},e.prototype.hasEntries=function(){return 0<this.getEntryCount()},e.prototype.hasActiveFilters=function(){return this.filter&&0<this.filter.getActiveFilterCount({exclude:["sort","scope"]})},e.prototype.getEntryCount=function(){return this.$.find(u.SELECTOR).length},e.prototype.getEntryNodes=function(){return this.$.find(u.SELECTOR)},e.prototype.updateFilterCount=function(){var e=this.$.data("filters")?this.$.data("filters").length:0;e+=s("#stream_filter_content_type").val()?s("#stream_filter_content_type").val().length:0,e+=s("#stream_filter_topic").val()?s("#stream_filter_topic").val().length:0;var t=s("#stream-filter-toggle").find(".filterCount");e?(t=!t.length?s('<small class="filterCount"></small>').insertBefore(s("#stream-filter-toggle").find(".caret")):t).html(" <b>("+e+")</b> "):t.length&&t.remove()},e.prototype.setFilter=function(e){var t=this.$.data("filters")||[];return t.indexOf(e)<0&&t.push(e),this.$.data("filters",t),this},e.prototype.unsetFilter=function(e){var t=this.$.data("filters")||[],e=t.indexOf(e);return-1<e&&t.splice(e,1),this.$.data("filters",t),this},e.prototype.firstEntry=function(e,t){var r="[data-stream-entry]";return e&&(r+=':not([data-stream-pinned="1"])'),!1!==t&&(r+=":not([data-stream-injected])"),this.entry(this.$.find(r+=":first"))},e.prototype.entry=function(e){e=i.isString(e)||i.isNumber(e)?this.$.find(u.SELECTOR+'[data-content-key="'+e+'"]'):s(e);return e.length?new this.options.streamEntryClass(e):null},e.prototype.getEntryByNode=function(e){return new this.cfg.streamEntryClass(e.closest(u.SELECTOR))},e.prototype.actionLoadMore=function(e){this.loadEntries().finally(function(){e.finish()})},t.export=e}),humhub.module("stream.wall",function(s,e,c){var r=e("stream").Stream,n=e("action").Component,o=e("ui.widget").Widget,i=e("event"),t=e("ui.filter").Filter,l=e("util").string,a=e("topic"),u=e("ui.view"),d=e("ui.loader"),p=e("content.container"),h=e("user"),f="stream-topic",m=r.extend(function(e,t){(t=t||{}).scrollSupport=!0,t.scrollOptions={root:null,rootMargin:"300px"},t.filter=n.instance(c("#wall-stream-filter-nav"),{stream:this}),t.pinSupport=!this.isDashboardStream(),r.call(this,e,t),s.config.horizontalImageScrollOnMobile&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|BB|PlayBook|IEMobile|Windows Phone|Kindle|Silk|Opera Mini/i.test(navigator.userAgent)&&this.$.addClass("mobile")});m.prototype.loadInit=function(){var e=this.$.data(f);return e&&(a.setTopics([e]),this.$.data(f,null)),this.super("loadInit")},m.prototype.initEvents=function(){var n=this;this.on("humhub:stream:beforeLoadEntries.wallStream",function(){c("#btn-load-more").hide()}).on("humhub:stream:afterAddEntries.wallStream",function(e,t,r){c.each(t.contentSuppressions,function(e,t){var r=n.entry(e);r&&(t.key=e,c(l.template(m.template.loadSuppressedButton,t)).insertAfter(r.$).fadeIn("fast"))}),t.isLast||c("#btn-load-more").show()}).on("humhub:stream:lastEntryLoaded.wallStream",function(){c("#btn-load-more").hide()}),i.on("humhub:content:beforeSubmit.wallStream",function(e,t){n.submitLock=!0}),i.on("humhub:content:afterSubmit.wallStream",function(e,t){n.prependEntry(t,!0).then(function(){n.submitLock=!1})}),i.on("humhub:content:afterMove.wallStream",function(e,t){t=n.entry(t.id);t&&(n.isDashboardStream()?t.reload():setTimeout(c.proxy(t.remove,t),1e3))})},m.prototype.isDashboardStream=function(){return"dashboard"===u.getState().moduleId},m.prototype.isUserStream=function(){return"user"===u.getState().moduleId},m.prototype.isSpaceStream=function(){return"space"===u.getState().moduleId},m.prototype.isUpdateAvailable=function(e){var t=this,r=this.isDashboardStream(),n=this.isSpaceStream()||this.isUserStream();if(!r&&!n)return!1;var o=!1;return e.forEach(function(e){t.entry(e.data.contentId)||"default"===e.data.streamChannel&&e.data.insert&&(t.submitLock&&e.data.originator===h.guid()||!r&&p.guid()!==e.data.sguid&&p.guid()!==e.data.uguid||(o=!0))}),o},m.prototype.onUpdateAvailable=function(){this.submitLock||c("#streamUpdateBadge").length||this.renderUpdateBadge()},m.prototype.renderUpdateBadge=function(){var t,r=this,n=c(l.template(m.template.updateBadge,{text:s.config.updatesAvailable}));c("body").append(n);function o(){c("#wallStream").prepend(n.css({position:"",display:"block"})),n.data("appended",!0)}var e=u.getContentTop(),i=e+20,a=this.$.offset().left+r.$.width()/2-n.find("span").width()/2;n.css({position:"fixed",top:i+"px",left:a+"px",display:"inline-block","text-align":"center","z-index":"9999","margin-top":"15px","margin-bottom":"15px"}).on("click",function(){t&&clearTimeout(t);function e(){d.set(n,{css:{padding:"4px"}}),r.loadUpdate().finally(function(){n.remove()})}n.data("appended")?e():c("html").animate({scrollTop:0},"slow",function(){o(),e()})}),c(window).scrollTop()+e-this.$.position().top<0?o():t=setTimeout(function(){},1e4)},m.template={loadSuppressedButton:'<div class="load-suppressed" style="display:none;"><a href="#" data-action-click="loadSuppressed" data-entry-key="{key}" data-action-block="manual" data-ui-loader><i class="fa fa-chevron-down"></i> {message} <span class="badge">{contentName}</span></a></div>',updateBadge:'<div id="streamUpdateBadge" class="animated bounceIn"><span class="label label-info" style="cursor:pointer"><i class="fa fa-arrow-circle-up"></i> {text}</span></div>'},m.prototype.loadSuppressed=function(t){var e=t.$trigger.data("entry-key"),r=this.entry(e);this.load({insertAfter:r.$,from:e,suppressionsOnly:!0}).then(function(e){t.$trigger.closest(".load-suppressed").remove()}).finally(function(){t.finish()})},m.prototype.onClear=function(){this.$.find(".back_button_holder").hide()},m.prototype.onSingleEntryStream=function(){this.super("onSingleEntryStream"),this.$.find(".back_button_holder").show()};var g=t.extend();g.prototype.init=function(){this.super("init"),this.stream=this.options.stream;var t=this;this.$.find(".wall-stream-filter-toggle").off("click").on("click",function(e){e.preventDefault(),e.stopImmediatePropagation(),t.toggleFilterPanel()}),this.$.find(".wall-stream-filter-head").off("click").on("click",function(e){c(e.target).closest("a").length||(e.preventDefault(),t.toggleFilterPanel())}),i.on("humhub:topic:updated.wallStream",c.proxy(this.onTopicUpdated,this)),this.initTopicPicker(),this.initContentTypePicker(),this.initFilterCount()},g.prototype.initTopicPicker=function(){var e=this,t=this.getTopicPicker();t&&t.$.on("change",function(){var r=[];c.each(e.getTopicPicker().map(),function(e,t){r.push({id:e,name:t})}),a.setTopics(r)})},g.prototype.initContentTypePicker=function(){var e=this,t=this.getContentTypePicker();t&&t.$.on("change",function(){var t=e.getFilterBar();t.find(".content-type-remove-label").remove(),o.instance(c(this)).data().forEach(function(e){c(l.template(g.template.removeContentTypeLabel,e)).appendTo(t)})})},g.prototype.onTopicUpdated=function(e,t){if(!this.topicUpdate)try{this.topicUpdate=!0;var r=this.getTopicPicker(),n=this.getFilterBar();r.setSelection(t,function(e){return{id:e.id,text:e.name,image:e.icon}});var o=[];t.forEach(function(e){var t='[data-topic-id="'+e.id+'"]';o.push(t),n.find(t).length||e.$label.clone().prependTo(n)});var i=o.length?"[data-topic-id]:not("+o.join(",")+")":"[data-topic-id]";n.find(i).fadeOut("fast",function(){c(this).remove()})}finally{this.topicUpdate=!1}},g.prototype.getTopicPicker=function(){return o.instance(c("#stream-topic-picker"))},g.prototype.removeContentTypeFilter=function(e){this.getContentTypePicker().remove(e.$trigger.data("typeId"))},g.prototype.triggerChange=function(){this.super("triggerChange"),this.updateFilterCount()},g.prototype.initFilterCount=function(){this.updateFilterCount(),0<parseInt(this.$.find(".filterCount").text().replace(/^.+?(\d+).+?$/,"$1"))&&this.$.find(".wall-stream-filter-body").is(":hidden")&&this.toggleFilterPanel()},g.prototype.updateFilterCount=function(){var e=this.getActiveFilterCount({exclude:["sort","scope"]}),t=this.$.find(".wall-stream-filter-toggle"),r=t.find(".filterCount");e?(r=!r.length?c('<small class="filterCount"></small>').insertBefore(t.find(".caret")):r).html(" <b>("+e+")</b> "):r.length&&r.remove()},g.prototype.getContentTypePicker=function(){return o.instance(c("#stream_filter_content_type"))},g.prototype.getFilterBar=function(){return this.$.find(".wall-stream-filter-bar")},g.prototype.toggleFilterPanel=function(){this.$.find(".wall-stream-filter-body").slideToggle()},g.template={removeContentTypeLabel:'<a href="#" class="content-type-remove-label" data-action-click="removeContentTypeFilter" data-type-id="{id}"><span class="label label-default animated bounceIn"><i class="fa {image}"></i> {text}</span></a>'},s.export({WallStream:m,WallStreamFilter:g,unload:function(){i.off(".wallStream"),c("#streamUpdateBadge").remove(),c(window).off(".wallStream")}})}),humhub.module("stream.SimpleStream",function(r,e,t){var n=e("stream").Stream,o=e("action").Component,i=e("client"),a=e("content"),e=n.extend(function(e,t){n.call(this,e,t),this.$content=this.$,this.setFilter("entry_archived")});e.prototype.onEmptyStream=function(){var e=o.instance(this.$.closest(".modal"));e&&e.close()},e.prototype.reloadEntry=function(t){(t=t||o.instance(this.$.find("[data-stream-entry]:first"))).loader();var e=t.getKey();return i.get(a.config.reloadUrl,{data:{id:e}}).then(function(e){return e.output&&t.replace(e.output),e}).catch(function(e){r.log.error(e,!0)})},e.prototype.loadEntry=function(e){var t=this;return i.get(a.config.reloadUrl,{data:{id:e}}).then(function(e){return t.appendEntry(e.output),e})},r.export=e}),humhub.module("stream",function(e,t,r){var n=t("event");e.export({unload:function(){n.off(".stream")}})}),humhub.module("activity",function(e,t,r){t("util");var n,o=t("stream"),i=t("ui.widget").Widget,a=t("content.container"),s=t("user"),c=t("ui.view"),l=o.StreamEntry.extend();l.prototype.delete=function(){},l.prototype.edit=function(){};t=o.Stream.extend(function(e,t){o.Stream.call(this,e,{scrollSupport:!0,scrollOptions:{rootMargin:"30px"},initLoadCount:10,loadCount:10,autoUpdate:!0,streamEntryClass:l})});t.prototype.initEvents=function(e){var t=this;this.on("humhub:stream:afterAddEntries",function(){c.isLarge()&&!t.$content.getNiceScroll().length?t.$content.niceScroll({cursorwidth:"7",cursorborder:"",cursorcolor:"#555",cursoropacitymax:"0.2",nativeparentscrolling:!1,railpadding:{top:0,right:3,left:0,bottom:0}}):t.$content.getNiceScroll().resize()})},t.prototype.isUpdateAvailable=function(e){var t=this,r=!1;return e.forEach(function(e){t.entry(e.data.contentId)||"activity"===e.data.streamChannel&&e.data.originator!==s.guid()&&(a.guid()!==e.data.sguid&&a.guid()!==e.data.uguid||(r=!0))}),r},t.templates={streamMessage:'<div class="streamMessage activity"><div class="panel-body">{message}</div></div>'};e.export({ActivityStream:t,getStream:function(){if((n=n||i.instance("#activityStream")).$.length)return n},initOnPjaxLoad:!0,unload:function(){n&&n.$&&(n.$content.getNiceScroll().remove(),n.$content.css("overflow","hidden")),n=void 0}})}),humhub.module("space.chooser",function(s,e,n){var t=e("event"),o=e("space"),c=e("client"),l=e("ui"),r=l.widget.Widget,i=e("util").object,a=e("client.pjax"),u=e("ui.additions"),d=e("user"),p=e("ui.view"),h="[data-space-chooser-item]",f="[data-space-none],[data-space-archived]",m=r.extend();m.prototype.init=function(){this.$menu=n("#space-menu"),this.$chooser=n("#space-menu-spaces"),this.$search=n("#space-menu-search"),this.$remoteSearch=n("#space-menu-remote-search"),p.isLarge()&&(this.$chooser.niceScroll({cursorwidth:"7",cursorborder:"",cursorcolor:"#555",cursoropacitymax:"0.2",nativeparentscrolling:!1,railpadding:{top:0,right:3,left:0,bottom:0}}),this.$chooser.on("touchmove",function(e){e.preventDefault()})),this.initEvents(),this.initSpaceSearch()},m.prototype.initEvents=function(){this.lazyLoad=s.config.lazyLoad&&!this.hasItems();var r=this;n("[data-space-guid]").find("[data-message-count]").each(function(){var e=n(this);0<e.data("message-count")&&e.show()}),this.$.on("click",h,function(e){this===e.target&&n(this).find("a")[0].click()}),this.$menu.parent().on("shown.bs.dropdown",function(){p.isSmall()||r.$search.focus(),r.lazyLoad&&r.triggerRemoteSearch("")}).on("hidden.bs.dropdown",function(){r.clearSelection()}),a.isActive()&&t.on("humhub:ready",function(){o.isSpacePage()||r.setNoSpace()}).on("humhub:space:changed",function(e,t){r.setSpace(t)}).on("humhub:space:archived",function(e,t){r.removeItem(t)}).on("humhub:space:unarchived",function(e,t){r.prependItem(t)}).on("humhub:modules:content:live:NewContent",function(e,t){r.handleNewContent(t)})},m.prototype.handleNewContent=function(e){var r=this,t={};e.forEach(function(e){e.data.uguid||e.data.originator===d.guid()||e.data.silent||(t[e.data.sguid]?t[e.data.sguid]++:t[e.data.sguid]=1)}),n.each(t,function(e,t){r.incrementMessageCount(e,t)})},m.prototype.incrementMessageCount=function(e,t){var r=n('[data-space-guid="'+e+'"]').find("[data-message-count]"),t=r.data("message-count")+t;r.hide().text(t).data("message-count",t),setTimeout(function(){r.show()},100)},m.prototype.prependItem=function(e){this.findItem(e).length||(e=n(e.output),this.$chooser.prepend(e),u.applyTo(e))},m.prototype.appendItem=function(e){this.findItem(e).length||(e=n(e.output),this.$chooser.append(e),u.applyTo(e))},m.prototype.findItem=function(e){e=i.isString(e)?e:e.guid;return this.$.find('[data-space-guid="'+e+'"]')},m.prototype.removeItem=function(e){e=i.isString(e)?e:e.guid;this.getItems().filter('[data-space-guid="'+e+'"]').remove()},m.prototype.initSpaceSearch=function(){var r=this;n("#space-search-reset").click(function(){r.resetSearch()}),n("#space-directory-link").on("click",function(){r.$menu.trigger("click")}),this.$search.on("keyup",function(e){var t=r.getSelectedItem();switch(e.keyCode){case 40:t.length?t.nextAll(h+":visible").length&&m.deselectItem(t).selectItem(t.nextAll(h+":visible").first()):m.selectItem(r.getFirstItem());break;case 38:t.prevAll(h+":visible").length&&m.deselectItem(t).selectItem(t.prevAll(h+":visible").first());break;case 13:t.length&&t.find("a")[0].click();break;default:r.triggerSearch()}}).on("keydown",function(e){13===e.keyCode&&e.preventDefault()}).on("focus",function(){n("#space-directory-link").addClass("focus")}).on("blur",function(){n("#space-directory-link").removeClass("focus")})},m.prototype.triggerSearch=function(){var e=this.$search.val().toLowerCase();this.$search.data("last-search")!==e&&(e.length?(n("#space-search-reset").fadeIn("fast"),this.filterItems(e),this.highlight(e),this.triggerRemoteSearch(e)):this.resetSearch())},m.prototype.filterItems=function(r){this.clearSelection(),this.$search.data("last-search",r),this.$chooser.css("max-height",r?"none":"400px"),this.getItems().each(function(){var e,t=n(this);0<=t.text().toLowerCase().search(r)?(t.show(),(e=t.find(".space-tags")).length&&e.toggle(0<=e.text().toLowerCase().search(r))):t.hide()}),m.selectItem(this.getFirstItem())},m.prototype.highlight=function(e,t){this.$chooser.find(h).removeHighlight().highlight(e)},m.prototype.triggerRemoteSearch=function(t){var r=this;this.remoteSearch(t).then(function(e){!0!==e&&(e?(n.each(e,function(e,t){r.appendItem(t)}),r.highlight(t,f),r.onChange(t),r.lazyLoad=!1):r.onChange(t))}).catch(function(e){"abort"===!e.textStatus&&s.log.error(e,!0)})},m.prototype.remoteSearch=function(i){var a=this;return new Promise(function(n,e){a.currentXhr&&a.currentXhr.abort(),a.clearRemoteSearch(i);var o,t,r=s.config.remoteSearchUrl;(r=a.lazyLoad&&s.config.lazySearchUrl?s.config.lazySearchUrl:r)?i.length<2&&!a.lazyLoad?n(!1):(o=Date.now(),t={data:a.lazyLoad?{}:{keyword:i,target:"chooser"},beforeSend:function(e){a.currentXhr=e}},l.loader.set(a.$remoteSearch,{wrapper:"<li>",css:{padding:"5px"}}),c.get(r,t).then(function(e){a.currentXhr=void 0;var t=a.$remoteSearch.data("last-search-ts"),r=t&&o<t,t=e.data&&e.data.length;r||a.$remoteSearch.empty(),!t||r?n(r):(a.$remoteSearch.data("last-search-ts",o),n(e.data))}).catch(e)):e("Could not execute space remote search, set data-space-search-url in your space search input")})},m.prototype.clearRemoteSearch=function(t){this.$chooser.find(f).each(function(){var e=n(this);t&&t.length&&!(e.find(".space-name").text().toLowerCase().search(t)<0)||e.remove()})},m.prototype.resetSearch=function(){n("#space-search-reset").fadeOut("fast"),this.clearRemoteSearch(),p.isSmall()||this.$search.val("").focus(),this.$search.removeData("last-search"),this.getItems().show().removeHighlight().removeClass("selected"),this.$chooser.css("max-height","400px"),this.$remoteSearch.empty(),this.trigger("resetSearch")},m.prototype.onChange=function(e){this.lazyLoad||this.showMessage(e),this.trigger("changed",e)},m.prototype.showMessage=function(e){var t=!this.getFirstItem().length,e=e&&1<e.length;t&&e?this.$remoteSearch.html('<li><div class="help-block">'+s.text("info.emptyResult")+"</div></li>"):t?this.$remoteSearch.html('<li><div class="help-block">'+s.text("info.emptyOwnResult")+"<br/>"+s.text("info.remoteAtLeastInput")+"</div></li>"):e||this.$remoteSearch.html('<li><div class="help-block">'+s.text("info.remoteAtLeastInput")+"</div></li>")},m.prototype.clearSelection=function(){return this.getSelectedItem().removeClass("selected")},m.prototype.getFirstItem=function(){return this.$chooser.find("[data-space-chooser-item]:visible").first()},m.prototype.hasItems=function(){return 0<this.$chooser.find("[data-space-chooser-item]").length},m.selectItem=function(e){return e.addClass("selected"),m},m.deselectItem=function(e){return e.removeClass("selected"),m},m.prototype.setNoSpace=function(){this.$menu.find(".no-space").length||this._changeMenuButton(s.config.noSpace)},m.prototype.setSpace=function(e){this.setSpaceMessageCount(e,0),this._changeMenuButton(e.image+' <b class="caret"></b>')},m.prototype.setSpaceMessageCount=function(e,t){e=i.isString(e)?e:e.guid,e=n('[data-space-guid="'+e+'"]').find("[data-message-count]");e.length&&(t?e.text(t):e.fadeOut("fast"))},m.prototype._changeMenuButton=function(e){var t=e instanceof n?e:n(e),e=this.$menu.children();this.$menu.append(t.hide()),l.additions.switchButtons(e,t,{remove:!0})},m.prototype.getSelectedItem=function(){return this.$.find("[data-space-chooser-item].selected")},m.prototype.getItems=function(){return this.$.find("[data-space-chooser-item]")},s.export({SpaceChooser:m,init:function(){m.instance(n("#space-menu-dropdown"))}})});