You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
721 KiB
1 line
721 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[65,6,7],{"+6Fa":function(e,t,r){"use strict";var n=r("jo6Y"),i=r.n(n),o=r("QbLZ"),a=r.n(o),s=r("iCc5"),l=r.n(s),c=r("FYw3"),u=r.n(c),f=r("mRg0"),h=r.n(f),p=r("q1tI"),d=r.n(p),m=r("TSYQ"),g=r.n(m),v=function(e){function t(r){l()(this,t);var n=u()(this,e.call(this,r));n.handleChange=function(e){var t=n.props,r=t.disabled,i=t.onChange;r||("checked"in n.props||n.setState({checked:e.target.checked}),i&&i({target:a()({},n.props,{checked:e.target.checked}),stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},nativeEvent:e.nativeEvent}))},n.saveInput=function(e){n.input=e};var i="checked"in r?r.checked:r.defaultChecked;return n.state={checked:i},n}return h()(t,e),t.getDerivedStateFromProps=function(e,t){return"checked"in e?a()({},t,{checked:e.checked}):null},t.prototype.focus=function(){this.input.focus()},t.prototype.blur=function(){this.input.blur()},t.prototype.render=function(){var e,t=this.props,r=t.prefixCls,n=t.className,o=t.style,s=t.name,l=t.id,c=t.type,u=t.disabled,f=t.readOnly,h=t.tabIndex,p=t.onClick,m=t.onFocus,v=t.onBlur,y=t.autoFocus,b=t.value,x=t.required,w=i()(t,["prefixCls","className","style","name","id","type","disabled","readOnly","tabIndex","onClick","onFocus","onBlur","autoFocus","value","required"]),k=Object.keys(w).reduce((function(e,t){return"aria-"!==t.substr(0,5)&&"data-"!==t.substr(0,5)&&"role"!==t||(e[t]=w[t]),e}),{}),S=this.state.checked,C=g()(r,n,(e={},e[r+"-checked"]=S,e[r+"-disabled"]=u,e));return d.a.createElement("span",{className:C,style:o},d.a.createElement("input",a()({name:s,id:l,type:c,required:x,readOnly:f,disabled:u,tabIndex:h,className:r+"-input",checked:!!S,onClick:p,onFocus:m,onBlur:v,onChange:this.handleChange,autoFocus:y,ref:this.saveInput,value:b},k)),d.a.createElement("span",{className:r+"-inner"}))},t}(p["Component"]);v.defaultProps={prefixCls:"rc-checkbox",className:"",style:{},type:"checkbox",defaultChecked:!1,onFocus:function(){},onBlur:function(){},onChange:function(){}},t["a"]=v},"+6XX":function(e,t,r){var n=r("y1pI");function i(e){return n(this.__data__,e)>-1}e.exports=i},"+JPL":function(e,t,r){e.exports={default:r("gRli"),__esModule:!0}},"/NTb":function(e,t,r){t.f=r("zBWt")},"/kpp":function(e,t,r){"use strict";r.d(t,"a",(function(){return S}));var n=r("q1tI"),i=r("TSYQ"),o=r.n(i),a=r("o/2+"),s=r("H84U");function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}function u(e){return u="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},u(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=b();return function(){var r,n=x(e);if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return v(this,r)}}function v(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var w=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function k(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}var S=function(e){d(r,e);var t=g(r);function r(){var e;return f(this,r),e=t.apply(this,arguments),e.renderCol=function(t){var r,i=t.getPrefixCls,s=t.direction,f=y(e),h=f.props,p=h.prefixCls,d=h.span,m=h.order,g=h.offset,v=h.push,b=h.pull,x=h.className,S=h.children,C=h.flex,O=h.style,M=w(h,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),T=i("col",p),A={};["xs","sm","md","lg","xl","xxl"].forEach((function(e){var t,r={},n=h[e];"number"===typeof n?r.span=n:"object"===u(n)&&(r=n||{}),delete M[e],A=c(c({},A),(t={},l(t,"".concat(T,"-").concat(e,"-").concat(r.span),void 0!==r.span),l(t,"".concat(T,"-").concat(e,"-order-").concat(r.order),r.order||0===r.order),l(t,"".concat(T,"-").concat(e,"-offset-").concat(r.offset),r.offset||0===r.offset),l(t,"".concat(T,"-").concat(e,"-push-").concat(r.push),r.push||0===r.push),l(t,"".concat(T,"-").concat(e,"-pull-").concat(r.pull),r.pull||0===r.pull),l(t,"".concat(T,"-rtl"),"rtl"===s),t))}));var E=o()(T,(r={},l(r,"".concat(T,"-").concat(d),void 0!==d),l(r,"".concat(T,"-order-").concat(m),m),l(r,"".concat(T,"-offset-").concat(g),g),l(r,"".concat(T,"-push-").concat(v),v),l(r,"".concat(T,"-pull-").concat(b),b),r),x,A);return n["createElement"](a["a"].Consumer,null,(function(e){var t=e.gutter,r=c({},O);return t&&(r=c(c(c({},t[0]>0?{paddingLeft:t[0]/2,paddingRight:t[0]/2}:{}),t[1]>0?{paddingTop:t[1]/2,paddingBottom:t[1]/2}:{}),r)),C&&(r.flex=k(C)),n["createElement"]("div",c({},M,{style:r,className:E}),S)}))},e}return p(r,[{key:"render",value:function(){return n["createElement"](s["a"],null,this.renderCol)}}]),r}(n["Component"])},"03A+":function(e,t,r){var n=r("JTzB"),i=r("ExA7"),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"0Cz8":function(e,t,r){var n=r("Xi7e"),i=r("ebwN"),o=r("e4Nc"),a=200;function s(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!i||s.length<a-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new o(s)}return r.set(e,t),this.size=r.size,this}e.exports=s},"0Owb":function(e,t,r){"use strict";function n(){return n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}r.d(t,"a",(function(){return n}))},"0ycA":function(e,t){function r(){return[]}e.exports=r},"19Vz":function(e,t,r){(function(e){e(r("VrN/"))})((function(e){function t(e){e.state.placeholder&&(e.state.placeholder.parentNode.removeChild(e.state.placeholder),e.state.placeholder=null)}function r(e){t(e);var r=e.state.placeholder=document.createElement("pre");r.style.cssText="height: 0; overflow: visible",r.style.direction=e.getOption("direction"),r.className="CodeMirror-placeholder CodeMirror-line-like";var n=e.getOption("placeholder");"string"==typeof n&&(n=document.createTextNode(n)),r.appendChild(n),e.display.lineSpace.insertBefore(r,e.display.lineSpace.firstChild)}function n(e){o(e)&&r(e)}function i(e){var n=e.getWrapperElement(),i=o(e);n.className=n.className.replace(" CodeMirror-empty","")+(i?" CodeMirror-empty":""),i?r(e):t(e)}function o(e){return 1===e.lineCount()&&""===e.getLine(0)}e.defineOption("placeholder","",(function(r,o,a){var s=a&&a!=e.Init;if(o&&!s)r.on("blur",n),r.on("change",i),r.on("swapDoc",i),i(r);else if(!o&&s){r.off("blur",n),r.off("change",i),r.off("swapDoc",i),t(r);var l=r.getWrapperElement();l.className=l.className.replace(" CodeMirror-empty","")}o&&!r.hasFocus()&&n(r)}))}))},"1GLa":function(e,t,r){"use strict";r("cIOH"),r("FIfw")},"1W/9":function(e,t,r){"use strict";var n=r("q1tI"),i=r.n(n),o=r("i8i4"),a=r.n(o);function s(e){return s="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},s(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t,r){return t&&c(e.prototype,t),r&&c(e,r),e}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function p(e){var t=g();return function(){var r,n=v(e);if(t){var i=v(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}var y=function(e){f(r,e);var t=p(r);function r(){var e;l(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),e.removeContainer=function(){e.container&&(a.a.unmountComponentAtNode(e.container),e.container.parentNode.removeChild(e.container),e.container=null)},e.renderComponent=function(t,r){var n=e.props,i=n.visible,o=n.getComponent,s=n.forceRender,l=n.getContainer,c=n.parent;(i||c._component||s)&&(e.container||(e.container=l()),a.a.unstable_renderSubtreeIntoContainer(c,o(t),e.container,(function(){r&&r.call(this)})))},e}return u(r,[{key:"componentDidMount",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentDidUpdate",value:function(){this.props.autoMount&&this.renderComponent()}},{key:"componentWillUnmount",value:function(){this.props.autoDestroy&&this.removeContainer()}},{key:"render",value:function(){return this.props.children({renderComponent:this.renderComponent,removeContainer:this.removeContainer})}}]),r}(i.a.Component);y.defaultProps={autoMount:!0,autoDestroy:!0,forceRender:!1};var b=r("QC+M"),x=r("qx4F");function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.element,n=void 0===r?document.body:r,i={},o=Object.keys(e);return o.forEach((function(e){i[e]=n.style[e]})),o.forEach((function(t){n.style[t]=e[t]})),i}var k=w;function S(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var C={},O=function(e){if(S()||e){var t="ant-scrolling-effect",r=new RegExp("".concat(t),"g"),n=document.body.className;if(e){if(!r.test(n))return;return k(C),C={},void(document.body.className=n.replace(r,"").trim())}var i=Object(x["a"])();if(i&&(C=k({position:"relative",width:"calc(100% - ".concat(i,"px)")}),!r.test(n))){var o="".concat(n," ").concat(t);document.body.className=o.trim()}}};function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach((function(t){A(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function A(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j(e,t,r){return t&&N(e.prototype,t),r&&N(e,r),e}function z(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P(e,t)}function P(e,t){return P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},P(e,t)}function F(e){var t=I();return function(){var r,n=R(e);if(t){var i=R(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return L(this,r)}}function L(e,t){return!t||"object"!==_(t)&&"function"!==typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}function _(e){return _="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}var B=0,q=!("undefined"!==typeof window&&window.document&&window.document.createElement),H="createPortal"in a.a,V={},W=function(e){if(q)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===_(e)&&e instanceof window.HTMLElement)return e}return document.body},U=function(e){z(r,e);var t=F(r);function r(e){var n;E(this,r),n=t.call(this,e),n.getContainer=function(){if(q)return null;if(!n.container){n.container=document.createElement("div");var e=W(n.props.getContainer);e&&e.appendChild(n.container)}return n.setWrapperClassName(),n.container},n.setWrapperClassName=function(){var e=n.props.wrapperClassName;n.container&&e&&e!==n.container.className&&(n.container.className=e)},n.savePortal=function(e){n._component=e},n.removeCurrentContainer=function(e){n.container=null,n._component=null,H||(e?n.renderComponent({afterClose:n.removeContainer,onClose:function(){},visible:!1}):n.removeContainer())},n.switchScrollingEffect=function(){1!==B||Object.keys(V).length?B||(k(V),V={},O(!0)):(O(),V=k({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))};var i=e.visible,o=e.getContainer;return q||W(o)!==document.body||(B=i?B+1:B),n.state={_self:D(n)},n}return j(r,[{key:"componentDidUpdate",value:function(){this.setWrapperClassName()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,r=e.getContainer;q||W(r)!==document.body||(B=t&&B?B-1:B),this.removeCurrentContainer(t)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.forceRender,o=t.visible,a=null,s={getOpenCount:function(){return B},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect};return H?((n||o||this._component)&&(a=i.a.createElement(b["a"],{getContainer:this.getContainer,ref:this.savePortal},r(s))),a):i.a.createElement(y,{parent:this,visible:o,autoDestroy:!1,getComponent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r(T(T(T({},t),s),{},{ref:e.savePortal}))},getContainer:this.getContainer,forceRender:n},(function(t){var r=t.renderComponent,n=t.removeContainer;return e.renderComponent=r,e.removeContainer=n,null}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevProps,n=t._self,i=e.visible,o=e.getContainer;if(r){var a=r.visible,s=r.getContainer;i===a||q||W(o)!==document.body||(B=i&&!a?B+1:B-1);var l="function"===typeof o&&"function"===typeof s;(l?o.toString()!==s.toString():o!==s)&&n.removeCurrentContainer(!1)}return{prevProps:e}}}]),r}(i.a.Component);t["a"]=U},"1eCo":function(e,t,r){(function(e){e(r("VrN/"))})((function(e){"use strict";var t={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},r={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};e.defineMode("xml",(function(n,i){var o,a,s=n.indentUnit,l={},c=i.htmlMode?t:r;for(var u in c)l[u]=c[u];for(var u in i)l[u]=i[u];function f(e,t){function r(r){return t.tokenize=r,r(e,t)}var n,i=e.next();return"<"==i?e.eat("!")?e.eat("[")?e.match("CDATA[")?r(d("atom","]]>")):null:e.match("--")?r(d("comment","--\x3e")):e.match("DOCTYPE",!0,!0)?(e.eatWhile(/[\w\._\-]/),r(m(1))):null:e.eat("?")?(e.eatWhile(/[\w\._\-]/),t.tokenize=d("meta","?>"),"meta"):(o=e.eat("/")?"closeTag":"openTag",t.tokenize=h,"tag bracket"):"&"==i?(n=e.eat("#")?e.eat("x")?e.eatWhile(/[a-fA-F\d]/)&&e.eat(";"):e.eatWhile(/[\d]/)&&e.eat(";"):e.eatWhile(/[\w\.\-:]/)&&e.eat(";"),n?"atom":"error"):(e.eatWhile(/[^&<]/),null)}function h(e,t){var r=e.next();if(">"==r||"/"==r&&e.eat(">"))return t.tokenize=f,o=">"==r?"endTag":"selfcloseTag","tag bracket";if("="==r)return o="equals",null;if("<"==r){t.tokenize=f,t.state=b,t.tagName=t.tagStart=null;var n=t.tokenize(e,t);return n?n+" tag error":"tag error"}return/[\'\"]/.test(r)?(t.tokenize=p(r),t.stringStartCol=e.column(),t.tokenize(e,t)):(e.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function p(e){var t=function(t,r){while(!t.eol())if(t.next()==e){r.tokenize=h;break}return"string"};return t.isInAttribute=!0,t}function d(e,t){return function(r,n){while(!r.eol()){if(r.match(t)){n.tokenize=f;break}r.next()}return e}}function m(e){return function(t,r){var n;while(null!=(n=t.next())){if("<"==n)return r.tokenize=m(e+1),r.tokenize(t,r);if(">"==n){if(1==e){r.tokenize=f;break}return r.tokenize=m(e-1),r.tokenize(t,r)}}return"meta"}}function g(e,t,r){this.prev=e.context,this.tagName=t,this.indent=e.indented,this.startOfLine=r,(l.doNotIndent.hasOwnProperty(t)||e.context&&e.context.noIndent)&&(this.noIndent=!0)}function v(e){e.context&&(e.context=e.context.prev)}function y(e,t){var r;while(1){if(!e.context)return;if(r=e.context.tagName,!l.contextGrabbers.hasOwnProperty(r)||!l.contextGrabbers[r].hasOwnProperty(t))return;v(e)}}function b(e,t,r){return"openTag"==e?(r.tagStart=t.column(),x):"closeTag"==e?w:b}function x(e,t,r){return"word"==e?(r.tagName=t.current(),a="tag",C):l.allowMissingTagName&&"endTag"==e?(a="tag bracket",C(e,t,r)):(a="error",x)}function w(e,t,r){if("word"==e){var n=t.current();return r.context&&r.context.tagName!=n&&l.implicitlyClosed.hasOwnProperty(r.context.tagName)&&v(r),r.context&&r.context.tagName==n||!1===l.matchClosing?(a="tag",k):(a="tag error",S)}return l.allowMissingTagName&&"endTag"==e?(a="tag bracket",k(e,t,r)):(a="error",S)}function k(e,t,r){return"endTag"!=e?(a="error",k):(v(r),b)}function S(e,t,r){return a="error",k(e,t,r)}function C(e,t,r){if("word"==e)return a="attribute",O;if("endTag"==e||"selfcloseTag"==e){var n=r.tagName,i=r.tagStart;return r.tagName=r.tagStart=null,"selfcloseTag"==e||l.autoSelfClosers.hasOwnProperty(n)?y(r,n):(y(r,n),r.context=new g(r,n,i==r.indented)),b}return a="error",C}function O(e,t,r){return"equals"==e?M:(l.allowMissing||(a="error"),C(e,t,r))}function M(e,t,r){return"string"==e?T:"word"==e&&l.allowUnquoted?(a="string",C):(a="error",C(e,t,r))}function T(e,t,r){return"string"==e?T:C(e,t,r)}return f.isInText=!0,{startState:function(e){var t={tokenize:f,state:b,indented:e||0,tagName:null,tagStart:null,context:null};return null!=e&&(t.baseIndent=e),t},token:function(e,t){if(!t.tagName&&e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;o=null;var r=t.tokenize(e,t);return(r||o)&&"comment"!=r&&(a=null,t.state=t.state(o||r,e,t),a&&(r="error"==a?r+" error":a)),r},indent:function(t,r,n){var i=t.context;if(t.tokenize.isInAttribute)return t.tagStart==t.indented?t.stringStartCol+1:t.indented+s;if(i&&i.noIndent)return e.Pass;if(t.tokenize!=h&&t.tokenize!=f)return n?n.match(/^(\s*)/)[0].length:0;if(t.tagName)return!1!==l.multilineTagIndentPastTag?t.tagStart+t.tagName.length+2:t.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(r))return 0;var o=r&&/^<(\/)?([\w_:\.-]*)/.exec(r);if(o&&o[1])while(i){if(i.tagName==o[2]){i=i.prev;break}if(!l.implicitlyClosed.hasOwnProperty(i.tagName))break;i=i.prev}else if(o)while(i){var a=l.contextGrabbers[i.tagName];if(!a||!a.hasOwnProperty(o[2]))break;i=i.prev}while(i&&i.prev&&!i.startOfLine)i=i.prev;return i?i.indent+s:t.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(e){e.state==M&&(e.state=C)},xmlCurrentTag:function(e){return e.tagName?{name:e.tagName,close:"closeTag"==e.type}:null},xmlCurrentContext:function(e){for(var t=[],r=e.context;r;r=r.prev)r.tagName&&t.push(r.tagName);return t.reverse()}}})),e.defineMIME("text/xml","xml"),e.defineMIME("application/xml","xml"),e.mimeModes.hasOwnProperty("text/html")||e.defineMIME("text/html",{name:"xml",htmlMode:!0})}))},"1hJj":function(e,t,r){var n=r("e4Nc"),i=r("ftKO"),o=r("3A9y");function a(e){var t=-1,r=null==e?0:e.length;this.__data__=new n;while(++t<r)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},"1wcP":function(e,t,r){},"2gN3":function(e,t,r){var n=r("Kz5y"),i=n["__core-js_shared__"];e.exports=i},"2oIt":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"};t.default=n},"2qtc":function(e,t,r){"use strict";r("cIOH"),r("1wcP"),r("+L6B")},"3+Ww":function(e,t){},"3A9y":function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},"3Fdi":function(e,t){var r=Function.prototype,n=r.toString;function i(e){if(null!=e){try{return n.call(e)}catch(t){}try{return e+""}catch(t){}}return""}e.exports=i},"40oJ":function(e,t,r){var n=r("ixoo")("meta"),i=r("ekG2"),o=r("nA4W"),a=r("GhSp").f,s=0,l=Object.isExtensible||function(){return!0},c=!r("S4vA")((function(){return l(Object.preventExtensions({}))})),u=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!l(e))return"F";if(!t)return"E";u(e)}return e[n].i},h=function(e,t){if(!o(e,n)){if(!l(e))return!0;if(!t)return!1;u(e)}return e[n].w},p=function(e){return c&&d.NEED&&l(e)&&!o(e,n)&&u(e),e},d=e.exports={KEY:n,NEED:!1,fastKey:f,getWeak:h,onFreeze:p}},"4Zg2":function(e,t,r){var n=r("7whZ"),i=r("VSTI"),o=r("5ETA"),a=r("/NTb"),s=r("GhSp").f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"4kuk":function(e,t,r){var n=r("SfRM"),i=r("Hvzi"),o=r("u8Dt"),a=r("ekgI"),s=r("JSQU");function l(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},"5NDa":function(e,t,r){"use strict";r("cIOH"),r("OnYD"),r("+L6B")},"5rEg":function(e,t,r){"use strict";var n=r("q1tI"),i=r("TSYQ"),o=r.n(i),a=r("BGR+"),s=r("kbBi"),l=r.n(s),c=r("CWQg"),u=r("0n0R");function f(e){return f="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},f(e)}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){var t=w();return function(){var r,n=k(e);if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==f(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var S=Object(c["a"])("text","input");function C(e){return!!(e.prefix||e.suffix||e.allowClear)}var O=function(e){g(r,e);var t=y(r);function r(){var e;return p(this,r),e=t.apply(this,arguments),e.containerRef=n["createRef"](),e.onInputMouseUp=function(t){var r;if(null===(r=e.containerRef.current)||void 0===r?void 0:r.contains(t.target)){var n=e.props.triggerFocus;n()}},e}return m(r,[{key:"renderClearIcon",value:function(e){var t=this.props,r=t.allowClear,i=t.value,a=t.disabled,s=t.readOnly,c=t.inputType,u=t.handleReset;if(!r)return null;var f=!a&&!s&&i,p=c===S[0]?"".concat(e,"-textarea-clear-icon"):"".concat(e,"-clear-icon");return n["createElement"](l.a,{onClick:u,className:o()(p,h({},"".concat(p,"-hidden"),!f)),role:"button"})}},{key:"renderSuffix",value:function(e){var t=this.props,r=t.suffix,i=t.allowClear;return r||i?n["createElement"]("span",{className:"".concat(e,"-suffix")},this.renderClearIcon(e),r):null}},{key:"renderLabeledIcon",value:function(e,t){var r,i=this.props,a=i.focused,s=i.value,l=i.prefix,c=i.className,f=i.size,p=i.suffix,d=i.disabled,m=i.allowClear,g=i.direction,v=i.style,y=i.readOnly,b=this.renderSuffix(e);if(!C(this.props))return Object(u["a"])(t,{value:s});var x=l?n["createElement"]("span",{className:"".concat(e,"-prefix")},l):null,w=o()(c,"".concat(e,"-affix-wrapper"),(r={},h(r,"".concat(e,"-affix-wrapper-focused"),a),h(r,"".concat(e,"-affix-wrapper-disabled"),d),h(r,"".concat(e,"-affix-wrapper-sm"),"small"===f),h(r,"".concat(e,"-affix-wrapper-lg"),"large"===f),h(r,"".concat(e,"-affix-wrapper-input-with-clear-btn"),p&&m&&s),h(r,"".concat(e,"-affix-wrapper-rtl"),"rtl"===g),h(r,"".concat(e,"-affix-wrapper-readonly"),y),r));return n["createElement"]("span",{ref:this.containerRef,className:w,style:v,onMouseUp:this.onInputMouseUp},x,Object(u["a"])(t,{style:null,value:s,className:U(e,f,d)}),b)}},{key:"renderInputWithLabel",value:function(e,t){var r,i,a=this.props,s=a.addonBefore,l=a.addonAfter,c=a.style,f=a.size,p=a.className,d=a.direction;if(!s&&!l)return t;var m="".concat(e,"-group"),g="".concat(m,"-addon"),v=s?n["createElement"]("span",{className:g},s):null,y=l?n["createElement"]("span",{className:g},l):null,b=o()("".concat(e,"-wrapper"),(r={},h(r,m,s||l),h(r,"".concat(m,"-rtl"),"rtl"===d),r)),x=o()(p,"".concat(e,"-group-wrapper"),(i={},h(i,"".concat(e,"-group-wrapper-sm"),"small"===f),h(i,"".concat(e,"-group-wrapper-lg"),"large"===f),h(i,"".concat(e,"-group-wrapper-rtl"),"rtl"===d),i));return n["createElement"]("span",{className:x,style:c},n["createElement"]("span",{className:b},v,Object(u["a"])(t,{style:null}),y))}},{key:"renderTextAreaWithClearIcon",value:function(e,t){var r=this.props,i=r.value,a=r.allowClear,s=r.className,l=r.style,c=r.direction;if(!a)return Object(u["a"])(t,{value:i});var f=o()(s,"".concat(e,"-affix-wrapper"),h({},"".concat(e,"-affix-wrapper-rtl"),"rtl"===c),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"));return n["createElement"]("span",{className:f,style:l},Object(u["a"])(t,{style:null,value:i}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this.props,t=e.prefixCls,r=e.inputType,n=e.element;return r===S[0]?this.renderTextAreaWithClearIcon(t,n):this.renderInputWithLabel(t,this.renderLabeledIcon(t,n))}}]),r}(n["Component"]),M=O,T=r("H84U"),A=r("3Nzz"),E=r("uaoM");function N(e){return N="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},N(e)}function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F(e,t,r){return t&&P(e.prototype,t),r&&P(e,r),e}function L(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D(e,t)}function D(e,t){return D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},D(e,t)}function I(e){var t=B();return function(){var r,n=q(e);if(t){var i=q(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return R(this,r)}}function R(e,t){return!t||"object"!==N(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function q(e){return q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},q(e)}function H(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function V(e){return"undefined"===typeof e||null===e?"":e}function W(e,t,r){if(r){var n=t;if("click"===t.type){n=Object.create(t),n.target=e,n.currentTarget=e;var i=e.value;return e.value="",r(n),void(e.value=i)}r(n)}}function U(e,t,r,n){var i;return o()(e,(i={},H(i,"".concat(e,"-sm"),"small"===t),H(i,"".concat(e,"-lg"),"large"===t),H(i,"".concat(e,"-disabled"),r),H(i,"".concat(e,"-rtl"),"rtl"===n),i))}var $=function(e){L(r,e);var t=I(r);function r(e){var i;z(this,r),i=t.call(this,e),i.direction="ltr",i.focus=function(){i.input.focus()},i.saveClearableInput=function(e){i.clearableInput=e},i.saveInput=function(e){i.input=e},i.onFocus=function(e){var t=i.props.onFocus;i.setState({focused:!0},i.clearPasswordValueAttribute),t&&t(e)},i.onBlur=function(e){var t=i.props.onBlur;i.setState({focused:!1},i.clearPasswordValueAttribute),t&&t(e)},i.handleReset=function(e){i.setValue("",(function(){i.focus()})),W(i.input,e,i.props.onChange)},i.renderInput=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=i.props,l=s.className,c=s.addonBefore,u=s.addonAfter,f=s.size,h=s.disabled,p=Object(a["a"])(i.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType"]);return n["createElement"]("input",j({autoComplete:r.autoComplete},p,{onChange:i.handleChange,onFocus:i.onFocus,onBlur:i.onBlur,onKeyDown:i.handleKeyDown,className:o()(U(e,f||t,h,i.direction),H({},l,l&&!c&&!u)),ref:i.saveInput}))},i.clearPasswordValueAttribute=function(){i.removePasswordTimeout=setTimeout((function(){i.input&&"password"===i.input.getAttribute("type")&&i.input.hasAttribute("value")&&i.input.removeAttribute("value")}))},i.handleChange=function(e){i.setValue(e.target.value,i.clearPasswordValueAttribute),W(i.input,e,i.props.onChange)},i.handleKeyDown=function(e){var t=i.props,r=t.onPressEnter,n=t.onKeyDown;13===e.keyCode&&r&&r(e),n&&n(e)},i.renderComponent=function(e){var t=e.getPrefixCls,r=e.direction,o=e.input,a=i.state,s=a.value,l=a.focused,c=i.props.prefixCls,u=t("input",c);return i.direction=r,n["createElement"](A["b"].Consumer,null,(function(e){return n["createElement"](M,j({size:e},i.props,{prefixCls:u,inputType:"input",value:V(s),element:i.renderInput(u,e,o),handleReset:i.handleReset,ref:i.saveClearableInput,direction:r,focused:l,triggerFocus:i.focus}))}))};var s="undefined"===typeof e.value?e.defaultValue:e.value;return i.state={value:s,focused:!1,prevValue:e.value},i}return F(r,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return C(e)!==C(this.props)&&Object(E["a"])(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value&&this.setState({value:e},t)}},{key:"render",value:function(){return n["createElement"](T["a"],null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevValue,n={prevValue:e.value};return void 0===e.value&&r===e.value||(n.value=e.value),n}}]),r}(n["Component"]);$.defaultProps={type:"text"};var G=$;function K(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Y=function(e){return n["createElement"](T["a"],null,(function(t){var r,i=t.getPrefixCls,a=t.direction,s=e.prefixCls,l=e.className,c=void 0===l?"":l,u=i("input-group",s),f=o()(u,(r={},K(r,"".concat(u,"-lg"),"large"===e.size),K(r,"".concat(u,"-sm"),"small"===e.size),K(r,"".concat(u,"-compact"),e.compact),K(r,"".concat(u,"-rtl"),"rtl"===a),r),c);return n["createElement"]("span",{className:f,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},X=Y,Z=r("c+Xe"),J=r("w6Tc"),Q=r.n(J),ee=r("gZBC"),te=r.n(ee),re=r("2/Rp");function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ie(){return ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ie.apply(this,arguments)}var oe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},ae=n["forwardRef"]((function(e,t){var r=n["useRef"](null),i=function(t){var r=e.onChange,n=e.onSearch;t&&t.target&&"click"===t.type&&n&&n(t.target.value,t),r&&r(t)},a=function(e){var t;document.activeElement===(null===(t=r.current)||void 0===t?void 0:t.input)&&e.preventDefault()},s=function(t){var n,i=e.onSearch,o=e.loading,a=e.disabled;o||a||i&&i(null===(n=r.current)||void 0===n?void 0:n.input.value,t)},l=function(t){var r=e.enterButton,i=e.size;return r?n["createElement"](A["b"].Consumer,{key:"enterButton"},(function(e){return n["createElement"](re["a"],{className:"".concat(t,"-button"),type:"primary",size:i||e},n["createElement"](te.a,null))})):n["createElement"](te.a,{className:"".concat(t,"-icon"),key:"loadingIcon"})},c=function(t){var r=e.suffix,i=e.enterButton,o=e.loading;if(o&&!i)return[r,l(t)];if(i)return r;var a=n["createElement"](Q.a,{className:"".concat(t,"-icon"),key:"searchIcon",onClick:s});return r?[Object(u["c"])(r,null,{key:"suffix"}),a]:a},f=function(t,r){var i,o=e.enterButton,c=e.disabled,f=e.addonAfter,h=e.loading,p="".concat(t,"-button");if(h&&o)return[l(t),f];if(!o)return f;var d=o,m=d.type&&!0===d.type.__ANT_BUTTON;return i=m||"button"===d.type?Object(u["a"])(d,ie({onMouseDown:a,onClick:s,key:"enterButton"},m?{className:p,size:r}:{})):n["createElement"](re["a"],{className:p,type:"primary",size:r,disabled:c,key:"enterButton",onMouseDown:a,onClick:s},!0===o?n["createElement"](Q.a,null):o),f?[i,Object(u["c"])(f,null,{key:"addonAfter"})]:i},h=function(a){var l=a.getPrefixCls,u=a.direction,h=e.prefixCls,p=e.inputPrefixCls,d=e.enterButton,m=e.className,g=e.size,v=oe(e,["prefixCls","inputPrefixCls","enterButton","className","size"]);delete v.onSearch,delete v.loading;var y=l("input-search",h),b=l("input",p),x=function(e){var t,r;d?t=o()(y,m,(r={},ne(r,"".concat(y,"-rtl"),"rtl"===u),ne(r,"".concat(y,"-enter-button"),!!d),ne(r,"".concat(y,"-").concat(e),!!e),r)):t=o()(y,m,ne({},"".concat(y,"-rtl"),"rtl"===u));return t};return n["createElement"](A["b"].Consumer,null,(function(e){return n["createElement"](G,ie({ref:Object(Z["a"])(r,t),onPressEnter:s},v,{size:g||e,prefixCls:b,addonAfter:f(y,g||e),suffix:c(y),onChange:i,className:x(g||e)}))}))};return n["createElement"](T["a"],null,h)}));ae.defaultProps={enterButton:!1},ae.displayName="Search";var se,le=ae,ce=r("t23M"),ue="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",fe=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],he={};function pe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&he[r])return he[r];var n=window.getComputedStyle(e),i=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),o=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),a=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),s=fe.map((function(e){return"".concat(e,":").concat(n.getPropertyValue(e))})).join(";"),l={sizingStyle:s,paddingSize:o,borderSize:a,boxSizing:i};return t&&r&&(he[r]=l),l}function de(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;se||(se=document.createElement("textarea"),se.setAttribute("tab-index","-1"),se.setAttribute("aria-hidden","true"),document.body.appendChild(se)),e.getAttribute("wrap")?se.setAttribute("wrap",e.getAttribute("wrap")):se.removeAttribute("wrap");var i=pe(e,t),o=i.paddingSize,a=i.borderSize,s=i.boxSizing,l=i.sizingStyle;se.setAttribute("style","".concat(l,";").concat(ue)),se.value=e.value||e.placeholder||"";var c,u=Number.MIN_SAFE_INTEGER,f=Number.MAX_SAFE_INTEGER,h=se.scrollHeight;if("border-box"===s?h+=a:"content-box"===s&&(h-=o),null!==r||null!==n){se.value=" ";var p=se.scrollHeight-o;null!==r&&(u=p*r,"border-box"===s&&(u=u+o+a),h=Math.max(u,h)),null!==n&&(f=p*n,"border-box"===s&&(f=f+o+a),c=h>f?"":"hidden",h=Math.min(f,h))}return{height:h,minHeight:u,maxHeight:f,overflowY:c}}var me=r("oHiP");function ge(e){return ge="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},ge(e)}function ve(){return ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ve.apply(this,arguments)}function ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xe(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function we(e,t,r){return t&&xe(e.prototype,t),r&&xe(e,r),e}function ke(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Se(e,t)}function Se(e,t){return Se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Se(e,t)}function Ce(e){var t=Te();return function(){var r,n=Ae(e);if(t){var i=Ae(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Oe(this,r)}}function Oe(e,t){return!t||"object"!==ge(t)&&"function"!==typeof t?Me(e):t}function Me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Te(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Ae(e){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ae(e)}var Ee=0,Ne=1,je=2,ze=function(e){ke(r,e);var t=Ce(r);function r(e){var i;return be(this,r),i=t.call(this,e),i.saveTextArea=function(e){i.textArea=e},i.handleResize=function(e){var t=i.state.resizeStatus,r=i.props,n=r.autoSize,o=r.onResize;t===Ee&&("function"===typeof o&&o(e),n&&i.resizeOnNextFrame())},i.resizeOnNextFrame=function(){me["a"].cancel(i.nextFrameActionId),i.nextFrameActionId=Object(me["a"])(i.resizeTextarea)},i.resizeTextarea=function(){var e=i.props.autoSize;if(e&&i.textArea){var t=e.minRows,r=e.maxRows,n=de(i.textArea,!1,t,r);i.setState({textareaStyles:n,resizeStatus:Ne},(function(){me["a"].cancel(i.resizeFrameId),i.resizeFrameId=Object(me["a"])((function(){i.setState({resizeStatus:je},(function(){i.resizeFrameId=Object(me["a"])((function(){i.setState({resizeStatus:Ee}),i.fixFirefoxAutoScroll()}))}))}))}))}},i.renderTextArea=function(){var e=i.props,t=e.prefixCls,r=e.autoSize,s=e.onResize,l=e.className,c=e.disabled,u=i.state,f=u.textareaStyles,h=u.resizeStatus,p=Object(a["a"])(i.props,["prefixCls","onPressEnter","autoSize","defaultValue","allowClear","onResize"]),d=o()(t,l,ye({},"".concat(t,"-disabled"),c));"value"in p&&(p.value=p.value||"");var m=ve(ve(ve({},i.props.style),f),h===Ne?{overflowX:"hidden",overflowY:"hidden"}:null);return n["createElement"](ce["a"],{onResize:i.handleResize,disabled:!(r||s)},n["createElement"]("textarea",ve({},p,{className:d,style:m,ref:i.saveTextArea})))},i.state={textareaStyles:{},resizeStatus:Ee},i}return we(r,[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(e){e.value!==this.props.value&&this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){me["a"].cancel(this.nextFrameActionId),me["a"].cancel(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(r){}}},{key:"render",value:function(){return this.renderTextArea()}}]),r}(n["Component"]),Pe=ze;function Fe(e){return Fe="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},Fe(e)}function Le(){return Le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Le.apply(this,arguments)}function De(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Re(e,t,r){return t&&Ie(e.prototype,t),r&&Ie(e,r),e}function _e(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Be(e,t)}function Be(e,t){return Be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Be(e,t)}function qe(e){var t=We();return function(){var r,n=Ue(e);if(t){var i=Ue(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return He(this,r)}}function He(e,t){return!t||"object"!==Fe(t)&&"function"!==typeof t?Ve(e):t}function Ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function We(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function Ue(e){return Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ue(e)}var $e=function(e){_e(r,e);var t=qe(r);function r(e){var i;De(this,r),i=t.call(this,e),i.focus=function(){i.resizableTextArea.textArea.focus()},i.saveTextArea=function(e){i.resizableTextArea=e},i.saveClearableInput=function(e){i.clearableInput=e},i.handleChange=function(e){i.setValue(e.target.value,(function(){i.resizableTextArea.resizeTextarea()})),W(i.resizableTextArea.textArea,e,i.props.onChange)},i.handleKeyDown=function(e){var t=i.props,r=t.onPressEnter,n=t.onKeyDown;13===e.keyCode&&r&&r(e),n&&n(e)},i.handleReset=function(e){i.setValue("",(function(){i.resizableTextArea.renderTextArea(),i.focus()})),W(i.resizableTextArea.textArea,e,i.props.onChange)},i.renderTextArea=function(e){return n["createElement"](Pe,Le({},i.props,{prefixCls:e,onKeyDown:i.handleKeyDown,onChange:i.handleChange,ref:i.saveTextArea}))},i.renderComponent=function(e){var t=e.getPrefixCls,r=e.direction,o=i.state.value,a=i.props.prefixCls,s=t("input",a);return n["createElement"](M,Le({},i.props,{prefixCls:s,direction:r,inputType:"text",value:V(o),element:i.renderTextArea(s),handleReset:i.handleReset,ref:i.saveClearableInput,triggerFocus:i.focus}))};var o="undefined"===typeof e.value?e.defaultValue:e.value;return i.state={value:o},i}return Re(r,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return n["createElement"](T["a"],null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),r}(n["Component"]),Ge=$e,Ke=r("qPY4"),Ye=r.n(Ke),Xe=r("fUL4"),Ze=r.n(Xe);function Je(){return Je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Je.apply(this,arguments)}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function et(e,t){return ot(e)||it(e,t)||rt(e,t)||tt()}function tt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rt(e,t){if(e){if("string"===typeof e)return nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nt(e,t):void 0}}function nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function it(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function ot(e){if(Array.isArray(e))return e}var at=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},st={click:"onClick",hover:"onMouseOver"},lt=n["forwardRef"]((function(e,t){var r=Object(n["useState"])(!1),i=et(r,2),s=i[0],l=i[1],c=function(){var t=e.disabled;t||l(!s)},u=function(t){var r,i=e.action,o=e.iconRender,a=void 0===o?function(){return null}:o,l=st[i]||"",u=a(s),f=(r={},Qe(r,l,c),Qe(r,"className","".concat(t,"-icon")),Qe(r,"key","passwordIcon"),Qe(r,"onMouseDown",(function(e){e.preventDefault()})),Qe(r,"onMouseUp",(function(e){e.preventDefault()})),r);return n["cloneElement"](n["isValidElement"](u)?u:n["createElement"]("span",null,u),f)},f=function(r){var i=r.getPrefixCls,l=e.className,c=e.prefixCls,f=e.inputPrefixCls,h=e.size,p=e.visibilityToggle,d=at(e,["className","prefixCls","inputPrefixCls","size","visibilityToggle"]),m=i("input",f),g=i("input-password",c),v=p&&u(g),y=o()(g,l,Qe({},"".concat(g,"-").concat(h),!!h)),b=Je(Je({},Object(a["a"])(d,["suffix","iconRender"])),{type:s?"text":"password",className:y,prefixCls:m,suffix:v});return h&&(b.size=h),n["createElement"](G,Je({ref:t},b))};return n["createElement"](T["a"],null,f)}));lt.defaultProps={action:"click",visibilityToggle:!0,iconRender:function(e){return e?n["createElement"](Ye.a,null):n["createElement"](Ze.a,null)}},lt.displayName="Password";var ct=lt;G.Group=X,G.Search=le,G.TextArea=Ge,G.Password=ct;t["a"]=G},"6jRP":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"6sVZ":function(e,t){var r=Object.prototype;function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}e.exports=n},"77Zs":function(e,t,r){var n=r("Xi7e");function i(){this.__data__=new n,this.size=0}e.exports=i},"7GkX":function(e,t,r){var n=r("b80T"),i=r("A90E"),o=r("MMmD");function a(e){return o(e)?n(e):i(e)}e.exports=a},"7Kak":function(e,t,r){"use strict";r("cIOH"),r("KPFz")},"7fqy":function(e,t){function r(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}e.exports=r},"85Yc":function(e,t,r){"use strict";r.d(t,"a",(function(){return ve})),r.d(t,"c",(function(){return we})),r.d(t,"e",(function(){return Ne})),r.d(t,"b",(function(){return Fe}));var n=r("q1tI"),i=r("Ff2n"),o=r("rePB"),a=r("KQm4"),s=r("1OyB"),l=r("vuIU"),c=r("Ji7U"),u=r("md7G"),f=r("foSv"),h=r("Zm9Q"),p=r("Kwbf"),d=r("KW7l");function m(e){return void 0===e||null===e?[]:Array.isArray(e)?e:[e]}var g=r("o0o1"),v=r.n(g);function y(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(n,i)}function b(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(e){y(o,n,i,a,s,"next",e)}function s(e){y(o,n,i,a,s,"throw",e)}a(void 0)}))}}var x=r("U8pU"),w=r("KpVd");function k(e,t){for(var r=e,n=0;n<t.length;n+=1){if(null===r||void 0===r)return;r=r[t[n]]}return r}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function C(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach((function(t){O(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e){return A(e)||P(e)||j(e)||T()}function T(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function A(e){if(Array.isArray(e))return z(e)}function E(e){return F(e)||P(e)||j(e)||N()}function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j(e,t){if(e){if("string"===typeof e)return z(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,t):void 0}}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function P(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function F(e){if(Array.isArray(e))return e}function L(e,t,r){if(!t.length)return r;var n,i=E(t),o=i[0],a=i.slice(1);return n=e||"number"!==typeof o?Array.isArray(e)?M(e):C({},e):[],n[o]=L(n[o],a,r),n}function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function R(e){return m(e)}function _(e,t){var r=k(e,t);return r}function B(e,t,r){var n=L(e,t,r);return n}function q(e,t){var r={};return t.forEach((function(t){var n=_(e,t);r=B(r,t,n)})),r}function H(e,t){return e&&e.some((function(e){return $(e,t)}))}function V(e){return"object"===Object(x["a"])(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function W(e,t){var r=Array.isArray(e)?Object(a["a"])(e):I({},e);return t?(Object.keys(t).forEach((function(e){var n=r[e],i=t[e],o=V(n)&&V(i);r[e]=o?W(n,i||{}):i})),r):r}function U(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.reduce((function(e,t){return W(e,t)}),e)}function $(e,t){return!(!e||!t||e.length!==t.length)&&e.every((function(e,r){return t[r]===e}))}function G(e,t){if(e===t)return!0;if(!e&&t||e&&!t)return!1;if(!e||!t||"object"!==Object(x["a"])(e)||"object"!==Object(x["a"])(t))return!1;var r=Object.keys(e),n=Object.keys(t),i=new Set([].concat(Object(a["a"])(r),Object(a["a"])(n)));return Object(a["a"])(i).every((function(r){var n=e[r],i=t[r];return"function"===typeof n&&"function"===typeof i||n===i}))}function K(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&e in t.target?t.target[e]:t}function Y(e,t,r){var n=e.length;if(t<0||t>=n||r<0||r>=n)return e;var i=e[t],o=t-r;return o>0?[].concat(Object(a["a"])(e.slice(0,r)),[i],Object(a["a"])(e.slice(r,t)),Object(a["a"])(e.slice(t+1,n))):o<0?[].concat(Object(a["a"])(e.slice(0,t)),Object(a["a"])(e.slice(t+1,r+1)),[i],Object(a["a"])(e.slice(r+1,n))):e}var X="'${name}' is not a valid ${type}",Z={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:X,method:X,array:X,object:X,number:X,date:X,boolean:X,integer:X,float:X,regexp:X,email:X,url:X,hex:X},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var ee=w["a"];function te(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var r=e.slice(2,-1);return t[r]}))}function re(e,t,r,n){var i=Q({},r,{name:t,enum:(r.enum||[]).join(", ")}),o=function(e,t){return function(){return te(e,Q({},i,{},t))}};function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(r){var i=e[r];"string"===typeof i?t[r]=o(i,n):i&&"object"===Object(x["a"])(i)?(t[r]={},a(i,t[r])):t[r]=i})),t}return a(U({},Z,e))}function ne(e,t,r,n,i){return ie.apply(this,arguments)}function ie(){return ie=b(v.a.mark((function e(t,r,i,s,l){var c,u,f,h,p,d;return v.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return c=Q({},i),u=null,c&&"array"===c.type&&c.defaultField&&(u=c.defaultField,delete c.defaultField),f=new ee(Object(o["a"])({},t,[c])),h=re(s.validateMessages,t,c,l),f.messages(h),p=[],e.prev=7,e.next=10,Promise.resolve(f.validate(Object(o["a"])({},t,r),Q({},s)));case 10:e.next=15;break;case 12:e.prev=12,e.t0=e["catch"](7),e.t0.errors?p=e.t0.errors.map((function(e,t){var r=e.message;return n["isValidElement"](r)?n["cloneElement"](r,{key:"error_".concat(t)}):r})):(console.error(e.t0),p=[h.default()]);case 15:if(p.length||!u){e.next=20;break}return e.next=18,Promise.all(r.map((function(e,r){return ne("".concat(t,".").concat(r),e,u,s,l)})));case 18:return d=e.sent,e.abrupt("return",d.reduce((function(e,t){return[].concat(Object(a["a"])(e),Object(a["a"])(t))}),[]));case 20:return e.abrupt("return",p);case 21:case"end":return e.stop()}}),e,null,[[7,12]])}))),ie.apply(this,arguments)}function oe(e,t,r,n,i,o){var a=e.join("."),s=r.map((function(e){var t=e.validator;return t?Q({},e,{validator:function(e,r,n){var i=!1,o=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Promise.resolve().then((function(){Object(p["a"])(!i,"Your validator function has already return a promise. `callback` will be ignored."),i||n.apply(void 0,t)}))},a=t(e,r,o);i=a&&"function"===typeof a.then&&"function"===typeof a.catch,Object(p["a"])(i,"`callback` is deprecated. Please return a promise instead."),i&&a.then((function(){n()})).catch((function(e){n(e)}))}}):e})),l=s.map((function(e){return ne(a,t,e,n,o)})),c=(i?le(l):ae(l)).then((function(e){return e.length?Promise.reject(e):[]}));return c.catch((function(e){return e})),c}function ae(e){return se.apply(this,arguments)}function se(){return se=b(v.a.mark((function e(t){return v.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.all(t).then((function(e){var t,r=(t=[]).concat.apply(t,Object(a["a"])(e));return r})));case 1:case"end":return e.stop()}}),e)}))),se.apply(this,arguments)}function le(e){return ce.apply(this,arguments)}function ce(){return ce=b(v.a.mark((function e(t){var r;return v.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=0,e.abrupt("return",new Promise((function(e){t.forEach((function(n){n.then((function(n){n.length&&e(n),r+=1,r===t.length&&e([])}))}))})));case 2:case"end":return e.stop()}}),e)}))),ce.apply(this,arguments)}function ue(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ue(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ue(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function he(e){return function(){var t,r=Object(f["a"])(e);if(pe()){var n=Object(f["a"])(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return Object(u["a"])(this,t)}}function pe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function de(e,t,r,n,i,o){return"function"===typeof e?e(t,r,"source"in o?{source:o.source}:{}):n!==i}var me=function(e){Object(c["a"])(r,e);var t=he(r);function r(){var e;return Object(s["a"])(this,r),e=t.apply(this,arguments),e.state={resetCount:0},e.cancelRegisterFunc=null,e.destroy=!1,e.touched=!1,e.dirty=!1,e.validatePromise=null,e.errors=[],e.cancelRegister=function(){e.cancelRegisterFunc&&e.cancelRegisterFunc(),e.cancelRegisterFunc=null},e.getNamePath=function(){var t=e.props.name,r=e.context.prefixName,n=void 0===r?[]:r;return void 0!==t?[].concat(Object(a["a"])(n),Object(a["a"])(t)):[]},e.getRules=function(){var t=e.props.rules,r=void 0===t?[]:t;return r.map((function(t){return"function"===typeof t?t(e.context):t}))},e.refresh=function(){e.destroy||e.setState((function(e){var t=e.resetCount;return{resetCount:t+1}}))},e.onStoreChange=function(t,r,n){var i=e.props,o=i.shouldUpdate,a=i.dependencies,s=void 0===a?[]:a,l=i.onReset,c=n.store,u=e.getNamePath(),f=e.getValue(t),h=e.getValue(c),p=r&&H(r,u);switch("valueUpdate"===n.type&&"external"===n.source&&f!==h&&(e.touched=!0,e.dirty=!0,e.validatePromise=null,e.errors=[]),n.type){case"reset":if(!r||p)return e.touched=!1,e.dirty=!1,e.validatePromise=null,e.errors=[],l&&l(),void e.refresh();break;case"setField":if(p){var d=n.data;return"touched"in d&&(e.touched=d.touched),"validating"in d&&!("originRCField"in d)&&(e.validatePromise=d.validating?Promise.resolve([]):null),"errors"in d&&(e.errors=d.errors||[]),e.dirty=!0,void e.reRender()}if(o&&!u.length&&de(o,t,c,f,h,n))return void e.reRender();break;case"dependenciesUpdate":var m=s.map(R);if(p||m.some((function(e){return H(n.relatedFields,e)})))return void e.reRender();break;default:if(p||s.some((function(e){return H(r,R(e))}))||de(o,t,c,f,h,n))return void e.reRender();break}!0===o&&e.reRender()},e.validateRules=function(t){var r=e.props,n=r.validateFirst,i=void 0!==n&&n,o=r.messageVariables,a=t||{},s=a.triggerName,l=e.getNamePath(),c=e.getRules();s&&(c=c.filter((function(e){var t=e.validateTrigger;if(!t)return!0;var r=m(t);return r.includes(s)})));var u=oe(l,e.getValue(),c,t,i,o);return e.dirty=!0,e.validatePromise=u,e.errors=[],u.catch((function(e){return e})).then((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.validatePromise===u&&(e.validatePromise=null,e.errors=t,e.reRender())})),u},e.isFieldValidating=function(){return!!e.validatePromise},e.isFieldTouched=function(){return e.touched},e.isFieldDirty=function(){return e.dirty},e.getErrors=function(){return e.errors},e.getMeta=function(){e.prevValidating=e.isFieldValidating();var t={touched:e.isFieldTouched(),validating:e.prevValidating,errors:e.errors,name:e.getNamePath()};return t},e.getOnlyChild=function(t){if("function"===typeof t){var r=e.getMeta();return fe({},e.getOnlyChild(t(e.getControlled(),r,e.context)),{isFunction:!0})}var i=Object(h["a"])(t);return 1===i.length&&n["isValidElement"](i[0])?{child:i[0],isFunction:!1}:{child:i,isFunction:!1}},e.getValue=function(t){var r=e.context.getFieldsValue,n=e.getNamePath();return _(t||r(!0),n)},e.getControlled=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.props,n=r.trigger,i=r.validateTrigger,a=r.getValueFromEvent,s=r.normalize,l=r.valuePropName,c=r.getValueProps,u=void 0!==i?i:e.context.validateTrigger,f=e.getNamePath(),h=e.context,p=h.getInternalHooks,g=h.getFieldsValue,v=p(d["a"]),y=v.dispatch,b=e.getValue(),x=c||function(e){return Object(o["a"])({},l,e)},w=t[n],k=fe({},t,{},x(b));k[n]=function(){var t;e.touched=!0,e.dirty=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];t=a?a.apply(void 0,n):K.apply(void 0,[l].concat(n)),s&&(t=s(t,b,g(!0))),y({type:"updateValue",namePath:f,value:t}),w&&w.apply(void 0,n)};var S=m(u||[]);return S.forEach((function(t){var r=k[t];k[t]=function(){r&&r.apply(void 0,arguments);var n=e.props.rules;n&&n.length&&y({type:"validateField",namePath:f,triggerName:t})}})),k},e}return Object(l["a"])(r,[{key:"componentDidMount",value:function(){var e=this.props.shouldUpdate,t=this.context.getInternalHooks,r=t(d["a"]),n=r.registerField;this.cancelRegisterFunc=n(this),!0===e&&this.reRender()}},{key:"componentWillUnmount",value:function(){this.cancelRegister(),this.destroy=!0}},{key:"reRender",value:function(){this.destroy||this.forceUpdate()}},{key:"render",value:function(){var e,t=this.state.resetCount,r=this.props.children,i=this.getOnlyChild(r),o=i.child,a=i.isFunction;return a?e=o:n["isValidElement"](o)?e=n["cloneElement"](o,this.getControlled(o.props)):(Object(p["a"])(!o,"`children` of Field is not validate ReactElement."),e=o),n["createElement"](n["Fragment"],{key:t},e)}}]),r}(n["Component"]);me.contextType=d["b"],me.defaultProps={trigger:"onChange",valuePropName:"value"};var ge=function(e){var t=e.name,r=e.isListField,o=Object(i["a"])(e,["name","isListField"]),a=void 0!==t?R(t):void 0,s="keep";return r||(s="_".concat((a||[]).join("_"))),n["createElement"](me,Object.assign({key:s,name:a},o))},ve=ge;function ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function be(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ye(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var xe=function(e){var t=e.name,r=e.children,i=n["useContext"](d["b"]),o=n["useRef"]({keys:[],id:0}),s=o.current;if("function"!==typeof r)return Object(p["a"])(!1,"Form.List only accepts function as children."),null;var l=R(i.prefixName)||[],c=[].concat(Object(a["a"])(l),Object(a["a"])(R(t))),u=function(e,t,r){var n=r.source;return"internal"!==n&&e!==t};return n["createElement"](d["b"].Provider,{value:be({},i,{prefixName:c})},n["createElement"](ve,{name:[],shouldUpdate:u},(function(e){var t=e.value,n=void 0===t?[]:t,o=e.onChange,l=i.getFieldValue,u=function(){var e=l(c||[]);return e||[]},f={add:function(e){s.keys=[].concat(Object(a["a"])(s.keys),[s.id]),s.id+=1;var t=u();o([].concat(Object(a["a"])(t),[e]))},remove:function(e){var t=u();if(!(e<0||e>=t.length)){var r=s.keys.map((function(t,r){return r<e?t:s.keys[r+1]}));s.keys=r.slice(0,-1),o(t.filter((function(t,r){return r!==e})))}},move:function(e,t){if(e!==t){var r=u();e<0||e>=r.length||t<0||t>=r.length||(s.keys=Y(s.keys,e,t),o(Y(r,e,t)))}}};return r(n.map((function(e,t){var r=s.keys[t];return void 0===r&&(s.keys[t]=s.id,r=s.keys[t],s.id+=1),{name:t,key:r,isListField:!0}})),f)})))},we=xe,ke=r("ODXe");function Se(e){var t=!1,r=e.length,n=[];return e.length?new Promise((function(i,o){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){r-=1,n[a]=e,r>0||(t&&o(n),i(n))}))}))})):Promise.resolve([])}var Ce=function(){function e(){Object(s["a"])(this,e),this.list=[]}return Object(l["a"])(e,[{key:"set",value:function(e,t){var r=this.list.findIndex((function(t){return $(t.key,e)}));-1!==r?this.list[r].value=t:this.list.push({key:e,value:t})}},{key:"get",value:function(e){var t=this.list.find((function(t){return $(t.key,e)}));return t&&t.value}},{key:"update",value:function(e,t){var r=this.get(e),n=t(r);n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.list=this.list.filter((function(t){return!$(t.key,e)}))}},{key:"map",value:function(e){return this.list.map(e)}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var r=t.key,n=t.value;return e[r.join(".")]=n,null})),e}}]),e}(),Oe=Ce;function Me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Te(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Ae=function e(t){var r=this;Object(s["a"])(this,e),this.formHooked=!1,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:r.getFieldValue,getFieldsValue:r.getFieldsValue,getFieldError:r.getFieldError,getFieldsError:r.getFieldsError,isFieldsTouched:r.isFieldsTouched,isFieldTouched:r.isFieldTouched,isFieldValidating:r.isFieldValidating,isFieldsValidating:r.isFieldsValidating,resetFields:r.resetFields,setFields:r.setFields,setFieldsValue:r.setFieldsValue,validateFields:r.validateFields,submit:r.submit,getInternalHooks:r.getInternalHooks}},this.getInternalHooks=function(e){return e===d["a"]?(r.formHooked=!0,{dispatch:r.dispatch,registerField:r.registerField,useSubscribe:r.useSubscribe,setInitialValues:r.setInitialValues,setCallbacks:r.setCallbacks,setValidateMessages:r.setValidateMessages,getFields:r.getFields}):(Object(p["a"])(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){r.subscribable=e},this.setInitialValues=function(e,t){r.initialValues=e||{},t&&(r.store=U({},e,r.store))},this.getInitialValue=function(e){return _(r.initialValues,e)},this.setCallbacks=function(e){r.callbacks=e},this.setValidateMessages=function(e){r.validateMessages=e},this.timeoutId=null,this.warningUnhooked=function(){0},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?r.fieldEntities.filter((function(e){return e.getNamePath().length})):r.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Oe;return r.getFieldEntities(e).forEach((function(e){var r=e.getNamePath();t.set(r,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return r.getFieldEntities(!0);var t=r.getFieldsMap(!0);return e.map((function(e){var r=R(e);return t.get(r)||{INVALIDATE_NAME_PATH:R(e)}}))},this.getFieldsValue=function(e,t){if(r.warningUnhooked(),!0===e&&!t)return r.store;var n=r.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),i=[];return n.forEach((function(e){var r="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(t){var n="getMeta"in e?e.getMeta():null;t(n)&&i.push(r)}else i.push(r)})),q(r.store,i.map(R))},this.getFieldValue=function(e){r.warningUnhooked();var t=R(e);return _(r.store,t)},this.getFieldsError=function(e){r.warningUnhooked();var t=r.getFieldEntitiesForNamePathList(e);return t.map((function(t,r){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors()}:{name:R(e[r]),errors:[]}}))},this.getFieldError=function(e){r.warningUnhooked();var t=R(e),n=r.getFieldsError([t])[0];return n.errors},this.isFieldsTouched=function(){r.warningUnhooked();for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i,o=t[0],a=t[1],s=!1;0===t.length?i=null:1===t.length?Array.isArray(o)?(i=o.map(R),s=!1):(i=null,s=o):(i=o.map(R),s=a);var l=function(e){if(!i)return e.isFieldTouched();var t=e.getNamePath();return H(i,t)?e.isFieldTouched():s};return s?r.getFieldEntities(!0).every(l):r.getFieldEntities(!0).some(l)},this.isFieldTouched=function(e){return r.warningUnhooked(),r.isFieldsTouched([e])},this.isFieldsValidating=function(e){r.warningUnhooked();var t=r.getFieldEntities();if(!e)return t.some((function(e){return e.isFieldValidating()}));var n=e.map(R);return t.some((function(e){var t=e.getNamePath();return H(n,t)&&e.isFieldValidating()}))},this.isFieldValidating=function(e){return r.warningUnhooked(),r.isFieldsValidating([e])},this.resetWithFieldInitialValue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new Oe,n=r.getFieldEntities(!0);n.forEach((function(e){var r=e.props.initialValue,n=e.getNamePath();if(void 0!==r){var i=t.get(n)||new Set;i.add({entity:e,value:r}),t.set(n,i)}}));var i,o=function(n){n.forEach((function(n){var i=n.props.initialValue;if(void 0!==i){var o=n.getNamePath(),s=r.getInitialValue(o);if(void 0!==s)Object(p["a"])(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var l=t.get(o);if(l&&l.size>1)Object(p["a"])(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(l){var c=r.getFieldValue(o);e.skipExist&&void 0!==c||(r.store=B(r.store,o,Object(a["a"])(l)[0].value))}}}}))};e.entities?i=e.entities:e.namePathList?(i=[],e.namePathList.forEach((function(e){var r,n=t.get(e);n&&(r=i).push.apply(r,Object(a["a"])(Object(a["a"])(n).map((function(e){return e.entity}))))}))):i=n,o(i)},this.resetFields=function(e){r.warningUnhooked();var t=r.store;if(!e)return r.store=U({},r.initialValues),r.resetWithFieldInitialValue(),void r.notifyObservers(t,null,{type:"reset"});var n=e.map(R);n.forEach((function(e){var t=r.getInitialValue(e);r.store=B(r.store,e,t)})),r.resetWithFieldInitialValue({namePathList:n}),r.notifyObservers(t,n,{type:"reset"})},this.setFields=function(e){r.warningUnhooked();var t=r.store;e.forEach((function(e){var n=e.name,o=(e.errors,Object(i["a"])(e,["name","errors"])),a=R(n);"value"in o&&(r.store=B(r.store,a,o.value)),r.notifyObservers(t,[a],{type:"setField",data:e})}))},this.getFields=function(){var e=r.getFieldEntities(!0),t=e.map((function(e){var t=e.getNamePath(),n=e.getMeta(),i=Te({},n,{name:t,value:r.getFieldValue(t)});return Object.defineProperty(i,"originRCField",{value:!0}),i}));return t},this.registerField=function(e){if(r.fieldEntities.push(e),void 0!==e.props.initialValue){var t=r.store;r.resetWithFieldInitialValue({entities:[e],skipExist:!0}),r.notifyObservers(t,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(){r.fieldEntities=r.fieldEntities.filter((function(t){return t!==e}))}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,n=e.value;r.updateValue(t,n);break;case"validateField":var i=e.namePath,o=e.triggerName;r.validateFields([i],{triggerName:o});break;default:}},this.notifyObservers=function(e,t,n){if(r.subscribable){var i=Te({},n,{store:r.getFieldsValue(!0)});r.getFieldEntities().forEach((function(r){var n=r.onStoreChange;n(e,t,i)}))}else r.forceRootUpdate()},this.updateValue=function(e,t){var n=R(e),i=r.store;r.store=B(r.store,n,t),r.notifyObservers(i,[n],{type:"valueUpdate",source:"internal"});var o=r.getDependencyChildrenFields(n);r.validateFields(o),r.notifyObservers(i,o,{type:"dependenciesUpdate",relatedFields:[n].concat(Object(a["a"])(o))});var s=r.callbacks.onValuesChange;if(s){var l=q(r.store,[n]);s(l,r.store)}r.triggerOnFieldsChange([n].concat(Object(a["a"])(o)))},this.setFieldsValue=function(e){r.warningUnhooked();var t=r.store;e&&(r.store=U(r.store,e)),r.notifyObservers(t,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(e){var t=new Set,n=[],i=new Oe;r.getFieldEntities().forEach((function(e){var t=e.props.dependencies;(t||[]).forEach((function(t){var r=R(t);i.update(r,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));var o=function e(r){var o=i.get(r)||new Set;o.forEach((function(r){if(!t.has(r)){t.add(r);var i=r.getNamePath();r.isFieldDirty()&&i.length&&(n.push(i),e(i))}}))};return o(e),n},this.triggerOnFieldsChange=function(e,t){var n=r.callbacks.onFieldsChange;if(n){var i=r.getFields();if(t){var o=new Oe;t.forEach((function(e){var t=e.name,r=e.errors;o.set(t,r)})),i.forEach((function(e){e.errors=o.get(e.name)||e.errors}))}var a=i.filter((function(t){var r=t.name;return H(e,r)}));n(a,i)}},this.validateFields=function(e,t){r.warningUnhooked();var n=!!e,i=n?e.map(R):[],o=[];r.getFieldEntities(!0).forEach((function(e){if(n||i.push(e.getNamePath()),e.props.rules&&e.props.rules.length){var a=e.getNamePath();if(!n||H(i,a)){var s=e.validateRules(Te({validateMessages:Te({},Z,{},r.validateMessages)},t));o.push(s.then((function(){return{name:a,errors:[]}})).catch((function(e){return Promise.reject({name:a,errors:e})})))}}}));var a=Se(o);r.lastValidatePromise=a,a.catch((function(e){return e})).then((function(e){var t=e.map((function(e){var t=e.name;return t}));r.notifyObservers(r.store,t,{type:"validateFinish"}),r.triggerOnFieldsChange(t,e)}));var s=a.then((function(){return r.lastValidatePromise===a?Promise.resolve(r.getFieldsValue(i)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:r.getFieldsValue(i),errorFields:t,outOfDate:r.lastValidatePromise!==a})}));return s.catch((function(e){return e})),s},this.submit=function(){r.warningUnhooked(),r.validateFields().then((function(e){var t=r.callbacks.onFinish;if(t)try{t(e)}catch(n){console.error(n)}})).catch((function(e){var t=r.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t};function Ee(e){var t=n["useRef"](),r=n["useState"](),i=Object(ke["a"])(r,2),o=i[1];if(!t.current)if(e)t.current=e;else{var a=function(){o({})},s=new Ae(a);t.current=s.getForm()}return[t.current]}var Ne=Ee;function je(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?je(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):je(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Pe=n["createContext"]({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Fe=function(e){var t=e.validateMessages,r=e.onFormChange,i=e.onFormFinish,a=e.children,s=n["useContext"](Pe),l=n["useRef"]({});return n["createElement"](Pe.Provider,{value:ze({},s,{validateMessages:ze({},s.validateMessages,{},t),triggerFormChange:function(e,t){r&&r(e,{changedFields:t,forms:l.current}),s.triggerFormChange(e,t)},triggerFormFinish:function(e,t){i&&i(e,{values:t,forms:l.current}),s.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(l.current=ze({},l.current,Object(o["a"])({},e,t))),s.registerForm(e,t)},unregisterForm:function(e){var t=ze({},l.current);delete t[e],l.current=t,s.unregisterForm(e)}})},a)},Le=Pe;function De(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ie(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?De(Object(r),!0).forEach((function(t){Object(o["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):De(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var Re=function(e,t){var r=e.name,o=e.initialValues,a=e.fields,s=e.form,l=e.children,c=e.component,u=void 0===c?"form":c,f=e.validateMessages,h=e.validateTrigger,p=void 0===h?"onChange":h,m=e.onValuesChange,g=e.onFieldsChange,v=e.onFinish,y=e.onFinishFailed,b=Object(i["a"])(e,["name","initialValues","fields","form","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"]),x=n["useContext"](Le),w=Ne(s),k=Object(ke["a"])(w,1),S=k[0],C=S.getInternalHooks(d["a"]),O=C.useSubscribe,M=C.setInitialValues,T=C.setCallbacks,A=C.setValidateMessages;n["useImperativeHandle"](t,(function(){return S})),n["useEffect"]((function(){return x.registerForm(r,S),function(){x.unregisterForm(r)}}),[x,S,r]),A(Ie({},x.validateMessages,{},f)),T({onValuesChange:m,onFieldsChange:function(e){if(x.triggerFormChange(r,e),g){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];g.apply(void 0,[e].concat(n))}},onFinish:function(e){x.triggerFormFinish(r,e),v&&v(e)},onFinishFailed:y});var E=n["useRef"](null);M(o,!E.current),E.current||(E.current=!0);var N=l,j="function"===typeof l;if(j){var z=S.getFieldsValue(!0);N=l(z,S)}O(!j);var P=n["useRef"]();n["useEffect"]((function(){G(P.current||[],a||[])||S.setFields(a||[]),P.current=a}),[a,S]);var F=n["useMemo"]((function(){return Ie({},S,{validateTrigger:p})}),[S,p]),L=n["createElement"](d["b"].Provider,{value:F},N);return!1===u?L:n["createElement"](u,Object.assign({},b,{onSubmit:function(e){e.preventDefault(),e.stopPropagation(),S.submit()}}),L)},_e=Re,Be=n["forwardRef"](_e),qe=Be;qe.FormProvider=Fe,qe.Field=ve,qe.List=we,qe.useForm=Ne;t["d"]=qe},"8EBN":function(e,t,r){(function(e){e(r("VrN/"))})((function(e){"use strict";e.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history).md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]}];for(var t=0;t<e.modeInfo.length;t++){var r=e.modeInfo[t];r.mimes&&(r.mime=r.mimes[0])}e.findModeByMIME=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.mime==t)return n;if(n.mimes)for(var i=0;i<n.mimes.length;i++)if(n.mimes[i]==t)return n}return/\+xml$/.test(t)?e.findModeByMIME("application/xml"):/\+json$/.test(t)?e.findModeByMIME("application/json"):void 0},e.findModeByExtension=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.ext)for(var i=0;i<n.ext.length;i++)if(n.ext[i]==t)return n}},e.findModeByFileName=function(t){for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.file&&n.file.test(t))return n}var i=t.lastIndexOf("."),o=i>-1&&t.substring(i+1,t.length);if(o)return e.findModeByExtension(o)},e.findModeByName=function(t){t=t.toLowerCase();for(var r=0;r<e.modeInfo.length;r++){var n=e.modeInfo[r];if(n.name.toLowerCase()==t)return n;if(n.alias)for(var i=0;i<n.alias.length;i++)if(n.alias[i].toLowerCase()==t)return n}}}))},"9Bee":function(e,t,r){"use strict";var n=r("q1tI"),i=r.n(n),o=(r("vg9a"),r("tJVT")),a=r("DlQD"),s=r.n(a),l=r("rUJ1"),c=r("Oy/b");function u(e){return e=e.replace(/( |\u00a0| )/g,"").replace(/>/g,">").replace(/</g,"<").replace(/\\$/g,"").replace(/^\\(?:{)/,"\\\\{"),e.match(/\S/)?e:""}function f(e){return Object(c["renderToString"])(u(e),{throwOnError:!1})}function h(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map(e=>{var t=e.match(/^\s+/);if(null===t)return e;var r=Object(o["a"])(t,1),i=r[0];return i.length>=n.length?e.slice(n.length):e}).join("\n")}var p=/\`?\${2}([^\$\n]+?)\${2}\`?/g,d=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,m=[],g=["<ul>"];function v(){m=[],g=["<ul>"]}function y(e,t,r,n){if(t>=e.length||e[t].level<=r)return t;var i=e[t];n.push("<li><a href='#"+i.anchor+"'>"+i.text+"</a>"),t++;var o=[];return t=y(e,t,i.level,o),o.length>0&&(n.push("<ul>"),o.forEach((function(e){n.push(e)})),n.push("</ul>")),n.push("</li>"),t=y(e,t,r,n),t}function b(){return y(m,0,0,g),g.push("</ul>"),g.join("")}var x={heading(e){var t=d.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},paragraph(e){var t=this.rules.block.paragraph.exec(e),r="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1],n=r.match(p);if(n&&(r=r.replace(p,(e,t)=>f(t))),t)return{type:"paragraph",raw:t[0],text:r}},code(e,t){var r=this.rules.block.code.exec(e);if(r){var n=t[t.length-1];if(n&&"paragraph"===n.type)return{raw:r[0],text:r[0].trimRight()};var i=r[0].replace(/^ {4}/gm,"");i=this.options.pedantic?i:Object(l["rtrim"])(i,"\n");var o=i.match(p);return o&&(i=i.replace(p,(e,t)=>f(t))),{type:"code",raw:r[0],codeBlockStyle:"indented",text:i}}},fences(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=h(r,t[3]||""),i=t[2]?t[2].trim():t[2];return["latex","katex","math"].indexOf(i)>=0&&(n=f(n)),{type:"code",raw:r,lang:i,text:n}}}},w={code(e,t,r){var n=(t||"").match(/\S*/)[0];return n?["latex","katex","math"].indexOf(n)>=0?"<p class='editormd-tex'>".concat(e,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(t,'">').concat(r?e:Object(l["escape"])(e,!0),"</code></pre>\n"):'<pre class="prettyprint linenums"><code>'+(r?e:Object(l["escape"])(e,!0))+"</code></pre>"},heading(e,t,r,n){var i=this.options.headerPrefix+r.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return m.push({anchor:i,level:t,text:e}),"<h"+t+' id="'+i+'">'+e+"</h"+t+">"}};s.a.setOptions({silent:!0,smartypants:!0,gfm:!0,pedantic:!1}),s.a.use({tokenizer:x,renderer:w});var k=s.a,S=(r("SJMd"),/<pre[^>]*>/g);t["a"]=e=>{var t=e.value,r=void 0===t?"":t,o=e.is_md,a=void 0===o||o,s=e.className,l=e.style,c=void 0===l?{}:l,u=String(r),f=a?k(u):r;u.match(/\[TOC\]/)&&(f=f.replace("<p>[TOC]</p>",b()),v()),f=f.replace(/\u2581/g,"\u2581\u2581\u2581");var h=Object(n["useRef"])();function p(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var r=t.getAttribute("href");if(r.startsWith("#")){e.preventDefault();var n=document.getElementById(r.replace("#",""));n&&(n.parentNode.scrollTop=n.offsetTop)}}}return Object(n["useEffect"])(()=>{if(h.current&&f&&f.match(S)&&window.PR.prettyPrint(),h.current)return h.current.addEventListener("click",p),()=>{h.current.removeEventListener("click",p)}},[f,h.current,p]),i.a.createElement("div",{ref:h,style:c,className:"".concat(s||""," markdown-body"),dangerouslySetInnerHTML:{__html:f}})}},"9yH6":function(e,t,r){"use strict";var n=r("oOh1"),i=r("SiX+"),o=r("KNH7"),a=n["a"];a.Button=o["a"],a.Group=i["a"],t["default"]=a},A90E:function(e,t,r){var n=r("6sVZ"),i=r("V6Ve"),o=Object.prototype,a=o.hasOwnProperty;function s(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}e.exports=s},ACnJ:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}r.d(t,"b",(function(){return o}));var o=["xxl","xl","lg","md","sm","xs"],a={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},s=[],l=-1,c={},u={matchHandlers:{},dispatch:function(e){return c=e,s.forEach((function(e){e.func(c)})),s.length>=1},subscribe:function(e){0===s.length&&this.register();var t=(++l).toString();return s.push({token:t,func:e}),e(c),t},unsubscribe:function(e){s=s.filter((function(t){return t.token!==e})),0===s.length&&this.unregister()},unregister:function(){var e=this;Object.keys(a).forEach((function(t){var r=a[t],n=e.matchHandlers[r];n&&n.mql&&n.listener&&n.mql.removeListener(n.listener)}))},register:function(){var e=this;Object.keys(a).forEach((function(t){var r=a[t],o=function(r){var o=r.matches;e.dispatch(i(i({},c),n({},t,o)))},s=window.matchMedia(r);s.addListener(o),e.matchHandlers[r]={mql:s,listener:o},o(s)}))}};t["a"]=u},AyUB:function(e,t,r){e.exports={default:r("vNbC"),__esModule:!0}},B8du:function(e,t){function r(){return!1}e.exports=r},BAze:function(e,t,r){e.exports={bg:"bg___1bf88",flexRow:"flexRow___1gQ_P",flexJustifyCenter:"flexJustifyCenter___1dMlv",flexAlignEnd:"flexAlignEnd___1OhzD",flexAlignCenter:"flexAlignCenter___2Rp6i",flexColumn:"flexColumn___2jBJ_",formWrap:"formWrap___1_9W9",titleWrap:"titleWrap___1tv1w",fieldWrap:"fieldWrap___1FcdG",mdWrap:"mdWrap___1nl30",backgroundFa:"backgroundFa___2jhU9",button:"button___1lWEt"}},Bd2K:function(e,t,r){(function(e){e(r("VrN/"),r("osHv"))})((function(e){e.defineOption("autoCloseTags",!1,(function(t,r,i){if(i!=e.Init&&i&&t.removeKeyMap("autoCloseTags"),r){var a={name:"autoCloseTags"};"object"==typeof r&&!1===r.whenClosing||(a["'/'"]=function(e){return o(e)}),"object"==typeof r&&!1===r.whenOpening||(a["'>'"]=function(e){return n(e)}),t.addKeyMap(a)}}));var t=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],r=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function n(n){if(n.getOption("disableInput"))return e.Pass;for(var i=n.listSelections(),o=[],l=n.getOption("autoCloseTags"),c=0;c<i.length;c++){if(!i[c].empty())return e.Pass;var u=i[c].head,f=n.getTokenAt(u),h=e.innerMode(n.getMode(),f.state),p=h.state,d=h.mode.xmlCurrentTag&&h.mode.xmlCurrentTag(p),m=d&&d.name;if(!m)return e.Pass;var g="html"==h.mode.configuration,v="object"==typeof l&&l.dontCloseTags||g&&t,y="object"==typeof l&&l.indentTags||g&&r;f.end>u.ch&&(m=m.slice(0,m.length-f.end+u.ch));var b=m.toLowerCase();if(!m||"string"==f.type&&(f.end!=u.ch||!/[\"\']/.test(f.string.charAt(f.string.length-1))||1==f.string.length)||"tag"==f.type&&d.close||f.string.indexOf("/")==u.ch-f.start-1||v&&a(v,b)>-1||s(n,h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(p)||[],m,u,!0))return e.Pass;var x="object"==typeof l&&l.emptyTags;if(x&&a(x,m)>-1)o[c]={text:"/>",newPos:e.Pos(u.line,u.ch+2)};else{var w=y&&a(y,b)>-1;o[c]={indent:w,text:">"+(w?"\n\n":"")+"</"+m+">",newPos:w?e.Pos(u.line+1,0):e.Pos(u.line,u.ch+1)}}}var k="object"==typeof l&&l.dontIndentOnAutoClose;for(c=i.length-1;c>=0;c--){var S=o[c];n.replaceRange(S.text,i[c].head,i[c].anchor,"+insert");var C=n.listSelections().slice(0);C[c]={head:S.newPos,anchor:S.newPos},n.setSelections(C),!k&&S.indent&&(n.indentLine(S.newPos.line,null,!0),n.indentLine(S.newPos.line+1,null,!0))}}function i(t,r){for(var n=t.listSelections(),i=[],o=r?"/":"</",a=t.getOption("autoCloseTags"),l="object"==typeof a&&a.dontIndentOnSlash,c=0;c<n.length;c++){if(!n[c].empty())return e.Pass;var u=n[c].head,f=t.getTokenAt(u),h=e.innerMode(t.getMode(),f.state),p=h.state;if(r&&("string"==f.type||"<"!=f.string.charAt(0)||f.start!=u.ch-1))return e.Pass;var d,m="xml"!=h.mode.name&&"htmlmixed"==t.getMode().name;if(m&&"javascript"==h.mode.name)d=o+"script";else if(m&&"css"==h.mode.name)d=o+"style";else{var g=h.mode.xmlCurrentContext&&h.mode.xmlCurrentContext(p);if(!g||g.length&&s(t,g,g[g.length-1],u))return e.Pass;d=o+g[g.length-1]}">"!=t.getLine(u.line).charAt(f.end)&&(d+=">"),i[c]=d}if(t.replaceSelections(i),n=t.listSelections(),!l)for(c=0;c<n.length;c++)(c==n.length-1||n[c].head.line<n[c+1].head.line)&&t.indentLine(n[c].head.line)}function o(t){return t.getOption("disableInput")?e.Pass:i(t,!0)}function a(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;++r)if(e[r]==t)return r;return-1}function s(t,r,n,i,o){if(!e.scanForClosingTag)return!1;var a=Math.min(t.lastLine()+1,i.line+500),s=e.scanForClosingTag(t,i,null,a);if(!s||s.tag!=n)return!1;for(var l=o?1:0,c=r.length-1;c>=0;c--){if(r[c]!=n)break;++l}i=s.to;for(c=1;c<l;c++){var u=e.scanForClosingTag(t,i,null,a);if(!u||u.tag!=n)return!1;i=u.to}return!0}e.commands.closeTag=function(e){return i(e)}}))},BjJ7:function(e,t,r){"use strict";function n(e){var t=!0;if(e.length>0){for(var r=0;r<e.length;r++)if(0==e[r].compile_success||!e[r].compile_success){t=!1;break}}else t=!1;return t}function i(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=[],n=0;n<e.length;n++){var i=e[n],o=t?"".concat(t,"/").concat(i.name):"".concat(i.name);r.push({title:i.name,isLeaf:"tree"!==i.type,key:o})}return r}function o(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];if(i.key===t){i.children=r;break}i.children&&o(i.children,t,r)}return e}function a(e,t,r){var n;return function(){var i=this,o=arguments,a=function(){n=null,r||e.apply(i,o)},s=r&&!n;clearTimeout(n),n=setTimeout(a,t),s&&e.apply(i,o)}}r.d(t,"d",(function(){return n})),r.d(t,"c",(function(){return i})),r.d(t,"f",(function(){return o})),r.d(t,"b",(function(){return a})),r.d(t,"e",(function(){return s})),r.d(t,"a",(function(){return l}));var s=!(window.location.href.indexOf("test-")>0||window.location.href.indexOf("localhost")>0),l=s?"https://www.educoder.net":"https://test-newweb.educoder.net"},C5kU:function(e,t,r){"use strict";var n=r("GfoU")(!0);r("OTpG")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},CH3K:function(e,t){function r(e,t){var r=-1,n=t.length,i=e.length;while(++r<n)e[i+r]=t[r];return e}e.exports=r},CuL1:function(e,t,r){var n=r("mHY4"),i=r("/tXR"),o=r("GRew");e.exports=function(e){var t=n(e),r=i.f;if(r){var a,s=r(e),l=o.f,c=0;while(s.length>c)l.call(e,a=s[c++])&&t.push(a)}return t}},Cwc5:function(e,t,r){var n=r("NKxu"),i=r("Npjl");function o(e,t){var r=i(e,t);return n(r)?r:void 0}e.exports=o},DSRE:function(e,t,r){(function(e){var n=r("Kz5y"),i=r("B8du"),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,l=s?n.Buffer:void 0,c=l?l.isBuffer:void 0,u=c||i;e.exports=u}).call(this,r("YuTi")(e))},DlQD:function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}function r(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e){var t=0;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=r(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return t=e[Symbol.iterator](),t.next.bind(t)}function o(e,t){return t={exports:{}},e(t,t.exports),t.exports}var a=o((function(e){function t(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}function r(t){e.exports.defaults=t}e.exports={defaults:t(),getDefaults:t,changeDefaults:r}})),s=(a.defaults,a.getDefaults,a.changeDefaults,/[&<>"']/),l=/[&<>"']/g,c=/[<>"']|&(?!#?\w+;)/,u=/[<>"']|&(?!#?\w+;)/g,f={"&":"&","<":"<",">":">",'"':""","'":"'"},h=function(e){return f[e]};function p(e,t){if(t){if(s.test(e))return e.replace(l,h)}else if(c.test(e))return e.replace(u,h);return e}var d=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function m(e){return e.replace(d,(function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var g=/(^|[^\[])\^/g;function v(e,t){e=e.source||e,t=t||"";var r={replace:function(t,n){return n=n.source||n,n=n.replace(g,"$1"),e=e.replace(t,n),r},getRegex:function(){return new RegExp(e,t)}};return r}var y=/[^\w:]/g,b=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function x(e,t,r){if(e){var n;try{n=decodeURIComponent(m(r)).replace(y,"").toLowerCase()}catch(i){return null}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return null}t&&!b.test(r)&&(r=O(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(i){return null}return r}var w={},k=/^[^:]+:\/*[^/]*$/,S=/^([^:]+:)[\s\S]*$/,C=/^([^:]+:\/*[^/]*)[\s\S]*$/;function O(e,t){w[" "+e]||(k.test(e)?w[" "+e]=e+"/":w[" "+e]=E(e,"/",!0)),e=w[" "+e];var r=-1===e.indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(S,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(C,"$1")+t:e+t}var M={exec:function(){}};function T(e){for(var t,r,n=1;n<arguments.length;n++)for(r in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function A(e,t){var r=e.replace(/\|/g,(function(e,t,r){var n=!1,i=t;while(--i>=0&&"\\"===r[i])n=!n;return n?"|":" |"})),n=r.split(/ \|/),i=0;if(n.length>t)n.splice(t);else while(n.length<t)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function E(e,t,r){var n=e.length;if(0===n)return"";var i=0;while(i<n){var o=e.charAt(n-i-1);if(o!==t||r){if(o===t||!r)break;i++}else i++}return e.substr(0,n-i)}function N(e,t){if(-1===e.indexOf(t[1]))return-1;for(var r=e.length,n=0,i=0;i<r;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}function j(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}var z={escape:p,unescape:m,edit:v,cleanUrl:x,resolveUrl:O,noopTest:M,merge:T,splitCells:A,rtrim:E,findClosingBracket:N,checkSanitizeDeprecation:j},P=a.defaults,F=z.rtrim,L=z.splitCells,D=z.escape,I=z.findClosingBracket;function R(e,t,r){var n=t.href,i=t.title?D(t.title):null;return"!"!==e[0].charAt(0)?{type:"link",raw:r,href:n,title:i,text:e[1]}:{type:"image",raw:r,text:D(e[1]),href:n,title:i}}function _(e,t){var r=e.match(/^(\s+)(?:```)/);if(null===r)return t;var n=r[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);if(null===t)return e;var r=t[0];return r.length>=n.length?e.slice(n.length):e})).join("\n")}var B=function(){function e(e){this.options=e||P}var t=e.prototype;return t.space=function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}},t.code=function(e,t){var r=this.rules.block.code.exec(e);if(r){var n=t[t.length-1];if(n&&"paragraph"===n.type)return{raw:r[0],text:r[0].trimRight()};var i=r[0].replace(/^ {4}/gm,"");return{type:"code",raw:r[0],codeBlockStyle:"indented",text:this.options.pedantic?i:F(i,"\n")}}},t.fences=function(e){var t=this.rules.block.fences.exec(e);if(t){var r=t[0],n=_(r,t[3]||"");return{type:"code",raw:r,lang:t[2]?t[2].trim():t[2],text:n}}},t.heading=function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}},t.nptable=function(e){var t=this.rules.block.nptable.exec(e);if(t){var r={type:"table",header:L(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(r.header.length===r.align.length){var n,i=r.align.length;for(n=0;n<i;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(i=r.cells.length,n=0;n<i;n++)r.cells[n]=L(r.cells[n],r.header.length);return r}}},t.hr=function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}},t.blockquote=function(e){var t=this.rules.block.blockquote.exec(e);if(t){var r=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:r}}},t.list=function(e){var t=this.rules.block.list.exec(e);if(t){for(var r,n,i,o,a,s,l,c=t[0],u=t[2],f=u.length>1,h={type:"list",raw:c,ordered:f,start:f?+u:"",loose:!1,items:[]},p=t[0].match(this.rules.block.item),d=!1,m=p.length,g=0;g<m;g++)r=p[g],c=r,n=r.length,r=r.replace(/^ *([*+-]|\d+\.) */,""),~r.indexOf("\n ")&&(n-=r.length,r=this.options.pedantic?r.replace(/^ {1,4}/gm,""):r.replace(new RegExp("^ {1,"+n+"}","gm"),"")),g!==m-1&&(i=this.rules.block.bullet.exec(p[g+1])[0],(u.length>1?1===i.length:i.length>1||this.options.smartLists&&i!==u)&&(o=p.slice(g+1).join("\n"),h.raw=h.raw.substring(0,h.raw.length-o.length),g=m-1)),a=d||/\n\n(?!\s*$)/.test(r),g!==m-1&&(d="\n"===r.charAt(r.length-1),a||(a=d)),a&&(h.loose=!0),s=/^\[[ xX]\] /.test(r),l=void 0,s&&(l=" "!==r[1],r=r.replace(/^\[[ xX]\] +/,"")),h.items.push({type:"list_item",raw:c,task:s,checked:l,loose:a,text:r});return h}},t.html=function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):D(t[0]):t[0]}},t.def=function(e){var t=this.rules.block.def.exec(e);if(t){t[3]&&(t[3]=t[3].substring(1,t[3].length-1));var r=t[1].toLowerCase().replace(/\s+/g," ");return{tag:r,raw:t[0],href:t[2],title:t[3]}}},t.table=function(e){var t=this.rules.block.table.exec(e);if(t){var r={type:"table",header:L(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(r.header.length===r.align.length){r.raw=t[0];var n,i=r.align.length;for(n=0;n<i;n++)/^ *-+: *$/.test(r.align[n])?r.align[n]="right":/^ *:-+: *$/.test(r.align[n])?r.align[n]="center":/^ *:-+ *$/.test(r.align[n])?r.align[n]="left":r.align[n]=null;for(i=r.cells.length,n=0;n<i;n++)r.cells[n]=L(r.cells[n].replace(/^ *\| *| *\| *$/g,""),r.header.length);return r}}},t.lheading=function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}},t.paragraph=function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}},t.text=function(e,t){var r=this.rules.block.text.exec(e);if(r){var n=t[t.length-1];return n&&"text"===n.type?{raw:r[0],text:r[0]}:{type:"text",raw:r[0],text:r[0]}}},t.escape=function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:D(t[1])}},t.tag=function(e,t,r){var n=this.rules.inline.tag.exec(e);if(n)return!t&&/^<a /i.test(n[0])?t=!0:t&&/^<\/a>/i.test(n[0])&&(t=!1),!r&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?r=!0:r&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(r=!1),{type:this.options.sanitize?"text":"html",raw:n[0],inLink:t,inRawBlock:r,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):D(n[0]):n[0]}},t.link=function(e){var t=this.rules.inline.link.exec(e);if(t){var r=I(t[2],"()");if(r>-1){var n=0===t[0].indexOf("!")?5:4,i=n+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,i).trim(),t[3]=""}var o=t[2],a="";if(this.options.pedantic){var s=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);s?(o=s[1],a=s[3]):a=""}else a=t[3]?t[3].slice(1,-1):"";o=o.trim().replace(/^<([\s\S]*)>$/,"$1");var l=R(t,{href:o?o.replace(this.rules.inline._escapes,"$1"):o,title:a?a.replace(this.rules.inline._escapes,"$1"):a},t[0]);return l}},t.reflink=function(e,t){var r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){var n=(r[2]||r[1]).replace(/\s+/g," ");if(n=t[n.toLowerCase()],!n||!n.href){var i=r[0].charAt(0);return{type:"text",raw:i,text:i}}var o=R(r,n,r[0]);return o}},t.strong=function(e){var t=this.rules.inline.strong.exec(e);if(t)return{type:"strong",raw:t[0],text:t[4]||t[3]||t[2]||t[1]}},t.em=function(e){var t=this.rules.inline.em.exec(e);if(t)return{type:"em",raw:t[0],text:t[6]||t[5]||t[4]||t[3]||t[2]||t[1]}},t.codespan=function(e){var t=this.rules.inline.code.exec(e);if(t){var r=t[2].replace(/\n/g," "),n=/[^ ]/.test(r),i=r.startsWith(" ")&&r.endsWith(" ");return n&&i&&(r=r.substring(1,r.length-1)),r=D(r,!0),{type:"codespan",raw:t[0],text:r}}},t.br=function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}},t.del=function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[1]}},t.autolink=function(e,t){var r,n,i=this.rules.inline.autolink.exec(e);if(i)return"@"===i[2]?(r=D(this.options.mangle?t(i[1]):i[1]),n="mailto:"+r):(r=D(i[1]),n=r),{type:"link",raw:i[0],text:r,href:n,tokens:[{type:"text",raw:r,text:r}]}},t.url=function(e,t){var r;if(r=this.rules.inline.url.exec(e)){var n,i;if("@"===r[2])n=D(this.options.mangle?t(r[0]):r[0]),i="mailto:"+n;else{var o;do{o=r[0],r[0]=this.rules.inline._backpedal.exec(r[0])[0]}while(o!==r[0]);n=D(r[0]),i="www."===r[1]?"http://"+n:n}return{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}},t.inlineText=function(e,t,r){var n,i=this.rules.inline.text.exec(e);if(i)return n=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):D(i[0]):i[0]:D(this.options.smartypants?r(i[0]):i[0]),{type:"text",raw:i[0],text:n}},e}(),q=z.noopTest,H=z.edit,V=z.merge,W={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:q,table:q,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};W.def=H(W.def).replace("label",W._label).replace("title",W._title).getRegex(),W.bullet=/(?:[*+-]|\d{1,9}\.)/,W.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,W.item=H(W.item,"gm").replace(/bull/g,W.bullet).getRegex(),W.list=H(W.list).replace(/bull/g,W.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+W.def.source+")").getRegex(),W._tag="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|h[1-6]|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",W._comment=/<!--(?!-?>)[\s\S]*?-->/,W.html=H(W.html,"i").replace("comment",W._comment).replace("tag",W._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),W.paragraph=H(W._paragraph).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",W._tag).getRegex(),W.blockquote=H(W.blockquote).replace("paragraph",W.paragraph).getRegex(),W.normal=V({},W),W.gfm=V({},W.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n *([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n *\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),W.gfm.nptable=H(W.gfm.nptable).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",W._tag).getRegex(),W.gfm.table=H(W.gfm.table).replace("hr",W.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",W._tag).getRegex(),W.pedantic=V({},W.normal,{html:H("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",W._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:q,paragraph:H(W.normal._paragraph).replace("hr",W.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",W.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var U={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:q,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\s,punctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\s,punctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:q,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+\\-./:;<=>?@\\[^_{|}~"};U.em=H(U.em).replace(/punctuation/g,U._punctuation).getRegex(),U._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,U._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,U._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,U.autolink=H(U.autolink).replace("scheme",U._scheme).replace("email",U._email).getRegex(),U._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,U.tag=H(U.tag).replace("comment",W._comment).replace("attribute",U._attribute).getRegex(),U._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,U._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,U._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,U.link=H(U.link).replace("label",U._label).replace("href",U._href).replace("title",U._title).getRegex(),U.reflink=H(U.reflink).replace("label",U._label).getRegex(),U.normal=V({},U),U.pedantic=V({},U.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:H(/^!?\[(label)\]\((.*?)\)/).replace("label",U._label).getRegex(),reflink:H(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",U._label).getRegex()}),U.gfm=V({},U.normal,{escape:H(U.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),U.gfm.url=H(U.gfm.url,"i").replace("email",U.gfm._extended_email).getRegex(),U.breaks=V({},U.gfm,{br:H(U.br).replace("{2,}","*").getRegex(),text:H(U.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var $={block:W,inline:U},G=a.defaults,K=$.block,Y=$.inline;function X(e){return e.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026")}function Z(e){var t,r,n="",i=e.length;for(t=0;t<i;t++)r=e.charCodeAt(t),Math.random()>.5&&(r="x"+r.toString(16)),n+="&#"+r+";";return n}var J=function(){function e(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||G,this.options.tokenizer=this.options.tokenizer||new B,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var t={block:K.normal,inline:Y.normal};this.options.pedantic?(t.block=K.pedantic,t.inline=Y.pedantic):this.options.gfm&&(t.block=K.gfm,this.options.breaks?t.inline=Y.breaks:t.inline=Y.gfm),this.tokenizer.rules=t}e.lex=function(t,r){var n=new e(r);return n.lex(t)};var r=e.prototype;return r.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens},r.blockTokens=function(e,t,r){var n,i,o,a;void 0===t&&(t=[]),void 0===r&&(r=!0),e=e.replace(/^ +$/gm,"");while(e)if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),n.type&&t.push(n);else if(n=this.tokenizer.code(e,t))e=e.substring(n.raw.length),n.type?t.push(n):(a=t[t.length-1],a.raw+="\n"+n.raw,a.text+="\n"+n.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.nptable(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),n.tokens=this.blockTokens(n.text,[],r),t.push(n);else if(n=this.tokenizer.list(e)){for(e=e.substring(n.raw.length),o=n.items.length,i=0;i<o;i++)n.items[i].tokens=this.blockTokens(n.items[i].text,[],!1);t.push(n)}else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(r&&(n=this.tokenizer.def(e)))e=e.substring(n.raw.length),this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else if(r&&(n=this.tokenizer.paragraph(e)))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.text(e,t))e=e.substring(n.raw.length),n.type?t.push(n):(a=t[t.length-1],a.raw+="\n"+n.raw,a.text+="\n"+n.text);else if(e){var s="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(s);break}throw new Error(s)}return t},r.inline=function(e){var t,r,n,i,o,a,s=e.length;for(t=0;t<s;t++)switch(a=e[t],a.type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},i=a.header.length,r=0;r<i;r++)a.tokens.header[r]=[],this.inlineTokens(a.header[r],a.tokens.header[r]);for(i=a.cells.length,r=0;r<i;r++)for(o=a.cells[r],a.tokens.cells[r]=[],n=0;n<o.length;n++)a.tokens.cells[r][n]=[],this.inlineTokens(o[n],a.tokens.cells[r][n]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(i=a.items.length,r=0;r<i;r++)this.inline(a.items[r].tokens);break}return e},r.inlineTokens=function(e,t,r,n){var i;void 0===t&&(t=[]),void 0===r&&(r=!1),void 0===n&&(n=!1);while(e)if(i=this.tokenizer.escape(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.tag(e,r,n))e=e.substring(i.raw.length),r=i.inLink,n=i.inRawBlock,t.push(i);else if(i=this.tokenizer.link(e))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,n)),t.push(i);else if(i=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(i.raw.length),"link"===i.type&&(i.tokens=this.inlineTokens(i.text,[],!0,n)),t.push(i);else if(i=this.tokenizer.strong(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],r,n),t.push(i);else if(i=this.tokenizer.em(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],r,n),t.push(i);else if(i=this.tokenizer.codespan(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.br(e))e=e.substring(i.raw.length),t.push(i);else if(i=this.tokenizer.del(e))e=e.substring(i.raw.length),i.tokens=this.inlineTokens(i.text,[],r,n),t.push(i);else if(i=this.tokenizer.autolink(e,Z))e=e.substring(i.raw.length),t.push(i);else if(r||!(i=this.tokenizer.url(e,Z))){if(i=this.tokenizer.inlineText(e,n,X))e=e.substring(i.raw.length),t.push(i);else if(e){var o="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(o);break}throw new Error(o)}}else e=e.substring(i.raw.length),t.push(i);return t},t(e,null,[{key:"rules",get:function(){return{block:K,inline:Y}}}]),e}(),Q=a.defaults,ee=z.cleanUrl,te=z.escape,re=function(){function e(e){this.options=e||Q}var t=e.prototype;return t.code=function(e,t,r){var n=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,n);null!=i&&i!==e&&(r=!0,e=i)}return n?'<pre><code class="'+this.options.langPrefix+te(n,!0)+'">'+(r?e:te(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:te(e,!0))+"</code></pre>\n"},t.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},t.html=function(e){return e},t.heading=function(e,t,r,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.slug(r)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},t.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},t.list=function(e,t,r){var n=t?"ol":"ul",i=t&&1!==r?' start="'+r+'"':"";return"<"+n+i+">\n"+e+"</"+n+">\n"},t.listitem=function(e){return"<li>"+e+"</li>\n"},t.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},t.paragraph=function(e){return"<p>"+e+"</p>\n"},t.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},t.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},t.tablecell=function(e,t){var r=t.header?"th":"td",n=t.align?"<"+r+' align="'+t.align+'">':"<"+r+">";return n+e+"</"+r+">\n"},t.strong=function(e){return"<strong>"+e+"</strong>"},t.em=function(e){return"<em>"+e+"</em>"},t.codespan=function(e){return"<code>"+e+"</code>"},t.br=function(){return this.options.xhtml?"<br/>":"<br>"},t.del=function(e){return"<del>"+e+"</del>"},t.link=function(e,t,r){if(e=ee(this.options.sanitize,this.options.baseUrl,e),null===e)return r;var n='<a href="'+te(e)+'"';return t&&(n+=' title="'+t+'"'),n+=">"+r+"</a>",n},t.image=function(e,t,r){if(e=ee(this.options.sanitize,this.options.baseUrl,e),null===e)return r;var n='<img src="'+e+'" alt="'+r+'"';return t&&(n+=' title="'+t+'"'),n+=this.options.xhtml?"/>":">",n},t.text=function(e){return e},e}(),ne=function(){function e(){}var t=e.prototype;return t.strong=function(e){return e},t.em=function(e){return e},t.codespan=function(e){return e},t.del=function(e){return e},t.html=function(e){return e},t.text=function(e){return e},t.link=function(e,t,r){return""+r},t.image=function(e,t,r){return""+r},t.br=function(){return""},e}(),ie=function(){function e(){this.seen={}}var t=e.prototype;return t.slug=function(e){var t=e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var r=t;do{this.seen[r]++,t=r+"-"+this.seen[r]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},e}(),oe=a.defaults,ae=z.unescape,se=function(){function e(e){this.options=e||oe,this.options.renderer=this.options.renderer||new re,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new ne,this.slugger=new ie}e.parse=function(t,r){var n=new e(r);return n.parse(t)};var t=e.prototype;return t.parse=function(e,t){void 0===t&&(t=!0);var r,n,i,o,a,s,l,c,u,f,h,p,d,m,g,v,y,b,x="",w=e.length;for(r=0;r<w;r++)switch(f=e[r],f.type){case"space":continue;case"hr":x+=this.renderer.hr();continue;case"heading":x+=this.renderer.heading(this.parseInline(f.tokens),f.depth,ae(this.parseInline(f.tokens,this.textRenderer)),this.slugger);continue;case"code":x+=this.renderer.code(f.text,f.lang,f.escaped);continue;case"table":for(c="",l="",o=f.header.length,n=0;n<o;n++)l+=this.renderer.tablecell(this.parseInline(f.tokens.header[n]),{header:!0,align:f.align[n]});for(c+=this.renderer.tablerow(l),u="",o=f.cells.length,n=0;n<o;n++){for(s=f.tokens.cells[n],l="",a=s.length,i=0;i<a;i++)l+=this.renderer.tablecell(this.parseInline(s[i]),{header:!1,align:f.align[i]});u+=this.renderer.tablerow(l)}x+=this.renderer.table(c,u);continue;case"blockquote":u=this.parse(f.tokens),x+=this.renderer.blockquote(u);continue;case"list":for(h=f.ordered,p=f.start,d=f.loose,o=f.items.length,u="",n=0;n<o;n++)g=f.items[n],v=g.checked,y=g.task,m="",g.task&&(b=this.renderer.checkbox(v),d?g.tokens.length>0&&"text"===g.tokens[0].type?(g.tokens[0].text=b+" "+g.tokens[0].text,g.tokens[0].tokens&&g.tokens[0].tokens.length>0&&"text"===g.tokens[0].tokens[0].type&&(g.tokens[0].tokens[0].text=b+" "+g.tokens[0].tokens[0].text)):g.tokens.unshift({type:"text",text:b}):m+=b),m+=this.parse(g.tokens,d),u+=this.renderer.listitem(m,y,v);x+=this.renderer.list(u,h,p);continue;case"html":x+=this.renderer.html(f.text);continue;case"paragraph":x+=this.renderer.paragraph(this.parseInline(f.tokens));continue;case"text":u=f.tokens?this.parseInline(f.tokens):f.text;while(r+1<w&&"text"===e[r+1].type)f=e[++r],u+="\n"+(f.tokens?this.parseInline(f.tokens):f.text);x+=t?this.renderer.paragraph(u):u;continue;default:var k='Token with "'+f.type+'" type was not found.';if(this.options.silent)return void console.error(k);throw new Error(k)}return x},t.parseInline=function(e,t){t=t||this.renderer;var r,n,i="",o=e.length;for(r=0;r<o;r++)switch(n=e[r],n.type){case"escape":i+=t.text(n.text);break;case"html":i+=t.html(n.text);break;case"link":i+=t.link(n.href,n.title,this.parseInline(n.tokens,t));break;case"image":i+=t.image(n.href,n.title,n.text);break;case"strong":i+=t.strong(this.parseInline(n.tokens,t));break;case"em":i+=t.em(this.parseInline(n.tokens,t));break;case"codespan":i+=t.codespan(n.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(n.tokens,t));break;case"text":i+=t.text(n.text);break;default:var a='Token with "'+n.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return i},e}(),le=z.merge,ce=z.checkSanitizeDeprecation,ue=z.escape,fe=a.getDefaults,he=a.changeDefaults,pe=a.defaults;function de(e,t,r){if("undefined"===typeof e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!==typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if("function"===typeof t&&(r=t,t=null),t=le({},de.defaults,t||{}),ce(t),r){var n,i=t.highlight;try{n=J.lex(e,t)}catch(l){return r(l)}var o=function(e){var o;if(!e)try{o=se.parse(n,t)}catch(l){e=l}return t.highlight=i,e?r(e):r(null,o)};if(!i||i.length<3)return o();if(delete t.highlight,!n.length)return o();var a=0;return de.walkTokens(n,(function(e){"code"===e.type&&(a++,i(e.text,e.lang,(function(t,r){if(t)return o(t);null!=r&&r!==e.text&&(e.text=r,e.escaped=!0),a--,0===a&&o()})))})),void(0===a&&o())}try{var s=J.lex(e,t);return t.walkTokens&&de.walkTokens(s,t.walkTokens),se.parse(s,t)}catch(l){if(l.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+ue(l.message+"",!0)+"</pre>";throw l}}de.options=de.setOptions=function(e){return le(de.defaults,e),he(de.defaults),de},de.getDefaults=fe,de.defaults=pe,de.use=function(e){var t=le({},e);if(e.renderer&&function(){var r=de.defaults.renderer||new re,n=function(t){var n=r[t];r[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.renderer[t].apply(r,o);return!1===s&&(s=n.apply(r,o)),s}};for(var i in e.renderer)n(i);t.renderer=r}(),e.tokenizer&&function(){var r=de.defaults.tokenizer||new B,n=function(t){var n=r[t];r[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var s=e.tokenizer[t].apply(r,o);return!1===s&&(s=n.apply(r,o)),s}};for(var i in e.tokenizer)n(i);t.tokenizer=r}(),e.walkTokens){var r=de.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),r&&r(t)}}de.setOptions(t)},de.walkTokens=function(e,t){for(var r,n=i(e);!(r=n()).done;){var o=r.value;switch(t(o),o.type){case"table":for(var a,s=i(o.tokens.header);!(a=s()).done;){var l=a.value;de.walkTokens(l,t)}for(var c,u=i(o.tokens.cells);!(c=u()).done;)for(var f,h=c.value,p=i(h);!(f=p()).done;){var d=f.value;de.walkTokens(d,t)}break;case"list":de.walkTokens(o.items,t);break;default:o.tokens&&de.walkTokens(o.tokens,t)}}},de.Parser=se,de.parser=se.parse,de.Renderer=re,de.TextRenderer=ne,de.Lexer=J,de.lexer=J.lex,de.Tokenizer=B,de.Slugger=ie,de.parse=de;var me=de;return me}))},DrT7:function(e,t,r){var n=r("ekG2"),i=r("d+lc"),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{n=r("nAx8")(Function.call,r("TSC6").f(Object.prototype,"__proto__").set,2),n(e,[]),t=!(e instanceof Array)}catch(i){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},E2jh:function(e,t,r){var n=r("2gN3"),i=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function o(e){return!!i&&i in e}e.exports=o},EJiy:function(e,t,r){"use strict";t.__esModule=!0;var n=r("F+2o"),i=l(n),o=r("+JPL"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(i.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},ELLl:function(e,t,r){(function(e){e(r("VrN/"))})((function(e){var t={pairs:"()[]{}''\"\"",closeBefore:")]}'\":;>",triples:"",explode:"[]{}"},r=e.Pos;function n(e,r){return"pairs"==r&&"string"==typeof e?e:"object"==typeof e&&null!=e[r]?e[r]:t[r]}e.defineOption("autoCloseBrackets",!1,(function(t,r,a){a&&a!=e.Init&&(t.removeKeyMap(i),t.state.closeBrackets=null),r&&(o(n(r,"pairs")),t.state.closeBrackets=r,t.addKeyMap(i))}));var i={Backspace:l,Enter:c};function o(e){for(var t=0;t<e.length;t++){var r=e.charAt(t),n="'"+r+"'";i[n]||(i[n]=a(r))}}function a(e){return function(t){return f(t,e)}}function s(e){var t=e.state.closeBrackets;if(!t||t.override)return t;var r=e.getModeAt(e.getCursor());return r.closeBrackets||t}function l(t){var i=s(t);if(!i||t.getOption("disableInput"))return e.Pass;for(var o=n(i,"pairs"),a=t.listSelections(),l=0;l<a.length;l++){if(!a[l].empty())return e.Pass;var c=h(t,a[l].head);if(!c||o.indexOf(c)%2!=0)return e.Pass}for(l=a.length-1;l>=0;l--){var u=a[l].head;t.replaceRange("",r(u.line,u.ch-1),r(u.line,u.ch+1),"+delete")}}function c(t){var r=s(t),i=r&&n(r,"explode");if(!i||t.getOption("disableInput"))return e.Pass;for(var o=t.listSelections(),a=0;a<o.length;a++){if(!o[a].empty())return e.Pass;var l=h(t,o[a].head);if(!l||i.indexOf(l)%2!=0)return e.Pass}t.operation((function(){var e=t.lineSeparator()||"\n";t.replaceSelection(e+e,null),t.execCommand("goCharLeft"),o=t.listSelections();for(var r=0;r<o.length;r++){var n=o[r].head.line;t.indentLine(n,null,!0),t.indentLine(n+1,null,!0)}}))}function u(t){var n=e.cmpPos(t.anchor,t.head)>0;return{anchor:new r(t.anchor.line,t.anchor.ch+(n?-1:1)),head:new r(t.head.line,t.head.ch+(n?1:-1))}}function f(t,i){var o=s(t);if(!o||t.getOption("disableInput"))return e.Pass;var a=n(o,"pairs"),l=a.indexOf(i);if(-1==l)return e.Pass;for(var c,f=n(o,"closeBefore"),h=n(o,"triples"),d=a.charAt(l+1)==i,m=t.listSelections(),g=l%2==0,v=0;v<m.length;v++){var y,b=m[v],x=b.head,w=t.getRange(x,r(x.line,x.ch+1));if(g&&!b.empty())y="surround";else if(!d&&g||w!=i)if(d&&x.ch>1&&h.indexOf(i)>=0&&t.getRange(r(x.line,x.ch-2),x)==i+i){if(x.ch>2&&/\bstring/.test(t.getTokenTypeAt(r(x.line,x.ch-2))))return e.Pass;y="addFour"}else if(d){var k=0==x.ch?" ":t.getRange(r(x.line,x.ch-1),x);if(e.isWordChar(w)||k==i||e.isWordChar(k))return e.Pass;y="both"}else{if(!g||!(0===w.length||/\s/.test(w)||f.indexOf(w)>-1))return e.Pass;y="both"}else y=d&&p(t,x)?"both":h.indexOf(i)>=0&&t.getRange(x,r(x.line,x.ch+3))==i+i+i?"skipThree":"skip";if(c){if(c!=y)return e.Pass}else c=y}var S=l%2?a.charAt(l-1):i,C=l%2?i:a.charAt(l+1);t.operation((function(){if("skip"==c)t.execCommand("goCharRight");else if("skipThree"==c)for(var e=0;e<3;e++)t.execCommand("goCharRight");else if("surround"==c){var r=t.getSelections();for(e=0;e<r.length;e++)r[e]=S+r[e]+C;t.replaceSelections(r,"around"),r=t.listSelections().slice();for(e=0;e<r.length;e++)r[e]=u(r[e]);t.setSelections(r)}else"both"==c?(t.replaceSelection(S+C,null),t.triggerElectric(S+C),t.execCommand("goCharLeft")):"addFour"==c&&(t.replaceSelection(S+S+S+S,"before"),t.execCommand("goCharRight"))}))}function h(e,t){var n=e.getRange(r(t.line,t.ch-1),r(t.line,t.ch+1));return 2==n.length?n:null}function p(e,t){var n=e.getTokenAt(r(t.line,t.ch+1));return/\bstring/.test(n.type)&&n.start==t.ch&&(0==t.ch||!/\bstring/.test(e.getTokenTypeAt(t)))}o(t.pairs+"`")}))},EpBk:function(e,t){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=r},"F+2o":function(e,t,r){e.exports={default:r("UR8F"),__esModule:!0}},FH2Y:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("ZMnZ"));function i(e){return e&&e.__esModule?e:{default:e}}var o=n;t.default=o,e.exports=o},FIfw:function(e,t,r){},FYw3:function(e,t,r){"use strict";t.__esModule=!0;var n=r("EJiy"),i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))&&"function"!==typeof t?e:t}},GDZC:function(e,t,r){var n=r("bKEA"),i=r("ZDin").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(n(e))}},GfoU:function(e,t,r){var n=r("/F7N"),i=r("yQFZ");e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),c=s.length;return l<0||l>=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},H8j4:function(e,t,r){var n=r("QkVE");function i(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}e.exports=i},HDyB:function(e,t,r){var n=r("nmnc"),i=r("JHRd"),o=r("ljhN"),a=r("or5M"),s=r("7fqy"),l=r("rEGp"),c=1,u=2,f="[object Boolean]",h="[object Date]",p="[object Error]",d="[object Map]",m="[object Number]",g="[object RegExp]",v="[object Set]",y="[object String]",b="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",k=n?n.prototype:void 0,S=k?k.valueOf:void 0;function C(e,t,r,n,k,C,O){switch(r){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!C(new i(e),new i(t)));case f:case h:case m:return o(+e,+t);case p:return e.name==t.name&&e.message==t.message;case g:case y:return e==t+"";case d:var M=s;case v:var T=n&c;if(M||(M=l),e.size!=t.size&&!T)return!1;var A=O.get(e);if(A)return A==t;n|=u,O.set(e,t);var E=a(M(e),M(t),n,k,C,O);return O["delete"](e),E;case b:if(S)return S.call(e)==S.call(t)}return!1}e.exports=C},HOxn:function(e,t,r){var n=r("Cwc5"),i=r("Kz5y"),o=n(i,"Promise");e.exports=o},HmJG:function(e,t,r){},Hvzi:function(e,t){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=r},JHRd:function(e,t,r){var n=r("Kz5y"),i=n.Uint8Array;e.exports=i},JHgL:function(e,t,r){var n=r("QkVE");function i(e){return n(this,e).get(e)}e.exports=i},JSQU:function(e,t,r){var n=r("YESw"),i="__lodash_hash_undefined__";function o(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?i:t,this}e.exports=o},JTzB:function(e,t,r){var n=r("NykK"),i=r("ExA7"),o="[object Arguments]";function a(e){return i(e)&&n(e)==o}e.exports=a},Jt1Q:function(e,t,r){"use strict";var n=r("b08l"),i=r("ENu8"),o=r("kvAF"),a={};r("BRsN")(a,r("zBWt")("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},KMkd:function(e,t){function r(){this.__data__=[],this.size=0}e.exports=r},KNH7:function(e,t,r){"use strict";var n=r("q1tI"),i=r("oOh1"),o=r("H84U"),a=r("xCex");function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}var l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},c=function(e,t){var r=n["useContext"](a["b"]),c=n["useContext"](o["b"]),u=c.getPrefixCls,f=e.prefixCls,h=l(e,["prefixCls"]),p=u("radio-button",f);return r&&(h.checked=e.value===r.value,h.disabled=e.disabled||r.disabled),n["createElement"](i["a"],s({prefixCls:p},h,{type:"radio",ref:t}))};t["a"]=n["forwardRef"](c)},KPFz:function(e,t,r){},KT7j:function(e,t,r){"use strict";r("2qtc");var n=r("kLXV"),i=r("rAM+"),o=r("tJVT"),a=r("q1tI"),s=r.n(a),l=r("VrN/"),c=r.n(l),u=r("bdgK"),f=(r("p77/"),r("Bd2K"),r("ELLl"),r("19Vz"),r("lZu9"),r("kSUc"),r("9Bee")),h=r("0Owb"),p=(r("dejd"),[{title:"\u7c97\u4f53",icon:"fa fa-bold",actionName:"bold"},{title:"\u659c\u4f53",icon:"fa fa-italic",actionName:"italic"},"|",{title:"\u65e0\u5e8f\u5217\u8868",icon:"fa fa-list-ul",actionName:"list-ul"},{title:"\u6709\u5e8f\u5217\u8868",icon:"fa fa-list-ol ",actionName:"list-ol"},"|",{title:"\u884c\u5185\u4ee3\u7801",icon:"fa fa-code",actionName:"code"},{title:"\u4ee3\u7801\u5757\uff08\u591a\u8bed\u8a00\u98ce\u683c\uff09",icon:"fa fa-file-code-o",actionName:"code-block"},{title:"\u94fe\u63a5",icon:"fa fa-link",actionName:"link"},"|",{title:"\u884c\u5185\u516c\u5f0f",icon:"iconfont icon-hangneigongshi font-14",actionName:"inline-latex"},{title:"\u591a\u884c\u516c\u5f0f",icon:"iconfont icon-duohanggongshi font-16",actionName:"latex"},"|",{title:"\u6dfb\u52a0\u56fe\u7247",icon:"fa fa-picture-o",actionName:"upload-image"},{title:"\u8868\u683c",icon:"fa fa-table",actionName:"add-table"},"|",{title:"\u6362\u884c",icon:"fa fa-minus",actionName:"line-break"},{title:"\u6e05\u7a7a",icon:"fa fa-eraser",actionName:"eraser"}]);function d(e){var t=e.onActionCallback,r=e.title,n=e.icon,i=e.actionName,o=e.className,a=void 0===o?"":o,l=e.children;function c(){t(i)}return s.a.createElement("a",{title:r,className:a,onClick:c},s.a.createElement("i",{className:n}),l)}var m=e=>{var t=e.watch,r=e.showNullButton,n=e.onActionCallback,i=[...p,{title:"".concat(t?"\u5173\u95ed\u5b9e\u65f6\u9884\u89c8":"\u5f00\u542f\u5b9e\u65f6\u9884\u89c8"),icon:"".concat(t?"fa fa-eye-slash":"fa fa-eye"),actionName:"trigger-watch"}];return s.a.createElement("ul",{className:"markdown-toolbar-container"},i.map((e,t)=>s.a.createElement("li",{key:t},e.actionName?s.a.createElement(d,Object(h["a"])({},e,{onActionCallback:n})):s.a.createElement("span",null))),r?s.a.createElement("li",null,s.a.createElement(d,{icon:"iconfont icon-edit",className:"btn-null",title:"\u589e\u52a0\u586b\u7a7a",actionName:"add-null-ch",onActionCallback:n},s.a.createElement("span",{className:"fill-tip"},"\u70b9\u51fb\u63d2\u5165\b\u586b\u7a7a\u9879"))):null)},g=r("M8RZ"),v=(r("+L6B"),r("2/Rp")),y=(r("y8nQ"),r("Vl3Y")),b=(r("5NDa"),r("5rEg")),x={labelCol:{span:4},wrapperCol:{span:20}},w=e=>{var t=e.callback,r=e.onCancel;function n(e){t(e)}return s.a.createElement(y["a"],Object(h["a"])({},x,{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:n}),s.a.createElement(y["a"].Item,{label:"\u94fe\u63a5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u94fe\u63a5\u5730\u5740"}]},s.a.createElement(b["a"],null)),s.a.createElement(y["a"].Item,{label:"\u94fe\u63a5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u94fe\u63a5\u6807\u9898"}]},s.a.createElement(b["a"],null)),s.a.createElement("div",{className:"flex-container flex-end"},s.a.createElement(v["a"],{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786e\u5b9a"),s.a.createElement(v["a"],{type:"ghost",onClick:r},"\u53d6\u6d88")))},k=r("qn0K"),S=(r("HmJG"),r("BjJ7")),C={labelCol:{span:4},wrapperCol:{span:20}},O={width:280,marginRight:10},M=e=>{var t=e.callback,r=e.onCancel;function n(e){t(e)}function i(e){setFieldsValue({src:"/api/attachments/".concat(e.id)})}function o(e){var t=e.target.files[0];A(t,i)}return s.a.createElement(y["a"],Object(h["a"])({},C,{className:"upload-image-panel",onFinish:n}),s.a.createElement("div",{className:"flex-container"},s.a.createElement(y["a"].Item,{label:"\u56fe\u7247\u5730\u5740",name:"src",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u56fe\u7247\u5730\u5740"}]},s.a.createElement(b["a"],{style:O})),s.a.createElement(T,{onFileChange:o})),s.a.createElement(y["a"].Item,{label:"\u56fe\u7247\u63cf\u8ff0",name:"alt"},s.a.createElement(b["a"],{style:{width:245}}),","),s.a.createElement("div",{className:"flex-container flex-end"},s.a.createElement(v["a"],{type:"primary",htmlType:"submit",style:{marginRight:10}}," ","\u786e\u5b9a"," "),s.a.createElement(v["a"],{type:"ghost",onClick:r}," ","\u53d6\u6d88"," ")))};function T(e){var t=e.onFileChange;return s.a.createElement("a",{className:"upload-button"},"\u672c\u5730\u4e0a\u4f20",s.a.createElement("input",{type:"file",accept:"image/*",onChange:t}))}function A(e,t){var r=new FormData;r.append("editormd-image-file",e),r.append("file_param_name","editormd-image-file"),r.append("byxhr","true");var n=new window.XMLHttpRequest;n.withCredentials=!0,n.addEventListener("load",(function(e){t(JSON.parse(e.target.responseText))}),!1),n.addEventListener("error",(function(e){console.error(e)}),!1),n.open("POST","".concat(S["a"],"/api/attachments.json")),n.send(r)}r("giR+");var E=r("fyUT"),N=(r("7Kak"),r("9yH6")),j=N["default"].Group,z={margin:"0 8px"},P=e=>{var t=e.callback,r=e.onCancel;function n(e){t(e)}return s.a.createElement(y["a"],{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:n},s.a.createElement("div",{className:"flex-container"},s.a.createElement("span",{style:z},"\u5355\u5143\u683c\u6570\uff1a"),s.a.createElement("span",{style:z},"\u884c\u6570"),s.a.createElement(y["a"].Item,{name:"row",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u884c\u6570"}]},s.a.createElement(E["a"],null)),s.a.createElement("span",{style:z},"\u5217\u6570"),s.a.createElement(y["a"].Item,{name:"col",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5217\u6570"}]},s.a.createElement(E["a"],null))),s.a.createElement("div",{className:"flex-container",style:{marginTop:12}},s.a.createElement("span",{style:z},"\u5bf9\u9f50\u65b9\u5f0f\uff1a"),s.a.createElement(y["a"].Item,{name:"align"},s.a.createElement(j,null,s.a.createElement(N["default"],{value:"default"},s.a.createElement("i",{className:"fa fa-align-justify"})),s.a.createElement(N["default"],{value:"left"},s.a.createElement("i",{className:"fa fa-align-left"})),s.a.createElement(N["default"],{value:"center"},s.a.createElement("i",{className:"fa fa-align-center"})),s.a.createElement(N["default"],{value:"right"},s.a.createElement("i",{className:"fa fa-align-right"}))))),s.a.createElement("div",{className:"flex-container flex-end"},s.a.createElement(v["a"],{type:"primary",htmlType:"submit",style:{marginRight:10}}," ","\u786e\u5b9a"," "),s.a.createElement(v["a"],{type:"ghost",onClick:r}," ","\u53d6\u6d88"," ")))},F="link",L="upload-image",D="code-block",I="add-table",R="------------",_={default:R,left:":".concat(R),center:":".concat(R,":"),right:"".concat(R,":")},B=r("l39O"),q=0,H=400,V=1e4,W="\u2581";function U(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var $=navigator.platform.toUpperCase().indexOf("MAC")>=0,G=$?"Cmd":"Ctrl",K={[G+"-B"]:"bold",[G+"-I"]:"italic"},Y={[F]:"\u6dfb\u52a0\u94fe\u63a5",[D]:"\u6dfb\u52a0\u4ee3\u7801\u5757",[L]:"\u6dfb\u52a0\u56fe\u7247",[I]:"\u6dfb\u52a0\u8868\u683c"};t["a"]=e=>{var t=e.defaultValue,r=void 0===t?"":t,l=e.onChange,h=e.width,p=void 0===h?"100%":h,d=e.height,v=void 0===d?400:d,y=e.miniToolbar,b=void 0!==y&&y,x=e.isFocus,S=void 0===x||x,C=e.watch,O=e.id,T=void 0===O?"markdown-editor-id":O,E=e.showResizeBar,N=void 0!==E&&E,j=e.noStorage,z=void 0!==j&&j,R=e.showNullButton,$=void 0!==R&&R,G=e.onBlur,X=e.onCMBeforeChange,Z=e.className,J=void 0===Z?"":Z,Q=e.placeholder,ee=void 0===Q?"":Q,te=Object(a["useState"])(null),re=Object(o["a"])(te,2),ne=re[0],ie=re[1],oe=Object(a["useState"])(r),ae=Object(o["a"])(oe,2),se=ae[0],le=ae[1],ce=Object(a["useState"])(C),ue=Object(o["a"])(ce,2),fe=ue[0],he=ue[1],pe=Object(a["useState"])(""),de=Object(o["a"])(pe,2),me=de[0],ge=de[1],ve=Object(a["useState"])(0),ye=Object(o["a"])(ve,2),be=ye[0],xe=ye[1],we=Object(a["useState"])(v),ke=Object(o["a"])(we,2),Se=ke[0],Ce=ke[1],Oe=Object(a["useState"])(!1),Me=Object(o["a"])(Oe,2),Te=Me[0],Ae=Me[1],Ee=Object(a["useRef"])(),Ne=Object(a["useRef"])(),je=Object(a["useRef"])();Object(a["useEffect"])(()=>{if(Ee.current){var e=c.a.fromTextArea(Ee.current,{mode:"markdown",lineNumbers:!b,lineWrapping:!b,autoCloseTags:!0,autoCloseBrackets:!0});function t(t,r){var n=r.clipboardData;if(n){var i=n.types.toString(),o=n.items;if(console.log(i,o),"text/html,Files"!==i&&"Files"!==i)return!0;var a=o[1];"Files"===i&&(a=o[0]),"file"===a.kind&&a.type.match(/^image\//i)&&A(a.getAsFile(),t=>{e.replaceSelection(""))})}return!0}function r(){var t=new u["a"](t=>{var r,n=Object(i["a"])(t);try{for(n.s();!(r=n.n()).done;){var o=r.value;(o.target.offsetHeight>0||o.target.offsetWidth>0)&&(e.setSize("100%","100%"),e.refresh())}}catch(a){n.e(a)}finally{n.f()}});return t.observe(Ee.current.parentElement),t}e.on("paste",t);var n=r();return ie(e),()=>{n.unobserve(Ee.current.parentElement),e.off("paste",t)}}},[]),Object(a["useEffect"])(()=>{if(ne){for(var e=[],t=function(){var t=n[r];a=Object(o["a"])(t,2);var i=a[0],s=a[1],l={[i]:()=>{ze(s)}};e.push(l),ne.addKeyMap(l)},r=0,n=Object.entries(K);r<n.length;r++){var a;t()}return()=>{var t,r=Object(i["a"])(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;ne.removeKeyMap(n)}}catch(o){r.e(o)}finally{r.f()}}}},[ne]),Object(B["a"])(()=>{if(!z&&be>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(T);(e>=be+V&&!t||t!==se)&&(window.sessionStorage.setItem(T,se),Ae(!0))}},V),Object(a["useEffect"])(()=>{he(C)},[ne,C]),Object(a["useEffect"])(()=>{ne&&ne.focus()},[ne,S]),Object(a["useEffect"])(()=>{if(fe&&ne){var e=ne.getScrollerElement();function t(e){var t=e.target;je.current&&(je.current.scrollTop=je.current.scrollHeight*t.scrollTop/t.scrollHeight)}return e.addEventListener("scroll",t),()=>{e.removeEventListener("scroll",t)}}},[ne,fe]),Object(a["useEffect"])(()=>{if(ne&&X){function e(e,t){X(e,t)}return ne.on("beforeChange",e),()=>{ne.off("beforeChange",e)}}},[ne,X]),Object(a["useEffect"])(()=>{if(ne&&G){function e(){G(ne.getValue())}return ne.on("blur",e),()=>{ne.off("blur",e)}}},[ne,G]),Object(a["useEffect"])(()=>{if(ne){function e(e){var t=e.getValue();clearTimeout(q),q=setTimeout(()=>{le(t),xe((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),l&&l(t)},H)}return ne.on("change",e),()=>{ne.off("change",e)}}},[ne,l]),Object(a["useEffect"])(()=>{ne&&r!==ne.getValue()&&(ne.setValue(r),le(r))},[ne,r]),Object(a["useEffect"])(()=>{ne&&v&&ne.setSize("100%","calc(".concat(U(v)," - ").concat(b?"28px":"38px"," )"))},[ne,v]);var ze=Object(a["useCallback"])(e=>{var t=ne.getCursor(),r=ne.getSelection(),n=r.split("\n");switch(e){case"bold":return ne.replaceSelection("**"+r+"**"),""===r&&ne.setCursor(t.line,t.ch+2),ne.focus();case"italic":return ne.replaceSelection("*"+r+"*"),""===r&&ne.setCursor(t.line,t.ch+1),ne.focus();case"code":return ne.replaceSelection("`"+r+"`"),""===r&&ne.setCursor(t.line,t.ch+1),ne.focus();case"inline-latex":return ne.replaceSelection("$$"+r+"$$"),""===r&&ne.setCursor(t.line,t.ch+2),ne.focus();case"latex":return ne.replaceSelection("```latex\n\n"+r+"```"),ne.setCursor(t.line+1,0),ne.focus();case"line-break":return ne.replaceSelection("<br/>\n"),ne.focus();case"list-ul":return""===r?ne.replaceSelection("- "+r):ne.replaceSelection(n.map(e=>""===e?"":"- ".concat(e)).join("\n")),ne.focus();case"list-ol":return""===r?ne.replaceSelection("1. "+r):ne.replaceSelection(n.map((e,t)=>""===e?"":"".concat(t+1,". ").concat(e)).join("\n")),ne.focus();case"add-null-ch":return""===r&&ne.setCursor(t.line,t.ch+1),ne.replaceSelection(W),ne.focus();case"eraser":return ne.setValue(""),ne.focus();case"trigger-watch":return he(!fe),ne.focus();case F:return void ge(F);case D:return void ge(D);case L:return void ge(L);case I:return void ge(I);default:throw new Error}},[ne,fe]),Pe=Object(a["useCallback"])(e=>{switch(ge(""),me){case F:var t=e.title,r=e.link;return ne.replaceSelection("[".concat(t,"](").concat(r,")")),ne.focus();case D:var n=e.language,i=e.content;return ne.replaceSelection(["```"+n,i,"```"].join("\n")),ne.focus();case L:var o=e.src,a=e.alt;return ne.replaceSelection(".concat(o,' "').concat(a,'" )')),ne.focus();case I:for(var s=e.row,l=e.col,c=e.align,u="\n",f=0;f<s;f++){for(var h=[],p=[],d=0;d<l;d++)1===f&&p.push(_[c]),h.push(" ");1===f&&(u+="| ".concat(p.join(" | ")," |\n")),u+="| ".concat(h.join(1===l?"":" | ")," |\n")}return ne.replaceSelection(u+"\n"),ne.focus()}},[ne,me]),Fe=Object(a["useMemo"])(()=>{switch(me){case F:return s.a.createElement(w,{callback:Pe,onCancel:Le});case D:return s.a.createElement(k["b"],{callback:Pe,onCancel:Le});case L:return s.a.createElement(M,{callback:Pe,onCancel:Le});case I:return s.a.createElement(P,{callback:Pe,onCancel:Le});default:return null}},[me]);function Le(){ge("")}Object(a["useEffect"])(()=>{if(Ne.current){var e=Ne.current,t=!1,r=0;function n(e){t=!0,r=e.pageY}function i(){t=!1}function o(e){if(t){var n=e.pageY-r;n<0&&(n=0),n>300&&(n=300);var i=v+n+"px";Ce(i)}}return e.addEventListener("mousedown",n),document.addEventListener("mousemove",o),document.addEventListener("mouseup",i),()=>{e.removeEventListener("mousedown",n),document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",i)}}},[ne,Ne]),Object(a["useEffect"])(()=>{Ce(v)},[v]);var De=U(p),Ie=U(Se),Re={width:De,height:Ie},_e=Object(a["useMemo"])(()=>{if(be){var e=new Date(be),t=e.getHours(),r=e.getMinutes(),n=e.getSeconds();return t=t<10?"0"+t:t,r=r<10?"0"+r:r,n=n<10?"0"+n:n,"".concat(t,":").concat(r,":").concat(n)}return 0},[be]);function Be(){window.sessionStorage.removeItem(T),Ae(!1),xe(0)}function qe(){Ae(!1),xe(0),ne.setValue(window.sessionStorage.getItem(T))}return s.a.createElement(a["Fragment"],null,s.a.createElement("div",{className:"markdown-editor-container ".concat(J," ").concat(fe?"on-preview":""," ").concat(b?"mini":""),style:Re},s.a.createElement(m,{watch:fe,showNullButton:$,onActionCallback:ze}),s.a.createElement("div",{className:"markdown-editor-body"},s.a.createElement("div",{className:"codemirror-container"},s.a.createElement("textarea",{ref:Ee,placeholder:ee})),fe?s.a.createElement("div",{ref:je,className:"preview-container"}," ",s.a.createElement(f["a"],{value:se})," "):null)),Te?s.a.createElement("div",{className:"markdown-tip"},"\u60a8\u4e0a\u6b21\u6709\u5df2\u4fdd\u5b58\u7684\u6570\u5e74\uff0c\u662f\u5426",s.a.createElement("a",{onClick:qe},"\u6062\u590d")," ? /"," ",s.a.createElement("a",{onClick:Be},"\u4e0d\u6062\u590d")," \uff08\u6570\u636e\u5df2\u4e8e ",_e," \u4fdd\u5b58\uff09"):null,N?s.a.createElement("a",{ref:Ne,className:"editor-resize"}):null,s.a.createElement(g["a"],null,Y[me]?s.a.createElement(n["a"],{title:Y[me],centered:!0,visible:!0,onCancel:Le,footer:null},Fe):null))}},KW7l:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("q1tI"),i=r("Kwbf"),o="RC_FORM_INTERNAL_HOOKS",a=function(){Object(i["a"])(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},s=n["createContext"]({getFieldValue:a,getFieldsValue:a,getFieldError:a,getFieldsError:a,isFieldsTouched:a,isFieldTouched:a,isFieldValidating:a,isFieldsValidating:a,resetFields:a,setFields:a,setFieldsValue:a,validateFields:a,submit:a,getInternalHooks:function(){return a(),{dispatch:a,registerField:a,useSubscribe:a,setInitialValues:a,setCallbacks:a,getFields:a,setValidateMessages:a}}});t["b"]=s},KpVd:function(e,t,r){"use strict";(function(e){function r(){return r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,r){return s=a()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=Function.bind.apply(e,n),a=new i;return r&&o(a,r.prototype),a},s.apply(null,arguments)}function l(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function c(e){var t="function"===typeof Map?new Map:void 0;return c=function(e){if(null===e||!l(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return s(e,arguments,i(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),o(r,e)},c(e)}var u=/%[sdj%]/g,f=function(){};function h(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var r=e.field;t[r]=t[r]||[],t[r].push(e)})),t}function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,i=t[0],o=t.length;if("function"===typeof i)return i.apply(null,t.slice(1));if("string"===typeof i){for(var a=String(i).replace(u,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(r){return"[Circular]"}break;default:return e}})),s=t[n];n<o;s=t[++n])a+=" "+s;return a}return i}function d(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function m(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!d(t)||"string"!==typeof e||e))}function g(e,t,r){var n=[],i=0,o=e.length;function a(e){n.push.apply(n,e),i++,i===o&&r(n)}e.forEach((function(e){t(e,a)}))}function v(e,t,r){var n=0,i=e.length;function o(a){if(a&&a.length)r(a);else{var s=n;n+=1,s<i?t(e[s],o):r([])}}o([])}function y(e){var t=[];return Object.keys(e).forEach((function(r){t.push.apply(t,e[r])})),t}"undefined"!==typeof e&&Object({NODE_ENV:"production"});var b=function(e){function t(t,r){var n;return n=e.call(this,"Async Validation Error")||this,n.errors=t,n.fields=r,n}return n(t,e),t}(c(Error));function x(e,t,r,n){if(t.first){var i=new Promise((function(t,i){var o=function(e){return n(e),e.length?i(new b(e,h(e))):t()},a=y(e);v(a,r,o)}));return i["catch"]((function(e){return e})),i}var o=t.firstFields||[];!0===o&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,l=0,c=[],u=new Promise((function(t,i){var u=function(e){if(c.push.apply(c,e),l++,l===s)return n(c),c.length?i(new b(c,h(c))):t()};a.length||(n(c),t()),a.forEach((function(t){var n=e[t];-1!==o.indexOf(t)?v(n,r,u):g(n,r,u)}))}));return u["catch"]((function(e){return e})),u}function w(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:"function"===typeof t?t():t,field:t.field||e.fullField}}}function k(e,t){if(t)for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"object"===typeof i&&"object"===typeof e[n]?e[n]=r(r({},e[n]),i):e[n]=i}return e}function S(e,t,r,n,i,o){!e.required||r.hasOwnProperty(e.field)&&!m(t,o||e.type)||n.push(p(i.messages.required,e.fullField))}function C(e,t,r,n,i){(/^\s+$/.test(t)||""===t)&&n.push(p(i.messages.whitespace,e.fullField))}var O={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},M={integer:function(e){return M.number(e)&&parseInt(e,10)===e},float:function(e){return M.number(e)&&!M.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!M.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(O.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(O.url)},hex:function(e){return"string"===typeof e&&!!e.match(O.hex)}};function T(e,t,r,n,i){if(e.required&&void 0===t)S(e,t,r,n,i);else{var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?M[a](t)||n.push(p(i.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&n.push(p(i.messages.types[a],e.fullField,e.type))}}function A(e,t,r,n,i){var o="number"===typeof e.len,a="number"===typeof e.min,s="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,u=null,f="number"===typeof t,h="string"===typeof t,d=Array.isArray(t);if(f?u="number":h?u="string":d&&(u="array"),!u)return!1;d&&(c=t.length),h&&(c=t.replace(l,"_").length),o?c!==e.len&&n.push(p(i.messages[u].len,e.fullField,e.len)):a&&!s&&c<e.min?n.push(p(i.messages[u].min,e.fullField,e.min)):s&&!a&&c>e.max?n.push(p(i.messages[u].max,e.fullField,e.max)):a&&s&&(c<e.min||c>e.max)&&n.push(p(i.messages[u].range,e.fullField,e.min,e.max))}var E="enum";function N(e,t,r,n,i){e[E]=Array.isArray(e[E])?e[E]:[],-1===e[E].indexOf(t)&&n.push(p(i.messages[E],e.fullField,e[E].join(", ")))}function j(e,t,r,n,i){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(p(i.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||n.push(p(i.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var z={required:S,whitespace:C,type:T,range:A,enum:N,pattern:j};function P(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t,"string")&&!e.required)return r();z.required(e,t,n,o,i,"string"),m(t,"string")||(z.type(e,t,n,o,i),z.range(e,t,n,o,i),z.pattern(e,t,n,o,i),!0===e.whitespace&&z.whitespace(e,t,n,o,i))}r(o)}function F(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&z.type(e,t,n,o,i)}r(o)}function L(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(""===t&&(t=void 0),m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&(z.type(e,t,n,o,i),z.range(e,t,n,o,i))}r(o)}function D(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&z.type(e,t,n,o,i)}r(o)}function I(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),m(t)||z.type(e,t,n,o,i)}r(o)}function R(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&(z.type(e,t,n,o,i),z.range(e,t,n,o,i))}r(o)}function _(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&(z.type(e,t,n,o,i),z.range(e,t,n,o,i))}r(o)}function B(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t,"array")&&!e.required)return r();z.required(e,t,n,o,i,"array"),m(t,"array")||(z.type(e,t,n,o,i),z.range(e,t,n,o,i))}r(o)}function q(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&z.type(e,t,n,o,i)}r(o)}var H="enum";function V(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i),void 0!==t&&z[H](e,t,n,o,i)}r(o)}function W(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t,"string")&&!e.required)return r();z.required(e,t,n,o,i),m(t,"string")||z.pattern(e,t,n,o,i)}r(o)}function U(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();var s;if(z.required(e,t,n,o,i),!m(t))s="number"===typeof t?new Date(t):t,z.type(e,s,n,o,i),s&&z.range(e,s.getTime(),n,o,i)}r(o)}function $(e,t,r,n,i){var o=[],a=Array.isArray(t)?"array":typeof t;z.required(e,t,n,o,i,a),r(o)}function G(e,t,r,n,i){var o=e.type,a=[],s=e.required||!e.required&&n.hasOwnProperty(e.field);if(s){if(m(t,o)&&!e.required)return r();z.required(e,t,n,a,i,o),m(t,o)||z.type(e,t,n,a,i)}r(a)}function K(e,t,r,n,i){var o=[],a=e.required||!e.required&&n.hasOwnProperty(e.field);if(a){if(m(t)&&!e.required)return r();z.required(e,t,n,o,i)}r(o)}var Y={string:P,method:F,number:L,boolean:D,regexp:I,integer:R,float:_,array:B,object:q,enum:V,pattern:W,date:U,url:G,hex:G,email:G,required:$,any:K};function X(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Z=X();function J(e){this.rules=null,this._messages=Z,this.define(e)}J.prototype={messages:function(e){return e&&(this._messages=k(X(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");var t,r;for(t in this.rules={},e)e.hasOwnProperty(t)&&(r=e[t],this.rules[t]=Array.isArray(r)?r:[r])},validate:function(e,t,n){var i=this;void 0===t&&(t={}),void 0===n&&(n=function(){});var o,a,s=e,l=t,c=n;if("function"===typeof l&&(c=l,l={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(),Promise.resolve();function u(e){var t,r=[],n={};function i(e){var t;Array.isArray(e)?r=(t=r).concat.apply(t,e):r.push(e)}for(t=0;t<e.length;t++)i(e[t]);r.length?n=h(r):(r=null,n=null),c(r,n)}if(l.messages){var f=this.messages();f===Z&&(f=X()),k(f,l.messages),l.messages=f}else l.messages=this.messages();var d={},m=l.keys||Object.keys(this.rules);m.forEach((function(t){o=i.rules[t],a=s[t],o.forEach((function(n){var o=n;"function"===typeof o.transform&&(s===e&&(s=r({},s)),a=s[t]=o.transform(a)),o="function"===typeof o?{validator:o}:r({},o),o.validator=i.getValidationMethod(o),o.field=t,o.fullField=o.fullField||t,o.type=i.getType(o),o.validator&&(d[t]=d[t]||[],d[t].push({rule:o,value:a,source:s,field:t}))}))}));var g={};return x(d,l,(function(e,t){var n,i=e.rule,o=("object"===i.type||"array"===i.type)&&("object"===typeof i.fields||"object"===typeof i.defaultField);function a(e,t){return r(r({},t),{},{fullField:i.fullField+"."+e})}function s(n){void 0===n&&(n=[]);var s=n;if(Array.isArray(s)||(s=[s]),!l.suppressWarning&&s.length&&J.warning("async-validator:",s),s.length&&i.message&&(s=[].concat(i.message)),s=s.map(w(i)),l.first&&s.length)return g[i.field]=1,t(s);if(o){if(i.required&&!e.value)return i.message?s=[].concat(i.message).map(w(i)):l.error&&(s=[l.error(i,p(l.messages.required,i.field))]),t(s);var c={};if(i.defaultField)for(var u in e.value)e.value.hasOwnProperty(u)&&(c[u]=i.defaultField);for(var f in c=r(r({},c),e.rule.fields),c)if(c.hasOwnProperty(f)){var h=Array.isArray(c[f])?c[f]:[c[f]];c[f]=h.map(a.bind(null,f))}var d=new J(c);d.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),d.validate(e.value,e.rule.options||l,(function(e){var r=[];s&&s.length&&r.push.apply(r,s),e&&e.length&&r.push.apply(r,e),t(r.length?r:null)}))}else t(s)}o=o&&(i.required||!i.required&&e.value),i.field=e.field,i.asyncValidator?n=i.asyncValidator(i,e.value,s,e.source,l):i.validator&&(n=i.validator(i,e.value,s,e.source,l),!0===n?s():!1===n?s(i.message||i.field+" fails"):n instanceof Array?s(n):n instanceof Error&&s(n.message)),n&&n.then&&n.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){u(e)}))},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!==typeof e.validator&&e.type&&!Y.hasOwnProperty(e.type))throw new Error(p("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"===typeof e.validator)return e.validator;var t=Object.keys(e),r=t.indexOf("message");return-1!==r&&t.splice(r,1),1===t.length&&"required"===t[0]?Y.required:Y[this.getType(e)]||!1}},J.register=function(e,t){if("function"!==typeof t)throw new Error("Cannot register a validator by type, validator is not a function");Y[e]=t},J.warning=f,J.messages=Z,J.validators=Y,t["a"]=J}).call(this,r("Q2Ig"))},L5pH:function(e,t){e.exports=function(){}},L8xA:function(e,t){function r(e){var t=this.__data__,r=t["delete"](e);return this.size=t.size,r}e.exports=r},LXxW:function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length,i=0,o=[];while(++r<n){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}e.exports=r},M8RZ:function(e,t,r){"use strict";var n=r("q1tI"),i=r("i8i4"),o=document.createElement("div");t["a"]=e=>{var t=e.children;return Object(n["useEffect"])(()=>(document.body.append(o),()=>{try{document.body.removeChild(o)}catch(e){}}),[]),Object(i["createPortal"])(t,o)}},MBy0:function(e,t,r){r("4Zg2")("asyncIterator")},MMmD:function(e,t,r){var n=r("lSCD"),i=r("shjB");function o(e){return null!=e&&i(e.length)&&!n(e)}e.exports=o},MvSz:function(e,t,r){var n=r("LXxW"),i=r("0ycA"),o=Object.prototype,a=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),n(s(e),(function(t){return a.call(e,t)})))}:i;e.exports=l},NKxu:function(e,t,r){var n=r("lSCD"),i=r("E2jh"),o=r("GoyQ"),a=r("3Fdi"),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,f=c.toString,h=u.hasOwnProperty,p=RegExp("^"+f.call(h).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(e){if(!o(e)||i(e))return!1;var t=n(e)?p:l;return t.test(a(e))}e.exports=d},Npjl:function(e,t){function r(e,t){return null==e?void 0:e[t]}e.exports=r},OTpG:function(e,t,r){"use strict";var n=r("5ETA"),i=r("USwo"),o=r("ugGH"),a=r("BRsN"),s=r("ig3W"),l=r("Jt1Q"),c=r("kvAF"),u=r("znrX"),f=r("zBWt")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",d="keys",m="values",g=function(){return this};e.exports=function(e,t,r,v,y,b,x){l(r,t,v);var w,k,S,C=function(e){if(!h&&e in A)return A[e];switch(e){case d:return function(){return new r(this,e)};case m:return function(){return new r(this,e)}}return function(){return new r(this,e)}},O=t+" Iterator",M=y==m,T=!1,A=e.prototype,E=A[f]||A[p]||y&&A[y],N=E||C(y),j=y?M?C("entries"):N:void 0,z="Array"==t&&A.entries||E;if(z&&(S=u(z.call(new e)),S!==Object.prototype&&S.next&&(c(S,O,!0),n||"function"==typeof S[f]||a(S,f,g))),M&&E&&E.name!==m&&(T=!0,N=function(){return E.call(this)}),n&&!x||!h&&!T&&A[f]||a(A,f,N),s[t]=N,s[O]=g,y)if(w={values:M?N:C(m),keys:b?N:C(d),entries:j},x)for(k in w)k in A||o(A,k,w[k]);else i(i.P+i.F*(h||T),t,w);return w}},"Of+w":function(e,t,r){var n=r("Cwc5"),i=r("Kz5y"),o=n(i,"WeakMap");e.exports=o},OnYD:function(e,t,r){},"Oy/b":function(e,t,r){(function(t,r){e.exports=r()})("undefined"!==typeof self&&self,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=1)}([function(e,t,r){},function(e,t,r){"use strict";r.r(t);r(0);var n=function(){function e(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}return e.range=function(t,r){return r?t&&t.loc&&r.loc&&t.loc.lexer===r.loc.lexer?new e(t.loc.lexer,t.loc.start,r.loc.end):null:t&&t.loc},e}(),i=function(){function e(e,t){this.text=void 0,this.loc=void 0,this.text=e,this.loc=t}var t=e.prototype;return t.range=function(t,r){return new e(r,n.range(this,t))},e}(),o=function e(t,r){this.position=void 0;var n,i="KaTeX parse error: "+t,o=r&&r.loc;if(o&&o.start<=o.end){var a=o.lexer.input;n=o.start;var s=o.end;n===a.length?i+=" at end of input: ":i+=" at position "+(n+1)+": ";var l,c,u=a.slice(n,s).replace(/[^]/g,"$&\u0332");l=n>15?"\u2026"+a.slice(n-15,n):a.slice(0,n),c=s+15<a.length?a.slice(s,s+15)+"\u2026":a.slice(s),i+=l+u+c}var f=new Error(i);return f.name="ParseError",f.__proto__=e.prototype,f.position=n,f};o.prototype.__proto__=Error.prototype;var a=o,s=function(e,t){return-1!==e.indexOf(t)},l=function(e,t){return void 0===e?t:e},c=/([A-Z])/g,u=function(e){return e.replace(c,"-$1").toLowerCase()},f={"&":"&",">":">","<":"<",'"':""","'":"'"},h=/[&><"']/g;function p(e){return String(e).replace(h,(function(e){return f[e]}))}var d=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},m=function(e){var t=d(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},g=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},v=function(e){var t=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(e);return null!=t?t[1]:"_relative"},y={contains:s,deflt:l,escape:p,hyphenate:u,getBaseElem:d,isCharacterBox:m,protocolFromUrl:v},b=function(){function e(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,e=e||{},this.displayMode=y.deflt(e.displayMode,!1),this.output=y.deflt(e.output,"htmlAndMathml"),this.leqno=y.deflt(e.leqno,!1),this.fleqn=y.deflt(e.fleqn,!1),this.throwOnError=y.deflt(e.throwOnError,!0),this.errorColor=y.deflt(e.errorColor,"#cc0000"),this.macros=e.macros||{},this.minRuleThickness=Math.max(0,y.deflt(e.minRuleThickness,0)),this.colorIsTextColor=y.deflt(e.colorIsTextColor,!1),this.strict=y.deflt(e.strict,"warn"),this.trust=y.deflt(e.trust,!1),this.maxSize=Math.max(0,y.deflt(e.maxSize,1/0)),this.maxExpand=Math.max(0,y.deflt(e.maxExpand,1e3))}var t=e.prototype;return t.reportNonstrict=function(e,t,r){var n=this.strict;if("function"===typeof n&&(n=n(e,t,r)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new a("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===n?"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]")}},t.useStrictBehavior=function(e,t,r){var n=this.strict;if("function"===typeof n)try{n=n(e,t,r)}catch(i){n="error"}return!(!n||"ignore"===n)&&(!0===n||"error"===n||("warn"===n?("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),!1):("undefined"!==typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+n+"': "+t+" ["+e+"]"),!1)))},t.isTrusted=function(e){e.url&&!e.protocol&&(e.protocol=y.protocolFromUrl(e.url));var t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)},e}(),x=function(){function e(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}var t=e.prototype;return t.sup=function(){return E[N[this.id]]},t.sub=function(){return E[j[this.id]]},t.fracNum=function(){return E[z[this.id]]},t.fracDen=function(){return E[P[this.id]]},t.cramp=function(){return E[F[this.id]]},t.text=function(){return E[L[this.id]]},t.isTight=function(){return this.size>=2},e}(),w=0,k=1,S=2,C=3,O=4,M=5,T=6,A=7,E=[new x(w,0,!1),new x(k,0,!0),new x(S,1,!1),new x(C,1,!0),new x(O,2,!1),new x(M,2,!0),new x(T,3,!1),new x(A,3,!0)],N=[O,M,O,M,T,A,T,A],j=[M,M,M,M,A,A,A,A],z=[S,C,O,M,T,A,T,A],P=[C,C,M,M,A,A,A,A],F=[k,k,C,C,M,M,A,A],L=[w,k,S,C,S,C,S,C],D={DISPLAY:E[w],TEXT:E[S],SCRIPT:E[O],SCRIPTSCRIPT:E[T]},I=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function R(e){for(var t=0;t<I.length;t++)for(var r=I[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}var _=[];function B(e){for(var t=0;t<_.length;t+=2)if(e>=_[t]&&e<=_[t+1])return!0;return!1}I.forEach((function(e){return e.blocks.forEach((function(e){return _.push.apply(_,e)}))}));var q=80,H=function(e,t){return"M95,"+(622+e+t)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},V=function(e,t){return"M263,"+(601+e+t)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},W=function(e,t){return"M983 "+(10+e+t)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" "+t+"h400000v"+(40+e)+"h-400000z"},U=function(e,t){return"M424,"+(2398+e+t)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" "+t+"\nh400000v"+(40+e)+"h-400000z"},$=function(e,t){return"M473,"+(2713+e+t)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" "+t+"h400000v"+(40+e)+"H1017.7z"},G=function(e,t,r){var n=r-54-t-e;return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+n+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 "+t+"H400000v"+(40+e)+"H742z"},K=function(e,t,r){t*=1e3;var n="";switch(e){case"sqrtMain":n=H(t,q);break;case"sqrtSize1":n=V(t,q);break;case"sqrtSize2":n=W(t,q);break;case"sqrtSize3":n=U(t,q);break;case"sqrtSize4":n=$(t,q);break;case"sqrtTall":n=G(t,q,r)}return n},Y={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},X=function(){function e(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var t=e.prototype;return t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},t.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e},t.toText=function(){var e=function(e){return e.toText()};return this.children.map(e).join("")},e}(),Z=function(e){return e.filter((function(e){return e})).join(" ")},J=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},Q=function(e){var t=document.createElement(e);for(var r in t.className=Z(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)t.appendChild(this.children[i].toNode());return t},ee=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+y.escape(Z(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=y.hyphenate(n)+":"+this.style[n]+";");for(var i in r&&(t+=' style="'+y.escape(r)+'"'),this.attributes)this.attributes.hasOwnProperty(i)&&(t+=" "+i+'="'+y.escape(this.attributes[i])+'"');t+=">";for(var o=0;o<this.children.length;o++)t+=this.children[o].toMarkup();return t+="</"+e+">",t},te=function(){function e(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,J.call(this,e,r,n),this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){return Q.call(this,"span")},t.toMarkup=function(){return ee.call(this,"span")},e}(),re=function(){function e(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,J.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){return Q.call(this,"a")},t.toMarkup=function(){return ee.call(this,"a")},e}(),ne=function(){function e(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}var t=e.prototype;return t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e},t.toMarkup=function(){var e="<img src='"+this.src+" 'alt='"+this.alt+"' ",t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=y.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+y.escape(t)+'"'),e+="'/>",e},e}(),ie={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"},oe=function(){function e(e,t,r,n,i,o,a,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=i||0,this.width=o||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=R(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=ie[this.text])}var t=e.prototype;return t.hasClass=function(e){return y.contains(this.classes,e)},t.toNode=function(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Z(this.classes)),this.style)this.style.hasOwnProperty(r)&&(t=t||document.createElement("span"),t.style[r]=this.style[r]);return t?(t.appendChild(e),t):e},t.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=y.escape(Z(this.classes)),t+='"');var r="";for(var n in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=y.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+y.escape(r)+'"');var i=y.escape(this.text);return e?(t+=">",t+=i,t+="</span>",t):i},e}(),ae=function(){function e(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},t.toMarkup=function(){var e="<svg";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>",e},e}(),se=function(){function e(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",Y[this.pathName]),t},t.toMarkup=function(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+Y[this.pathName]+"'/>"},e}(),le=function(){function e(e){this.attributes=void 0,this.attributes=e||{}}var t=e.prototype;return t.toNode=function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);return t},t.toMarkup=function(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+"='"+this.attributes[t]+"'");return e+="/>",e},e}();function ce(e){if(e instanceof oe)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ue(e){if(e instanceof te)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var fe={"AMS-Regular":{65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473]},"Fraktur-Regular":{33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],163:[0,.69444,0,0,.86853],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],163:[0,.69444,0,0,.76909],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],305:[0,.43056,0,.02778,.32246],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],567:[.19444,.43056,0,.08334,.38403],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.12,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,1],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.67,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.9,0,0,.278],8943:[-.19,.31,0,0,1.172],8945:[-.1,.82,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.744,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.744,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333]},"Math-Italic":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"Math-Regular":{65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059]},"SansSerif-Bold":{33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212]},"Size1-Regular":{40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},he={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},pe={"\xc5":"A","\xc7":"C","\xd0":"D","\xde":"o","\xe5":"a","\xe7":"c","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function de(e,t){fe[e]=t}function me(e,t,r){if(!fe[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=fe[t][n];if(!i&&e[0]in pe&&(n=pe[e[0]].charCodeAt(0),i=fe[t][n]),i||"text"!==r||B(n)&&(i=fe[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var ge={};function ve(e){var t;if(t=e>=5?0:e>=3?1:2,!ge[t]){var r=ge[t]={cssEmPerMu:he.quad[t]/18};for(var n in he)he.hasOwnProperty(n)&&(r[n]=he[n][t])}return ge[t]}var ye={bin:1,close:1,inner:1,open:1,punct:1,rel:1},be={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},xe={math:{},text:{}},we=xe;function ke(e,t,r,n,i,o){xe[e][i]={font:t,group:r,replace:n},o&&n&&(xe[e][n]=xe[e][i])}var Se="math",Ce="text",Oe="main",Me="ams",Te="accent-token",Ae="bin",Ee="close",Ne="inner",je="mathord",ze="op-token",Pe="open",Fe="punct",Le="rel",De="spacing",Ie="textord";ke(Se,Oe,Le,"\u2261","\\equiv",!0),ke(Se,Oe,Le,"\u227a","\\prec",!0),ke(Se,Oe,Le,"\u227b","\\succ",!0),ke(Se,Oe,Le,"\u223c","\\sim",!0),ke(Se,Oe,Le,"\u22a5","\\perp"),ke(Se,Oe,Le,"\u2aaf","\\preceq",!0),ke(Se,Oe,Le,"\u2ab0","\\succeq",!0),ke(Se,Oe,Le,"\u2243","\\simeq",!0),ke(Se,Oe,Le,"\u2223","\\mid",!0),ke(Se,Oe,Le,"\u226a","\\ll",!0),ke(Se,Oe,Le,"\u226b","\\gg",!0),ke(Se,Oe,Le,"\u224d","\\asymp",!0),ke(Se,Oe,Le,"\u2225","\\parallel"),ke(Se,Oe,Le,"\u22c8","\\bowtie",!0),ke(Se,Oe,Le,"\u2323","\\smile",!0),ke(Se,Oe,Le,"\u2291","\\sqsubseteq",!0),ke(Se,Oe,Le,"\u2292","\\sqsupseteq",!0),ke(Se,Oe,Le,"\u2250","\\doteq",!0),ke(Se,Oe,Le,"\u2322","\\frown",!0),ke(Se,Oe,Le,"\u220b","\\ni",!0),ke(Se,Oe,Le,"\u221d","\\propto",!0),ke(Se,Oe,Le,"\u22a2","\\vdash",!0),ke(Se,Oe,Le,"\u22a3","\\dashv",!0),ke(Se,Oe,Le,"\u220b","\\owns"),ke(Se,Oe,Fe,".","\\ldotp"),ke(Se,Oe,Fe,"\u22c5","\\cdotp"),ke(Se,Oe,Ie,"#","\\#"),ke(Ce,Oe,Ie,"#","\\#"),ke(Se,Oe,Ie,"&","\\&"),ke(Ce,Oe,Ie,"&","\\&"),ke(Se,Oe,Ie,"\u2135","\\aleph",!0),ke(Se,Oe,Ie,"\u2200","\\forall",!0),ke(Se,Oe,Ie,"\u210f","\\hbar",!0),ke(Se,Oe,Ie,"\u2203","\\exists",!0),ke(Se,Oe,Ie,"\u2207","\\nabla",!0),ke(Se,Oe,Ie,"\u266d","\\flat",!0),ke(Se,Oe,Ie,"\u2113","\\ell",!0),ke(Se,Oe,Ie,"\u266e","\\natural",!0),ke(Se,Oe,Ie,"\u2663","\\clubsuit",!0),ke(Se,Oe,Ie,"\u2118","\\wp",!0),ke(Se,Oe,Ie,"\u266f","\\sharp",!0),ke(Se,Oe,Ie,"\u2662","\\diamondsuit",!0),ke(Se,Oe,Ie,"\u211c","\\Re",!0),ke(Se,Oe,Ie,"\u2661","\\heartsuit",!0),ke(Se,Oe,Ie,"\u2111","\\Im",!0),ke(Se,Oe,Ie,"\u2660","\\spadesuit",!0),ke(Ce,Oe,Ie,"\xa7","\\S",!0),ke(Ce,Oe,Ie,"\xb6","\\P",!0),ke(Se,Oe,Ie,"\u2020","\\dag"),ke(Ce,Oe,Ie,"\u2020","\\dag"),ke(Ce,Oe,Ie,"\u2020","\\textdagger"),ke(Se,Oe,Ie,"\u2021","\\ddag"),ke(Ce,Oe,Ie,"\u2021","\\ddag"),ke(Ce,Oe,Ie,"\u2021","\\textdaggerdbl"),ke(Se,Oe,Ee,"\u23b1","\\rmoustache",!0),ke(Se,Oe,Pe,"\u23b0","\\lmoustache",!0),ke(Se,Oe,Ee,"\u27ef","\\rgroup",!0),ke(Se,Oe,Pe,"\u27ee","\\lgroup",!0),ke(Se,Oe,Ae,"\u2213","\\mp",!0),ke(Se,Oe,Ae,"\u2296","\\ominus",!0),ke(Se,Oe,Ae,"\u228e","\\uplus",!0),ke(Se,Oe,Ae,"\u2293","\\sqcap",!0),ke(Se,Oe,Ae,"\u2217","\\ast"),ke(Se,Oe,Ae,"\u2294","\\sqcup",!0),ke(Se,Oe,Ae,"\u25ef","\\bigcirc"),ke(Se,Oe,Ae,"\u2219","\\bullet"),ke(Se,Oe,Ae,"\u2021","\\ddagger"),ke(Se,Oe,Ae,"\u2240","\\wr",!0),ke(Se,Oe,Ae,"\u2a3f","\\amalg"),ke(Se,Oe,Ae,"&","\\And"),ke(Se,Oe,Le,"\u27f5","\\longleftarrow",!0),ke(Se,Oe,Le,"\u21d0","\\Leftarrow",!0),ke(Se,Oe,Le,"\u27f8","\\Longleftarrow",!0),ke(Se,Oe,Le,"\u27f6","\\longrightarrow",!0),ke(Se,Oe,Le,"\u21d2","\\Rightarrow",!0),ke(Se,Oe,Le,"\u27f9","\\Longrightarrow",!0),ke(Se,Oe,Le,"\u2194","\\leftrightarrow",!0),ke(Se,Oe,Le,"\u27f7","\\longleftrightarrow",!0),ke(Se,Oe,Le,"\u21d4","\\Leftrightarrow",!0),ke(Se,Oe,Le,"\u27fa","\\Longleftrightarrow",!0),ke(Se,Oe,Le,"\u21a6","\\mapsto",!0),ke(Se,Oe,Le,"\u27fc","\\longmapsto",!0),ke(Se,Oe,Le,"\u2197","\\nearrow",!0),ke(Se,Oe,Le,"\u21a9","\\hookleftarrow",!0),ke(Se,Oe,Le,"\u21aa","\\hookrightarrow",!0),ke(Se,Oe,Le,"\u2198","\\searrow",!0),ke(Se,Oe,Le,"\u21bc","\\leftharpoonup",!0),ke(Se,Oe,Le,"\u21c0","\\rightharpoonup",!0),ke(Se,Oe,Le,"\u2199","\\swarrow",!0),ke(Se,Oe,Le,"\u21bd","\\leftharpoondown",!0),ke(Se,Oe,Le,"\u21c1","\\rightharpoondown",!0),ke(Se,Oe,Le,"\u2196","\\nwarrow",!0),ke(Se,Oe,Le,"\u21cc","\\rightleftharpoons",!0),ke(Se,Me,Le,"\u226e","\\nless",!0),ke(Se,Me,Le,"\ue010","\\@nleqslant"),ke(Se,Me,Le,"\ue011","\\@nleqq"),ke(Se,Me,Le,"\u2a87","\\lneq",!0),ke(Se,Me,Le,"\u2268","\\lneqq",!0),ke(Se,Me,Le,"\ue00c","\\@lvertneqq"),ke(Se,Me,Le,"\u22e6","\\lnsim",!0),ke(Se,Me,Le,"\u2a89","\\lnapprox",!0),ke(Se,Me,Le,"\u2280","\\nprec",!0),ke(Se,Me,Le,"\u22e0","\\npreceq",!0),ke(Se,Me,Le,"\u22e8","\\precnsim",!0),ke(Se,Me,Le,"\u2ab9","\\precnapprox",!0),ke(Se,Me,Le,"\u2241","\\nsim",!0),ke(Se,Me,Le,"\ue006","\\@nshortmid"),ke(Se,Me,Le,"\u2224","\\nmid",!0),ke(Se,Me,Le,"\u22ac","\\nvdash",!0),ke(Se,Me,Le,"\u22ad","\\nvDash",!0),ke(Se,Me,Le,"\u22ea","\\ntriangleleft"),ke(Se,Me,Le,"\u22ec","\\ntrianglelefteq",!0),ke(Se,Me,Le,"\u228a","\\subsetneq",!0),ke(Se,Me,Le,"\ue01a","\\@varsubsetneq"),ke(Se,Me,Le,"\u2acb","\\subsetneqq",!0),ke(Se,Me,Le,"\ue017","\\@varsubsetneqq"),ke(Se,Me,Le,"\u226f","\\ngtr",!0),ke(Se,Me,Le,"\ue00f","\\@ngeqslant"),ke(Se,Me,Le,"\ue00e","\\@ngeqq"),ke(Se,Me,Le,"\u2a88","\\gneq",!0),ke(Se,Me,Le,"\u2269","\\gneqq",!0),ke(Se,Me,Le,"\ue00d","\\@gvertneqq"),ke(Se,Me,Le,"\u22e7","\\gnsim",!0),ke(Se,Me,Le,"\u2a8a","\\gnapprox",!0),ke(Se,Me,Le,"\u2281","\\nsucc",!0),ke(Se,Me,Le,"\u22e1","\\nsucceq",!0),ke(Se,Me,Le,"\u22e9","\\succnsim",!0),ke(Se,Me,Le,"\u2aba","\\succnapprox",!0),ke(Se,Me,Le,"\u2246","\\ncong",!0),ke(Se,Me,Le,"\ue007","\\@nshortparallel"),ke(Se,Me,Le,"\u2226","\\nparallel",!0),ke(Se,Me,Le,"\u22af","\\nVDash",!0),ke(Se,Me,Le,"\u22eb","\\ntriangleright"),ke(Se,Me,Le,"\u22ed","\\ntrianglerighteq",!0),ke(Se,Me,Le,"\ue018","\\@nsupseteqq"),ke(Se,Me,Le,"\u228b","\\supsetneq",!0),ke(Se,Me,Le,"\ue01b","\\@varsupsetneq"),ke(Se,Me,Le,"\u2acc","\\supsetneqq",!0),ke(Se,Me,Le,"\ue019","\\@varsupsetneqq"),ke(Se,Me,Le,"\u22ae","\\nVdash",!0),ke(Se,Me,Le,"\u2ab5","\\precneqq",!0),ke(Se,Me,Le,"\u2ab6","\\succneqq",!0),ke(Se,Me,Le,"\ue016","\\@nsubseteqq"),ke(Se,Me,Ae,"\u22b4","\\unlhd"),ke(Se,Me,Ae,"\u22b5","\\unrhd"),ke(Se,Me,Le,"\u219a","\\nleftarrow",!0),ke(Se,Me,Le,"\u219b","\\nrightarrow",!0),ke(Se,Me,Le,"\u21cd","\\nLeftarrow",!0),ke(Se,Me,Le,"\u21cf","\\nRightarrow",!0),ke(Se,Me,Le,"\u21ae","\\nleftrightarrow",!0),ke(Se,Me,Le,"\u21ce","\\nLeftrightarrow",!0),ke(Se,Me,Le,"\u25b3","\\vartriangle"),ke(Se,Me,Ie,"\u210f","\\hslash"),ke(Se,Me,Ie,"\u25bd","\\triangledown"),ke(Se,Me,Ie,"\u25ca","\\lozenge"),ke(Se,Me,Ie,"\u24c8","\\circledS"),ke(Se,Me,Ie,"\xae","\\circledR"),ke(Ce,Me,Ie,"\xae","\\circledR"),ke(Se,Me,Ie,"\u2221","\\measuredangle",!0),ke(Se,Me,Ie,"\u2204","\\nexists"),ke(Se,Me,Ie,"\u2127","\\mho"),ke(Se,Me,Ie,"\u2132","\\Finv",!0),ke(Se,Me,Ie,"\u2141","\\Game",!0),ke(Se,Me,Ie,"\u2035","\\backprime"),ke(Se,Me,Ie,"\u25b2","\\blacktriangle"),ke(Se,Me,Ie,"\u25bc","\\blacktriangledown"),ke(Se,Me,Ie,"\u25a0","\\blacksquare"),ke(Se,Me,Ie,"\u29eb","\\blacklozenge"),ke(Se,Me,Ie,"\u2605","\\bigstar"),ke(Se,Me,Ie,"\u2222","\\sphericalangle",!0),ke(Se,Me,Ie,"\u2201","\\complement",!0),ke(Se,Me,Ie,"\xf0","\\eth",!0),ke(Se,Me,Ie,"\u2571","\\diagup"),ke(Se,Me,Ie,"\u2572","\\diagdown"),ke(Se,Me,Ie,"\u25a1","\\square"),ke(Se,Me,Ie,"\u25a1","\\Box"),ke(Se,Me,Ie,"\u25ca","\\Diamond"),ke(Se,Me,Ie,"\xa5","\\yen",!0),ke(Ce,Me,Ie,"\xa5","\\yen",!0),ke(Se,Me,Ie,"\u2713","\\checkmark",!0),ke(Ce,Me,Ie,"\u2713","\\checkmark"),ke(Se,Me,Ie,"\u2136","\\beth",!0),ke(Se,Me,Ie,"\u2138","\\daleth",!0),ke(Se,Me,Ie,"\u2137","\\gimel",!0),ke(Se,Me,Ie,"\u03dd","\\digamma",!0),ke(Se,Me,Ie,"\u03f0","\\varkappa"),ke(Se,Me,Pe,"\u250c","\\ulcorner",!0),ke(Se,Me,Ee,"\u2510","\\urcorner",!0),ke(Se,Me,Pe,"\u2514","\\llcorner",!0),ke(Se,Me,Ee,"\u2518","\\lrcorner",!0),ke(Se,Me,Le,"\u2266","\\leqq",!0),ke(Se,Me,Le,"\u2a7d","\\leqslant",!0),ke(Se,Me,Le,"\u2a95","\\eqslantless",!0),ke(Se,Me,Le,"\u2272","\\lesssim",!0),ke(Se,Me,Le,"\u2a85","\\lessapprox",!0),ke(Se,Me,Le,"\u224a","\\approxeq",!0),ke(Se,Me,Ae,"\u22d6","\\lessdot"),ke(Se,Me,Le,"\u22d8","\\lll",!0),ke(Se,Me,Le,"\u2276","\\lessgtr",!0),ke(Se,Me,Le,"\u22da","\\lesseqgtr",!0),ke(Se,Me,Le,"\u2a8b","\\lesseqqgtr",!0),ke(Se,Me,Le,"\u2251","\\doteqdot"),ke(Se,Me,Le,"\u2253","\\risingdotseq",!0),ke(Se,Me,Le,"\u2252","\\fallingdotseq",!0),ke(Se,Me,Le,"\u223d","\\backsim",!0),ke(Se,Me,Le,"\u22cd","\\backsimeq",!0),ke(Se,Me,Le,"\u2ac5","\\subseteqq",!0),ke(Se,Me,Le,"\u22d0","\\Subset",!0),ke(Se,Me,Le,"\u228f","\\sqsubset",!0),ke(Se,Me,Le,"\u227c","\\preccurlyeq",!0),ke(Se,Me,Le,"\u22de","\\curlyeqprec",!0),ke(Se,Me,Le,"\u227e","\\precsim",!0),ke(Se,Me,Le,"\u2ab7","\\precapprox",!0),ke(Se,Me,Le,"\u22b2","\\vartriangleleft"),ke(Se,Me,Le,"\u22b4","\\trianglelefteq"),ke(Se,Me,Le,"\u22a8","\\vDash",!0),ke(Se,Me,Le,"\u22aa","\\Vvdash",!0),ke(Se,Me,Le,"\u2323","\\smallsmile"),ke(Se,Me,Le,"\u2322","\\smallfrown"),ke(Se,Me,Le,"\u224f","\\bumpeq",!0),ke(Se,Me,Le,"\u224e","\\Bumpeq",!0),ke(Se,Me,Le,"\u2267","\\geqq",!0),ke(Se,Me,Le,"\u2a7e","\\geqslant",!0),ke(Se,Me,Le,"\u2a96","\\eqslantgtr",!0),ke(Se,Me,Le,"\u2273","\\gtrsim",!0),ke(Se,Me,Le,"\u2a86","\\gtrapprox",!0),ke(Se,Me,Ae,"\u22d7","\\gtrdot"),ke(Se,Me,Le,"\u22d9","\\ggg",!0),ke(Se,Me,Le,"\u2277","\\gtrless",!0),ke(Se,Me,Le,"\u22db","\\gtreqless",!0),ke(Se,Me,Le,"\u2a8c","\\gtreqqless",!0),ke(Se,Me,Le,"\u2256","\\eqcirc",!0),ke(Se,Me,Le,"\u2257","\\circeq",!0),ke(Se,Me,Le,"\u225c","\\triangleq",!0),ke(Se,Me,Le,"\u223c","\\thicksim"),ke(Se,Me,Le,"\u2248","\\thickapprox"),ke(Se,Me,Le,"\u2ac6","\\supseteqq",!0),ke(Se,Me,Le,"\u22d1","\\Supset",!0),ke(Se,Me,Le,"\u2290","\\sqsupset",!0),ke(Se,Me,Le,"\u227d","\\succcurlyeq",!0),ke(Se,Me,Le,"\u22df","\\curlyeqsucc",!0),ke(Se,Me,Le,"\u227f","\\succsim",!0),ke(Se,Me,Le,"\u2ab8","\\succapprox",!0),ke(Se,Me,Le,"\u22b3","\\vartriangleright"),ke(Se,Me,Le,"\u22b5","\\trianglerighteq"),ke(Se,Me,Le,"\u22a9","\\Vdash",!0),ke(Se,Me,Le,"\u2223","\\shortmid"),ke(Se,Me,Le,"\u2225","\\shortparallel"),ke(Se,Me,Le,"\u226c","\\between",!0),ke(Se,Me,Le,"\u22d4","\\pitchfork",!0),ke(Se,Me,Le,"\u221d","\\varpropto"),ke(Se,Me,Le,"\u25c0","\\blacktriangleleft"),ke(Se,Me,Le,"\u2234","\\therefore",!0),ke(Se,Me,Le,"\u220d","\\backepsilon"),ke(Se,Me,Le,"\u25b6","\\blacktriangleright"),ke(Se,Me,Le,"\u2235","\\because",!0),ke(Se,Me,Le,"\u22d8","\\llless"),ke(Se,Me,Le,"\u22d9","\\gggtr"),ke(Se,Me,Ae,"\u22b2","\\lhd"),ke(Se,Me,Ae,"\u22b3","\\rhd"),ke(Se,Me,Le,"\u2242","\\eqsim",!0),ke(Se,Oe,Le,"\u22c8","\\Join"),ke(Se,Me,Le,"\u2251","\\Doteq",!0),ke(Se,Me,Ae,"\u2214","\\dotplus",!0),ke(Se,Me,Ae,"\u2216","\\smallsetminus"),ke(Se,Me,Ae,"\u22d2","\\Cap",!0),ke(Se,Me,Ae,"\u22d3","\\Cup",!0),ke(Se,Me,Ae,"\u2a5e","\\doublebarwedge",!0),ke(Se,Me,Ae,"\u229f","\\boxminus",!0),ke(Se,Me,Ae,"\u229e","\\boxplus",!0),ke(Se,Me,Ae,"\u22c7","\\divideontimes",!0),ke(Se,Me,Ae,"\u22c9","\\ltimes",!0),ke(Se,Me,Ae,"\u22ca","\\rtimes",!0),ke(Se,Me,Ae,"\u22cb","\\leftthreetimes",!0),ke(Se,Me,Ae,"\u22cc","\\rightthreetimes",!0),ke(Se,Me,Ae,"\u22cf","\\curlywedge",!0),ke(Se,Me,Ae,"\u22ce","\\curlyvee",!0),ke(Se,Me,Ae,"\u229d","\\circleddash",!0),ke(Se,Me,Ae,"\u229b","\\circledast",!0),ke(Se,Me,Ae,"\u22c5","\\centerdot"),ke(Se,Me,Ae,"\u22ba","\\intercal",!0),ke(Se,Me,Ae,"\u22d2","\\doublecap"),ke(Se,Me,Ae,"\u22d3","\\doublecup"),ke(Se,Me,Ae,"\u22a0","\\boxtimes",!0),ke(Se,Me,Le,"\u21e2","\\dashrightarrow",!0),ke(Se,Me,Le,"\u21e0","\\dashleftarrow",!0),ke(Se,Me,Le,"\u21c7","\\leftleftarrows",!0),ke(Se,Me,Le,"\u21c6","\\leftrightarrows",!0),ke(Se,Me,Le,"\u21da","\\Lleftarrow",!0),ke(Se,Me,Le,"\u219e","\\twoheadleftarrow",!0),ke(Se,Me,Le,"\u21a2","\\leftarrowtail",!0),ke(Se,Me,Le,"\u21ab","\\looparrowleft",!0),ke(Se,Me,Le,"\u21cb","\\leftrightharpoons",!0),ke(Se,Me,Le,"\u21b6","\\curvearrowleft",!0),ke(Se,Me,Le,"\u21ba","\\circlearrowleft",!0),ke(Se,Me,Le,"\u21b0","\\Lsh",!0),ke(Se,Me,Le,"\u21c8","\\upuparrows",!0),ke(Se,Me,Le,"\u21bf","\\upharpoonleft",!0),ke(Se,Me,Le,"\u21c3","\\downharpoonleft",!0),ke(Se,Me,Le,"\u22b8","\\multimap",!0),ke(Se,Me,Le,"\u21ad","\\leftrightsquigarrow",!0),ke(Se,Me,Le,"\u21c9","\\rightrightarrows",!0),ke(Se,Me,Le,"\u21c4","\\rightleftarrows",!0),ke(Se,Me,Le,"\u21a0","\\twoheadrightarrow",!0),ke(Se,Me,Le,"\u21a3","\\rightarrowtail",!0),ke(Se,Me,Le,"\u21ac","\\looparrowright",!0),ke(Se,Me,Le,"\u21b7","\\curvearrowright",!0),ke(Se,Me,Le,"\u21bb","\\circlearrowright",!0),ke(Se,Me,Le,"\u21b1","\\Rsh",!0),ke(Se,Me,Le,"\u21ca","\\downdownarrows",!0),ke(Se,Me,Le,"\u21be","\\upharpoonright",!0),ke(Se,Me,Le,"\u21c2","\\downharpoonright",!0),ke(Se,Me,Le,"\u21dd","\\rightsquigarrow",!0),ke(Se,Me,Le,"\u21dd","\\leadsto"),ke(Se,Me,Le,"\u21db","\\Rrightarrow",!0),ke(Se,Me,Le,"\u21be","\\restriction"),ke(Se,Oe,Ie,"\u2018","`"),ke(Se,Oe,Ie,"$","\\$"),ke(Ce,Oe,Ie,"$","\\$"),ke(Ce,Oe,Ie,"$","\\textdollar"),ke(Se,Oe,Ie,"%","\\%"),ke(Ce,Oe,Ie,"%","\\%"),ke(Se,Oe,Ie,"_","\\_"),ke(Ce,Oe,Ie,"_","\\_"),ke(Ce,Oe,Ie,"_","\\textunderscore"),ke(Se,Oe,Ie,"\u2220","\\angle",!0),ke(Se,Oe,Ie,"\u221e","\\infty",!0),ke(Se,Oe,Ie,"\u2032","\\prime"),ke(Se,Oe,Ie,"\u25b3","\\triangle"),ke(Se,Oe,Ie,"\u0393","\\Gamma",!0),ke(Se,Oe,Ie,"\u0394","\\Delta",!0),ke(Se,Oe,Ie,"\u0398","\\Theta",!0),ke(Se,Oe,Ie,"\u039b","\\Lambda",!0),ke(Se,Oe,Ie,"\u039e","\\Xi",!0),ke(Se,Oe,Ie,"\u03a0","\\Pi",!0),ke(Se,Oe,Ie,"\u03a3","\\Sigma",!0),ke(Se,Oe,Ie,"\u03a5","\\Upsilon",!0),ke(Se,Oe,Ie,"\u03a6","\\Phi",!0),ke(Se,Oe,Ie,"\u03a8","\\Psi",!0),ke(Se,Oe,Ie,"\u03a9","\\Omega",!0),ke(Se,Oe,Ie,"A","\u0391"),ke(Se,Oe,Ie,"B","\u0392"),ke(Se,Oe,Ie,"E","\u0395"),ke(Se,Oe,Ie,"Z","\u0396"),ke(Se,Oe,Ie,"H","\u0397"),ke(Se,Oe,Ie,"I","\u0399"),ke(Se,Oe,Ie,"K","\u039a"),ke(Se,Oe,Ie,"M","\u039c"),ke(Se,Oe,Ie,"N","\u039d"),ke(Se,Oe,Ie,"O","\u039f"),ke(Se,Oe,Ie,"P","\u03a1"),ke(Se,Oe,Ie,"T","\u03a4"),ke(Se,Oe,Ie,"X","\u03a7"),ke(Se,Oe,Ie,"\xac","\\neg",!0),ke(Se,Oe,Ie,"\xac","\\lnot"),ke(Se,Oe,Ie,"\u22a4","\\top"),ke(Se,Oe,Ie,"\u22a5","\\bot"),ke(Se,Oe,Ie,"\u2205","\\emptyset"),ke(Se,Me,Ie,"\u2205","\\varnothing"),ke(Se,Oe,je,"\u03b1","\\alpha",!0),ke(Se,Oe,je,"\u03b2","\\beta",!0),ke(Se,Oe,je,"\u03b3","\\gamma",!0),ke(Se,Oe,je,"\u03b4","\\delta",!0),ke(Se,Oe,je,"\u03f5","\\epsilon",!0),ke(Se,Oe,je,"\u03b6","\\zeta",!0),ke(Se,Oe,je,"\u03b7","\\eta",!0),ke(Se,Oe,je,"\u03b8","\\theta",!0),ke(Se,Oe,je,"\u03b9","\\iota",!0),ke(Se,Oe,je,"\u03ba","\\kappa",!0),ke(Se,Oe,je,"\u03bb","\\lambda",!0),ke(Se,Oe,je,"\u03bc","\\mu",!0),ke(Se,Oe,je,"\u03bd","\\nu",!0),ke(Se,Oe,je,"\u03be","\\xi",!0),ke(Se,Oe,je,"\u03bf","\\omicron",!0),ke(Se,Oe,je,"\u03c0","\\pi",!0),ke(Se,Oe,je,"\u03c1","\\rho",!0),ke(Se,Oe,je,"\u03c3","\\sigma",!0),ke(Se,Oe,je,"\u03c4","\\tau",!0),ke(Se,Oe,je,"\u03c5","\\upsilon",!0),ke(Se,Oe,je,"\u03d5","\\phi",!0),ke(Se,Oe,je,"\u03c7","\\chi",!0),ke(Se,Oe,je,"\u03c8","\\psi",!0),ke(Se,Oe,je,"\u03c9","\\omega",!0),ke(Se,Oe,je,"\u03b5","\\varepsilon",!0),ke(Se,Oe,je,"\u03d1","\\vartheta",!0),ke(Se,Oe,je,"\u03d6","\\varpi",!0),ke(Se,Oe,je,"\u03f1","\\varrho",!0),ke(Se,Oe,je,"\u03c2","\\varsigma",!0),ke(Se,Oe,je,"\u03c6","\\varphi",!0),ke(Se,Oe,Ae,"\u2217","*"),ke(Se,Oe,Ae,"+","+"),ke(Se,Oe,Ae,"\u2212","-"),ke(Se,Oe,Ae,"\u22c5","\\cdot",!0),ke(Se,Oe,Ae,"\u2218","\\circ"),ke(Se,Oe,Ae,"\xf7","\\div",!0),ke(Se,Oe,Ae,"\xb1","\\pm",!0),ke(Se,Oe,Ae,"\xd7","\\times",!0),ke(Se,Oe,Ae,"\u2229","\\cap",!0),ke(Se,Oe,Ae,"\u222a","\\cup",!0),ke(Se,Oe,Ae,"\u2216","\\setminus"),ke(Se,Oe,Ae,"\u2227","\\land"),ke(Se,Oe,Ae,"\u2228","\\lor"),ke(Se,Oe,Ae,"\u2227","\\wedge",!0),ke(Se,Oe,Ae,"\u2228","\\vee",!0),ke(Se,Oe,Ie,"\u221a","\\surd"),ke(Se,Oe,Pe,"(","("),ke(Se,Oe,Pe,"[","["),ke(Se,Oe,Pe,"\u27e8","\\langle",!0),ke(Se,Oe,Pe,"\u2223","\\lvert"),ke(Se,Oe,Pe,"\u2225","\\lVert"),ke(Se,Oe,Ee,")",")"),ke(Se,Oe,Ee,"]","]"),ke(Se,Oe,Ee,"?","?"),ke(Se,Oe,Ee,"!","!"),ke(Se,Oe,Ee,"\u27e9","\\rangle",!0),ke(Se,Oe,Ee,"\u2223","\\rvert"),ke(Se,Oe,Ee,"\u2225","\\rVert"),ke(Se,Oe,Le,"=","="),ke(Se,Oe,Le,"<","<"),ke(Se,Oe,Le,">",">"),ke(Se,Oe,Le,":",":"),ke(Se,Oe,Le,"\u2248","\\approx",!0),ke(Se,Oe,Le,"\u2245","\\cong",!0),ke(Se,Oe,Le,"\u2265","\\ge"),ke(Se,Oe,Le,"\u2265","\\geq",!0),ke(Se,Oe,Le,"\u2190","\\gets"),ke(Se,Oe,Le,">","\\gt"),ke(Se,Oe,Le,"\u2208","\\in",!0),ke(Se,Oe,Le,"\ue020","\\@not"),ke(Se,Oe,Le,"\u2282","\\subset",!0),ke(Se,Oe,Le,"\u2283","\\supset",!0),ke(Se,Oe,Le,"\u2286","\\subseteq",!0),ke(Se,Oe,Le,"\u2287","\\supseteq",!0),ke(Se,Me,Le,"\u2288","\\nsubseteq",!0),ke(Se,Me,Le,"\u2289","\\nsupseteq",!0),ke(Se,Oe,Le,"\u22a8","\\models"),ke(Se,Oe,Le,"\u2190","\\leftarrow",!0),ke(Se,Oe,Le,"\u2264","\\le"),ke(Se,Oe,Le,"\u2264","\\leq",!0),ke(Se,Oe,Le,"<","\\lt"),ke(Se,Oe,Le,"\u2192","\\rightarrow",!0),ke(Se,Oe,Le,"\u2192","\\to"),ke(Se,Me,Le,"\u2271","\\ngeq",!0),ke(Se,Me,Le,"\u2270","\\nleq",!0),ke(Se,Oe,De,"\xa0","\\ "),ke(Se,Oe,De,"\xa0","~"),ke(Se,Oe,De,"\xa0","\\space"),ke(Se,Oe,De,"\xa0","\\nobreakspace"),ke(Ce,Oe,De,"\xa0","\\ "),ke(Ce,Oe,De,"\xa0","~"),ke(Ce,Oe,De,"\xa0","\\space"),ke(Ce,Oe,De,"\xa0","\\nobreakspace"),ke(Se,Oe,De,null,"\\nobreak"),ke(Se,Oe,De,null,"\\allowbreak"),ke(Se,Oe,Fe,",",","),ke(Se,Oe,Fe,";",";"),ke(Se,Me,Ae,"\u22bc","\\barwedge",!0),ke(Se,Me,Ae,"\u22bb","\\veebar",!0),ke(Se,Oe,Ae,"\u2299","\\odot",!0),ke(Se,Oe,Ae,"\u2295","\\oplus",!0),ke(Se,Oe,Ae,"\u2297","\\otimes",!0),ke(Se,Oe,Ie,"\u2202","\\partial",!0),ke(Se,Oe,Ae,"\u2298","\\oslash",!0),ke(Se,Me,Ae,"\u229a","\\circledcirc",!0),ke(Se,Me,Ae,"\u22a1","\\boxdot",!0),ke(Se,Oe,Ae,"\u25b3","\\bigtriangleup"),ke(Se,Oe,Ae,"\u25bd","\\bigtriangledown"),ke(Se,Oe,Ae,"\u2020","\\dagger"),ke(Se,Oe,Ae,"\u22c4","\\diamond"),ke(Se,Oe,Ae,"\u22c6","\\star"),ke(Se,Oe,Ae,"\u25c3","\\triangleleft"),ke(Se,Oe,Ae,"\u25b9","\\triangleright"),ke(Se,Oe,Pe,"{","\\{"),ke(Ce,Oe,Ie,"{","\\{"),ke(Ce,Oe,Ie,"{","\\textbraceleft"),ke(Se,Oe,Ee,"}","\\}"),ke(Ce,Oe,Ie,"}","\\}"),ke(Ce,Oe,Ie,"}","\\textbraceright"),ke(Se,Oe,Pe,"{","\\lbrace"),ke(Se,Oe,Ee,"}","\\rbrace"),ke(Se,Oe,Pe,"[","\\lbrack"),ke(Ce,Oe,Ie,"[","\\lbrack"),ke(Se,Oe,Ee,"]","\\rbrack"),ke(Ce,Oe,Ie,"]","\\rbrack"),ke(Se,Oe,Pe,"(","\\lparen"),ke(Se,Oe,Ee,")","\\rparen"),ke(Ce,Oe,Ie,"<","\\textless"),ke(Ce,Oe,Ie,">","\\textgreater"),ke(Se,Oe,Pe,"\u230a","\\lfloor",!0),ke(Se,Oe,Ee,"\u230b","\\rfloor",!0),ke(Se,Oe,Pe,"\u2308","\\lceil",!0),ke(Se,Oe,Ee,"\u2309","\\rceil",!0),ke(Se,Oe,Ie,"\\","\\backslash"),ke(Se,Oe,Ie,"\u2223","|"),ke(Se,Oe,Ie,"\u2223","\\vert"),ke(Ce,Oe,Ie,"|","\\textbar"),ke(Se,Oe,Ie,"\u2225","\\|"),ke(Se,Oe,Ie,"\u2225","\\Vert"),ke(Ce,Oe,Ie,"\u2225","\\textbardbl"),ke(Ce,Oe,Ie,"~","\\textasciitilde"),ke(Ce,Oe,Ie,"\\","\\textbackslash"),ke(Ce,Oe,Ie,"^","\\textasciicircum"),ke(Se,Oe,Le,"\u2191","\\uparrow",!0),ke(Se,Oe,Le,"\u21d1","\\Uparrow",!0),ke(Se,Oe,Le,"\u2193","\\downarrow",!0),ke(Se,Oe,Le,"\u21d3","\\Downarrow",!0),ke(Se,Oe,Le,"\u2195","\\updownarrow",!0),ke(Se,Oe,Le,"\u21d5","\\Updownarrow",!0),ke(Se,Oe,ze,"\u2210","\\coprod"),ke(Se,Oe,ze,"\u22c1","\\bigvee"),ke(Se,Oe,ze,"\u22c0","\\bigwedge"),ke(Se,Oe,ze,"\u2a04","\\biguplus"),ke(Se,Oe,ze,"\u22c2","\\bigcap"),ke(Se,Oe,ze,"\u22c3","\\bigcup"),ke(Se,Oe,ze,"\u222b","\\int"),ke(Se,Oe,ze,"\u222b","\\intop"),ke(Se,Oe,ze,"\u222c","\\iint"),ke(Se,Oe,ze,"\u222d","\\iiint"),ke(Se,Oe,ze,"\u220f","\\prod"),ke(Se,Oe,ze,"\u2211","\\sum"),ke(Se,Oe,ze,"\u2a02","\\bigotimes"),ke(Se,Oe,ze,"\u2a01","\\bigoplus"),ke(Se,Oe,ze,"\u2a00","\\bigodot"),ke(Se,Oe,ze,"\u222e","\\oint"),ke(Se,Oe,ze,"\u222f","\\oiint"),ke(Se,Oe,ze,"\u2230","\\oiiint"),ke(Se,Oe,ze,"\u2a06","\\bigsqcup"),ke(Se,Oe,ze,"\u222b","\\smallint"),ke(Ce,Oe,Ne,"\u2026","\\textellipsis"),ke(Se,Oe,Ne,"\u2026","\\mathellipsis"),ke(Ce,Oe,Ne,"\u2026","\\ldots",!0),ke(Se,Oe,Ne,"\u2026","\\ldots",!0),ke(Se,Oe,Ne,"\u22ef","\\@cdots",!0),ke(Se,Oe,Ne,"\u22f1","\\ddots",!0),ke(Se,Oe,Ie,"\u22ee","\\varvdots"),ke(Se,Oe,Te,"\u02ca","\\acute"),ke(Se,Oe,Te,"\u02cb","\\grave"),ke(Se,Oe,Te,"\xa8","\\ddot"),ke(Se,Oe,Te,"~","\\tilde"),ke(Se,Oe,Te,"\u02c9","\\bar"),ke(Se,Oe,Te,"\u02d8","\\breve"),ke(Se,Oe,Te,"\u02c7","\\check"),ke(Se,Oe,Te,"^","\\hat"),ke(Se,Oe,Te,"\u20d7","\\vec"),ke(Se,Oe,Te,"\u02d9","\\dot"),ke(Se,Oe,Te,"\u02da","\\mathring"),ke(Se,Oe,je,"\u0131","\\imath",!0),ke(Se,Oe,je,"\u0237","\\jmath",!0),ke(Ce,Oe,Ie,"\u0131","\\i",!0),ke(Ce,Oe,Ie,"\u0237","\\j",!0),ke(Ce,Oe,Ie,"\xdf","\\ss",!0),ke(Ce,Oe,Ie,"\xe6","\\ae",!0),ke(Ce,Oe,Ie,"\xe6","\\ae",!0),ke(Ce,Oe,Ie,"\u0153","\\oe",!0),ke(Ce,Oe,Ie,"\xf8","\\o",!0),ke(Ce,Oe,Ie,"\xc6","\\AE",!0),ke(Ce,Oe,Ie,"\u0152","\\OE",!0),ke(Ce,Oe,Ie,"\xd8","\\O",!0),ke(Ce,Oe,Te,"\u02ca","\\'"),ke(Ce,Oe,Te,"\u02cb","\\`"),ke(Ce,Oe,Te,"\u02c6","\\^"),ke(Ce,Oe,Te,"\u02dc","\\~"),ke(Ce,Oe,Te,"\u02c9","\\="),ke(Ce,Oe,Te,"\u02d8","\\u"),ke(Ce,Oe,Te,"\u02d9","\\."),ke(Ce,Oe,Te,"\u02da","\\r"),ke(Ce,Oe,Te,"\u02c7","\\v"),ke(Ce,Oe,Te,"\xa8",'\\"'),ke(Ce,Oe,Te,"\u02dd","\\H"),ke(Ce,Oe,Te,"\u25ef","\\textcircled");var Re={"--":!0,"---":!0,"``":!0,"''":!0};ke(Ce,Oe,Ie,"\u2013","--"),ke(Ce,Oe,Ie,"\u2013","\\textendash"),ke(Ce,Oe,Ie,"\u2014","---"),ke(Ce,Oe,Ie,"\u2014","\\textemdash"),ke(Ce,Oe,Ie,"\u2018","`"),ke(Ce,Oe,Ie,"\u2018","\\textquoteleft"),ke(Ce,Oe,Ie,"\u2019","'"),ke(Ce,Oe,Ie,"\u2019","\\textquoteright"),ke(Ce,Oe,Ie,"\u201c","``"),ke(Ce,Oe,Ie,"\u201c","\\textquotedblleft"),ke(Ce,Oe,Ie,"\u201d","''"),ke(Ce,Oe,Ie,"\u201d","\\textquotedblright"),ke(Se,Oe,Ie,"\xb0","\\degree",!0),ke(Ce,Oe,Ie,"\xb0","\\degree"),ke(Ce,Oe,Ie,"\xb0","\\textdegree",!0),ke(Se,Oe,je,"\xa3","\\pounds"),ke(Se,Oe,je,"\xa3","\\mathsterling",!0),ke(Ce,Oe,je,"\xa3","\\pounds"),ke(Ce,Oe,je,"\xa3","\\textsterling",!0),ke(Se,Me,Ie,"\u2720","\\maltese"),ke(Ce,Me,Ie,"\u2720","\\maltese"),ke(Ce,Oe,De,"\xa0","\\ "),ke(Ce,Oe,De,"\xa0"," "),ke(Ce,Oe,De,"\xa0","~");for(var _e='0123456789/@."',Be=0;Be<_e.length;Be++){var qe=_e.charAt(Be);ke(Se,Oe,Ie,qe,qe)}for(var He='0123456789!@*()-=+[]<>|";:?/.,',Ve=0;Ve<He.length;Ve++){var We=He.charAt(Ve);ke(Ce,Oe,Ie,We,We)}for(var Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",$e=0;$e<Ue.length;$e++){var Ge=Ue.charAt($e);ke(Se,Oe,je,Ge,Ge),ke(Ce,Oe,Ie,Ge,Ge)}ke(Se,Me,Ie,"C","\u2102"),ke(Ce,Me,Ie,"C","\u2102"),ke(Se,Me,Ie,"H","\u210d"),ke(Ce,Me,Ie,"H","\u210d"),ke(Se,Me,Ie,"N","\u2115"),ke(Ce,Me,Ie,"N","\u2115"),ke(Se,Me,Ie,"P","\u2119"),ke(Ce,Me,Ie,"P","\u2119"),ke(Se,Me,Ie,"Q","\u211a"),ke(Ce,Me,Ie,"Q","\u211a"),ke(Se,Me,Ie,"R","\u211d"),ke(Ce,Me,Ie,"R","\u211d"),ke(Se,Me,Ie,"Z","\u2124"),ke(Ce,Me,Ie,"Z","\u2124"),ke(Se,Oe,je,"h","\u210e"),ke(Ce,Oe,je,"h","\u210e");for(var Ke="",Ye=0;Ye<Ue.length;Ye++){var Xe=Ue.charAt(Ye);Ke=String.fromCharCode(55349,56320+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56372+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56424+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56580+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56736+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56788+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56840+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56944+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ye<26&&(Ke=String.fromCharCode(55349,56632+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke),Ke=String.fromCharCode(55349,56476+Ye),ke(Se,Oe,je,Xe,Ke),ke(Ce,Oe,Ie,Xe,Ke))}Ke=String.fromCharCode(55349,56668),ke(Se,Oe,je,"k",Ke),ke(Ce,Oe,Ie,"k",Ke);for(var Ze=0;Ze<10;Ze++){var Je=Ze.toString();Ke=String.fromCharCode(55349,57294+Ze),ke(Se,Oe,je,Je,Ke),ke(Ce,Oe,Ie,Je,Ke),Ke=String.fromCharCode(55349,57314+Ze),ke(Se,Oe,je,Je,Ke),ke(Ce,Oe,Ie,Je,Ke),Ke=String.fromCharCode(55349,57324+Ze),ke(Se,Oe,je,Je,Ke),ke(Ce,Oe,Ie,Je,Ke),Ke=String.fromCharCode(55349,57334+Ze),ke(Se,Oe,je,Je,Ke),ke(Ce,Oe,Ie,Je,Ke)}for(var Qe="\xc7\xd0\xde\xe7\xfe",et=0;et<Qe.length;et++){var tt=Qe.charAt(et);ke(Se,Oe,je,tt,tt),ke(Ce,Oe,Ie,tt,tt)}ke(Ce,Oe,Ie,"\xf0","\xf0"),ke(Ce,Oe,Ie,"\u2013","\u2013"),ke(Ce,Oe,Ie,"\u2014","\u2014"),ke(Ce,Oe,Ie,"\u2018","\u2018"),ke(Ce,Oe,Ie,"\u2019","\u2019"),ke(Ce,Oe,Ie,"\u201c","\u201c"),ke(Ce,Oe,Ie,"\u201d","\u201d");var rt=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathdefault","textit","Math-Italic"],["mathdefault","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["","",""],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],nt=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],it=function(e,t){var r=e.charCodeAt(0),n=e.charCodeAt(1),i=1024*(r-55296)+(n-56320)+65536,o="math"===t?0:1;if(119808<=i&&i<120484){var s=Math.floor((i-119808)/26);return[rt[s][2],rt[s][o]]}if(120782<=i&&i<=120831){var l=Math.floor((i-120782)/10);return[nt[l][2],nt[l][o]]}if(120485===i||120486===i)return[rt[0][2],rt[0][o]];if(120486<i&&i<120782)return["",""];throw new a("Unsupported character: "+e)},ot=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],at=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],st=function(e,t){return t.size<2?e:ot[e-1][t.size-1]},lt=function(){function e(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=at[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}var t=e.prototype;return t.extend=function(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new e(r)},t.havingStyle=function(e){return this.style===e?this:this.extend({style:e,size:st(this.textSize,e)})},t.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},t.havingSize=function(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:at[e-1]})},t.havingBaseStyle=function(t){t=t||this.style.text();var r=st(e.BASESIZE,t);return this.size===r&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})},t.havingBaseSizing=function(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})},t.withColor=function(e){return this.extend({color:e})},t.withPhantom=function(){return this.extend({phantom:!0})},t.withFont=function(e){return this.extend({font:e})},t.withTextFontFamily=function(e){return this.extend({fontFamily:e,font:""})},t.withTextFontWeight=function(e){return this.extend({fontWeight:e,font:""})},t.withTextFontShape=function(e){return this.extend({fontShape:e,font:""})},t.sizingClasses=function(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]},t.baseSizingClasses=function(){return this.size!==e.BASESIZE?["sizing","reset-size"+this.size,"size"+e.BASESIZE]:[]},t.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=ve(this.size)),this._fontMetrics},t.getColor=function(){return this.phantom?"transparent":this.color},e}();lt.BASESIZE=6;var ct=lt,ut={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},ft={ex:!0,em:!0,mu:!0},ht=function(e){return"string"!==typeof e&&(e=e.unit),e in ut||e in ft||"ex"===e},pt=function(e,t){var r;if(e.unit in ut)r=ut[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var n;if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else{if("em"!==e.unit)throw new a("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},dt=["\\imath","\u0131","\\jmath","\u0237","\\pounds","\\mathsterling","\\textsterling","\xa3"],mt=function(e,t,r){return we[r][e]&&we[r][e].replace&&(e=we[r][e].replace),{value:e,metrics:me(e,t,r)}},gt=function(e,t,r,n,i){var o,a=mt(e,t,r),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),o=new oe(e,s.height,s.depth,l,s.skew,s.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),o=new oe(e,0,0,0,0,0,i);if(n){o.maxFontSize=n.sizeMultiplier,n.style.isTight()&&o.classes.push("mtight");var c=n.getColor();c&&(o.style.color=c)}return o},vt=function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&mt(e,"Main-Bold",t).metrics?gt(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===we[t][e].font?gt(e,"Main-Regular",t,r,n):gt(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},yt=function(e,t,r,n){return/[0-9]/.test(e.charAt(0))||y.contains(dt,e)?{fontName:"Main-Italic",fontClass:"mathit"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},bt=function(e,t,r,n){return y.contains(dt,e)?{fontName:"Main-Italic",fontClass:"mathit"}:/[0-9]/.test(e.charAt(0))?{fontName:"Caligraphic-Regular",fontClass:"mathcal"}:{fontName:"Math-Italic",fontClass:"mathdefault"}},xt=function(e,t,r,n){return mt(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},wt=function(e,t,r){var n=e.mode,i=e.text,o=["mord"],a="math"===n||"text"===n&&t.font,s=a?t.font:t.fontFamily;if(55349===i.charCodeAt(0)){var l=it(i,n),c=l[0],u=l[1];return gt(i,c,n,t,o.concat(u))}if(s){var f,h;if("boldsymbol"===s||"mathnormal"===s){var p="boldsymbol"===s?xt(i,n,t,o):bt(i,n,t,o);f=p.fontName,h=[p.fontClass]}else y.contains(dt,i)?(f="Main-Italic",h=["mathit"]):a?(f=Lt[s].fontName,h=[s]):(f=Ft(s,t.fontWeight,t.fontShape),h=[s,t.fontWeight,t.fontShape]);if(mt(i,f,n).metrics)return gt(i,f,n,t,o.concat(h));if(Re.hasOwnProperty(i)&&"Typewriter"===f.substr(0,10)){for(var d=[],m=0;m<i.length;m++)d.push(gt(i[m],f,n,t,o.concat(h)));return Et(d)}}if("mathord"===r){var g=yt(i,n,t,o);return gt(i,g.fontName,n,t,o.concat([g.fontClass]))}if("textord"===r){var v=we[n][i]&&we[n][i].font;if("ams"===v){var b=Ft("amsrm",t.fontWeight,t.fontShape);return gt(i,b,n,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==v&&v){var x=Ft(v,t.fontWeight,t.fontShape);return gt(i,x,n,t,o.concat(x,t.fontWeight,t.fontShape))}var w=Ft("textrm",t.fontWeight,t.fontShape);return gt(i,w,n,t,o.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},kt=function(e,t){if(Z(e.classes)!==Z(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},St=function(e){for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof oe&&n instanceof oe&&kt(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},Ct=function(e){for(var t=0,r=0,n=0,i=0;i<e.children.length;i++){var o=e.children[i];o.height>t&&(t=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>n&&(n=o.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},Ot=function(e,t,r,n){var i=new te(e,t,r,n);return Ct(i),i},Mt=function(e,t,r,n){return new te(e,t,r,n)},Tt=function(e,t,r){var n=Ot([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=n.height+"em",n.maxFontSize=1,n},At=function(e,t,r,n){var i=new re(e,t,r,n);return Ct(i),i},Et=function(e){var t=new X(e);return Ct(t),t},Nt=function(e,t){return e instanceof X?Ot([],[e],t):e},jt=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],n=-t[0].shift-t[0].elem.depth,i=n,o=1;o<t.length;o++){var a=-t[o].shift-i-t[o].elem.depth,s=a-(t[o-1].elem.height+t[o-1].elem.depth);i+=a,r.push({type:"kern",size:s}),r.push(t[o])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var f=e.children[u];c-="kern"===f.type?f.size:f.elem.height+f.elem.depth}l=c}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}},zt=function(e,t){for(var r=jt(e),n=r.children,i=r.depth,o=0,a=0;a<n.length;a++){var s=n[a];if("elem"===s.type){var l=s.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=Ot(["pstrut"],[]);c.style.height=o+"em";for(var u=[],f=i,h=i,p=i,d=0;d<n.length;d++){var m=n[d];if("kern"===m.type)p+=m.size;else{var g=m.elem,v=m.wrapperClasses||[],y=m.wrapperStyle||{},b=Ot(v,[c,g],void 0,y);b.style.top=-o-p-g.depth+"em",m.marginLeft&&(b.style.marginLeft=m.marginLeft),m.marginRight&&(b.style.marginRight=m.marginRight),u.push(b),p+=g.height+g.depth}f=Math.min(f,p),h=Math.max(h,p)}var x,w=Ot(["vlist"],u);if(w.style.height=h+"em",f<0){var k=Ot([],[]),S=Ot(["vlist"],[k]);S.style.height=-f+"em";var C=Ot(["vlist-s"],[new oe("\u200b")]);x=[Ot(["vlist-r"],[w,C]),Ot(["vlist-r"],[S])]}else x=[Ot(["vlist-r"],[w])];var O=Ot(["vlist-t"],x);return 2===x.length&&O.classes.push("vlist-t2"),O.height=h,O.depth=-f,O},Pt=function(e,t){var r=Ot(["mspace"],[],t),n=pt(e,t);return r.style.marginRight=n+"em",r},Ft=function(e,t,r){var n,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return n="textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+n},Lt={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Dt={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},It=function(e,t){var r=Dt[e],n=r[0],i=r[1],o=r[2],a=new se(n),s=new ae([a],{width:i+"em",height:o+"em",style:"width:"+i+"em",viewBox:"0 0 "+1e3*i+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=Mt(["overlay"],[s],t);return l.height=o,l.style.height=o+"em",l.style.width=i+"em",l},Rt={fontMap:Lt,makeSymbol:gt,mathsym:vt,makeSpan:Ot,makeSvgSpan:Mt,makeLineSpan:Tt,makeAnchor:At,makeFragment:Et,wrapFragment:Nt,makeVList:zt,makeOrd:wt,makeGlue:Pt,staticSvg:It,svgData:Dt,tryCombineChars:St};function _t(e,t){var r=Bt(e,t);if(!r)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return r}function Bt(e,t){return e&&e.type===t?e:null}function qt(e,t){var r=Ht(e,t);if(!r)throw new Error('Expected node of type "atom" and family "'+t+'", but got '+(e?"atom"===e.type?"atom of family "+e.family:"node of type "+e.type:String(e)));return r}function Ht(e,t){return e&&"atom"===e.type&&e.family===t?e:null}function Vt(e){var t=Wt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Wt(e){return e&&("atom"===e.type||be.hasOwnProperty(e.type))?e:null}var Ut={number:3,unit:"mu"},$t={number:4,unit:"mu"},Gt={number:5,unit:"mu"},Kt={mord:{mop:Ut,mbin:$t,mrel:Gt,minner:Ut},mop:{mord:Ut,mop:Ut,mrel:Gt,minner:Ut},mbin:{mord:$t,mop:$t,mopen:$t,minner:$t},mrel:{mord:Gt,mop:Gt,mopen:Gt,minner:Gt},mopen:{},mclose:{mop:Ut,mbin:$t,mrel:Gt,minner:Ut},mpunct:{mord:Ut,mop:Ut,mrel:Gt,mopen:Ut,mclose:Ut,mpunct:Ut,minner:Ut},minner:{mord:Ut,mop:Ut,mbin:$t,mrel:Gt,mopen:Ut,mpunct:Ut,minner:Ut}},Yt={mord:{mop:Ut},mop:{mord:Ut,mop:Ut},mbin:{},mrel:{},mopen:{},mclose:{mop:Ut},mpunct:{},minner:{mop:Ut}},Xt={},Zt={},Jt={};function Qt(e){for(var t=e.type,r=e.names,n=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:n.numArgs,argTypes:n.argTypes,greediness:void 0===n.greediness?1:n.greediness,allowedInText:!!n.allowedInText,allowedInMath:void 0===n.allowedInMath||n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,handler:i},l=0;l<r.length;++l)Xt[r[l]]=s;t&&(o&&(Zt[t]=o),a&&(Jt[t]=a))}function er(e){var t=e.type,r=e.htmlBuilder,n=e.mathmlBuilder;Qt({type:t,names:[],props:{numArgs:0},handler:function(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var tr=function(e){var t=Bt(e,"ordgroup");return t?t.body:[e]},rr=Rt.makeSpan,nr=["leftmost","mbin","mopen","mrel","mop","mpunct"],ir=["rightmost","mrel","mclose","mpunct"],or={display:D.DISPLAY,text:D.TEXT,script:D.SCRIPT,scriptscript:D.SCRIPTSCRIPT},ar={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},sr=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var i=[],o=0;o<e.length;o++){var a=pr(e[o],t);if(a instanceof X){var s=a.children;i.push.apply(i,s)}else i.push(a)}if(!r)return i;var l=t;if(1===e.length){var c=Bt(e[0],"sizing")||Bt(e[0],"styling");c&&("sizing"===c.type?l=t.havingSize(c.size):"styling"===c.type&&(l=t.havingStyle(or[c.style])))}var u=rr([n[0]||"leftmost"],[],t),f=rr([n[1]||"rightmost"],[],t);return lr(i,(function(e,t){var r=t.classes[0],n=e.classes[0];"mbin"===r&&y.contains(ir,n)?t.classes[0]="mord":"mbin"===n&&y.contains(nr,r)&&(e.classes[0]="mord")}),{node:u},f),lr(i,(function(e,t){var r=fr(t),n=fr(e),i=r&&n?e.hasClass("mtight")?Yt[r][n]:Kt[r][n]:null;if(i)return Rt.makeGlue(i,l)}),{node:u},f),i},lr=function e(t,r,n,i){i&&t.push(i);for(var o=0;o<t.length;o++){var a=t[o],s=cr(a);if(s)e(s.children,r,n);else if("mspace"!==a.classes[0]){var l=r(a,n.node);l&&(n.insertAfter?n.insertAfter(l):(t.unshift(l),o++)),n.node=a,n.insertAfter=function(e){return function(r){t.splice(e+1,0,r),o++}}(o)}}i&&t.pop()},cr=function(e){return e instanceof X||e instanceof re?e:null},ur=function e(t,r){var n=cr(t);if(n){var i=n.children;if(i.length){if("right"===r)return e(i[i.length-1],"right");if("left"===r)return e(i[0],"left")}}return t},fr=function(e,t){return e?(t&&(e=ur(e,t)),ar[e.classes[0]]||null):null},hr=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return rr(t.concat(r))},pr=function(e,t,r){if(!e)return rr();if(Zt[e.type]){var n=Zt[e.type](e,t);if(r&&t.size!==r.size){n=rr(t.sizingClasses(r),[n],t);var i=t.sizeMultiplier/r.sizeMultiplier;n.height*=i,n.depth*=i}return n}throw new a("Got group of unknown type: '"+e.type+"'")};function dr(e,t){var r=rr(["base"],e,t),n=rr(["strut"]);return n.style.height=r.height+r.depth+"em",n.style.verticalAlign=-r.depth+"em",r.children.unshift(n),r}function mr(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);for(var n,i=sr(e,t,!0),o=[],a=[],s=0;s<i.length;s++)if(a.push(i[s]),i[s].hasClass("mbin")||i[s].hasClass("mrel")||i[s].hasClass("allowbreak")){var l=!1;while(s<i.length-1&&i[s+1].hasClass("mspace")&&!i[s+1].hasClass("newline"))s++,a.push(i[s]),i[s].hasClass("nobreak")&&(l=!0);l||(o.push(dr(a,t)),a=[])}else i[s].hasClass("newline")&&(a.pop(),a.length>0&&(o.push(dr(a,t)),a=[]),o.push(i[s]));a.length>0&&o.push(dr(a,t)),r&&(n=dr(sr(r,t,!0)),n.classes=["tag"],o.push(n));var c=rr(["katex-html"],o);if(c.setAttribute("aria-hidden","true"),n){var u=n.children[0];u.style.height=c.height+c.depth+"em",u.style.verticalAlign=-c.depth+"em"}return c}function gr(e){return new X(e)}var vr=function(){function e(e,t){this.type=void 0,this.attributes=void 0,this.children=void 0,this.type=e,this.attributes={},this.children=t||[]}var t=e.prototype;return t.setAttribute=function(e,t){this.attributes[e]=t},t.getAttribute=function(e){return this.attributes[e]},t.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e},t.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=y.escape(this.attributes[t]),e+='"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">",e},t.toText=function(){return this.children.map((function(e){return e.toText()})).join("")},e}(),yr=function(){function e(e){this.text=void 0,this.text=e}var t=e.prototype;return t.toNode=function(){return document.createTextNode(this.text)},t.toMarkup=function(){return y.escape(this.toText())},t.toText=function(){return this.text},e}(),br=function(){function e(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}var t=e.prototype;return t.toNode=function(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",this.width+"em"),e},t.toMarkup=function(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+this.width+'em"/>'},t.toText=function(){return this.character?this.character:" "},e}(),xr={MathNode:vr,TextNode:yr,SpaceNode:br,newDocumentFragment:gr},wr=function(e,t,r){return!we[t][e]||!we[t][e].replace||55349===e.charCodeAt(0)||Re.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.substr(4,2)||r.font&&"tt"===r.font.substr(4,2))||(e=we[t][e].replace),new xr.TextNode(e)},kr=function(e){return 1===e.length?e[0]:new xr.MathNode("mrow",e)},Sr=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var i=e.text;if(y.contains(["\\imath","\\jmath"],i))return null;we[n][i]&&we[n][i].replace&&(i=we[n][i].replace);var o=Rt.fontMap[r].fontName;return me(i,o,n)?Rt.fontMap[r].variant:null},Cr=function(e,t,r){if(1===e.length){var n=Mr(e[0],t);return r&&n instanceof vr&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i,o=[],a=0;a<e.length;a++){var s=Mr(e[a],t);if(s instanceof vr&&i instanceof vr){if("mtext"===s.type&&"mtext"===i.type&&s.getAttribute("mathvariant")===i.getAttribute("mathvariant")){var l;(l=i.children).push.apply(l,s.children);continue}if("mn"===s.type&&"mn"===i.type){var c;(c=i.children).push.apply(c,s.children);continue}if("mi"===s.type&&1===s.children.length&&"mn"===i.type){var u=s.children[0];if(u instanceof yr&&"."===u.text){var f;(f=i.children).push.apply(f,s.children);continue}}else if("mi"===i.type&&1===i.children.length){var h=i.children[0];if(h instanceof yr&&"\u0338"===h.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var p=s.children[0];p instanceof yr&&p.text.length>0&&(p.text=p.text.slice(0,1)+"\u0338"+p.text.slice(1),o.pop())}}}o.push(s),i=s}return o},Or=function(e,t,r){return kr(Cr(e,t,r))},Mr=function(e,t){if(!e)return new xr.MathNode("mrow");if(Jt[e.type]){var r=Jt[e.type](e,t);return r}throw new a("Got group of unknown type: '"+e.type+"'")};function Tr(e,t,r,n){var i,o=Cr(e,r);i=1===o.length&&o[0]instanceof vr&&y.contains(["mrow","mtable"],o[0].type)?o[0]:new xr.MathNode("mrow",o);var a=new xr.MathNode("annotation",[new xr.TextNode(t)]);a.setAttribute("encoding","application/x-tex");var s=new xr.MathNode("semantics",[i,a]),l=new xr.MathNode("math",[s]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML");var c=n?"katex":"katex-mathml";return Rt.makeSpan([c],[l])}var Ar=function(e){return new ct({style:e.displayMode?D.DISPLAY:D.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Er=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Rt.makeSpan(r,[e])}return e},Nr=function(e,t,r){var n,i=Ar(r);if("mathml"===r.output)return Tr(e,t,i,!0);if("html"===r.output){var o=mr(e,i);n=Rt.makeSpan(["katex"],[o])}else{var a=Tr(e,t,i,!1),s=mr(e,i);n=Rt.makeSpan(["katex"],[a,s])}return Er(n,r)},jr=function(e,t,r){var n=Ar(r),i=mr(e,n),o=Rt.makeSpan(["katex"],[i]);return Er(o,r)},zr={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb"},Pr=function(e){var t=new xr.MathNode("mo",[new xr.TextNode(zr[e.substr(1)])]);return t.setAttribute("stretchy","true"),t},Fr={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Lr=function(e){return"ordgroup"===e.type?e.body.length:1},Dr=function(e,t){function r(){var r=4e5,n=e.label.substr(1);if(y.contains(["widehat","widecheck","widetilde","utilde"],n)){var i,o,a,s=e,l=Lr(s.base);if(l>5)"widehat"===n||"widecheck"===n?(i=420,r=2364,a=.42,o=n+"4"):(i=312,r=2340,a=.34,o="tilde4");else{var c=[1,1,2,2,3,3][l];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][c],i=[0,239,300,360,420][c],a=[0,.24,.3,.3,.36,.42][c],o=n+c):(r=[0,600,1033,2339,2340][c],i=[0,260,286,306,312][c],a=[0,.26,.286,.3,.306,.34][c],o="tilde"+c)}var u=new se(o),f=new ae([u],{width:"100%",height:a+"em",viewBox:"0 0 "+r+" "+i,preserveAspectRatio:"none"});return{span:Rt.makeSvgSpan([],[f],t),minWidth:0,height:a}}var h,p,d=[],m=Fr[n],g=m[0],v=m[1],b=m[2],x=b/1e3,w=g.length;if(1===w){var k=m[3];h=["hide-tail"],p=[k]}else if(2===w)h=["halfarrow-left","halfarrow-right"],p=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");h=["brace-left","brace-center","brace-right"],p=["xMinYMin","xMidYMin","xMaxYMin"]}for(var S=0;S<w;S++){var C=new se(g[S]),O=new ae([C],{width:"400em",height:x+"em",viewBox:"0 0 "+r+" "+b,preserveAspectRatio:p[S]+" slice"}),M=Rt.makeSvgSpan([h[S]],[O],t);if(1===w)return{span:M,minWidth:v,height:x};M.style.height=x+"em",d.push(M)}return{span:Rt.makeSpan(["stretchy"],d,t),minWidth:v,height:x}}var n=r(),i=n.span,o=n.minWidth,a=n.height;return i.height=a,i.style.height=a+"em",o>0&&(i.style.minWidth=o+"em"),i},Ir=function(e,t,r,n){var i,o=e.height+e.depth+2*r;if(/fbox|color/.test(t)){if(i=Rt.makeSpan(["stretchy",t],[],n),"fbox"===t){var a=n.color&&n.getColor();a&&(i.style.borderColor=a)}}else{var s=[];/^[bx]cancel$/.test(t)&&s.push(new le({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&s.push(new le({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new ae(s,{width:"100%",height:o+"em"});i=Rt.makeSvgSpan([],[l],n)}return i.height=o,i.style.height=o+"em",i},Rr={encloseSpan:Ir,mathMLnode:Pr,svgSpan:Dr},_r=function(e,t){var r,n,i,o=Bt(e,"supsub");o?(n=_t(o.base,"accent"),r=n.base,o.base=r,i=ue(pr(o,t)),o.base=n):(n=_t(e,"accent"),r=n.base);var a=pr(r,t.havingCrampedStyle()),s=n.isShifty&&y.isCharacterBox(r),l=0;if(s){var c=y.getBaseElem(r),u=pr(c,t.havingCrampedStyle());l=ce(u).skew}var f,h=Math.min(a.height,t.fontMetrics().xHeight);if(n.isStretchy)f=Rr.svgSpan(n,t),f=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:f,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+2*l+"em)",marginLeft:2*l+"em"}:void 0}]},t);else{var p,d;"\\vec"===n.label?(p=Rt.staticSvg("vec",t),d=Rt.svgData.vec[1]):(p=Rt.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=ce(p),p.italic=0,d=p.width),f=Rt.makeSpan(["accent-body"],[p]);var m="\\textcircled"===n.label;m&&(f.classes.push("accent-full"),h=a.height);var g=l;m||(g-=d/2),f.style.left=g+"em","\\textcircled"===n.label&&(f.style.top=".2em"),f=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-h},{type:"elem",elem:f}]},t)}var v=Rt.makeSpan(["mord","accent"],[f],t);return i?(i.children[0]=v,i.height=Math.max(v.height,i.height),i.classes[0]="mord",i):v},Br=function(e,t){var r=e.isStretchy?Rr.mathMLnode(e.label):new xr.MathNode("mo",[wr(e.label,e.mode)]),n=new xr.MathNode("mover",[Mr(e.base,t),r]);return n.setAttribute("accent","true"),n},qr=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((function(e){return"\\"+e})).join("|"));Qt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(e,t){var r=t[0],n=!qr.test(e.funcName),i=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:_r,mathmlBuilder:Br}),Qt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=t[0];return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:_r,mathmlBuilder:Br}),Qt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:function(e,t){var r=pr(e.base,t),n=Rr.svgSpan(e,t),i="\\utilde"===e.label?.12:0,o=Rt.makeVList({positionType:"bottom",positionData:n.height+i,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return Rt.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:function(e,t){var r=Rr.mathMLnode(e.label),n=new xr.MathNode("munder",[Mr(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Hr=function(e){var t=new xr.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Qt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,r){var n=e.parser,i=e.funcName;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder:function(e,t){var r,n=t.style,i=t.havingStyle(n.sup()),o=Rt.wrapFragment(pr(e.body,i,t),t);o.classes.push("x-arrow-pad"),e.below&&(i=t.havingStyle(n.sub()),r=Rt.wrapFragment(pr(e.below,i,t),t),r.classes.push("x-arrow-pad"));var a,s=Rr.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*s.height,c=-t.fontMetrics().axisHeight-.5*s.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=o.depth),r){var u=-t.fontMetrics().axisHeight+r.height+.5*s.height+.111;a=Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:c},{type:"elem",elem:s,shift:l},{type:"elem",elem:r,shift:u}]},t)}else a=Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:c},{type:"elem",elem:s,shift:l}]},t);return a.children[0].children[0].children[1].classes.push("svg-align"),Rt.makeSpan(["mrel","x-arrow"],[a],t)},mathmlBuilder:function(e,t){var r,n=Rr.mathMLnode(e.label);if(e.body){var i=Hr(Mr(e.body,t));if(e.below){var o=Hr(Mr(e.below,t));r=new xr.MathNode("munderover",[n,o,i])}else r=new xr.MathNode("mover",[n,i])}else if(e.below){var a=Hr(Mr(e.below,t));r=new xr.MathNode("munder",[n,a])}else r=Hr(),r=new xr.MathNode("mover",[n,r]);return r}}),Qt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){for(var r=e.parser,n=_t(t[0],"ordgroup"),i=n.body,o="",s=0;s<i.length;s++){var l=_t(i[s],"textord");o+=l.text}var c=parseInt(o);if(isNaN(c))throw new a("\\@char has non-numeric argument "+o);return{type:"textord",mode:r.mode,text:String.fromCharCode(c)}}});var Vr=function(e,t){var r=sr(e.body,t.withColor(e.color),!1);return Rt.makeFragment(r)},Wr=function(e,t){var r=Cr(e.body,t.withColor(e.color)),n=new xr.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Qt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},handler:function(e,t){var r=e.parser,n=_t(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:tr(i)}},htmlBuilder:Vr,mathmlBuilder:Wr}),Qt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,greediness:3,argTypes:["color"]},handler:function(e,t){var r=e.parser,n=e.breakOnTokenText,i=_t(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var o=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:o}},htmlBuilder:Vr,mathmlBuilder:Wr}),Qt({type:"cr",names:["\\cr","\\newline"],props:{numArgs:0,numOptionalArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t,r){var n=e.parser,i=e.funcName,o=r[0],a="\\cr"===i,s=!1;return a||(s=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode")),{type:"cr",mode:n.mode,newLine:s,newRow:a,size:o&&_t(o,"size").value}},htmlBuilder:function(e,t){if(e.newRow)throw new a("\\cr valid only within a tabular/array environment");var r=Rt.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=pt(e.size,t)+"em")),r},mathmlBuilder:function(e,t){var r=new xr.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",pt(e.size,t)+"em")),r}});var Ur=function(e,t,r){var n=we.math[e]&&we.math[e].replace,i=me(n||e,t,r);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return i},$r=function(e,t,r,n){var i=r.havingBaseStyle(t),o=Rt.makeSpan(n.concat(i.sizingClasses(r)),[e],r),a=i.sizeMultiplier/r.sizeMultiplier;return o.height*=a,o.depth*=a,o.maxFontSize=i.sizeMultiplier,o},Gr=function(e,t,r){var n=t.havingBaseStyle(r),i=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=i+"em",e.height-=i,e.depth+=i},Kr=function(e,t,r,n,i,o){var a=Rt.makeSymbol(e,"Main-Regular",i,n),s=$r(a,t,n,o);return r&&Gr(s,n,t),s},Yr=function(e,t,r,n){return Rt.makeSymbol(e,"Size"+t+"-Regular",r,n)},Xr=function(e,t,r,n,i,o){var a=Yr(e,t,i,n),s=$r(Rt.makeSpan(["delimsizing","size"+t],[a],n),D.TEXT,n,o);return r&&Gr(s,n,D.TEXT),s},Zr=function(e,t,r){var n;n="Size1-Regular"===t?"delim-size1":"delim-size4";var i=Rt.makeSpan(["delimsizinginner",n],[Rt.makeSpan([],[Rt.makeSymbol(e,t,r)])]);return{type:"elem",elem:i}},Jr={type:"kern",size:-.005},Qr=function(e,t,r,n,i,o){var a,s,l,c;a=l=c=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=c="\u23d0":"\\Uparrow"===e?l=c="\u2016":"\\downarrow"===e?a=l="\u23d0":"\\Downarrow"===e?a=l="\u2016":"\\updownarrow"===e?(a="\\uparrow",l="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="\u2016",c="\\Downarrow"):"["===e||"\\lbrack"===e?(a="\u23a1",l="\u23a2",c="\u23a3",u="Size4-Regular"):"]"===e||"\\rbrack"===e?(a="\u23a4",l="\u23a5",c="\u23a6",u="Size4-Regular"):"\\lfloor"===e||"\u230a"===e?(l=a="\u23a2",c="\u23a3",u="Size4-Regular"):"\\lceil"===e||"\u2308"===e?(a="\u23a1",l=c="\u23a2",u="Size4-Regular"):"\\rfloor"===e||"\u230b"===e?(l=a="\u23a5",c="\u23a6",u="Size4-Regular"):"\\rceil"===e||"\u2309"===e?(a="\u23a4",l=c="\u23a5",u="Size4-Regular"):"("===e||"\\lparen"===e?(a="\u239b",l="\u239c",c="\u239d",u="Size4-Regular"):")"===e||"\\rparen"===e?(a="\u239e",l="\u239f",c="\u23a0",u="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(a="\u23a7",s="\u23a8",c="\u23a9",l="\u23aa",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="\u23ab",s="\u23ac",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(a="\u23a7",c="\u23a9",l="\u23aa",u="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(a="\u23ab",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(a="\u23a7",c="\u23ad",l="\u23aa",u="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(a="\u23ab",c="\u23a9",l="\u23aa",u="Size4-Regular");var f=Ur(a,u,i),h=f.height+f.depth,p=Ur(l,u,i),d=p.height+p.depth,m=Ur(c,u,i),g=m.height+m.depth,v=0,y=1;if(null!==s){var b=Ur(s,u,i);v=b.height+b.depth,y=2}var x=h+g+v,w=Math.max(0,Math.ceil((t-x)/(y*d))),k=x+w*y*d,S=n.fontMetrics().axisHeight;r&&(S*=n.sizeMultiplier);var C=k/2-S,O=.005*(w+1)-d,M=[];if(M.push(Zr(c,u,i)),null===s)for(var T=0;T<w;T++)M.push(Jr),M.push(Zr(l,u,i));else{for(var A=0;A<w;A++)M.push(Jr),M.push(Zr(l,u,i));M.push({type:"kern",size:O}),M.push(Zr(l,u,i)),M.push(Jr),M.push(Zr(s,u,i));for(var E=0;E<w;E++)M.push(Jr),M.push(Zr(l,u,i))}M.push({type:"kern",size:O}),M.push(Zr(l,u,i)),M.push(Jr),M.push(Zr(a,u,i));var N=n.havingBaseStyle(D.TEXT),j=Rt.makeVList({positionType:"bottom",positionData:C,children:M},N);return $r(Rt.makeSpan(["delimsizing","mult"],[j],N),D.TEXT,n,o)},en=80,tn=.08,rn=function(e,t,r,n,i){var o=K(e,n,r),a=new se(e,o),s=new ae([a],{width:"400em",height:t+"em",viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Rt.makeSvgSpan(["hide-tail"],[s],i)},nn=function(e,t){var r,n,i=t.havingBaseSizing(),o=dn("\\surd",e*i.sizeMultiplier,hn,i),a=i.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,c=0,u=0;return"small"===o.type?(u=1e3+1e3*s+en,e<1?a=1:e<1.4&&(a=.7),l=(1+s+tn)/a,c=(1+s)/a,r=rn("sqrtMain",l,u,s,t),r.style.minWidth="0.853em",n=.833/a):"large"===o.type?(u=(1e3+en)*ln[o.size],c=(ln[o.size]+s)/a,l=(ln[o.size]+s+tn)/a,r=rn("sqrtSize"+o.size,l,u,s,t),r.style.minWidth="1.02em",n=1/a):(l=e+s+tn,c=e+s,u=Math.floor(1e3*e+s)+en,r=rn("sqrtTall",l,u,s,t),r.style.minWidth="0.742em",n=1.056),r.height=c,r.style.height=l+"em",{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},on=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],an=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],sn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],ln=[0,1.2,1.8,2.4,3],cn=function(e,t,r,n,i){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),y.contains(on,e)||y.contains(sn,e))return Xr(e,t,!1,r,n,i);if(y.contains(an,e))return Qr(e,ln[t],!1,r,n,i);throw new a("Illegal delimiter: '"+e+"'")},un=[{type:"small",style:D.SCRIPTSCRIPT},{type:"small",style:D.SCRIPT},{type:"small",style:D.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],fn=[{type:"small",style:D.SCRIPTSCRIPT},{type:"small",style:D.SCRIPT},{type:"small",style:D.TEXT},{type:"stack"}],hn=[{type:"small",style:D.SCRIPTSCRIPT},{type:"small",style:D.SCRIPT},{type:"small",style:D.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],pn=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},dn=function(e,t,r,n){for(var i=Math.min(2,3-n.style.size),o=i;o<r.length;o++){if("stack"===r[o].type)break;var a=Ur(e,pn(r[o]),"math"),s=a.height+a.depth;if("small"===r[o].type){var l=n.havingBaseStyle(r[o].style);s*=l.sizeMultiplier}if(s>t)return r[o]}return r[r.length-1]},mn=function(e,t,r,n,i,o){var a;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),a=y.contains(sn,e)?un:y.contains(on,e)?hn:fn;var s=dn(e,t,a,n);return"small"===s.type?Kr(e,s.style,r,n,i,o):"large"===s.type?Xr(e,s.size,r,n,i,o):Qr(e,t,r,n,i,o)},gn=function(e,t,r,n,i,o){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=901,l=5/n.fontMetrics().ptPerEm,c=Math.max(t-a,r+a),u=Math.max(c/500*s,2*c-l);return mn(e,u,!0,n,i,o)},vn={sqrtImage:nn,sizedDelim:cn,customSizedDelim:mn,leftRightDelim:gn},yn={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},bn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function xn(e,t){var r=Wt(e);if(r&&y.contains(bn,r.text))return r;throw new a("Invalid delimiter: '"+(r?r.text:JSON.stringify(e))+"' after '"+t.funcName+"'",e)}function wn(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Qt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1},handler:function(e,t){var r=xn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:yn[e.funcName].size,mclass:yn[e.funcName].mclass,delim:r.text}},htmlBuilder:function(e,t){return"."===e.delim?Rt.makeSpan([e.mclass]):vn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass])},mathmlBuilder:function(e){var t=[];"."!==e.delim&&t.push(wr(e.delim,e.mode));var r=new xr.MathNode("mo",t);return"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r}}),Qt({type:"leftright-right",names:["\\right"],props:{numArgs:1},handler:function(e,t){var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!==typeof r)throw new a("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:xn(t[0],e).text,color:r}}}),Qt({type:"leftright",names:["\\left"],props:{numArgs:1},handler:function(e,t){var r=xn(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var o=_t(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:o.delim,rightColor:o.color}},htmlBuilder:function(e,t){wn(e);for(var r,n,i=sr(e.body,t,!0,["mopen","mclose"]),o=0,a=0,s=!1,l=0;l<i.length;l++)i[l].isMiddle?s=!0:(o=Math.max(i[l].height,o),a=Math.max(i[l].depth,a));if(o*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?hr(t,["mopen"]):vn.leftRightDelim(e.left,o,a,t,e.mode,["mopen"]),i.unshift(r),s)for(var c=1;c<i.length;c++){var u=i[c],f=u.isMiddle;f&&(i[c]=vn.leftRightDelim(f.delim,o,a,f.options,e.mode,[]))}if("."===e.right)n=hr(t,["mclose"]);else{var h=e.rightColor?t.withColor(e.rightColor):t;n=vn.leftRightDelim(e.right,o,a,h,e.mode,["mclose"])}return i.push(n),Rt.makeSpan(["minner"],i,t)},mathmlBuilder:function(e,t){wn(e);var r=Cr(e.body,t);if("."!==e.left){var n=new xr.MathNode("mo",[wr(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var i=new xr.MathNode("mo",[wr(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return kr(r)}}),Qt({type:"middle",names:["\\middle"],props:{numArgs:1},handler:function(e,t){var r=xn(t[0],e);if(!e.parser.leftrightDepth)throw new a("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:function(e,t){var r;if("."===e.delim)r=hr(t,[]);else{r=vn.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:function(e,t){var r="\\vert"===e.delim||"|"===e.delim?wr("|","text"):wr(e.delim,e.mode),n=new xr.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var kn=function(e,t){var r,n,i=Rt.wrapFragment(pr(e.body,t),t),o=e.label.substr(1),a=t.sizeMultiplier,s=0,l=y.isCharacterBox(e.body);if("sout"===o)r=Rt.makeSpan(["stretchy","sout"]),r.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else{/cancel/.test(o)?l||i.classes.push("cancel-pad"):i.classes.push("boxpad");var c=0,u=0;/box/.test(o)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),c=t.fontMetrics().fboxsep+("colorbox"===o?0:u)):c=l?.2:0,r=Rr.encloseSpan(i,o,c,t),/fbox|boxed|fcolorbox/.test(o)&&(r.style.borderStyle="solid",r.style.borderWidth=u+"em"),s=i.depth+c,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}return n=e.backgroundColor?Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:s},{type:"elem",elem:i,shift:0}]},t):Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:s,wrapperClasses:/cancel/.test(o)?["svg-align"]:[]}]},t),/cancel/.test(o)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(o)&&!l?Rt.makeSpan(["mord","cancel-lap"],[n],t):Rt.makeSpan(["mord"],[n],t)},Sn=function(e,t){var r=0,n=new xr.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Mr(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Qt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","text"]},handler:function(e,t,r){var n=e.parser,i=e.funcName,o=_t(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:o,body:a}},htmlBuilder:kn,mathmlBuilder:Sn}),Qt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,greediness:3,argTypes:["color","color","text"]},handler:function(e,t,r){var n=e.parser,i=e.funcName,o=_t(t[0],"color-token").color,a=_t(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,borderColor:o,body:s}},htmlBuilder:kn,mathmlBuilder:Sn}),Qt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(e,t){var r=e.parser;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),Qt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout"],props:{numArgs:1},handler:function(e,t,r){var n=e.parser,i=e.funcName,o=t[0];return{type:"enclose",mode:n.mode,label:i,body:o}},htmlBuilder:kn,mathmlBuilder:Sn});var Cn={};function On(e){for(var t=e.type,r=e.names,n=e.props,i=e.handler,o=e.htmlBuilder,a=e.mathmlBuilder,s={type:t,numArgs:n.numArgs||0,greediness:1,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)Cn[r[l]]=s;o&&(Zt[t]=o),a&&(Jt[t]=a)}function Mn(e){var t=[];e.consumeSpaces();var r=e.fetch().text;while("\\hline"===r||"\\hdashline"===r)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}function Tn(e,t,r){var n=t.hskipBeforeAndAfter,i=t.addJot,o=t.cols,s=t.arraystretch,l=t.colSeparationType;if(e.gullet.beginGroup(),e.gullet.macros.set("\\\\","\\cr"),!s){var c=e.gullet.expandMacroAsText("\\arraystretch");if(null==c)s=1;else if(s=parseFloat(c),!s||s<0)throw new a("Invalid \\arraystretch: "+c)}e.gullet.beginGroup();var u=[],f=[u],h=[],p=[];p.push(Mn(e));while(1){var d=e.parseExpression(!1,"\\cr");e.gullet.endGroup(),e.gullet.beginGroup(),d={type:"ordgroup",mode:e.mode,body:d},r&&(d={type:"styling",mode:e.mode,style:r,body:[d]}),u.push(d);var m=e.fetch().text;if("&"===m)e.consume();else{if("\\end"===m){1===u.length&&"styling"===d.type&&0===d.body[0].body.length&&f.pop(),p.length<f.length+1&&p.push([]);break}if("\\cr"!==m)throw new a("Expected & or \\\\ or \\cr or \\end",e.nextToken);var g=_t(e.parseFunction(),"cr");h.push(g.size),p.push(Mn(e)),u=[],f.push(u)}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:f,cols:o,rowGaps:h,hskipBeforeAndAfter:n,hLinesBeforeRow:p,colSeparationType:l}}function An(e){return"d"===e.substr(0,1)?"display":"text"}var En=function(e,t){var r,n,i=e.body.length,o=e.hLinesBeforeRow,s=0,l=new Array(i),c=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),f=1/t.fontMetrics().ptPerEm,h=5*f;if(e.colSeparationType&&"small"===e.colSeparationType){var p=t.havingStyle(D.SCRIPT).sizeMultiplier;h=p/t.sizeMultiplier*.2778}var d=12*f,m=3*f,g=e.arraystretch*d,v=.7*g,b=.3*g,x=0;function w(e){for(var t=0;t<e.length;++t)t>0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(w(o[0]),r=0;r<e.body.length;++r){var k=e.body[r],S=v,C=b;s<k.length&&(s=k.length);var O=new Array(k.length);for(n=0;n<k.length;++n){var M=pr(k[n],t);C<M.depth&&(C=M.depth),S<M.height&&(S=M.height),O[n]=M}var T=e.rowGaps[r],A=0;T&&(A=pt(T,t),A>0&&(A+=b,C<A&&(C=A),A=0)),e.addJot&&(C+=m),O.height=S,O.depth=C,x+=S,O.pos=x,x+=C+A,l[r]=O,w(o[r+1])}var E,N,j=x/2+t.fontMetrics().axisHeight,z=e.cols||[],P=[];for(n=0,N=0;n<s||N<z.length;++n,++N){var F=z[N]||{},L=!0;while("separator"===F.type){if(L||(E=Rt.makeSpan(["arraycolsep"],[]),E.style.width=t.fontMetrics().doubleRuleSep+"em",P.push(E)),"|"!==F.separator&&":"!==F.separator)throw new a("Invalid separator type: "+F.separator);var I="|"===F.separator?"solid":"dashed",R=Rt.makeSpan(["vertical-separator"],[],t);R.style.height=x+"em",R.style.borderRightWidth=u+"em",R.style.borderRightStyle=I,R.style.margin="0 -"+u/2+"em",R.style.verticalAlign=-(x-j)+"em",P.push(R),N++,F=z[N]||{},L=!1}if(!(n>=s)){var _=void 0;(n>0||e.hskipBeforeAndAfter)&&(_=y.deflt(F.pregap,h),0!==_&&(E=Rt.makeSpan(["arraycolsep"],[]),E.style.width=_+"em",P.push(E)));var B=[];for(r=0;r<i;++r){var q=l[r],H=q[n];if(H){var V=q.pos-j;H.depth=q.depth,H.height=q.height,B.push({type:"elem",elem:H,shift:V})}}B=Rt.makeVList({positionType:"individualShift",children:B},t),B=Rt.makeSpan(["col-align-"+(F.align||"c")],[B]),P.push(B),(n<s-1||e.hskipBeforeAndAfter)&&(_=y.deflt(F.postgap,h),0!==_&&(E=Rt.makeSpan(["arraycolsep"],[]),E.style.width=_+"em",P.push(E)))}}if(l=Rt.makeSpan(["mtable"],P),c.length>0){var W=Rt.makeLineSpan("hline",t,u),U=Rt.makeLineSpan("hdashline",t,u),$=[{type:"elem",elem:l,shift:0}];while(c.length>0){var G=c.pop(),K=G.pos-j;G.isDashed?$.push({type:"elem",elem:U,shift:K}):$.push({type:"elem",elem:W,shift:K})}l=Rt.makeVList({positionType:"individualShift",children:$},t)}return Rt.makeSpan(["mord"],[l],t)},Nn={c:"center ",l:"left ",r:"right "},jn=function(e,t){var r=new xr.MathNode("mtable",e.body.map((function(e){return new xr.MathNode("mtr",e.map((function(e){return new xr.MathNode("mtd",[Mr(e,t)])})))}))),n=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);r.setAttribute("rowspacing",n+"em");var i="",o="";if(e.cols){var a=e.cols,s="",l=!1,c=0,u=a.length;"separator"===a[0].type&&(i+="top ",c=1),"separator"===a[a.length-1].type&&(i+="bottom ",u-=1);for(var f=c;f<u;f++)"align"===a[f].type?(o+=Nn[a[f].align],l&&(s+="none "),l=!0):"separator"===a[f].type&&l&&(s+="|"===a[f].separator?"solid ":"dashed ",l=!1);r.setAttribute("columnalign",o.trim()),/[sd]/.test(s)&&r.setAttribute("columnlines",s.trim())}if("align"===e.colSeparationType){for(var h=e.cols||[],p="",d=1;d<h.length;d++)p+=d%2?"0em ":"1em ";r.setAttribute("columnspacing",p.trim())}else"alignat"===e.colSeparationType?r.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?r.setAttribute("columnspacing","0.2778em"):r.setAttribute("columnspacing","1em");var m="",g=e.hLinesBeforeRow;i+=g[0].length>0?"left ":"",i+=g[g.length-1].length>0?"right ":"";for(var v=1;v<g.length-1;v++)m+=0===g[v].length?"none ":g[v][0]?"dashed ":"solid ";return/[sd]/.test(m)&&r.setAttribute("rowlines",m.trim()),""!==i&&(r=new xr.MathNode("menclose",[r]),r.setAttribute("notation",i.trim())),e.arraystretch&&e.arraystretch<1&&(r=new xr.MathNode("mstyle",[r]),r.setAttribute("scriptlevel","1")),r},zn=function(e,t){var r,n=[],i=Tn(e.parser,{cols:n,addJot:!0},"display"),o=0,s={type:"ordgroup",mode:e.mode,body:[]},l=Bt(t[0],"ordgroup");if(l){for(var c="",u=0;u<l.body.length;u++){var f=_t(l.body[u],"textord");c+=f.text}r=Number(c),o=2*r}var h=!o;i.body.forEach((function(e){for(var t=1;t<e.length;t+=2){var n=_t(e[t],"styling"),i=_t(n.body[0],"ordgroup");i.body.unshift(s)}if(h)o<e.length&&(o=e.length);else{var l=e.length/2;if(r<l)throw new a("Too many math in a row: expected "+r+", but got "+l,e[0])}}));for(var p=0;p<o;++p){var d="r",m=0;p%2===1?d="l":p>0&&h&&(m=1),n[p]={type:"align",align:d,pregap:m,postgap:0}}return i.colSeparationType=h?"align":"alignat",i};On({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(e,t){var r=Wt(t[0]),n=r?[t[0]]:_t(t[0],"ordgroup").body,i=n.map((function(e){var t=Vt(e),r=t.text;if(-1!=="lcr".indexOf(r))return{type:"align",align:r};if("|"===r)return{type:"separator",separator:"|"};if(":"===r)return{type:"separator",separator:":"};throw new a("Unknown column alignment: "+r,e)})),o={cols:i,hskipBeforeAndAfter:!0};return Tn(e.parser,o,An(e.envName))},htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],props:{numArgs:0},handler:function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],r={hskipBeforeAndAfter:!1},n=Tn(e.parser,r,An(e.envName));return t?{type:"leftright",mode:e.mode,body:[n],left:t[0],right:t[1],rightColor:void 0}:n},htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(e){var t={arraystretch:.5},r=Tn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["subarray"],props:{numArgs:1},handler:function(e,t){var r=Wt(t[0]),n=r?[t[0]]:_t(t[0],"ordgroup").body,i=n.map((function(e){var t=Vt(e),r=t.text;if(-1!=="lc".indexOf(r))return{type:"align",align:r};throw new a("Unknown column alignment: "+r,e)}));if(i.length>1)throw new a("{subarray} can contain only one column");var o={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Tn(e.parser,o,"script"),o.body[0].length>1)throw new a("{subarray} can contain only one column");return o},htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["cases","dcases"],props:{numArgs:0},handler:function(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Tn(e.parser,t,An(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:"\\{",right:".",rightColor:void 0}},htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["aligned"],props:{numArgs:0},handler:zn,htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["gathered"],props:{numArgs:0},handler:function(e){var t={cols:[{type:"align",align:"c"}],addJot:!0};return Tn(e.parser,t,"display")},htmlBuilder:En,mathmlBuilder:jn}),On({type:"array",names:["alignedat"],props:{numArgs:1},handler:zn,htmlBuilder:En,mathmlBuilder:jn}),Qt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(e,t){throw new a(e.funcName+" valid only within array environment")}});var Pn=Cn,Fn=Pn;Qt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0];if("ordgroup"!==i.type)throw new a("Invalid environment name",i);for(var o="",s=0;s<i.body.length;++s)o+=_t(i.body[s],"textord").text;if("\\begin"===n){if(!Fn.hasOwnProperty(o))throw new a("No such environment: "+o,i);var l=Fn[o],c=r.parseArguments("\\begin{"+o+"}",l),u=c.args,f=c.optArgs,h={mode:r.mode,envName:o,parser:r},p=l.handler(h,u,f);r.expect("\\end",!1);var d=r.nextToken,m=_t(r.parseFunction(),"environment");if(m.name!==o)throw new a("Mismatch: \\begin{"+o+"} matched by \\end{"+m.name+"}",d);return p}return{type:"environment",mode:r.mode,name:o,nameGroup:i}}});var Ln=Rt.makeSpan;function Dn(e,t){var r=sr(e.body,t,!0);return Ln([e.mclass],r,t)}function In(e,t){var r,n=Cr(e.body,t);return"minner"===e.mclass?xr.newDocumentFragment(n):("mord"===e.mclass?e.isCharacterBox?(r=n[0],r.type="mi"):r=new xr.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new xr.MathNode("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"!==e.mclass&&"mclose"!==e.mclass||(r.attributes.lspace="0em",r.attributes.rspace="0em")),r)}Qt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.substr(5),body:tr(i),isCharacterBox:y.isCharacterBox(i)}},htmlBuilder:Dn,mathmlBuilder:In});var Rn=function(e){var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};Qt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(e,t){var r=e.parser;return{type:"mclass",mode:r.mode,mclass:Rn(t[0]),body:[t[1]],isCharacterBox:y.isCharacterBox(t[1])}}}),Qt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(e,t){var r,n=e.parser,i=e.funcName,o=t[1],a=t[0];r="\\stackrel"!==i?Rn(o):"mrel";var s={type:"op",mode:o.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:tr(o)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===i?null:a,sub:"\\underset"===i?a:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:y.isCharacterBox(l)}},htmlBuilder:Dn,mathmlBuilder:In});var _n=function(e,t){var r=e.font,n=t.withFont(r);return pr(e.body,n)},Bn=function(e,t){var r=e.font,n=t.withFont(r);return Mr(e.body,n)},qn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Qt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,greediness:2},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0],o=n;return o in qn&&(o=qn[o]),{type:"font",mode:r.mode,font:o.slice(1),body:i}},htmlBuilder:_n,mathmlBuilder:Bn}),Qt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1,greediness:2},handler:function(e,t){var r=e.parser,n=t[0],i=y.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Rn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),Qt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,i=e.breakOnTokenText,o=r.mode,a=r.parseExpression(!0,i),s="math"+n.slice(1);return{type:"font",mode:o,font:s,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:_n,mathmlBuilder:Bn});var Hn=function(e,t){var r=t;return"display"===e?r=r.id>=D.SCRIPT.id?r.text():D.DISPLAY:"text"===e&&r.size===D.DISPLAY.size?r=D.TEXT:"script"===e?r=D.SCRIPT:"scriptscript"===e&&(r=D.SCRIPTSCRIPT),r},Vn=function(e,t){var r,n=Hn(e.size,t.style),i=n.fracNum(),o=n.fracDen();r=t.havingStyle(i);var a=pr(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}r=t.havingStyle(o);var c,u,f,h,p,d,m,g,v,y,b=pr(e.denom,r,t);if(e.hasBarLine?(e.barSize?(u=pt(e.barSize,t),c=Rt.makeLineSpan("frac-line",t,u)):c=Rt.makeLineSpan("frac-line",t),u=c.height,f=c.height):(c=null,u=0,f=t.fontMetrics().defaultRuleThickness),n.size===D.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=u>0?3*f:7*f,d=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=f):(h=t.fontMetrics().num3,p=3*f),d=t.fontMetrics().denom2),c){var x=t.fontMetrics().axisHeight;h-a.depth-(x+.5*u)<p&&(h+=p-(h-a.depth-(x+.5*u))),x-.5*u-(b.height-d)<p&&(d+=p-(x-.5*u-(b.height-d)));var w=-(x-.5*u);m=Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:d},{type:"elem",elem:c,shift:w},{type:"elem",elem:a,shift:-h}]},t)}else{var k=h-a.depth-(b.height-d);k<p&&(h+=.5*(p-k),d+=.5*(p-k)),m=Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:d},{type:"elem",elem:a,shift:-h}]},t)}return r=t.havingStyle(n),m.height*=r.sizeMultiplier/t.sizeMultiplier,m.depth*=r.sizeMultiplier/t.sizeMultiplier,g=n.size===D.DISPLAY.size?t.fontMetrics().delim1:t.fontMetrics().delim2,v=null==e.leftDelim?hr(t,["mopen"]):vn.customSizedDelim(e.leftDelim,g,!0,t.havingStyle(n),e.mode,["mopen"]),y=e.continued?Rt.makeSpan([]):null==e.rightDelim?hr(t,["mclose"]):vn.customSizedDelim(e.rightDelim,g,!0,t.havingStyle(n),e.mode,["mclose"]),Rt.makeSpan(["mord"].concat(r.sizingClasses(t)),[v,Rt.makeSpan(["mfrac"],[m]),y],t)},Wn=function(e,t){var r=new xr.MathNode("mfrac",[Mr(e.numer,t),Mr(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=pt(e.barSize,t);r.setAttribute("linethickness",n+"em")}}else r.setAttribute("linethickness","0px");var i=Hn(e.size,t.style);if(i.size!==t.style.size){r=new xr.MathNode("mstyle",[r]);var o=i.size===D.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",o),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new xr.MathNode("mo",[new xr.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var l=new xr.MathNode("mo",[new xr.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return kr(a)}return r};Qt({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,greediness:2},handler:function(e,t){var r,n=e.parser,i=e.funcName,o=t[0],a=t[1],s=null,l=null,c="auto";switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(i){case"\\cfrac":case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:"\\cfrac"===i,numer:o,denom:a,hasBarLine:r,leftDelim:s,rightDelim:l,size:c,barSize:null}},htmlBuilder:Vn,mathmlBuilder:Wn}),Qt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler:function(e){var t,r=e.parser,n=e.funcName,i=e.token;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:i}}});var Un=["display","text","script","scriptscript"],$n=function(e){var t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Qt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,greediness:6,argTypes:["math","math","size","text","math","math"]},handler:function(e,t){var r=e.parser,n=t[4],i=t[5],o=Bt(t[0],"atom");o&&(o=qt(t[0],"open"));var a=o?$n(o.text):null,s=Bt(t[1],"atom");s&&(s=qt(t[1],"close"));var l,c=s?$n(s.text):null,u=_t(t[2],"size"),f=null;u.isBlank?l=!0:(f=u.value,l=f.number>0);var h="auto",p=Bt(t[3],"ordgroup");if(p){if(p.body.length>0){var d=_t(p.body[0],"textord");h=Un[Number(d.text)]}}else p=_t(t[3],"textord"),h=Un[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:l,barSize:f,leftDelim:a,rightDelim:c,size:h}},htmlBuilder:Vn,mathmlBuilder:Wn}),Qt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(e,t){var r=e.parser,n=(e.funcName,e.token);return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:_t(t[0],"size").value,token:n}}}),Qt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(e,t){var r=e.parser,n=(e.funcName,t[0]),i=g(_t(t[1],"infix").size),o=t[2],a=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Vn,mathmlBuilder:Wn});var Gn=function(e,t){var r,n,i=t.style,o=Bt(e,"supsub");o?(r=o.sup?pr(o.sup,t.havingStyle(i.sup()),t):pr(o.sub,t.havingStyle(i.sub()),t),n=_t(o.base,"horizBrace")):n=_t(e,"horizBrace");var a,s=pr(n.base,t.havingBaseStyle(D.DISPLAY)),l=Rr.svgSpan(n,t);if(n.isOver?(a=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:l}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=Rt.makeVList({positionType:"bottom",positionData:s.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:s}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),r){var c=Rt.makeSpan(["mord",n.isOver?"mover":"munder"],[a],t);a=n.isOver?Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Rt.makeVList({positionType:"bottom",positionData:c.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:c}]},t)}return Rt.makeSpan(["mord",n.isOver?"mover":"munder"],[a],t)},Kn=function(e,t){var r=Rr.mathMLnode(e.label);return new xr.MathNode(e.isOver?"mover":"munder",[Mr(e.base,t),r])};Qt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Gn,mathmlBuilder:Kn}),Qt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[1],i=_t(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:tr(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:function(e,t){var r=sr(e.body,t,!1);return Rt.makeAnchor(e.href,[],r,t)},mathmlBuilder:function(e,t){var r=Or(e.body,t);return r instanceof vr||(r=new vr("mrow",[r])),r.setAttribute("href",e.href),r}}),Qt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=_t(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],o=0;o<n.length;o++){var a=n[o];"~"===a&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:tr(s)}}}),Qt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:function(e,t){var r=e.parser;return{type:"htmlmathml",mode:r.mode,html:tr(t[0]),mathml:tr(t[1])}},htmlBuilder:function(e,t){var r=sr(e.html,t,!1);return Rt.makeFragment(r)},mathmlBuilder:function(e,t){return Or(e.mathml,t)}});var Yn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new a("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!ht(r))throw new a("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Qt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:function(e,t,r){var n=e.parser,i={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var c=_t(r[0],"raw").string,u=c.split(","),f=0;f<u.length;f++){var h=u[f].split("=");if(2===h.length){var p=h[1].trim();switch(h[0].trim()){case"alt":l=p;break;case"width":i=Yn(p);break;case"height":o=Yn(p);break;case"totalheight":s=Yn(p);break;default:throw new a("Invalid key: '"+h[0]+"' in \\includegraphics.")}}}var d=_t(t[0],"url").url;return""===l&&(l=d,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:d})?{type:"includegraphics",mode:n.mode,alt:l,width:i,height:o,totalheight:s,src:d}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:function(e,t){var r=pt(e.height,t),n=0;e.totalheight.number>0&&(n=pt(e.totalheight,t)-r,n=Number(n.toFixed(2)));var i=0;e.width.number>0&&(i=pt(e.width,t));var o={height:r+n+"em"};i>0&&(o.width=i+"em"),n>0&&(o.verticalAlign=-n+"em");var a=new ne(e.src,e.alt,o);return a.height=r,a.depth=n,a},mathmlBuilder:function(e,t){var r=new xr.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=pt(e.height,t),i=0;if(e.totalheight.number>0&&(i=pt(e.totalheight,t)-n,i=i.toFixed(2),r.setAttribute("valign","-"+i+"em")),r.setAttribute("height",n+i+"em"),e.width.number>0){var o=pt(e.width,t);r.setAttribute("width",o+"em")}return r.setAttribute("src",e.src),r}}),Qt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,i=_t(t[0],"size");if(r.settings.strict){var o="m"===n[1],a="mu"===i.value.unit;o?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+i.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder:function(e,t){return Rt.makeGlue(e.dimension,t)},mathmlBuilder:function(e,t){var r=pt(e.dimension,t);return new xr.SpaceNode(r)}}),Qt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:function(e,t){var r;"clap"===e.alignment?(r=Rt.makeSpan([],[pr(e.body,t)]),r=Rt.makeSpan(["inner"],[r],t)):r=Rt.makeSpan(["inner"],[pr(e.body,t)]);var n=Rt.makeSpan(["fix"],[]),i=Rt.makeSpan([e.alignment],[r,n],t),o=Rt.makeSpan(["strut"]);return o.style.height=i.height+i.depth+"em",o.style.verticalAlign=-i.depth+"em",i.children.unshift(o),i=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i}]},t),Rt.makeSpan(["mord"],[i],t)},mathmlBuilder:function(e,t){var r=new xr.MathNode("mpadded",[Mr(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),Qt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){var r=e.funcName,n=e.parser,i=n.mode;n.switchMode("math");var o="\\("===r?"\\)":"$",a=n.parseExpression(!1,o);return n.expect(o),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:a}}}),Qt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(e,t){throw new a("Mismatched "+e.funcName)}});var Xn=function(e,t){switch(t.style.size){case D.DISPLAY.size:return e.display;case D.TEXT.size:return e.text;case D.SCRIPT.size:return e.script;case D.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Qt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4},handler:function(e,t){var r=e.parser;return{type:"mathchoice",mode:r.mode,display:tr(t[0]),text:tr(t[1]),script:tr(t[2]),scriptscript:tr(t[3])}},htmlBuilder:function(e,t){var r=Xn(e,t),n=sr(r,t,!1);return Rt.makeFragment(n)},mathmlBuilder:function(e,t){var r=Xn(e,t);return Or(r,t)}});var Zn=function(e,t,r,n,i,o,a){var s,l,c;if(e=Rt.makeSpan([],[e]),t){var u=pr(t,n.havingStyle(i.sup()),n);l={elem:u,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-u.depth)}}if(r){var f=pr(r,n.havingStyle(i.sub()),n);s={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}if(l&&s){var h=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;c=Rt.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var p=e.height-a;c=Rt.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:-o+"em"},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var d=e.depth+a;c=Rt.makeVList({positionType:"bottom",positionData:d,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:o+"em"},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}return Rt.makeSpan(["mop","op-limits"],[c],n)},Jn=["\\smallint"],Qn=function(e,t){var r,n,i,o=!1,a=Bt(e,"supsub");a?(r=a.sup,n=a.sub,i=_t(a.base,"op"),o=!0):i=_t(e,"op");var s,l=t.style,c=!1;if(l.size===D.DISPLAY.size&&i.symbol&&!y.contains(Jn,i.name)&&(c=!0),i.symbol){var u=c?"Size2-Regular":"Size1-Regular",f="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(f=i.name.substr(1),i.name="oiint"===f?"\\iint":"\\iiint"),s=Rt.makeSymbol(i.name,u,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),f.length>0){var h=s.italic,p=Rt.staticSvg(f+"Size"+(c?"2":"1"),t);s=Rt.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:0},{type:"elem",elem:p,shift:c?.08:0}]},t),i.name="\\"+f,s.classes.unshift("mop"),s.italic=h}}else if(i.body){var d=sr(i.body,t,!0);1===d.length&&d[0]instanceof oe?(s=d[0],s.classes[0]="mop"):s=Rt.makeSpan(["mop"],Rt.tryCombineChars(d),t)}else{for(var m=[],g=1;g<i.name.length;g++)m.push(Rt.mathsym(i.name[g],i.mode,t));s=Rt.makeSpan(["mop"],m,t)}var v=0,b=0;return(s instanceof oe||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(v=(s.height-s.depth)/2-t.fontMetrics().axisHeight,b=s.italic),o?Zn(s,r,n,t,l,b,v):(v&&(s.style.position="relative",s.style.top=v+"em"),s)},ei=function(e,t){var r;if(e.symbol)r=new vr("mo",[wr(e.name,e.mode)]),y.contains(Jn,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new vr("mo",Cr(e.body,t));else{r=new vr("mi",[new yr(e.name.slice(1))]);var n=new vr("mo",[wr("\u2061","text")]);r=e.parentIsSupSub?new vr("mo",[r,n]):gr([r,n])}return r},ti={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Qt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:function(e,t){var r=e.parser,n=e.funcName,i=n;return 1===i.length&&(i=ti[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:Qn,mathmlBuilder:ei}),Qt({type:"op",names:["\\mathop"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:tr(n)}},htmlBuilder:Qn,mathmlBuilder:ei});var ri={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};Qt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler:function(e){var t=e.parser,r=e.funcName;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Qn,mathmlBuilder:ei}),Qt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler:function(e){var t=e.parser,r=e.funcName;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Qn,mathmlBuilder:ei}),Qt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler:function(e){var t=e.parser,r=e.funcName,n=r;return 1===n.length&&(n=ri[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Qn,mathmlBuilder:ei});var ni=function(e,t){var r,n,i,o,a=!1,s=Bt(e,"supsub");if(s?(r=s.sup,n=s.sub,i=_t(s.base,"operatorname"),a=!0):i=_t(e,"operatorname"),i.body.length>0){for(var l=i.body.map((function(e){var t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),c=sr(l,t.withFont("mathrm"),!0),u=0;u<c.length;u++){var f=c[u];f instanceof oe&&(f.text=f.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=Rt.makeSpan(["mop"],c,t)}else o=Rt.makeSpan(["mop"],[],t);return a?Zn(o,r,n,t,t.style,0,0):o},ii=function(e,t){for(var r=Cr(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var o=r[i];if(o instanceof xr.SpaceNode);else if(o instanceof xr.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=o.children[0];1===o.children.length&&a instanceof xr.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}if(n){var s=r.map((function(e){return e.toText()})).join("");r=[new xr.TextNode(s)]}var l=new xr.MathNode("mi",r);l.setAttribute("mathvariant","normal");var c=new xr.MathNode("mo",[wr("\u2061","text")]);return e.parentIsSupSub?new xr.MathNode("mo",[l,c]):xr.newDocumentFragment([l,c])};function oi(e,t,r){for(var n=sr(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,o=0;o<n.length;o++){var a=n[o].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[o].classes,t.sizingClasses(r)):n[o].classes[a+1]==="reset-size"+t.size&&(n[o].classes[a+1]="reset-size"+r.size),n[o].height*=i,n[o].depth*=i}return Rt.makeFragment(n)}Qt({type:"operatorname",names:["\\operatorname","\\operatorname*"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0];return{type:"operatorname",mode:r.mode,body:tr(i),alwaysHandleSupSub:"\\operatorname*"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:ni,mathmlBuilder:ii}),er({type:"ordgroup",htmlBuilder:function(e,t){return e.semisimple?Rt.makeFragment(sr(e.body,t,!1)):Rt.makeSpan(["mord"],sr(e.body,t,!0),t)},mathmlBuilder:function(e,t){return Or(e.body,t,!0)}}),Qt({type:"overline",names:["\\overline"],props:{numArgs:1},handler:function(e,t){var r=e.parser,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder:function(e,t){var r=pr(e.body,t.havingCrampedStyle()),n=Rt.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return Rt.makeSpan(["mord","overline"],[o],t)},mathmlBuilder:function(e,t){var r=new xr.MathNode("mo",[new xr.TextNode("\u203e")]);r.setAttribute("stretchy","true");var n=new xr.MathNode("mover",[Mr(e.body,t),r]);return n.setAttribute("accent","true"),n}}),Qt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[0];return{type:"phantom",mode:r.mode,body:tr(n)}},htmlBuilder:function(e,t){var r=sr(e.body,t.withPhantom(),!1);return Rt.makeFragment(r)},mathmlBuilder:function(e,t){var r=Cr(e.body,t);return new xr.MathNode("mphantom",r)}}),Qt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:function(e,t){var r=Rt.makeSpan([],[pr(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),Rt.makeSpan(["mord"],[r],t)},mathmlBuilder:function(e,t){var r=Cr(tr(e.body),t),n=new xr.MathNode("mphantom",r),i=new xr.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Qt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:function(e,t){var r=Rt.makeSpan(["inner"],[pr(e.body,t.withPhantom())]),n=Rt.makeSpan(["fix"],[]);return Rt.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:function(e,t){var r=Cr(tr(e.body),t),n=new xr.MathNode("mphantom",r),i=new xr.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),Qt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler:function(e,t){var r=e.parser,n=_t(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder:function(e,t){var r=pr(e.body,t),n=pt(e.dy,t);return Rt.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:function(e,t){var r=new xr.MathNode("mpadded",[Mr(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),Qt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler:function(e,t,r){var n=e.parser,i=r[0],o=_t(t[0],"size"),a=_t(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&_t(i,"size").value,width:o.value,height:a.value}},htmlBuilder:function(e,t){var r=Rt.makeSpan(["mord","rule"],[],t),n=pt(e.width,t),i=pt(e.height,t),o=e.shift?pt(e.shift,t):0;return r.style.borderRightWidth=n+"em",r.style.borderTopWidth=i+"em",r.style.bottom=o+"em",r.width=n,r.height=i+o,r.depth=-o,r.maxFontSize=1.125*i*t.sizeMultiplier,r},mathmlBuilder:function(e,t){var r=pt(e.width,t),n=pt(e.height,t),i=e.shift?pt(e.shift,t):0,o=t.color&&t.getColor()||"black",a=new xr.MathNode("mspace");a.setAttribute("mathbackground",o),a.setAttribute("width",r+"em"),a.setAttribute("height",n+"em");var s=new xr.MathNode("mpadded",[a]);return i>=0?s.setAttribute("height","+"+i+"em"):(s.setAttribute("height",i+"em"),s.setAttribute("depth","+"+-i+"em")),s.setAttribute("voffset",i+"em"),s}});var ai=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],si=function(e,t){var r=t.havingSize(e.size);return oi(e.body,r,t)};Qt({type:"sizing",names:ai,props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,i=e.parser,o=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:ai.indexOf(n)+1,body:o}},htmlBuilder:si,mathmlBuilder:function(e,t){var r=t.havingSize(e.size),n=Cr(e.body,r),i=new xr.MathNode("mstyle",n);return i.setAttribute("mathsize",r.sizeMultiplier+"em"),i}}),Qt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:function(e,t,r){var n=e.parser,i=!1,o=!1,a=r[0]&&_t(r[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){var c=a.body[l];if(s=c.text,"t"===s)i=!0;else{if("b"!==s){i=!1,o=!1;break}o=!0}}else i=!0,o=!0;var u=t[0];return{type:"smash",mode:n.mode,body:u,smashHeight:i,smashDepth:o}},htmlBuilder:function(e,t){var r=Rt.makeSpan([],[pr(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var o=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return Rt.makeSpan(["mord"],[o],t)},mathmlBuilder:function(e,t){var r=new xr.MathNode("mpadded",[Mr(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),Qt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler:function(e,t,r){var n=e.parser,i=r[0],o=t[0];return{type:"sqrt",mode:n.mode,body:o,index:i}},htmlBuilder:function(e,t){var r=pr(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Rt.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,o=i;t.style.id<D.TEXT.id&&(o=t.fontMetrics().xHeight);var a=i+o/4,s=r.height+r.depth+a+i,l=vn.sqrtImage(s,t),c=l.span,u=l.ruleWidth,f=l.advanceWidth,h=c.height-u;h>r.height+r.depth+a&&(a=(a+h-r.height-r.depth)/2);var p=c.height-r.height-a-u;r.style.paddingLeft=f+"em";var d=Rt.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:c},{type:"kern",size:u}]},t);if(e.index){var m=t.havingStyle(D.SCRIPTSCRIPT),g=pr(e.index,m,t),v=.6*(d.height-d.depth),y=Rt.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:g}]},t),b=Rt.makeSpan(["root"],[y]);return Rt.makeSpan(["mord","sqrt"],[b,d],t)}return Rt.makeSpan(["mord","sqrt"],[d],t)},mathmlBuilder:function(e,t){var r=e.body,n=e.index;return n?new xr.MathNode("mroot",[Mr(r,t),Mr(n,t)]):new xr.MathNode("msqrt",[Mr(r,t)])}});var li={display:D.DISPLAY,text:D.TEXT,script:D.SCRIPT,scriptscript:D.SCRIPTSCRIPT};Qt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0},handler:function(e,t){var r=e.breakOnTokenText,n=e.funcName,i=e.parser,o=i.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:a,body:o}},htmlBuilder:function(e,t){var r=li[e.style],n=t.havingStyle(r).withFont("");return oi(e.body,n,t)},mathmlBuilder:function(e,t){var r=li[e.style],n=t.havingStyle(r),i=Cr(e.body,n),o=new xr.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=a[e.style];return o.setAttribute("scriptlevel",s[0]),o.setAttribute("displaystyle",s[1]),o}});var ci=function(e,t){var r=e.base;if(r){if("op"===r.type){var n=r.limits&&(t.style.size===D.DISPLAY.size||r.alwaysHandleSupSub);return n?Qn:null}if("operatorname"===r.type){var i=r.alwaysHandleSupSub&&(t.style.size===D.DISPLAY.size||r.limits);return i?ni:null}if("accent"===r.type)return y.isCharacterBox(r.base)?_r:null;if("horizBrace"===r.type){var o=!e.sub;return o===r.isOver?Gn:null}return null}return null};er({type:"supsub",htmlBuilder:function(e,t){var r=ci(e,t);if(r)return r(e,t);var n,i,o,a=e.base,s=e.sup,l=e.sub,c=pr(a,t),u=t.fontMetrics(),f=0,h=0,p=a&&y.isCharacterBox(a);if(s){var d=t.havingStyle(t.style.sup());n=pr(s,d,t),p||(f=c.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var m=t.havingStyle(t.style.sub());i=pr(l,m,t),p||(h=c.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}o=t.style===D.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2;var g,v=t.sizeMultiplier,b=.5/u.ptPerEm/v+"em",x=null;if(i){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(c instanceof oe||w)&&(x=-c.italic+"em")}if(n&&i){f=Math.max(f,o,n.depth+.25*u.xHeight),h=Math.max(h,u.sub2);var k=u.defaultRuleThickness,S=4*k;if(f-n.depth-(i.height-h)<S){h=S-(f-n.depth)+i.height;var C=.8*u.xHeight-(f-n.depth);C>0&&(f+=C,h-=C)}var O=[{type:"elem",elem:i,shift:h,marginRight:b,marginLeft:x},{type:"elem",elem:n,shift:-f,marginRight:b}];g=Rt.makeVList({positionType:"individualShift",children:O},t)}else if(i){h=Math.max(h,u.sub1,i.height-.8*u.xHeight);var M=[{type:"elem",elem:i,marginLeft:x,marginRight:b}];g=Rt.makeVList({positionType:"shift",positionData:h,children:M},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");f=Math.max(f,o,n.depth+.25*u.xHeight),g=Rt.makeVList({positionType:"shift",positionData:-f,children:[{type:"elem",elem:n,marginRight:b}]},t)}var T=fr(c,"right")||"mord";return Rt.makeSpan([T],[c,Rt.makeSpan(["msupsub"],[g])],t)},mathmlBuilder:function(e,t){var r,n,i=!1,o=Bt(e.base,"horizBrace");o&&(n=!!e.sup,n===o.isOver&&(i=!0,r=o.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var a,s=[Mr(e.base,t)];if(e.sub&&s.push(Mr(e.sub,t)),e.sup&&s.push(Mr(e.sup,t)),i)a=r?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;a=l&&"op"===l.type&&l.limits&&t.style===D.DISPLAY||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(t.style===D.DISPLAY||l.limits)?"munderover":"msubsup"}else{var c=e.base;a=c&&"op"===c.type&&c.limits&&(t.style===D.DISPLAY||c.alwaysHandleSupSub)||c&&"operatorname"===c.type&&c.alwaysHandleSupSub&&(c.limits||t.style===D.DISPLAY)?"munder":"msub"}else{var u=e.base;a=u&&"op"===u.type&&u.limits&&(t.style===D.DISPLAY||u.alwaysHandleSupSub)||u&&"operatorname"===u.type&&u.alwaysHandleSupSub&&(u.limits||t.style===D.DISPLAY)?"mover":"msup"}var f=new xr.MathNode(a,s);return f}}),er({type:"atom",htmlBuilder:function(e,t){return Rt.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder:function(e,t){var r=new xr.MathNode("mo",[wr(e.text,e.mode)]);if("bin"===e.family){var n=Sr(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var ui={mi:"italic",mn:"normal",mtext:"normal"};er({type:"mathord",htmlBuilder:function(e,t){return Rt.makeOrd(e,t,"mathord")},mathmlBuilder:function(e,t){var r=new xr.MathNode("mi",[wr(e.text,e.mode,t)]),n=Sr(e,t)||"italic";return n!==ui[r.type]&&r.setAttribute("mathvariant",n),r}}),er({type:"textord",htmlBuilder:function(e,t){return Rt.makeOrd(e,t,"textord")},mathmlBuilder:function(e,t){var r,n=wr(e.text,e.mode,t),i=Sr(e,t)||"normal";return r="text"===e.mode?new xr.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new xr.MathNode("mn",[n]):"\\prime"===e.text?new xr.MathNode("mo",[n]):new xr.MathNode("mi",[n]),i!==ui[r.type]&&r.setAttribute("mathvariant",i),r}});var fi={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},hi={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};er({type:"spacing",htmlBuilder:function(e,t){if(hi.hasOwnProperty(e.text)){var r=hi[e.text].className||"";if("text"===e.mode){var n=Rt.makeOrd(e,t,"textord");return n.classes.push(r),n}return Rt.makeSpan(["mspace",r],[Rt.mathsym(e.text,e.mode,t)],t)}if(fi.hasOwnProperty(e.text))return Rt.makeSpan(["mspace",fi[e.text]],[],t);throw new a('Unknown type of space "'+e.text+'"')},mathmlBuilder:function(e,t){var r;if(!hi.hasOwnProperty(e.text)){if(fi.hasOwnProperty(e.text))return new xr.MathNode("mspace");throw new a('Unknown type of space "'+e.text+'"')}return r=new xr.MathNode("mtext",[new xr.TextNode("\xa0")]),r}});var pi=function(){var e=new xr.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};er({type:"tag",mathmlBuilder:function(e,t){var r=new xr.MathNode("mtable",[new xr.MathNode("mtr",[pi(),new xr.MathNode("mtd",[Or(e.body,t)]),pi(),new xr.MathNode("mtd",[Or(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var di={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},mi={"\\textbf":"textbf","\\textmd":"textmd"},gi={"\\textit":"textit","\\textup":"textup"},vi=function(e,t){var r=e.font;return r?di[r]?t.withTextFontFamily(di[r]):mi[r]?t.withTextFontWeight(mi[r]):t.withTextFontShape(gi[r]):t};Qt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},handler:function(e,t){var r=e.parser,n=e.funcName,i=t[0];return{type:"text",mode:r.mode,body:tr(i),font:n}},htmlBuilder:function(e,t){var r=vi(e,t),n=sr(e.body,r,!0);return Rt.makeSpan(["mord","text"],Rt.tryCombineChars(n),r)},mathmlBuilder:function(e,t){var r=vi(e,t);return Or(e.body,r)}}),Qt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(e,t){var r=e.parser;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder:function(e,t){var r=pr(e.body,t),n=Rt.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,o=Rt.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return Rt.makeSpan(["mord","underline"],[o],t)},mathmlBuilder:function(e,t){var r=new xr.MathNode("mo",[new xr.TextNode("\u203e")]);r.setAttribute("stretchy","true");var n=new xr.MathNode("munder",[Mr(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),Qt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(e,t,r){throw new a("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(e,t){for(var r=yi(e),n=[],i=t.havingStyle(t.style.text()),o=0;o<r.length;o++){var a=r[o];"~"===a&&(a="\\textasciitilde"),n.push(Rt.makeSymbol(a,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Rt.makeSpan(["mord","text"].concat(i.sizingClasses(t)),Rt.tryCombineChars(n),i)},mathmlBuilder:function(e,t){var r=new xr.TextNode(yi(e)),n=new xr.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var yi=function(e){return e.body.replace(/ /g,e.star?"\u2423":"\xa0")},bi=Xt,xi=bi,wi="[ \r\n\t]",ki="\\\\[a-zA-Z@]+",Si="\\\\[^\ud800-\udfff]",Ci=""+ki+wi+"*",Oi=new RegExp("^("+ki+")"+wi+"*$"),Mi="[\u0300-\u036f]",Ti=new RegExp(Mi+"+$"),Ai="("+wi+"+)|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+Mi+"*|[\ud800-\udbff][\udc00-\udfff]"+Mi+"*|\\\\verb\\*([^]).*?\\3|\\\\verb([^*a-zA-Z]).*?\\4|\\\\operatorname\\*|"+Ci+"|"+Si+")",Ei=function(){function e(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ai,"g"),this.catcodes={"%":14}}var t=e.prototype;return t.setCatcode=function(e,t){this.catcodes[e]=t},t.lex=function(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new i("EOF",new n(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new a("Unexpected character: '"+e[t]+"'",new i(e[t],new n(this,t,t+1)));var o=r[2]||" ";if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}var l=o.match(Oi);return l&&(o=l[1]),new i(o,new n(this,t,this.tokenRegex.lastIndex))},e}(),Ni=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}var t=e.prototype;return t.beginGroup=function(){this.undefStack.push({})},t.endGroup=function(){if(0===this.undefStack.length)throw new a("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(void 0===e[t]?delete this.current[t]:this.current[t]=e[t])},t.has=function(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)},t.get=function(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]},t.set=function(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}this.current[e]=t},e}(),ji={},zi=ji;function Pi(e,t){ji[e]=t}Pi("\\@firstoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}})),Pi("\\@secondoftwo",(function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}})),Pi("\\@ifnextchar",(function(e){var t=e.consumeArgs(3),r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pi("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pi("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Fi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Pi("\\char",(function(e){var t,r=e.popToken(),n="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if(r=e.popToken(),"\\"===r.text[0])n=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new a("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(n=Fi[r.text],null==n||n>=t)throw new a("Invalid base-"+t+" digit "+r.text);var i;while(null!=(i=Fi[e.future().text])&&i<t)n*=t,n+=i,e.popToken()}return"\\@char{"+n+"}"}));var Li=function(e,t){var r=e.consumeArgs(1)[0];if(1!==r.length)throw new a("\\gdef's first argument must be a macro name");var n=r[0].text,i=0;r=e.consumeArgs(1)[0];while(1===r.length&&"#"===r[0].text){if(r=e.consumeArgs(1)[0],1!==r.length)throw new a('Invalid argument number length "'+r.length+'"');if(!/^[1-9]$/.test(r[0].text))throw new a('Invalid argument number "'+r[0].text+'"');if(i++,parseInt(r[0].text)!==i)throw new a('Argument number "'+r[0].text+'" out of order');r=e.consumeArgs(1)[0]}return e.macros.set(n,{tokens:r,numArgs:i},t),""};Pi("\\gdef",(function(e){return Li(e,!0)})),Pi("\\def",(function(e){return Li(e,!1)})),Pi("\\global",(function(e){var t=e.consumeArgs(1)[0];if(1!==t.length)throw new a("Invalid command after \\global");var r=t[0].text;if("\\def"===r)return Li(e,!0);throw new a("Invalid command '"+r+"' after \\global")}));var Di=function(e,t,r){var n=e.consumeArgs(1)[0];if(1!==n.length)throw new a("\\newcommand's first argument must be a macro name");var i=n[0].text,o=e.isDefined(i);if(o&&!t)throw new a("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!o&&!r)throw new a("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(n=e.consumeArgs(1)[0],1===n.length&&"["===n[0].text){var l="",c=e.expandNextToken();while("]"!==c.text&&"EOF"!==c.text)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new a("Invalid number of arguments: "+l);s=parseInt(l),n=e.consumeArgs(1)[0]}return e.macros.set(i,{tokens:n,numArgs:s}),""};Pi("\\newcommand",(function(e){return Di(e,!1,!0)})),Pi("\\renewcommand",(function(e){return Di(e,!0,!1)})),Pi("\\providecommand",(function(e){return Di(e,!0,!0)})),Pi("\\bgroup","{"),Pi("\\egroup","}"),Pi("\\lq","`"),Pi("\\rq","'"),Pi("\\aa","\\r a"),Pi("\\AA","\\r A"),Pi("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Pi("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pi("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Pi("\u212c","\\mathscr{B}"),Pi("\u2130","\\mathscr{E}"),Pi("\u2131","\\mathscr{F}"),Pi("\u210b","\\mathscr{H}"),Pi("\u2110","\\mathscr{I}"),Pi("\u2112","\\mathscr{L}"),Pi("\u2133","\\mathscr{M}"),Pi("\u211b","\\mathscr{R}"),Pi("\u212d","\\mathfrak{C}"),Pi("\u210c","\\mathfrak{H}"),Pi("\u2128","\\mathfrak{Z}"),Pi("\\Bbbk","\\Bbb{k}"),Pi("\xb7","\\cdotp"),Pi("\\llap","\\mathllap{\\textrm{#1}}"),Pi("\\rlap","\\mathrlap{\\textrm{#1}}"),Pi("\\clap","\\mathclap{\\textrm{#1}}"),Pi("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pi("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Pi("\\ne","\\neq"),Pi("\u2260","\\neq"),Pi("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Pi("\u2209","\\notin"),Pi("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Pi("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Pi("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Pi("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Pi("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Pi("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Pi("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Pi("\u27c2","\\perp"),Pi("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Pi("\u220c","\\notni"),Pi("\u231c","\\ulcorner"),Pi("\u231d","\\urcorner"),Pi("\u231e","\\llcorner"),Pi("\u231f","\\lrcorner"),Pi("\xa9","\\copyright"),Pi("\xae","\\textregistered"),Pi("\ufe0f","\\textregistered"),Pi("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Pi("\u22ee","\\vdots"),Pi("\\varGamma","\\mathit{\\Gamma}"),Pi("\\varDelta","\\mathit{\\Delta}"),Pi("\\varTheta","\\mathit{\\Theta}"),Pi("\\varLambda","\\mathit{\\Lambda}"),Pi("\\varXi","\\mathit{\\Xi}"),Pi("\\varPi","\\mathit{\\Pi}"),Pi("\\varSigma","\\mathit{\\Sigma}"),Pi("\\varUpsilon","\\mathit{\\Upsilon}"),Pi("\\varPhi","\\mathit{\\Phi}"),Pi("\\varPsi","\\mathit{\\Psi}"),Pi("\\varOmega","\\mathit{\\Omega}"),Pi("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pi("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu"),Pi("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pi("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pi("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pi("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Ii={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Pi("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Ii?t=Ii[r]:("\\not"===r.substr(0,4)||r in we.math&&y.contains(["bin","rel"],we.math[r].group))&&(t="\\dotsb"),t}));var Ri={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Pi("\\dotso",(function(e){var t=e.future().text;return t in Ri?"\\ldots\\,":"\\ldots"})),Pi("\\dotsc",(function(e){var t=e.future().text;return t in Ri&&","!==t?"\\ldots\\,":"\\ldots"})),Pi("\\cdots",(function(e){var t=e.future().text;return t in Ri?"\\@cdots\\,":"\\@cdots"})),Pi("\\dotsb","\\cdots"),Pi("\\dotsm","\\cdots"),Pi("\\dotsi","\\!\\cdots"),Pi("\\dotsx","\\ldots\\,"),Pi("\\DOTSI","\\relax"),Pi("\\DOTSB","\\relax"),Pi("\\DOTSX","\\relax"),Pi("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pi("\\,","\\tmspace+{3mu}{.1667em}"),Pi("\\thinspace","\\,"),Pi("\\>","\\mskip{4mu}"),Pi("\\:","\\tmspace+{4mu}{.2222em}"),Pi("\\medspace","\\:"),Pi("\\;","\\tmspace+{5mu}{.2777em}"),Pi("\\thickspace","\\;"),Pi("\\!","\\tmspace-{3mu}{.1667em}"),Pi("\\negthinspace","\\!"),Pi("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pi("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pi("\\enspace","\\kern.5em "),Pi("\\enskip","\\hskip.5em\\relax"),Pi("\\quad","\\hskip1em\\relax"),Pi("\\qquad","\\hskip2em\\relax"),Pi("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pi("\\tag@paren","\\tag@literal{({#1})}"),Pi("\\tag@literal",(function(e){if(e.macros.get("\\df@tag"))throw new a("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pi("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pi("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pi("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pi("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pi("\\pmb","\\html@mathml{\\@binrel{#1}{\\mathrlap{#1}\\kern0.5px#1}}{\\mathbf{#1}}"),Pi("\\\\","\\newline"),Pi("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var _i=fe["Main-Regular"]["T".charCodeAt(0)][1]-.7*fe["Main-Regular"]["A".charCodeAt(0)][1]+"em";Pi("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+_i+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pi("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+_i+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pi("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pi("\\@hspace","\\hskip #1\\relax"),Pi("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pi("\\ordinarycolon",":"),Pi("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pi("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pi("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pi("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pi("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pi("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pi("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pi("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pi("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pi("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pi("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pi("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pi("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pi("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pi("\u2237","\\dblcolon"),Pi("\u2239","\\eqcolon"),Pi("\u2254","\\coloneqq"),Pi("\u2255","\\eqqcolon"),Pi("\u2a74","\\Coloneqq"),Pi("\\ratio","\\vcentcolon"),Pi("\\coloncolon","\\dblcolon"),Pi("\\colonequals","\\coloneqq"),Pi("\\coloncolonequals","\\Coloneqq"),Pi("\\equalscolon","\\eqqcolon"),Pi("\\equalscoloncolon","\\Eqqcolon"),Pi("\\colonminus","\\coloneq"),Pi("\\coloncolonminus","\\Coloneq"),Pi("\\minuscolon","\\eqcolon"),Pi("\\minuscoloncolon","\\Eqcolon"),Pi("\\coloncolonapprox","\\Colonapprox"),Pi("\\coloncolonsim","\\Colonsim"),Pi("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pi("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pi("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pi("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pi("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Pi("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pi("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pi("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Pi("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Pi("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Pi("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Pi("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Pi("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Pi("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Pi("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Pi("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Pi("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Pi("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Pi("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Pi("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Pi("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Pi("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Pi("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Pi("\u27e6","\\llbracket"),Pi("\u27e7","\\rrbracket"),Pi("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Pi("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Pi("\u2983","\\lBrace"),Pi("\u2984","\\rBrace"),Pi("\\darr","\\downarrow"),Pi("\\dArr","\\Downarrow"),Pi("\\Darr","\\Downarrow"),Pi("\\lang","\\langle"),Pi("\\rang","\\rangle"),Pi("\\uarr","\\uparrow"),Pi("\\uArr","\\Uparrow"),Pi("\\Uarr","\\Uparrow"),Pi("\\N","\\mathbb{N}"),Pi("\\R","\\mathbb{R}"),Pi("\\Z","\\mathbb{Z}"),Pi("\\alef","\\aleph"),Pi("\\alefsym","\\aleph"),Pi("\\Alpha","\\mathrm{A}"),Pi("\\Beta","\\mathrm{B}"),Pi("\\bull","\\bullet"),Pi("\\Chi","\\mathrm{X}"),Pi("\\clubs","\\clubsuit"),Pi("\\cnums","\\mathbb{C}"),Pi("\\Complex","\\mathbb{C}"),Pi("\\Dagger","\\ddagger"),Pi("\\diamonds","\\diamondsuit"),Pi("\\empty","\\emptyset"),Pi("\\Epsilon","\\mathrm{E}"),Pi("\\Eta","\\mathrm{H}"),Pi("\\exist","\\exists"),Pi("\\harr","\\leftrightarrow"),Pi("\\hArr","\\Leftrightarrow"),Pi("\\Harr","\\Leftrightarrow"),Pi("\\hearts","\\heartsuit"),Pi("\\image","\\Im"),Pi("\\infin","\\infty"),Pi("\\Iota","\\mathrm{I}"),Pi("\\isin","\\in"),Pi("\\Kappa","\\mathrm{K}"),Pi("\\larr","\\leftarrow"),Pi("\\lArr","\\Leftarrow"),Pi("\\Larr","\\Leftarrow"),Pi("\\lrarr","\\leftrightarrow"),Pi("\\lrArr","\\Leftrightarrow"),Pi("\\Lrarr","\\Leftrightarrow"),Pi("\\Mu","\\mathrm{M}"),Pi("\\natnums","\\mathbb{N}"),Pi("\\Nu","\\mathrm{N}"),Pi("\\Omicron","\\mathrm{O}"),Pi("\\plusmn","\\pm"),Pi("\\rarr","\\rightarrow"),Pi("\\rArr","\\Rightarrow"),Pi("\\Rarr","\\Rightarrow"),Pi("\\real","\\Re"),Pi("\\reals","\\mathbb{R}"),Pi("\\Reals","\\mathbb{R}"),Pi("\\Rho","\\mathrm{P}"),Pi("\\sdot","\\cdot"),Pi("\\sect","\\S"),Pi("\\spades","\\spadesuit"),Pi("\\sub","\\subset"),Pi("\\sube","\\subseteq"),Pi("\\supe","\\supseteq"),Pi("\\Tau","\\mathrm{T}"),Pi("\\thetasym","\\vartheta"),Pi("\\weierp","\\wp"),Pi("\\Zeta","\\mathrm{Z}"),Pi("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pi("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pi("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pi("\\blue","\\textcolor{##6495ed}{#1}"),Pi("\\orange","\\textcolor{##ffa500}{#1}"),Pi("\\pink","\\textcolor{##ff00af}{#1}"),Pi("\\red","\\textcolor{##df0030}{#1}"),Pi("\\green","\\textcolor{##28ae7b}{#1}"),Pi("\\gray","\\textcolor{gray}{#1}"),Pi("\\purple","\\textcolor{##9d38bd}{#1}"),Pi("\\blueA","\\textcolor{##ccfaff}{#1}"),Pi("\\blueB","\\textcolor{##80f6ff}{#1}"),Pi("\\blueC","\\textcolor{##63d9ea}{#1}"),Pi("\\blueD","\\textcolor{##11accd}{#1}"),Pi("\\blueE","\\textcolor{##0c7f99}{#1}"),Pi("\\tealA","\\textcolor{##94fff5}{#1}"),Pi("\\tealB","\\textcolor{##26edd5}{#1}"),Pi("\\tealC","\\textcolor{##01d1c1}{#1}"),Pi("\\tealD","\\textcolor{##01a995}{#1}"),Pi("\\tealE","\\textcolor{##208170}{#1}"),Pi("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pi("\\greenB","\\textcolor{##8af281}{#1}"),Pi("\\greenC","\\textcolor{##74cf70}{#1}"),Pi("\\greenD","\\textcolor{##1fab54}{#1}"),Pi("\\greenE","\\textcolor{##0d923f}{#1}"),Pi("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pi("\\goldB","\\textcolor{##ffbb71}{#1}"),Pi("\\goldC","\\textcolor{##ff9c39}{#1}"),Pi("\\goldD","\\textcolor{##e07d10}{#1}"),Pi("\\goldE","\\textcolor{##a75a05}{#1}"),Pi("\\redA","\\textcolor{##fca9a9}{#1}"),Pi("\\redB","\\textcolor{##ff8482}{#1}"),Pi("\\redC","\\textcolor{##f9685d}{#1}"),Pi("\\redD","\\textcolor{##e84d39}{#1}"),Pi("\\redE","\\textcolor{##bc2612}{#1}"),Pi("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pi("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pi("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pi("\\maroonD","\\textcolor{##ca337c}{#1}"),Pi("\\maroonE","\\textcolor{##9e034e}{#1}"),Pi("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pi("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pi("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pi("\\purpleD","\\textcolor{##7854ab}{#1}"),Pi("\\purpleE","\\textcolor{##543b78}{#1}"),Pi("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pi("\\mintB","\\textcolor{##edf2df}{#1}"),Pi("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pi("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pi("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pi("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pi("\\grayD","\\textcolor{##d6d8da}{#1}"),Pi("\\grayE","\\textcolor{##babec2}{#1}"),Pi("\\grayF","\\textcolor{##888d93}{#1}"),Pi("\\grayG","\\textcolor{##626569}{#1}"),Pi("\\grayH","\\textcolor{##3b3e40}{#1}"),Pi("\\grayI","\\textcolor{##21242c}{#1}"),Pi("\\kaBlue","\\textcolor{##314453}{#1}"),Pi("\\kaGreen","\\textcolor{##71B307}{#1}");var Bi={"\\relax":!0,"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},qi=function(){function e(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ni(zi,t.macros),this.mode=r,this.stack=[]}var t=e.prototype;return t.feed=function(e){this.lexer=new Ei(e,this.settings)},t.switchMode=function(e){this.mode=e},t.beginGroup=function(){this.macros.beginGroup()},t.endGroup=function(){this.macros.endGroup()},t.future=function(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},t.popToken=function(){return this.future(),this.stack.pop()},t.pushToken=function(e){this.stack.push(e)},t.pushTokens=function(e){var t;(t=this.stack).push.apply(t,e)},t.consumeSpaces=function(){for(;;){var e=this.future();if(" "!==e.text)break;this.stack.pop()}},t.consumeArgs=function(e){for(var t=[],r=0;r<e;++r){this.consumeSpaces();var n=this.popToken();if("{"===n.text){var i=[],o=1;while(0!==o){var s=this.popToken();if(i.push(s),"{"===s.text)++o;else if("}"===s.text)--o;else if("EOF"===s.text)throw new a("End of input in macro argument",n)}i.pop(),i.reverse(),t[r]=i}else{if("EOF"===n.text)throw new a("End of input expecting macro argument");t[r]=[n]}}return t},t.expandOnce=function(){var e=this.popToken(),t=e.text,r=this._getExpansion(t);if(null==r)return this.pushToken(e),e;if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new a("Too many expansions: infinite loop or need to increase maxExpand setting");var n=r.tokens;if(r.numArgs){var i=this.consumeArgs(r.numArgs);n=n.slice();for(var o=n.length-1;o>=0;--o){var s=n[o];if("#"===s.text){if(0===o)throw new a("Incomplete placeholder at end of macro body",s);if(s=n[--o],"#"===s.text)n.splice(o+1,1);else{if(!/^[1-9]$/.test(s.text))throw new a("Not a valid argument number",s);var l;(l=n).splice.apply(l,[o,2].concat(i[+s.text-1]))}}}}return this.pushTokens(n),n},t.expandAfterFuture=function(){return this.expandOnce(),this.future()},t.expandNextToken=function(){for(;;){var e=this.expandOnce();if(e instanceof i){if("\\relax"!==e.text)return this.stack.pop();this.stack.pop()}}throw new Error},t.expandMacro=function(e){if(this.macros.get(e)){var t=[],r=this.stack.length;this.pushToken(new i(e));while(this.stack.length>r){var n=this.expandOnce();n instanceof i&&t.push(this.stack.pop())}return t}},t.expandMacroAsText=function(e){var t=this.expandMacro(e);return t?t.map((function(e){return e.text})).join(""):t},t._getExpansion=function(e){var t=this.macros.get(e);if(null==t)return t;var r="function"===typeof t?t(this):t;if("string"===typeof r){var n=0;if(-1!==r.indexOf("#")){var i=r.replace(/##/g,"");while(-1!==i.indexOf("#"+(n+1)))++n}var o=new Ei(r,this.settings),a=[],s=o.lex();while("EOF"!==s.text)a.push(s),s=o.lex();a.reverse();var l={tokens:a,numArgs:n};return l}return r},t.isDefined=function(e){return this.macros.has(e)||xi.hasOwnProperty(e)||we.math.hasOwnProperty(e)||we.text.hasOwnProperty(e)||Bi.hasOwnProperty(e)},e}(),Hi={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"}},Vi={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\u010f":"d\u030c","\u1e0b":"d\u0307","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u013a":"l\u0301","\u013e":"l\u030c","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\u010e":"D\u030c","\u1e0a":"D\u0307","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0139":"L\u0301","\u013d":"L\u030c","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u0164":"T\u030c","\u1e6a":"T\u0307","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"},Wi=function(){function e(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new qi(e,t,this.mode),this.settings=t,this.leftrightDepth=0}var t=e.prototype;return t.expect=function(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new a("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()},t.consume=function(){this.nextToken=null},t.fetch=function(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},t.switchMode=function(e){this.mode=e,this.gullet.switchMode(e)},t.parse=function(){this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");var e=this.parseExpression(!1);return this.expect("EOF"),this.gullet.endGroup(),e},t.parseExpression=function(t,r){var n=[];while(1){"math"===this.mode&&this.consumeSpaces();var i=this.fetch();if(-1!==e.endOfExpression.indexOf(i.text))break;if(r&&i.text===r)break;if(t&&xi[i.text]&&xi[i.text].infix)break;var o=this.parseAtom(r);if(!o)break;n.push(o)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)},t.handleInfixNodes=function(e){for(var t,r=-1,n=0;n<e.length;n++){var i=Bt(e[n],"infix");if(i){if(-1!==r)throw new a("only one infix operator per group",i.token);r=n,t=i.replaceWith}}if(-1!==r&&t){var o,s,l,c=e.slice(0,r),u=e.slice(r+1);return o=1===c.length&&"ordgroup"===c[0].type?c[0]:{type:"ordgroup",mode:this.mode,body:c},s=1===u.length&&"ordgroup"===u[0].type?u[0]:{type:"ordgroup",mode:this.mode,body:u},l="\\\\abovefrac"===t?this.callFunction(t,[o,e[r],s],[]):this.callFunction(t,[o,s],[]),[l]}return e},t.handleSupSubscript=function(t){var r=this.fetch(),n=r.text;this.consume();var i=this.parseGroup(t,!1,e.SUPSUB_GREEDINESS,void 0,void 0,!0);if(!i)throw new a("Expected group after '"+n+"'",r);return i},t.formatUnsupportedCmd=function(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]};return i},t.parseAtom=function(e){var t,r,n=this.parseGroup("atom",!1,null,e);if("text"===this.mode)return n;while(1){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){var o=Bt(n,"op");if(o){var s="\\limits"===i.text;o.limits=s,o.alwaysHandleSupSub=!0}else{if(o=Bt(n,"operatorname"),!o||!o.alwaysHandleSupSub)throw new a("Limit controls must follow a math operator",i);var l="\\limits"===i.text;o.limits=l}this.consume()}else if("^"===i.text){if(t)throw new a("Double superscript",i);t=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new a("Double subscript",i);r=this.handleSupSubscript("subscript")}else{if("'"!==i.text)break;if(t)throw new a("Double superscript",i);var c={type:"textord",mode:this.mode,text:"\\prime"},u=[c];this.consume();while("'"===this.fetch().text)u.push(c),this.consume();"^"===this.fetch().text&&u.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:u}}}return t||r?{type:"supsub",mode:this.mode,base:n,sup:t,sub:r}:n},t.parseFunction=function(e,t,r){var n=this.fetch(),i=n.text,o=xi[i];if(!o)return null;if(this.consume(),null!=r&&o.greediness<=r)throw new a("Got function '"+i+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!o.allowedInText)throw new a("Can't use function '"+i+"' in text mode",n);if("math"===this.mode&&!1===o.allowedInMath)throw new a("Can't use function '"+i+"' in math mode",n);var s=this.parseArguments(i,o),l=s.args,c=s.optArgs;return this.callFunction(i,l,c,n,e)},t.callFunction=function(e,t,r,n,i){var o={funcName:e,parser:this,token:n,breakOnTokenText:i},s=xi[e];if(s&&s.handler)return s.handler(o,t,r);throw new a("No function handler for "+e)},t.parseArguments=function(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=t.greediness,i=[],o=[],s=0;s<r;s++){var l=t.argTypes&&t.argTypes[s],c=s<t.numOptionalArgs,u=s>0&&!c||0===s&&!c&&"math"===this.mode,f=this.parseGroupOfType("argument to '"+e+"'",l,c,n,u);if(!f){if(c){o.push(null);continue}throw new a("Expected group after '"+e+"'",this.fetch())}(c?o:i).push(f)}return{args:i,optArgs:o}},t.parseGroupOfType=function(e,t,r,n,i){switch(t){case"color":return i&&this.consumeSpaces(),this.parseColorGroup(r);case"size":return i&&this.consumeSpaces(),this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r,i);case"math":case"text":return this.parseGroup(e,r,n,void 0,t,i);case"hbox":var o=this.parseGroup(e,r,n,void 0,"text",i);if(!o)return o;var s={type:"styling",mode:o.mode,body:[o],style:"text"};return s;case"raw":if(i&&this.consumeSpaces(),r&&"{"===this.fetch().text)return null;var l=this.parseStringGroup("raw",r,!0);if(l)return{type:"raw",mode:"text",string:l.text};throw new a("Expected raw group",this.fetch());case"original":case null:case void 0:return this.parseGroup(e,r,n,void 0,void 0,i);default:throw new a("Unknown group type as "+e,this.fetch())}},t.consumeSpaces=function(){while(" "===this.fetch().text)this.consume()},t.parseStringGroup=function(e,t,r){var n=t?"[":"{",i=t?"]":"}",o=this.fetch();if(o.text!==n){if(t)return null;if(r&&"EOF"!==o.text&&/[^{}[\]]/.test(o.text))return this.consume(),o}var s=this.mode;this.mode="text",this.expect(n);var l,c="",u=this.fetch(),f=0,h=u;while((l=this.fetch()).text!==i||r&&f>0){switch(l.text){case"EOF":throw new a("Unexpected end of input in "+e,u.range(h,c));case n:f++;break;case i:f--;break}h=l,c+=h.text,this.consume()}return this.expect(i),this.mode=s,u.range(h,c)},t.parseRegexGroup=function(e,t){var r=this.mode;this.mode="text";var n,i=this.fetch(),o=i,s="";while("EOF"!==(n=this.fetch()).text&&e.test(s+n.text))o=n,s+=o.text,this.consume();if(""===s)throw new a("Invalid "+t+": '"+i.text+"'",i);return this.mode=r,i.range(o,s)},t.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var r=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new a("Invalid color: '"+t.text+"'",t);var n=r[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}},t.parseSizeGroup=function(e){var t,r=!1;if(t=e||"{"===this.fetch().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"),!t)return null;e||0!==t.text.length||(t.text="0pt",r=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new a("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!ht(i))throw new a("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:r}},t.parseUrlGroup=function(e,t){this.gullet.lexer.setCatcode("%",13);var r=this.parseStringGroup("url",e,!0);if(this.gullet.lexer.setCatcode("%",14),!r)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}},t.parseGroup=function(t,r,i,o,s,l){var c=this.mode;s&&this.switchMode(s),l&&this.consumeSpaces();var u,f=this.fetch(),h=f.text;if(r?"["===h:"{"===h||"\\begingroup"===h){this.consume();var p=e.endOfGroup[h];this.gullet.beginGroup();var d=this.parseExpression(!1,p),m=this.fetch();this.expect(p),this.gullet.endGroup(),u={type:"ordgroup",mode:this.mode,loc:n.range(f,m),body:d,semisimple:"\\begingroup"===h||void 0}}else if(r)u=null;else if(u=this.parseFunction(o,t,i)||this.parseSymbol(),null==u&&"\\"===h[0]&&!Bi.hasOwnProperty(h)){if(this.settings.throwOnError)throw new a("Undefined control sequence: "+h,f);u=this.formatUnsupportedCmd(h),this.consume()}return s&&this.switchMode(c),u},t.formLigatures=function(e){for(var t=e.length-1,r=0;r<t;++r){var i=e[r],o=i.text;"-"===o&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:n.range(i,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:n.range(i,e[r+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[r+1].text!==o||(e.splice(r,2,{type:"textord",mode:"text",loc:n.range(i,e[r+1]),text:o+o}),t-=1)}},t.parseSymbol=function(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),i="*"===r.charAt(0);if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new a("\\verb assertion failed --\n please report what input caused this bug");return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:i}}Vi.hasOwnProperty(t[0])&&!we[this.mode][t[0]]&&(this.settings.strict&&"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',e),t=Vi[t[0]]+t.substr(1));var o,s=Ti.exec(t);if(s&&(t=t.substring(0,s.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237")),we[this.mode][t]){this.settings.strict&&"math"===this.mode&&Qe.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,c=we[this.mode][t].group,u=n.range(e);if(ye.hasOwnProperty(c)){var f=c;l={type:"atom",mode:this.mode,family:f,loc:u,text:t}}else l={type:c,mode:this.mode,loc:u,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(B(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:n.range(e),text:t}}if(this.consume(),s)for(var h=0;h<s[0].length;h++){var p=s[0][h];if(!Hi[p])throw new a("Unknown accent ' "+p+"'",e);var d=Hi[p][this.mode];if(!d)throw new a("Accent "+p+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:n.range(e),label:d,isStretchy:!1,isShifty:!0,base:o}}return o},e}();Wi.endOfExpression=["}","\\endgroup","\\end","\\right","&"],Wi.endOfGroup={"[":"]","{":"}","\\begingroup":"\\endgroup"},Wi.SUPSUB_GREEDINESS=1;var Ui=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new Wi(e,t);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new a("\\tag works only in display equations");r.gullet.feed("\\df@tag"),n=[{type:"tag",mode:"text",body:n,tag:r.parse()}]}return n},$i=Ui,Gi=function(e,t,r){t.textContent="";var n=Zi(e,r).toNode();t.appendChild(n)};"undefined"!==typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!==typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Gi=function(){throw new a("KaTeX doesn't work in quirks mode.")});var Ki=function(e,t){var r=Zi(e,t).toMarkup();return r},Yi=function(e,t){var r=new b(t);return $i(e,r)},Xi=function(e,t,r){if(r.throwOnError||!(e instanceof a))throw e;var n=Rt.makeSpan(["katex-error"],[new oe(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},Zi=function(e,t){var r=new b(t);try{var n=$i(e,r);return Nr(n,e,r)}catch(i){return Xi(i,e,r)}},Ji=function(e,t){var r=new b(t);try{var n=$i(e,r);return jr(n,e,r)}catch(i){return Xi(i,e,r)}},Qi={version:"0.11.1",render:Gi,renderToString:Ki,ParseError:a,__parse:Yi,__renderToDomTree:Zi,__renderToHTMLTree:Ji,__setFontMetrics:de,__defineSymbol:ke,__defineMacro:Pi,__domTree:{Span:te,Anchor:re,SymbolNode:oe,SvgNode:ae,PathNode:se,LineNode:le}};t["default"]=Qi}])["default"]}))},QRdY:function(e,t,r){r("xfML"),e.exports=r("VSTI").Object.setPrototypeOf},QbM5:function(e,t,r){},QkVE:function(e,t,r){var n=r("EpBk");function i(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}e.exports=i},QoRX:function(e,t){function r(e,t){var r=-1,n=null==e?0:e.length;while(++r<n)if(t(e[r],r,e))return!0;return!1}e.exports=r},QqLw:function(e,t,r){var n=r("tadb"),i=r("ebwN"),o=r("HOxn"),a=r("yGk4"),s=r("Of+w"),l=r("NykK"),c=r("3Fdi"),u="[object Map]",f="[object Object]",h="[object Promise]",p="[object Set]",d="[object WeakMap]",m="[object DataView]",g=c(n),v=c(i),y=c(o),b=c(a),x=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=m||i&&w(new i)!=u||o&&w(o.resolve())!=h||a&&w(new a)!=p||s&&w(new s)!=d)&&(w=function(e){var t=l(e),r=t==f?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return m;case v:return u;case y:return h;case b:return p;case x:return d}return t}),e.exports=w},SJMd:function(e,t){var r=!1;window["PR_SHOULD_USE_CONTINUATION"]=!0,function(){var e=window,t=["break,continue,do,else,for,if,return,while"],n=[t,"auto,case,char,const,default,double,enum,extern,float,goto,inline,int,long,register,restrict,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],i=[n,"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],o=[i,"alignas,alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,delegate,dynamic_cast,explicit,export,friend,generic,late_check,mutable,namespace,noexcept,noreturn,nullptr,property,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],a=[i,"abstract,assert,boolean,byte,extends,finally,final,implements,import,instanceof,interface,null,native,package,strictfp,super,synchronized,throws,transient"],s=[i,"abstract,add,alias,as,ascending,async,await,base,bool,by,byte,checked,decimal,delegate,descending,dynamic,event,finally,fixed,foreach,from,get,global,group,implicit,in,interface,internal,into,is,join,let,lock,null,object,out,override,orderby,params,partial,readonly,ref,remove,sbyte,sealed,select,set,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,value,var,virtual,where,yield"],l="all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,throw,true,try,unless,until,when,while,yes",c=[i,"abstract,async,await,constructor,debugger,enum,eval,export,function,get,implements,instanceof,interface,let,null,set,undefined,var,with,yield,Infinity,NaN"],u="caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",f=[t,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],h=[t,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],p=[t,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],d=[o,s,a,c,u,f,h,p],m=/^(DIR|FILE|array|vector|(de|priority_)?queue|(forward_)?list|stack|(const_)?(reverse_)?iterator|(unordered_)?(multi)?(set|map)|bitset|u?(int|float)\d*)\b/,g="str",v="kwd",y="com",b="typ",x="lit",w="pun",k="pln",S="tag",C="dec",O="src",M="atn",T="atv",A="nocode",E="(?:^^\\.?|[+-]|[!=]=?=?|\\#|%=?|&&?=?|\\(|\\*=?|[+\\-]=|->|\\/=?|::?|<<?=?|>>?>?=?|,|;|\\?|@|\\[|~|{|\\^\\^?=?|\\|\\|?=?|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\\s*";function N(e){for(var t=0,r=!1,n=!1,i=0,o=e.length;i<o;++i){var a=e[i];if(a.ignoreCase)n=!0;else if(/[a-z]/i.test(a.source.replace(/\\u[0-9a-f]{4}|\\x[0-9a-f]{2}|\\[^ux]/gi,""))){r=!0,n=!1;break}}var s={b:8,t:9,n:10,v:11,f:12,r:13};function l(e){var t=e.charCodeAt(0);if(92!==t)return t;var r=e.charAt(1);return t=s[r],t||("0"<=r&&r<="7"?parseInt(e.substring(1),8):"u"===r||"x"===r?parseInt(e.substring(2),16):e.charCodeAt(1))}function c(e){if(e<32)return(e<16?"\\x0":"\\x")+e.toString(16);var t=String.fromCharCode(e);return"\\"===t||"-"===t||"]"===t||"^"===t?"\\"+t:t}function u(e){var t=e.substring(1,e.length-1).match(new RegExp("\\\\u[0-9A-Fa-f]{4}|\\\\x[0-9A-Fa-f]{2}|\\\\[0-3][0-7]{0,2}|\\\\[0-7]{1,2}|\\\\[\\s\\S]|-|[^-\\\\]","g")),r=[],n="^"===t[0],i=["["];n&&i.push("^");for(var o=n?1:0,a=t.length;o<a;++o){var s=t[o];if(/\\[bdsw]/i.test(s))i.push(s);else{var u,f=l(s);o+2<a&&"-"===t[o+1]?(u=l(t[o+2]),o+=2):u=f,r.push([f,u]),u<65||f>122||(u<65||f>90||r.push([32|Math.max(65,f),32|Math.min(u,90)]),u<97||f>122||r.push([-33&Math.max(97,f),-33&Math.min(u,122)]))}}r.sort((function(e,t){return e[0]-t[0]||t[1]-e[1]}));var h=[],p=[];for(o=0;o<r.length;++o){var d=r[o];d[0]<=p[1]+1?p[1]=Math.max(p[1],d[1]):h.push(p=d)}for(o=0;o<h.length;++o){d=h[o];i.push(c(d[0])),d[1]>d[0]&&(d[1]+1>d[0]&&i.push("-"),i.push(c(d[1])))}return i.push("]"),i.join("")}function f(e){for(var n=e.source.match(new RegExp("(?:\\[(?:[^\\x5C\\x5D]|\\\\[\\s\\S])*\\]|\\\\u[A-Fa-f0-9]{4}|\\\\x[A-Fa-f0-9]{2}|\\\\[0-9]+|\\\\[^ux0-9]|\\(\\?[:!=]|[\\(\\)\\^]|[^\\x5B\\x5C\\(\\)\\^]+)","g")),i=n.length,o=[],a=0,s=0;a<i;++a){var l=n[a];if("("===l)++s;else if("\\"===l.charAt(0)){var f=+l.substring(1);f&&(f<=s?o[f]=-1:n[a]=c(f))}}for(a=1;a<o.length;++a)-1===o[a]&&(o[a]=++t);for(a=0,s=0;a<i;++a){l=n[a];if("("===l)++s,o[s]||(n[a]="(?:");else if("\\"===l.charAt(0)){f=+l.substring(1);f&&f<=s&&(n[a]="\\"+o[f])}}for(a=0;a<i;++a)"^"===n[a]&&"^"!==n[a+1]&&(n[a]="");if(e.ignoreCase&&r)for(a=0;a<i;++a){l=n[a];var h=l.charAt(0);l.length>=2&&"["===h?n[a]=u(l):"\\"!==h&&(n[a]=l.replace(/[a-zA-Z]/g,(function(e){var t=e.charCodeAt(0);return"["+String.fromCharCode(-33&t,32|t)+"]"})))}return n.join("")}var h=[];for(i=0,o=e.length;i<o;++i){a=e[i];if(a.global||a.multiline)throw new Error(""+a);h.push("(?:"+f(a)+")")}return new RegExp(h.join("|"),n?"gi":"g")}function j(e,t){var r=/(?:^|\s)nocode(?:\s|$)/,n=[],i=0,o=[],a=0;function s(e){var l=e.nodeType;if(1==l){if(r.test(e.className))return;for(var c=e.firstChild;c;c=c.nextSibling)s(c);var u=e.nodeName.toLowerCase();"br"!==u&&"li"!==u||(n[a]="\n",o[a<<1]=i++,o[a++<<1|1]=e)}else if(3==l||4==l){var f=e.nodeValue;f.length&&(f=t?f.replace(/\r\n?/g,"\n"):f.replace(/[ \t\r\n]+/g," "),n[a]=f,o[a<<1]=i,i+=f.length,o[a++<<1|1]=e)}}return s(e),{sourceCode:n.join("").replace(/\n$/,""),spans:o}}function z(e,t,r,n,i){if(r){var o={sourceNode:e,pre:1,langExtension:null,numberLines:null,sourceCode:r,spans:null,basePos:t,decorations:null};n(o),i.push.apply(i,o.decorations)}}var P=/\S/;function F(e){for(var t=void 0,r=e.firstChild;r;r=r.nextSibling){var n=r.nodeType;t=1===n?t?e:r:3===n&&P.test(r.nodeValue)?e:t}return t===e?void 0:t}function L(e,t){var r,n={};(function(){for(var i=e.concat(t),o=[],a={},s=0,l=i.length;s<l;++s){var c=i[s],u=c[3];if(u)for(var f=u.length;--f>=0;)n[u.charAt(f)]=c;var h=c[1],p=""+h;a.hasOwnProperty(p)||(o.push(h),a[p]=null)}o.push(/[\0-\uffff]/),r=N(o)})();var i=t.length,o=function(e){for(var a=e.sourceCode,s=e.basePos,l=e.sourceNode,c=[s,k],u=0,f=a.match(r)||[],h={},p=0,d=f.length;p<d;++p){var m,g=f[p],v=h[g],y=void 0;if("string"===typeof v)m=!1;else{var b=n[g.charAt(0)];if(b)y=g.match(b[1]),v=b[0];else{for(var x=0;x<i;++x)if(b=t[x],y=g.match(b[1]),y){v=b[0];break}y||(v=k)}m=v.length>=5&&"lang-"===v.substring(0,5),!m||y&&"string"===typeof y[1]||(m=!1,v=O),m||(h[g]=v)}var w=u;if(u+=g.length,m){var S=y[1],C=g.indexOf(S),M=C+S.length;y[2]&&(M=g.length-y[2].length,C=M-S.length);var T=v.substring(5);z(l,s+w,g.substring(0,C),o,c),z(l,s+w+C,S,H(T,S),c),z(l,s+w+M,g.substring(M),o,c)}else c.push(s+w,v)}e.decorations=c};return o}function D(e){var t=[],r=[];e["tripleQuotedStrings"]?t.push([g,/^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/,null,"'\""]):e["multiLineStrings"]?t.push([g,/^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/,null,"'\"`"]):t.push([g,/^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/,null,"\"'"]),e["verbatimStrings"]&&r.push([g,/^@\"(?:[^\"]|\"\")*(?:\"|$)/,null]);var n=e["hashComments"];n&&(e["cStyleComments"]?(n>1?t.push([y,/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,null,"#"]):t.push([y,/^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/,null,"#"]),r.push([g,/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/,null])):t.push([y,/^#[^\r\n]*/,null,"#"])),e["cStyleComments"]&&(r.push([y,/^\/\/[^\r\n]*/,null]),r.push([y,/^\/\*[\s\S]*?(?:\*\/|$)/,null]));var i=e["regexLiterals"];if(i){var o=i>1?"":"\n\r",a=o?".":"[\\S\\s]",s="/(?=[^/*"+o+"])(?:[^/\\x5B\\x5C"+o+"]|\\x5C"+a+"|\\x5B(?:[^\\x5C\\x5D"+o+"]|\\x5C"+a+")*(?:\\x5D|$))+/";r.push(["lang-regex",RegExp("^"+E+"("+s+")")])}var l=e["types"];l&&r.push([b,l]);var c=(""+e["keywords"]).replace(/^ | $/g,"");c.length&&r.push([v,new RegExp("^(?:"+c.replace(/[\s,]+/g,"|")+")\\b"),null]),t.push([k,/^\s+/,null," \r\n\t\xa0"]);var u="^.[^\\s\\w.$@'\"`/\\\\]*";return e["regexLiterals"]&&(u+="(?!s*/)"),r.push([x,/^@[a-z_$][a-z_$@0-9]*/i,null],[b,/^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/,null],[k,/^[a-z_$][a-z_$@0-9]*/i,null],[x,new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*","i"),null,"0123456789"],[k,/^\\[\s\S]?/,null],[w,new RegExp(u),null]),L(t,r)}var I=D({keywords:d,hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0});function R(e,t,r){var n=/(?:^|\s)nocode(?:\s|$)/,i=/\r\n?|\n/,o=e.ownerDocument,a=o.createElement("li");while(e.firstChild)a.appendChild(e.firstChild);var s=[a];function l(e){var t=e.nodeType;if(1!=t||n.test(e.className)){if((3==t||4==t)&&r){var a=e.nodeValue,s=a.match(i);if(s){var u=a.substring(0,s.index);e.nodeValue=u;var f=a.substring(s.index+s[0].length);if(f){var h=e.parentNode;h.insertBefore(o.createTextNode(f),e.nextSibling)}c(e),u||e.parentNode.removeChild(e)}}}else if("br"===e.nodeName)c(e),e.parentNode&&e.parentNode.removeChild(e);else for(var p=e.firstChild;p;p=p.nextSibling)l(p)}function c(e){while(!e.nextSibling)if(e=e.parentNode,!e)return;function t(e,r){var n=r?e.cloneNode(!1):e,i=e.parentNode;if(i){var o=t(i,1),a=e.nextSibling;o.appendChild(n);for(var s=a;s;s=a)a=s.nextSibling,o.appendChild(s)}return n}for(var r,n=t(e.nextSibling,0);(r=n.parentNode)&&1===r.nodeType;)n=r;s.push(n)}for(var u=0;u<s.length;++u)l(s[u]);t===(0|t)&&s[0].setAttribute("value",t);var f=o.createElement("ol");f.className="linenums";for(var h=Math.max(0,t-1|0)||0,p=(u=0,s.length);u<p;++u)a=s[u],a.className="L"+(u+h)%10,a.firstChild||a.appendChild(o.createTextNode("\xa0")),f.appendChild(a);e.appendChild(f)}function _(e){var t=/\bMSIE\s(\d+)/.exec(navigator.userAgent);t=t&&+t[1]<=8;var r,n,i=/\n/g,o=e.sourceCode,a=o.length,s=0,l=e.spans,c=l.length,u=0,f=e.decorations,h=f.length,p=0;for(f[h]=a,n=r=0;n<h;)f[n]!==f[n+2]?(f[r++]=f[n++],f[r++]=f[n++]):n+=2;for(h=r,n=r=0;n<h;){var d=f[n],m=f[n+1],g=n+2;while(g+2<=h&&f[g+1]===m)g+=2;f[r++]=d,f[r++]=m,n=g}h=f.length=r;var v=e.sourceNode,y="";v&&(y=v.style.display,v.style.display="none");try{while(u<c){l[u];var b,x=l[u+2]||a,w=f[p+2]||a,k=(g=Math.min(x,w),l[u+1]);if(1!==k.nodeType&&(b=o.substring(s,g))){t&&(b=b.replace(i,"\r")),k.nodeValue=b;var S=k.ownerDocument,C=S.createElement("span");C.className=f[p+1];var O=k.parentNode;O.replaceChild(C,k),C.appendChild(k),s<x&&(l[u+1]=k=S.createTextNode(o.substring(g,x)),O.insertBefore(k,C.nextSibling))}s=g,s>=x&&(u+=2),s>=w&&(p+=2)}}finally{v&&(v.style.display=y)}}var B={};function q(t,r){for(var n=r.length;--n>=0;){var i=r[n];B.hasOwnProperty(i)?e["console"]&&console["warn"]("cannot override language handler %s",i):B[i]=t}}function H(e,t){return e&&B.hasOwnProperty(e)||(e=/^\s*</.test(t)?"default-markup":"default-code"),B[e]}function V(t){var r=t.langExtension;try{var n=j(t.sourceNode,t.pre),i=n.sourceCode;t.sourceCode=i,t.spans=n.spans,t.basePos=0,H(r,i)(t),_(t)}catch(o){e["console"]&&console["log"](o&&o["stack"]||o)}}function W(e,t,r){var n=r||!1,i=t||null,o=document.createElement("div");o.innerHTML="<pre>"+e+"</pre>",o=o.firstChild,n&&R(o,n,!0);var a={langExtension:i,numberLines:n,sourceNode:o,pre:1,sourceCode:null,basePos:null,spans:null,decorations:null};return V(a),o.innerHTML}function U(t,r){var n=r||document.body,i=n.ownerDocument||document;function o(e){return n.getElementsByTagName(e)}for(var a=[o("pre"),o("code"),o("xmp")],s=[],l=0;l<a.length;++l)for(var c=0,u=a[l].length;c<u;++c)s.push(a[l][c]);a=null;var f=Date;f["now"]||(f={now:function(){return+new Date}});var h=0,p=/\blang(?:uage)?-([\w.]+)(?!\S)/,d=/\bprettyprint\b/,m=/\bprettyprinted\b/,g=/pre|xmp/i,v=/^code$/i,y=/^(?:pre|code|xmp)$/i,b={};function x(){for(var r=e["PR_SHOULD_USE_CONTINUATION"]?f["now"]()+250:1/0;h<s.length&&f["now"]()<r;h++){for(var n=s[h],o=b,a=n;a=a.previousSibling;){var l=a.nodeType,c=(7===l||8===l)&&a.nodeValue;if(c?!/^\??prettify\b/.test(c):3!==l||/\S/.test(a.nodeValue))break;if(c){o={},c.replace(/\b(\w+)=([\w:.%+-]+)/g,(function(e,t,r){o[t]=r}));break}}var u=n.className;if((o!==b||d.test(u))&&!m.test(u)){for(var w=!1,k=n.parentNode;k;k=k.parentNode){var S=k.tagName;if(y.test(S)&&k.className&&d.test(k.className)){w=!0;break}}if(!w){n.className+=" prettyprinted";var C,O,M=o["lang"];if(!M)M=u.match(p),!M&&(C=F(n))&&v.test(C.tagName)&&(M=C.className.match(p)),M&&(M=M[1]);if(g.test(n.tagName))O=1;else{var T=n["currentStyle"],A=i.defaultView,E=T?T["whiteSpace"]:A&&A.getComputedStyle?A.getComputedStyle(n,null).getPropertyValue("white-space"):0;O=E&&"pre"===E.substring(0,3)}var N=o["linenums"];(N="true"===N||+N)||(N=u.match(/\blinenums\b(?::(\d+))?/),N=!!N&&(!N[1]||!N[1].length||+N[1])),N&&R(n,N,O);var j={langExtension:M,sourceNode:n,numberLines:N,pre:O,sourceCode:null,basePos:null,spans:null,decorations:null};V(j)}}}h<s.length?e.setTimeout(x,250):"function"===typeof t&&t()}x()}q(I,["default-code"]),q(L([],[[k,/^[^<?]+/],[C,/^<!\w[^>]*(?:>|$)/],[y,/^<\!--[\s\S]*?(?:-\->|$)/],["lang-",/^<\?([\s\S]+?)(?:\?>|$)/],["lang-",/^<%([\s\S]+?)(?:%>|$)/],[w,/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),["default-markup","htm","html","mxml","xhtml","xml","xsl"]),q(L([[k,/^[\s]+/,null," \t\r\n"],[T,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,"\"'"]],[[S,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[M,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[w,/^[=<>\/]+/],["lang-js",/^on\w+\s*=\s*\"([^\"]+)\"/i],["lang-js",/^on\w+\s*=\s*\'([^\']+)\'/i],["lang-js",/^on\w+\s*=\s*([^\"\'>\s]+)/i],["lang-css",/^style\s*=\s*\"([^\"]+)\"/i],["lang-css",/^style\s*=\s*\'([^\']+)\'/i],["lang-css",/^style\s*=\s*([^\"\'>\s]+)/i]]),["in.tag"]),q(L([],[[T,/^[\s\S]+/]]),["uq.val"]),q(D({keywords:o,hashComments:!0,cStyleComments:!0,types:m}),["c","cc","cpp","cxx","cyc","m"]),q(D({keywords:"null,true,false"}),["json"]),q(D({keywords:s,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:m}),["cs"]),q(D({keywords:a,cStyleComments:!0}),["java"]),q(D({keywords:p,hashComments:!0,multiLineStrings:!0}),["bash","bsh","csh","sh"]),q(D({keywords:f,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),["cv","py","python"]),q(D({keywords:u,hashComments:!0,multiLineStrings:!0,regexLiterals:2}),["perl","pl","pm"]),q(D({keywords:h,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb","ruby"]),q(D({keywords:c,cStyleComments:!0,regexLiterals:!0}),["javascript","js","ts","typescript"]),q(D({keywords:l,hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]),q(L([],[[g,/^[\s\S]+/]]),["regex"]);var $=e["PR"]={createSimpleLexer:L,registerLangHandler:q,sourceDecorator:D,PR_ATTRIB_NAME:M,PR_ATTRIB_VALUE:T,PR_COMMENT:y,PR_DECLARATION:C,PR_KEYWORD:v,PR_LITERAL:x,PR_NOCODE:A,PR_PLAIN:k,PR_PUNCTUATION:w,PR_SOURCE:O,PR_STRING:g,PR_TAG:S,PR_TYPE:b,prettyPrintOne:r?e["prettyPrintOne"]=W:W,prettyPrint:r?e["prettyPrint"]=U:U},G=e["define"];"function"===typeof G&&G["amd"]&&G("google-code-prettify",[],(function(){return $}))}()},SfRM:function(e,t,r){var n=r("YESw");function i(){this.__data__=n?n(null):{},this.size=0}e.exports=i},"SiX+":function(e,t,r){"use strict";var n=r("q1tI"),i=r("TSYQ"),o=r.n(i),a=r("oOh1"),s=r("H84U"),l=r("3Nzz"),c=r("xCex");function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){return g(e)||m(e,t)||p(e,t)||h()}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function p(e,t){if(e){if("string"===typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function g(e){if(Array.isArray(e))return e}var v=function(e){var t,r=n["useContext"](s["b"]),i=r.getPrefixCls,h=r.direction,p=n["useContext"](l["b"]);void 0!==e.value?t=e.value:void 0!==e.defaultValue&&(t=e.defaultValue);var d=n["useState"](t),m=f(d,2),g=m[0],v=m[1],y=n["useState"](e.value),b=f(y,2),x=b[0],w=b[1];n["useEffect"]((function(){w(e.value),void 0===e.value&&x===e.value||v(e.value)}),[e.value]);var k=function(t){var r=g,n=t.target.value;"value"in e||v(n);var i=e.onChange;i&&n!==r&&i(t)},S=function(){var t,r=e.prefixCls,s=e.className,l=void 0===s?"":s,c=e.options,f=e.buttonStyle,d=e.disabled,m=e.children,v=e.size,y=e.style,b=e.id,x=e.onMouseEnter,w=e.onMouseLeave,k=i("radio",r),S="".concat(k,"-group"),C=m;c&&c.length>0&&(C=c.map((function(e){return"string"===typeof e?n["createElement"](a["a"],{key:e,prefixCls:k,disabled:d,value:e,checked:g===e},e):n["createElement"](a["a"],{key:"radio-group-value-options-".concat(e.value),prefixCls:k,disabled:e.disabled||d,value:e.value,checked:g===e.value,style:e.style},e.label)})));var O=v||p,M=o()(S,"".concat(S,"-").concat(f),(t={},u(t,"".concat(S,"-").concat(O),O),u(t,"".concat(S,"-rtl"),"rtl"===h),t),l);return n["createElement"]("div",{className:M,style:y,onMouseEnter:x,onMouseLeave:w,id:b},C)};return n["createElement"](c["a"],{value:{onChange:k,value:g,disabled:e.disabled,name:e.name}},S())};v.defaultProps={buttonStyle:"outline"},t["a"]=n["memo"](v)},TSC6:function(e,t,r){var n=r("GRew"),i=r("ENu8"),o=r("bKEA"),a=r("M5dz"),s=r("nA4W"),l=r("+vXQ"),c=Object.getOwnPropertyDescriptor;t.f=r("C61u")?c:function(e,t){if(e=o(e),t=a(t,!0),l)try{return c(e,t)}catch(r){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},TnF5:function(e,t,r){r("4Zg2")("observable")},Trx6:function(e,t,r){var n=r("TYje");e.exports=Array.isArray||function(e){return"Array"==n(e)}},"UNi/":function(e,t){function r(e,t){var r=-1,n=Array(e);while(++r<e)n[r]=t(r);return n}e.exports=r},UR8F:function(e,t,r){r("C5kU"),r("ZY/g"),e.exports=r("/NTb").f("iterator")},Uc92:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};t.default=n},V6Ve:function(e,t,r){var n=r("kekF"),i=n(Object.keys,Object);e.exports=i},VaNO:function(e,t){function r(e){return this.__data__.has(e)}e.exports=r},Vl3Y:function(e,t,r){"use strict";var n=r("q1tI"),i=r("BGR+"),o=r("TSYQ"),a=r.n(o),s=r("85Yc"),l=r("H84U"),c=n["createContext"]({labelAlign:"right",vertical:!1}),u=n["createContext"]({updateItemErrors:function(){}}),f=function(e){var t=Object(i["a"])(e,["prefixCls"]);return n["createElement"](s["b"],t)},h=r("xEkU"),p=r.n(h);function d(e){return null!=e&&"object"===typeof e&&1===e.nodeType}function m(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function g(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(t){return null}}function v(e){var t=g(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}function y(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var r=getComputedStyle(e,null);return m(r.overflowY,t)||m(r.overflowX,t)||v(e)}return!1}function b(e,t,r,n,i,o,a,s){return o<e&&a>t||o>e&&a<t?0:o<=e&&s<=r||a>=t&&s>=r?o-e-n:a>t&&s<r||o<e&&s>r?a-t+i:0}var x=function(e,t){var r=t.scrollMode,n=t.block,i=t.inline,o=t.boundary,a=t.skipOverflowHiddenElements,s="function"===typeof o?o:function(e){return e!==o};if(!d(e))throw new TypeError("Invalid target");var l=document.scrollingElement||document.documentElement,c=[],u=e;while(d(u)&&s(u)){if(u=u.parentNode,u===l){c.push(u);break}u===document.body&&y(u)&&!y(document.documentElement)||y(u,a)&&c.push(u)}for(var f=window.visualViewport?visualViewport.width:innerWidth,h=window.visualViewport?visualViewport.height:innerHeight,p=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,g=e.getBoundingClientRect(),v=g.height,x=g.width,w=g.top,k=g.right,S=g.bottom,C=g.left,O="start"===n||"nearest"===n?w:"end"===n?S:w+v/2,M="center"===i?C+x/2:"end"===i?k:C,T=[],A=0;A<c.length;A++){var E=c[A],N=E.getBoundingClientRect(),j=N.height,z=N.width,P=N.top,F=N.right,L=N.bottom,D=N.left;if("if-needed"===r&&w>=0&&C>=0&&S<=h&&k<=f&&w>=P&&S<=L&&C>=D&&k<=F)return T;var I=getComputedStyle(E),R=parseInt(I.borderLeftWidth,10),_=parseInt(I.borderTopWidth,10),B=parseInt(I.borderRightWidth,10),q=parseInt(I.borderBottomWidth,10),H=0,V=0,W="offsetWidth"in E?E.offsetWidth-E.clientWidth-R-B:0,U="offsetHeight"in E?E.offsetHeight-E.clientHeight-_-q:0;if(l===E)H="start"===n?O:"end"===n?O-h:"nearest"===n?b(m,m+h,h,_,q,m+O,m+O+v,v):O-h/2,V="start"===i?M:"center"===i?M-f/2:"end"===i?M-f:b(p,p+f,f,R,B,p+M,p+M+x,x),H=Math.max(0,H+m),V=Math.max(0,V+p);else{H="start"===n?O-P-_:"end"===n?O-L+q+U:"nearest"===n?b(P,L,j,_,q+U,O,O+v,v):O-(P+j/2)+U/2,V="start"===i?M-D-R:"center"===i?M-(D+z/2)+W/2:"end"===i?M-F+B+W:b(D,F,z,R,B+W,M,M+x,x);var $=E.scrollLeft,G=E.scrollTop;H=Math.max(0,Math.min(G+H,E.scrollHeight-j+U)),V=Math.max(0,Math.min($+V,E.scrollWidth-z+W)),O+=G-H,M+=$-V}T.push({el:E,top:H,left:V})}return T};function w(e){return e===Object(e)&&0!==Object.keys(e).length}function k(e,t){void 0===t&&(t="auto");var r="scrollBehavior"in document.body.style;e.forEach((function(e){var n=e.el,i=e.top,o=e.left;n.scroll&&r?n.scroll({top:i,left:o,behavior:t}):(n.scrollTop=i,n.scrollLeft=o)}))}function S(e){return!1===e?{block:"end",inline:"nearest"}:w(e)?e:{block:"start",inline:"nearest"}}function C(e,t){var r=!e.ownerDocument.documentElement.contains(e);if(w(t)&&"function"===typeof t.behavior)return t.behavior(r?[]:x(e,t));if(!r){var n=S(t);return k(x(e,n),n.behavior)}}var O=C;function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},M.apply(this,arguments)}function T(e,t){return z(e)||j(e,t)||E(e,t)||A()}function A(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function E(e,t){if(e){if("string"===typeof e)return N(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?N(e,t):void 0}}function N(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function j(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function z(e){if(Array.isArray(e))return e}function P(e,t,r){var i=n["useRef"]({errors:e,visible:!!e.length}),o=n["useState"]({}),a=T(o,2),s=a[1],l=function(e){var r=i.current.visible,n=!!e.length,o=i.current.errors;i.current.errors=e,i.current.visible=n,r!==n?t(n):(o.length!==e.length||o.some((function(t,r){return t!==e[r]})))&&s({})};return n["useEffect"]((function(){if(!r){var t=setTimeout((function(){l(e)}),10);return function(){clearTimeout(t)}}}),[e]),r&&l(e),[i.current.visible,i.current.errors]}function F(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function L(e,t){if(e.length){var r=e.join("_");return t?"".concat(t,"_").concat(r):r}}function D(e){var t=Object(s["e"])(),r=T(t,1),i=r[0],o=n["useMemo"]((function(){return e||M(M({},i),{__INTERNAL__:{},scrollToField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=F(e),n=L(r,o.__INTERNAL__.name),i=n?document.getElementById(n):null;i&&O(i,M({scrollMode:"if-needed",block:"nearest"},t))}})}),[e,i]);return[o]}function I(e){var t=n["useState"](e),r=T(t,2),i=r[0],o=r[1],a=n["useRef"](null),s=n["useRef"]([]),l=n["useRef"](!1);function c(e){l.current||(null===a.current&&(s.current=[],a.current=p()((function(){a.current=null,o((function(e){var t=e;return s.current.forEach((function(e){t=e(t)})),t}))}))),s.current.push(e))}return n["useEffect"]((function(){return function(){l.current=!0,p.a.cancel(a.current)}}),[]),[i,c]}var R=r("3Nzz");function _(){return _=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},_.apply(this,arguments)}function B(e,t){return U(e)||W(e,t)||H(e,t)||q()}function q(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function H(e,t){if(e){if("string"===typeof e)return V(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?V(e,t):void 0}}function V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function W(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function U(e){if(Array.isArray(e))return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var G=function(e,t){var r,o=n["useContext"](R["b"]),u=n["useContext"](l["b"]),f=u.getPrefixCls,h=u.direction,p=e.form,d=e.colon,m=e.name,g=e.labelAlign,v=e.labelCol,y=e.wrapperCol,b=e.prefixCls,x=e.hideRequiredMark,w=e.className,k=void 0===w?"":w,S=e.layout,C=void 0===S?"horizontal":S,O=e.size,M=void 0===O?o:O,T=e.scrollToFirstError,A=e.onFinishFailed,E=f("form",b),N=a()(E,(r={},$(r,"".concat(E,"-").concat(C),!0),$(r,"".concat(E,"-hide-required-mark"),x),$(r,"".concat(E,"-rtl"),"rtl"===h),$(r,"".concat(E,"-").concat(M),M),r),k),j=Object(i["a"])(e,["prefixCls","className","layout","hideRequiredMark","wrapperCol","labelAlign","labelCol","colon","scrollToFirstError"]),z=D(p),P=B(z,1),F=P[0];F.__INTERNAL__.name=m;var L=n["useMemo"]((function(){return{name:m,labelAlign:g,labelCol:v,wrapperCol:y,vertical:"vertical"===C,colon:d}}),[m,g,v,y,C,d]);n["useImperativeHandle"](t,(function(){return F}));var I=function(e){A&&A(e),T&&e.errorFields.length&&F.scrollToField(e.errorFields[0].name)};return n["createElement"](R["a"],{size:M},n["createElement"](c.Provider,{value:L},n["createElement"](s["d"],_({id:m},j,{onFinishFailed:I,form:F,className:N}))))},K=n["forwardRef"](G),Y=K,X=r("Y+p1"),Z=r.n(X),J=r("KW7l"),Q=r("qrJ5"),ee=r("CWQg"),te=r("uaoM"),re=r("/kpp");function ne(){return ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ne.apply(this,arguments)}function ie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oe=function(e){var t=e.prefixCls,r=e.label,i=e.htmlFor,o=e.labelCol,s=e.labelAlign,l=e.colon,u=e.required;return r?n["createElement"](c.Consumer,{key:"label"},(function(e){var c,f=e.vertical,h=e.labelAlign,p=e.labelCol,d=e.colon,m=o||p||{},g=s||h,v="".concat(t,"-item-label"),y=a()(v,"left"===g&&"".concat(v,"-left"),m.className),b=r,x=!0===l||!1!==d&&!1!==l,w=x&&!f;w&&"string"===typeof r&&""!==r.trim()&&(b=r.replace(/[:|\uff1a]\s*$/,""));var k=a()((c={},ie(c,"".concat(t,"-item-required"),u),ie(c,"".concat(t,"-item-no-colon"),!x),c));return n["createElement"](re["a"],ne({},m,{className:y}),n["createElement"]("label",{htmlFor:i,className:k,title:"string"===typeof r?r:""},b))})):null},ae=oe,se=r("gZBC"),le=r.n(se),ce=r("kbBi"),ue=r.n(ce),fe=r("J84W"),he=r.n(fe),pe=r("sKbD"),de=r.n(pe),me=r("YrtM"),ge=r("lCnp");function ve(){return ve=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ve.apply(this,arguments)}function ye(e,t){return Se(e)||ke(e,t)||xe(e,t)||be()}function be(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xe(e,t){if(e){if("string"===typeof e)return we(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?we(e,t):void 0}}function we(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ke(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function Se(e){if(Array.isArray(e))return e}var Ce={success:he.a,warning:de.a,error:ue.a,validating:le.a},Oe=function(e){var t=e.prefixCls,r=e.wrapperCol,i=e.children,o=e.help,s=e.errors,l=e.onDomErrorVisibleChange,u=e.hasFeedback,f=e.validateStatus,h=e.extra,p=n["useState"]({}),d=ye(p,2),m=d[1],g="".concat(t,"-item"),v=n["useContext"](c),y=r||v.wrapperCol||{},b=a()("".concat(g,"-control"),y.className),x=P(s,(function(e){e&&Promise.resolve().then((function(){l(!0)})),m({})}),!!o),w=ye(x,2),k=w[0],S=w[1];n["useEffect"]((function(){return function(){l(!1)}}),[]);var C=Object(me["a"])((function(){return S}),k,(function(e,t){return t})),O=f&&Ce[f],M=u&&O?n["createElement"]("span",{className:"".concat(g,"-children-icon")},n["createElement"](O,null)):null,T=ve({},v);return delete T.labelCol,delete T.wrapperCol,n["createElement"](c.Provider,{value:T},n["createElement"](re["a"],ve({},y,{className:b}),n["createElement"]("div",{className:"".concat(g,"-control-input")},n["createElement"]("div",{className:"".concat(g,"-control-input-content")},i),M),n["createElement"](ge["a"],{visible:k,motionName:"show-help",onLeaveEnd:function(){l(!1)},motionAppear:!0,removeOnLeave:!0},(function(e){var t=e.className;return n["createElement"]("div",{className:a()("".concat(g,"-explain"),t),key:"help"},C.map((function(e,t){return n["createElement"]("div",{key:t},e)})))})),h&&n["createElement"]("div",{className:"".concat(g,"-extra")},h)))},Me=Oe,Te=r("0n0R");function Ae(e){return Ae="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},Ae(e)}function Ee(e){return ze(e)||je(e)||Ie(e)||Ne()}function Ne(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function je(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function ze(e){if(Array.isArray(e))return Re(e)}function Pe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fe(){return Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fe.apply(this,arguments)}function Le(e,t){return Be(e)||_e(e,t)||Ie(e,t)||De()}function De(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ie(e,t){if(e){if("string"===typeof e)return Re(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Re(e,t):void 0}}function Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _e(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function Be(e){if(Array.isArray(e))return e}var qe=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},He=(Object(ee["a"])("success","warning","error","validating",""),n["memo"]((function(e){var t=e.children;return t}),(function(e,t){return e.value===t.value&&e.update===t.update})));function Ve(e){return null===e&&Object(te["a"])(!1,"Form.Item","`null` is passed as `name` property"),!(void 0===e||null===e)}function We(e){var t=e.name,r=e.fieldKey,o=e.noStyle,f=e.dependencies,h=e.prefixCls,p=e.style,d=e.className,m=e.shouldUpdate,g=e.hasFeedback,v=e.help,y=e.rules,b=e.validateStatus,x=e.children,w=e.required,k=e.label,S=e.trigger,C=void 0===S?"onChange":S,O=e.validateTrigger,M=qe(e,["name","fieldKey","noStyle","dependencies","prefixCls","style","className","shouldUpdate","hasFeedback","help","rules","validateStatus","children","required","label","trigger","validateTrigger"]),T=n["useRef"](!1),A=n["useContext"](l["b"]),E=A.getPrefixCls,N=n["useContext"](c),j=n["useContext"](u),z=j.updateItemErrors,P=n["useState"](!!v),D=Le(P,2),R=D[0],_=D[1],B=n["useRef"](b),q=I({}),H=Le(q,2),V=H[0],W=H[1],U=n["useContext"](J["b"]),$=U.validateTrigger,G=void 0!==O?O:$;function K(e){T.current||_(e)}var Y=N.name,X=Ve(t),ee=n["useRef"]([]);n["useEffect"]((function(){return function(){T.current=!0,z(ee.current.join("__SPLIT__"),[])}}),[]);var re=E("form",h),ne=o?z:function(e,t){Z()(V[e],t)||W((function(r){return Fe(Fe({},r),Pe({},e,t))}))};function ie(t,r,s,l){var c,f;if(o)return t;void 0!==v&&null!==v?f=F(v):(f=s?s.errors:[],Object.keys(V).forEach((function(e){var t=V[e]||[];t.length&&(f=[].concat(Ee(f),Ee(t)))})));var h="";void 0!==b?h=b:s&&s.validating?h="validating":!v&&f.length?h="error":s&&s.touched&&(h="success"),R&&v&&(B.current=h);var m=(c={},Pe(c,"".concat(re,"-item"),!0),Pe(c,"".concat(re,"-item-with-help"),R||v),Pe(c,"".concat(d),!!d),Pe(c,"".concat(re,"-item-has-feedback"),h&&g),Pe(c,"".concat(re,"-item-has-success"),"success"===h),Pe(c,"".concat(re,"-item-has-warning"),"warning"===h),Pe(c,"".concat(re,"-item-has-error"),"error"===h),Pe(c,"".concat(re,"-item-has-error-leave"),!v&&R&&"error"===B.current),Pe(c,"".concat(re,"-item-is-validating"),"validating"===h),c);return n["createElement"](Q["a"],Fe({className:a()(m),style:p,key:"row"},Object(i["a"])(M,["colon","extra","getValueFromEvent","getValueProps","hasFeedback","help","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","normalize","required","validateFirst","validateStatus","valuePropName","wrapperCol"])),n["createElement"](ae,Fe({htmlFor:r,required:l},e,{prefixCls:re})),n["createElement"](Me,Fe({},e,s,{errors:f,prefixCls:re,onDomErrorVisibleChange:K,validateStatus:h}),n["createElement"](u.Provider,{value:{updateItemErrors:ne}},t)))}var oe="function"===typeof x,se=n["useRef"](0);if(se.current+=1,!X&&!oe&&!f)return ie(x);var le={};return"string"===typeof k&&(le.label=k),n["createElement"](s["a"],Fe({},e,{messageVariables:le,trigger:C,validateTrigger:G,onReset:function(){K(!1)}}),(function(i,a,s){var l=a.errors,c=F(t).length&&a?a.name:[],u=L(c,Y);if(o){if(ee.current=Ee(c),r){var h=Array.isArray(r)?r:[r];ee.current=[].concat(Ee(c.slice(0,-1)),Ee(h))}z(ee.current.join("__SPLIT__"),l)}var p=void 0!==w?w:!(!y||!y.some((function(e){if(e&&"object"===Ae(e)&&e.required)return!0;if("function"===typeof e){var t=e(s);return t&&t.required}return!1}))),d=Fe({},i),g=null;if(Array.isArray(x)&&X)Object(te["a"])(!1,"Form.Item","`children` is array of render props cannot have `name`."),g=x;else if(!oe||m&&!X)if(!f||oe||X)if(Object(Te["b"])(x)){Object(te["a"])(void 0===x.props.defaultValue,"Form.Item","`defaultValue` will not work on controlled Field. You should use `initialValues` of Form instead.");var v=Fe(Fe({},x.props),d);v.id||(v.id=u);var b=new Set([].concat(Ee(F(C)),Ee(F(G))));b.forEach((function(e){v[e]=function(){for(var t,r,n,i,o,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];null===(n=d[e])||void 0===n||(t=n).call.apply(t,[d].concat(s)),null===(o=(i=x.props)[e])||void 0===o||(r=o).call.apply(r,[i].concat(s))}})),g=n["createElement"](He,{value:d[e.valuePropName||"value"],update:se.current},Object(Te["a"])(x,v))}else oe&&m&&!X?g=x(s):(Object(te["a"])(!c.length,"Form.Item","`name` is only used for validate React element. If you are using Form.Item as layout display, please remove `name` instead."),g=x);else Object(te["a"])(!1,"Form.Item","Must set `name` or use render props when `dependencies` is set.");else Object(te["a"])(!!m,"Form.Item","`children` of render props only work with `shouldUpdate`."),Object(te["a"])(!X,"Form.Item","Do not use `name` with `children` of render props since it's not a field.");return ie(g,u,a,p)}))}var Ue=We;function $e(){return $e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$e.apply(this,arguments)}var Ge=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},Ke=function(e){var t=e.children,r=Ge(e,["children"]);return Object(te["a"])(!!r.name,"Form.List","Miss `name` prop."),n["createElement"](s["c"],r,(function(e,r){return t(e.map((function(e){return $e($e({},e),{fieldKey:e.key})})),r)}))},Ye=Ke,Xe=Y;Xe.Item=Ue,Xe.List=Ye,Xe.useForm=D,Xe.Provider=f,Xe.create=function(){Object(te["a"])(!1,"Form","antd v4 removed `Form.create`. Please remove or use `@ant-design/compatible` instead.")};t["a"]=Xe},"VrN/":function(e,t,r){(function(t,r){e.exports=r()})(0,(function(){"use strict";var e=navigator.userAgent,t=navigator.platform,r=/gecko\/\d/i.test(e),n=/MSIE \d/.test(e),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(e),o=/Edge\/(\d+)/.exec(e),a=n||i||o,s=a&&(n?document.documentMode||6:+(o||i)[1]),l=!o&&/WebKit\//.test(e),c=l&&/Qt\/\d+\.\d+/.test(e),u=!o&&/Chrome\//.test(e),f=/Opera\//.test(e),h=/Apple Computer/.test(navigator.vendor),p=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(e),d=/PhantomJS/.test(e),m=!o&&/AppleWebKit/.test(e)&&/Mobile\/\w+/.test(e),g=/Android/.test(e),v=m||g||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),y=m||/Mac/.test(t),b=/\bCrOS\b/.test(e),x=/win/i.test(t),w=f&&e.match(/Version\/(\d*\.\d*)/);w&&(w=Number(w[1])),w&&w>=15&&(f=!1,l=!0);var k=y&&(c||f&&(null==w||w<12.11)),S=r||a&&s>=9;function C(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var O,M=function(e,t){var r=e.className,n=C(t).exec(r);if(n){var i=r.slice(n.index+n[0].length);e.className=r.slice(0,n.index)+(i?n[1]+i:"")}};function T(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function A(e,t){return T(e).appendChild(t)}function E(e,t,r,n){var i=document.createElement(e);if(r&&(i.className=r),n&&(i.style.cssText=n),"string"==typeof t)i.appendChild(document.createTextNode(t));else if(t)for(var o=0;o<t.length;++o)i.appendChild(t[o]);return i}function N(e,t,r,n){var i=E(e,t,r,n);return i.setAttribute("role","presentation"),i}function j(e,t){if(3==t.nodeType&&(t=t.parentNode),e.contains)return e.contains(t);do{if(11==t.nodeType&&(t=t.host),t==e)return!0}while(t=t.parentNode)}function z(){var e;try{e=document.activeElement}catch(t){e=document.body||null}while(e&&e.shadowRoot&&e.shadowRoot.activeElement)e=e.shadowRoot.activeElement;return e}function P(e,t){var r=e.className;C(t).test(r)||(e.className+=(r?" ":"")+t)}function F(e,t){for(var r=e.split(" "),n=0;n<r.length;n++)r[n]&&!C(r[n]).test(t)&&(t+=" "+r[n]);return t}O=document.createRange?function(e,t,r,n){var i=document.createRange();return i.setEnd(n||e,r),i.setStart(e,t),i}:function(e,t,r){var n=document.body.createTextRange();try{n.moveToElementText(e.parentNode)}catch(i){return n}return n.collapse(!0),n.moveEnd("character",r),n.moveStart("character",t),n};var L=function(e){e.select()};function D(e){var t=Array.prototype.slice.call(arguments,1);return function(){return e.apply(null,t)}}function I(e,t,r){for(var n in t||(t={}),e)!e.hasOwnProperty(n)||!1===r&&t.hasOwnProperty(n)||(t[n]=e[n]);return t}function R(e,t,r,n,i){null==t&&(t=e.search(/[^\s\u00a0]/),-1==t&&(t=e.length));for(var o=n||0,a=i||0;;){var s=e.indexOf("\t",o);if(s<0||s>=t)return a+(t-o);a+=s-o,a+=r-a%r,o=s+1}}m?L=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(L=function(e){try{e.select()}catch(t){}});var _=function(){this.id=null,this.f=null,this.time=0,this.handler=D(this.onTimeout,this)};function B(e,t){for(var r=0;r<e.length;++r)if(e[r]==t)return r;return-1}_.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},_.prototype.set=function(e,t){this.f=t;var r=+new Date+e;(!this.id||r<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,e),this.time=r)};var q=50,H={toString:function(){return"CodeMirror.Pass"}},V={scroll:!1},W={origin:"*mouse"},U={origin:"+move"};function $(e,t,r){for(var n=0,i=0;;){var o=e.indexOf("\t",n);-1==o&&(o=e.length);var a=o-n;if(o==e.length||i+a>=t)return n+Math.min(a,t-i);if(i+=o-n,i+=r-i%r,n=o+1,i>=t)return n}}var G=[""];function K(e){while(G.length<=e)G.push(Y(G)+" ");return G[e]}function Y(e){return e[e.length-1]}function X(e,t){for(var r=[],n=0;n<e.length;n++)r[n]=t(e[n],n);return r}function Z(e,t,r){var n=0,i=r(t);while(n<e.length&&r(e[n])<=i)n++;e.splice(n,0,t)}function J(){}function Q(e,t){var r;return Object.create?r=Object.create(e):(J.prototype=e,r=new J),t&&I(t,r),r}var ee=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function te(e){return/\w/.test(e)||e>"\x80"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function re(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function ne(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var ie=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function oe(e){return e.charCodeAt(0)>=768&&ie.test(e)}function ae(e,t,r){while((r<0?t>0:t<e.length)&&oe(e.charAt(t)))t+=r;return t}function se(e,t,r){for(var n=t>r?-1:1;;){if(t==r)return t;var i=(t+r)/2,o=n<0?Math.ceil(i):Math.floor(i);if(o==t)return e(o)?t:r;e(o)?r=o:t=o+n}}function le(e,t,r,n){if(!e)return n(t,r,"ltr",0);for(var i=!1,o=0;o<e.length;++o){var a=e[o];(a.from<r&&a.to>t||t==r&&a.to==t)&&(n(Math.max(a.from,t),Math.min(a.to,r),1==a.level?"rtl":"ltr",o),i=!0)}i||n(t,r,"ltr")}var ce=null;function ue(e,t,r){var n;ce=null;for(var i=0;i<e.length;++i){var o=e[i];if(o.from<t&&o.to>t)return i;o.to==t&&(o.from!=o.to&&"before"==r?n=i:ce=i),o.from==t&&(o.from!=o.to&&"before"!=r?n=i:ce=i)}return null!=n?n:ce}var fe=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function r(r){return r<=247?e.charAt(r):1424<=r&&r<=1524?"R":1536<=r&&r<=1785?t.charAt(r-1536):1774<=r&&r<=2220?"r":8192<=r&&r<=8203?"w":8204==r?"b":"L"}var n=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,i=/[stwN]/,o=/[LRr]/,a=/[Lb1n]/,s=/[1n]/;function l(e,t,r){this.level=e,this.from=t,this.to=r}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!n.test(e))return!1;for(var u=e.length,f=[],h=0;h<u;++h)f.push(r(e.charCodeAt(h)));for(var p=0,d=c;p<u;++p){var m=f[p];"m"==m?f[p]=d:d=m}for(var g=0,v=c;g<u;++g){var y=f[g];"1"==y&&"r"==v?f[g]="n":o.test(y)&&(v=y,"r"==y&&(f[g]="R"))}for(var b=1,x=f[0];b<u-1;++b){var w=f[b];"+"==w&&"1"==x&&"1"==f[b+1]?f[b]="1":","!=w||x!=f[b+1]||"1"!=x&&"n"!=x||(f[b]=x),x=w}for(var k=0;k<u;++k){var S=f[k];if(","==S)f[k]="N";else if("%"==S){var C=void 0;for(C=k+1;C<u&&"%"==f[C];++C);for(var O=k&&"!"==f[k-1]||C<u&&"1"==f[C]?"1":"N",M=k;M<C;++M)f[M]=O;k=C-1}}for(var T=0,A=c;T<u;++T){var E=f[T];"L"==A&&"1"==E?f[T]="L":o.test(E)&&(A=E)}for(var N=0;N<u;++N)if(i.test(f[N])){var j=void 0;for(j=N+1;j<u&&i.test(f[j]);++j);for(var z="L"==(N?f[N-1]:c),P="L"==(j<u?f[j]:c),F=z==P?z?"L":"R":c,L=N;L<j;++L)f[L]=F;N=j-1}for(var D,I=[],R=0;R<u;)if(a.test(f[R])){var _=R;for(++R;R<u&&a.test(f[R]);++R);I.push(new l(0,_,R))}else{var B=R,q=I.length,H="rtl"==t?1:0;for(++R;R<u&&"L"!=f[R];++R);for(var V=B;V<R;)if(s.test(f[V])){B<V&&(I.splice(q,0,new l(1,B,V)),q+=H);var W=V;for(++V;V<R&&s.test(f[V]);++V);I.splice(q,0,new l(2,W,V)),q+=H,B=V}else++V;B<R&&I.splice(q,0,new l(1,B,R))}return"ltr"==t&&(1==I[0].level&&(D=e.match(/^\s+/))&&(I[0].from=D[0].length,I.unshift(new l(0,0,D[0].length))),1==Y(I).level&&(D=e.match(/\s+$/))&&(Y(I).to-=D[0].length,I.push(new l(0,u-D[0].length,u)))),"rtl"==t?I.reverse():I}}();function he(e,t){var r=e.order;return null==r&&(r=e.order=fe(e.text,t)),r}var pe=[],de=function(e,t,r){if(e.addEventListener)e.addEventListener(t,r,!1);else if(e.attachEvent)e.attachEvent("on"+t,r);else{var n=e._handlers||(e._handlers={});n[t]=(n[t]||pe).concat(r)}};function me(e,t){return e._handlers&&e._handlers[t]||pe}function ge(e,t,r){if(e.removeEventListener)e.removeEventListener(t,r,!1);else if(e.detachEvent)e.detachEvent("on"+t,r);else{var n=e._handlers,i=n&&n[t];if(i){var o=B(i,r);o>-1&&(n[t]=i.slice(0,o).concat(i.slice(o+1)))}}}function ve(e,t){var r=me(e,t);if(r.length)for(var n=Array.prototype.slice.call(arguments,2),i=0;i<r.length;++i)r[i].apply(null,n)}function ye(e,t,r){return"string"==typeof t&&(t={type:t,preventDefault:function(){this.defaultPrevented=!0}}),ve(e,r||t.type,e,t),Ce(t)||t.codemirrorIgnore}function be(e){var t=e._handlers&&e._handlers.cursorActivity;if(t)for(var r=e.curOp.cursorActivityHandlers||(e.curOp.cursorActivityHandlers=[]),n=0;n<t.length;++n)-1==B(r,t[n])&&r.push(t[n])}function xe(e,t){return me(e,t).length>0}function we(e){e.prototype.on=function(e,t){de(this,e,t)},e.prototype.off=function(e,t){ge(this,e,t)}}function ke(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Se(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Ce(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function Oe(e){ke(e),Se(e)}function Me(e){return e.target||e.srcElement}function Te(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),y&&e.ctrlKey&&1==t&&(t=3),t}var Ae,Ee,Ne=function(){if(a&&s<9)return!1;var e=E("div");return"draggable"in e||"dragDrop"in e}();function je(e){if(null==Ae){var t=E("span","\u200b");A(e,E("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Ae=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&s<8))}var r=Ae?E("span","\u200b"):E("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return r.setAttribute("cm-text",""),r}function ze(e){if(null!=Ee)return Ee;var t=A(e,document.createTextNode("A\u062eA")),r=O(t,0,1).getBoundingClientRect(),n=O(t,1,2).getBoundingClientRect();return T(e),!(!r||r.left==r.right)&&(Ee=n.right-r.right<3)}var Pe=3!="\n\nb".split(/\n/).length?function(e){var t=0,r=[],n=e.length;while(t<=n){var i=e.indexOf("\n",t);-1==i&&(i=e.length);var o=e.slice(t,"\r"==e.charAt(i-1)?i-1:i),a=o.indexOf("\r");-1!=a?(r.push(o.slice(0,a)),t+=a+1):(r.push(o),t=i+1)}return r}:function(e){return e.split(/\r\n?|\n/)},Fe=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(r){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},Le=function(){var e=E("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),De=null;function Ie(e){if(null!=De)return De;var t=A(e,E("span","x")),r=t.getBoundingClientRect(),n=O(t,0,1).getBoundingClientRect();return De=Math.abs(r.left-n.left)>1}var Re={},_e={};function Be(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Re[e]=t}function qe(e,t){_e[e]=t}function He(e){if("string"==typeof e&&_e.hasOwnProperty(e))e=_e[e];else if(e&&"string"==typeof e.name&&_e.hasOwnProperty(e.name)){var t=_e[e.name];"string"==typeof t&&(t={name:t}),e=Q(t,e),e.name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return He("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return He("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ve(e,t){t=He(t);var r=Re[t.name];if(!r)return Ve(e,"text/plain");var n=r(e,t);if(We.hasOwnProperty(t.name)){var i=We[t.name];for(var o in i)i.hasOwnProperty(o)&&(n.hasOwnProperty(o)&&(n["_"+o]=n[o]),n[o]=i[o])}if(n.name=t.name,t.helperType&&(n.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)n[a]=t.modeProps[a];return n}var We={};function Ue(e,t){var r=We.hasOwnProperty(e)?We[e]:We[e]={};I(t,r)}function $e(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var r={};for(var n in t){var i=t[n];i instanceof Array&&(i=i.concat([])),r[n]=i}return r}function Ge(e,t){var r;while(e.innerMode){if(r=e.innerMode(t),!r||r.mode==e)break;t=r.state,e=r.mode}return r||{mode:e,state:t}}function Ke(e,t,r){return!e.startState||e.startState(t,r)}var Ye=function(e,t,r){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=r};function Xe(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");var r=e;while(!r.lines)for(var n=0;;++n){var i=r.children[n],o=i.chunkSize();if(t<o){r=i;break}t-=o}return r.lines[t]}function Ze(e,t,r){var n=[],i=t.line;return e.iter(t.line,r.line+1,(function(e){var o=e.text;i==r.line&&(o=o.slice(0,r.ch)),i==t.line&&(o=o.slice(t.ch)),n.push(o),++i})),n}function Je(e,t,r){var n=[];return e.iter(t,r,(function(e){n.push(e.text)})),n}function Qe(e,t){var r=t-e.height;if(r)for(var n=e;n;n=n.parent)n.height+=r}function et(e){if(null==e.parent)return null;for(var t=e.parent,r=B(t.lines,e),n=t.parent;n;t=n,n=n.parent)for(var i=0;;++i){if(n.children[i]==t)break;r+=n.children[i].chunkSize()}return r+t.first}function tt(e,t){var r=e.first;e:do{for(var n=0;n<e.children.length;++n){var i=e.children[n],o=i.height;if(t<o){e=i;continue e}t-=o,r+=i.chunkSize()}return r}while(!e.lines);for(var a=0;a<e.lines.length;++a){var s=e.lines[a],l=s.height;if(t<l)break;t-=l}return r+a}function rt(e,t){return t>=e.first&&t<e.first+e.size}function nt(e,t){return String(e.lineNumberFormatter(t+e.firstLineNumber))}function it(e,t,r){if(void 0===r&&(r=null),!(this instanceof it))return new it(e,t,r);this.line=e,this.ch=t,this.sticky=r}function ot(e,t){return e.line-t.line||e.ch-t.ch}function at(e,t){return e.sticky==t.sticky&&0==ot(e,t)}function st(e){return it(e.line,e.ch)}function lt(e,t){return ot(e,t)<0?t:e}function ct(e,t){return ot(e,t)<0?e:t}function ut(e,t){return Math.max(e.first,Math.min(t,e.first+e.size-1))}function ft(e,t){if(t.line<e.first)return it(e.first,0);var r=e.first+e.size-1;return t.line>r?it(r,Xe(e,r).text.length):ht(t,Xe(e,t.line).text.length)}function ht(e,t){var r=e.ch;return null==r||r>t?it(e.line,t):r<0?it(e.line,0):e}function pt(e,t){for(var r=[],n=0;n<t.length;n++)r[n]=ft(e,t[n]);return r}Ye.prototype.eol=function(){return this.pos>=this.string.length},Ye.prototype.sol=function(){return this.pos==this.lineStart},Ye.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ye.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ye.prototype.eat=function(e){var t,r=this.string.charAt(this.pos);if(t="string"==typeof e?r==e:r&&(e.test?e.test(r):e(r)),t)return++this.pos,r},Ye.prototype.eatWhile=function(e){var t=this.pos;while(this.eat(e));return this.pos>t},Ye.prototype.eatSpace=function(){var e=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>e},Ye.prototype.skipToEnd=function(){this.pos=this.string.length},Ye.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ye.prototype.backUp=function(e){this.pos-=e},Ye.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=R(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.indentation=function(){return R(this.string,null,this.tabSize)-(this.lineStart?R(this.string,this.lineStart,this.tabSize):0)},Ye.prototype.match=function(e,t,r){if("string"!=typeof e){var n=this.string.slice(this.pos).match(e);return n&&n.index>0?null:(n&&!1!==t&&(this.pos+=n[0].length),n)}var i=function(e){return r?e.toLowerCase():e},o=this.string.substr(this.pos,e.length);if(i(o)==i(e))return!1!==t&&(this.pos+=e.length),!0},Ye.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ye.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ye.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ye.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var dt=function(e,t){this.state=e,this.lookAhead=t},mt=function(e,t,r,n){this.state=t,this.doc=e,this.line=r,this.maxLookAhead=n||0,this.baseTokens=null,this.baseTokenPos=1};function gt(e,t,r,n){var i=[e.state.modeGen],o={};Ot(e,t.text,e.doc.mode,r,(function(e,t){return i.push(e,t)}),o,n);for(var a=r.state,s=function(n){r.baseTokens=i;var s=e.state.overlays[n],l=1,c=0;r.state=!0,Ot(e,t.text,s.mode,r,(function(e,t){var r=l;while(c<e){var n=i[l];n>e&&i.splice(l,1,e,i[l+1],n),l+=2,c=Math.min(e,n)}if(t)if(s.opaque)i.splice(r,l-r,e,"overlay "+t),l=r+2;else for(;r<l;r+=2){var o=i[r+1];i[r+1]=(o?o+" ":"")+"overlay "+t}}),o),r.state=a,r.baseTokens=null,r.baseTokenPos=1},l=0;l<e.state.overlays.length;++l)s(l);return{styles:i,classes:o.bgClass||o.textClass?o:null}}function vt(e,t,r){if(!t.styles||t.styles[0]!=e.state.modeGen){var n=yt(e,et(t)),i=t.text.length>e.options.maxHighlightLength&&$e(e.doc.mode,n.state),o=gt(e,t,n);i&&(n.state=i),t.stateAfter=n.save(!i),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),r===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function yt(e,t,r){var n=e.doc,i=e.display;if(!n.mode.startState)return new mt(n,!0,t);var o=Mt(e,t,r),a=o>n.first&&Xe(n,o-1).stateAfter,s=a?mt.fromSaved(n,a,o):new mt(n,Ke(n.mode),o);return n.iter(o,t,(function(r){bt(e,r.text,s);var n=s.line;r.stateAfter=n==t-1||n%5==0||n>=i.viewFrom&&n<i.viewTo?s.save():null,s.nextLine()})),r&&(n.modeFrontier=s.line),s}function bt(e,t,r,n){var i=e.doc.mode,o=new Ye(t,e.options.tabSize,r);o.start=o.pos=n||0,""==t&&xt(i,r.state);while(!o.eol())wt(i,o,r.state),o.start=o.pos}function xt(e,t){if(e.blankLine)return e.blankLine(t);if(e.innerMode){var r=Ge(e,t);return r.mode.blankLine?r.mode.blankLine(r.state):void 0}}function wt(e,t,r,n){for(var i=0;i<10;i++){n&&(n[0]=Ge(e,r).mode);var o=e.token(t,r);if(t.pos>t.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}mt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},mt.prototype.baseToken=function(e){if(!this.baseTokens)return null;while(this.baseTokens[this.baseTokenPos]<=e)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},mt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},mt.fromSaved=function(e,t,r){return t instanceof dt?new mt(e,$e(e.mode,t.state),r,t.lookAhead):new mt(e,$e(e.mode,t),r)},mt.prototype.save=function(e){var t=!1!==e?$e(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new dt(t,this.maxLookAhead):t};var kt=function(e,t,r){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=r};function St(e,t,r,n){var i,o=e.doc,a=o.mode;t=ft(o,t);var s,l=Xe(o,t.line),c=yt(e,t.line,r),u=new Ye(l.text,e.options.tabSize,c);n&&(s=[]);while((n||u.pos<t.ch)&&!u.eol())u.start=u.pos,i=wt(a,u,c.state),n&&s.push(new kt(u,i,$e(o.mode,c.state)));return n?s:new kt(u,i,c.state)}function Ct(e,t){if(e)for(;;){var r=e.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!r)break;e=e.slice(0,r.index)+e.slice(r.index+r[0].length);var n=r[1]?"bgClass":"textClass";null==t[n]?t[n]=r[2]:new RegExp("(?:^|\\s)"+r[2]+"(?:$|\\s)").test(t[n])||(t[n]+=" "+r[2])}return e}function Ot(e,t,r,n,i,o,a){var s=r.flattenSpans;null==s&&(s=e.options.flattenSpans);var l,c=0,u=null,f=new Ye(t,e.options.tabSize,n),h=e.options.addModeClass&&[null];""==t&&Ct(xt(r,n.state),o);while(!f.eol()){if(f.pos>e.options.maxHighlightLength?(s=!1,a&&bt(e,t,n,f.pos),f.pos=t.length,l=null):l=Ct(wt(r,f,n.state,h),o),h){var p=h[0].name;p&&(l="m-"+(l?p+" "+l:p))}if(!s||u!=l){while(c<f.start)c=Math.min(f.start,c+5e3),i(c,u);u=l}f.start=f.pos}while(c<f.pos){var d=Math.min(f.pos,c+5e3);i(d,u),c=d}}function Mt(e,t,r){for(var n,i,o=e.doc,a=r?-1:t-(e.doc.mode.innerMode?1e3:100),s=t;s>a;--s){if(s<=o.first)return o.first;var l=Xe(o,s-1),c=l.stateAfter;if(c&&(!r||s+(c instanceof dt?c.lookAhead:0)<=o.modeFrontier))return s;var u=R(l.text,null,e.options.tabSize);(null==i||n>u)&&(i=s-1,n=u)}return i}function Tt(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontier<t-10)){for(var r=e.first,n=t-1;n>r;n--){var i=Xe(e,n).stateAfter;if(i&&(!(i instanceof dt)||n+i.lookAhead<t)){r=n+1;break}}e.highlightFrontier=Math.min(e.highlightFrontier,r)}}var At=!1,Et=!1;function Nt(){At=!0}function jt(){Et=!0}function zt(e,t,r){this.marker=e,this.from=t,this.to=r}function Pt(e,t){if(e)for(var r=0;r<e.length;++r){var n=e[r];if(n.marker==t)return n}}function Ft(e,t){for(var r,n=0;n<e.length;++n)e[n]!=t&&(r||(r=[])).push(e[n]);return r}function Lt(e,t){e.markedSpans=e.markedSpans?e.markedSpans.concat([t]):[t],t.marker.attachLine(e)}function Dt(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);if(s||o.from==t&&"bookmark"==a.type&&(!r||!o.marker.insertLeft)){var l=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);(n||(n=[])).push(new zt(a,o.from,l?null:o.to))}}return n}function It(e,t,r){var n;if(e)for(var i=0;i<e.length;++i){var o=e[i],a=o.marker,s=null==o.to||(a.inclusiveRight?o.to>=t:o.to>t);if(s||o.from==t&&"bookmark"==a.type&&(!r||o.marker.insertLeft)){var l=null==o.from||(a.inclusiveLeft?o.from<=t:o.from<t);(n||(n=[])).push(new zt(a,l?null:o.from-t,null==o.to?null:o.to-t))}}return n}function Rt(e,t){if(t.full)return null;var r=rt(e,t.from.line)&&Xe(e,t.from.line).markedSpans,n=rt(e,t.to.line)&&Xe(e,t.to.line).markedSpans;if(!r&&!n)return null;var i=t.from.ch,o=t.to.ch,a=0==ot(t.from,t.to),s=Dt(r,i,a),l=It(n,o,a),c=1==t.text.length,u=Y(t.text).length+(c?i:0);if(s)for(var f=0;f<s.length;++f){var h=s[f];if(null==h.to){var p=Pt(l,h.marker);p?c&&(h.to=null==p.to?null:p.to+u):h.to=i}}if(l)for(var d=0;d<l.length;++d){var m=l[d];if(null!=m.to&&(m.to+=u),null==m.from){var g=Pt(s,m.marker);g||(m.from=u,c&&(s||(s=[])).push(m))}else m.from+=u,c&&(s||(s=[])).push(m)}s&&(s=_t(s)),l&&l!=s&&(l=_t(l));var v=[s];if(!c){var y,b=t.text.length-2;if(b>0&&s)for(var x=0;x<s.length;++x)null==s[x].to&&(y||(y=[])).push(new zt(s[x].marker,null,null));for(var w=0;w<b;++w)v.push(y);v.push(l)}return v}function _t(e){for(var t=0;t<e.length;++t){var r=e[t];null!=r.from&&r.from==r.to&&!1!==r.marker.clearWhenEmpty&&e.splice(t--,1)}return e.length?e:null}function Bt(e,t,r){var n=null;if(e.iter(t.line,r.line+1,(function(e){if(e.markedSpans)for(var t=0;t<e.markedSpans.length;++t){var r=e.markedSpans[t].marker;!r.readOnly||n&&-1!=B(n,r)||(n||(n=[])).push(r)}})),!n)return null;for(var i=[{from:t,to:r}],o=0;o<n.length;++o)for(var a=n[o],s=a.find(0),l=0;l<i.length;++l){var c=i[l];if(!(ot(c.to,s.from)<0||ot(c.from,s.to)>0)){var u=[l,1],f=ot(c.from,s.from),h=ot(c.to,s.to);(f<0||!a.inclusiveLeft&&!f)&&u.push({from:c.from,to:s.from}),(h>0||!a.inclusiveRight&&!h)&&u.push({from:s.to,to:c.to}),i.splice.apply(i,u),l+=u.length-3}}return i}function qt(e){var t=e.markedSpans;if(t){for(var r=0;r<t.length;++r)t[r].marker.detachLine(e);e.markedSpans=null}}function Ht(e,t){if(t){for(var r=0;r<t.length;++r)t[r].marker.attachLine(e);e.markedSpans=t}}function Vt(e){return e.inclusiveLeft?-1:0}function Wt(e){return e.inclusiveRight?1:0}function Ut(e,t){var r=e.lines.length-t.lines.length;if(0!=r)return r;var n=e.find(),i=t.find(),o=ot(n.from,i.from)||Vt(e)-Vt(t);if(o)return-o;var a=ot(n.to,i.to)||Wt(e)-Wt(t);return a||t.id-e.id}function $t(e,t){var r,n=Et&&e.markedSpans;if(n)for(var i=void 0,o=0;o<n.length;++o)i=n[o],i.marker.collapsed&&null==(t?i.from:i.to)&&(!r||Ut(r,i.marker)<0)&&(r=i.marker);return r}function Gt(e){return $t(e,!0)}function Kt(e){return $t(e,!1)}function Yt(e,t){var r,n=Et&&e.markedSpans;if(n)for(var i=0;i<n.length;++i){var o=n[i];o.marker.collapsed&&(null==o.from||o.from<t)&&(null==o.to||o.to>t)&&(!r||Ut(r,o.marker)<0)&&(r=o.marker)}return r}function Xt(e,t,r,n,i){var o=Xe(e,t),a=Et&&o.markedSpans;if(a)for(var s=0;s<a.length;++s){var l=a[s];if(l.marker.collapsed){var c=l.marker.find(0),u=ot(c.from,r)||Vt(l.marker)-Vt(i),f=ot(c.to,n)||Wt(l.marker)-Wt(i);if(!(u>=0&&f<=0||u<=0&&f>=0)&&(u<=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(c.to,r)>=0:ot(c.to,r)>0)||u>=0&&(l.marker.inclusiveRight&&i.inclusiveLeft?ot(c.from,n)<=0:ot(c.from,n)<0)))return!0}}}function Zt(e){var t;while(t=Gt(e))e=t.find(-1,!0).line;return e}function Jt(e){var t;while(t=Kt(e))e=t.find(1,!0).line;return e}function Qt(e){var t,r;while(t=Kt(e))e=t.find(1,!0).line,(r||(r=[])).push(e);return r}function er(e,t){var r=Xe(e,t),n=Zt(r);return r==n?t:et(n)}function tr(e,t){if(t>e.lastLine())return t;var r,n=Xe(e,t);if(!rr(e,n))return t;while(r=Kt(n))n=r.find(1,!0).line;return et(n)+1}function rr(e,t){var r=Et&&t.markedSpans;if(r)for(var n=void 0,i=0;i<r.length;++i)if(n=r[i],n.marker.collapsed){if(null==n.from)return!0;if(!n.marker.widgetNode&&0==n.from&&n.marker.inclusiveLeft&&nr(e,t,n))return!0}}function nr(e,t,r){if(null==r.to){var n=r.marker.find(1,!0);return nr(e,n.line,Pt(n.line.markedSpans,r.marker))}if(r.marker.inclusiveRight&&r.to==t.text.length)return!0;for(var i=void 0,o=0;o<t.markedSpans.length;++o)if(i=t.markedSpans[o],i.marker.collapsed&&!i.marker.widgetNode&&i.from==r.to&&(null==i.to||i.to!=r.from)&&(i.marker.inclusiveLeft||r.marker.inclusiveRight)&&nr(e,t,i))return!0}function ir(e){e=Zt(e);for(var t=0,r=e.parent,n=0;n<r.lines.length;++n){var i=r.lines[n];if(i==e)break;t+=i.height}for(var o=r.parent;o;r=o,o=r.parent)for(var a=0;a<o.children.length;++a){var s=o.children[a];if(s==r)break;t+=s.height}return t}function or(e){if(0==e.height)return 0;var t,r=e.text.length,n=e;while(t=Gt(n)){var i=t.find(0,!0);n=i.from.line,r+=i.from.ch-i.to.ch}n=e;while(t=Kt(n)){var o=t.find(0,!0);r-=n.text.length-o.from.ch,n=o.to.line,r+=n.text.length-o.to.ch}return r}function ar(e){var t=e.display,r=e.doc;t.maxLine=Xe(r,r.first),t.maxLineLength=or(t.maxLine),t.maxLineChanged=!0,r.iter((function(e){var r=or(e);r>t.maxLineLength&&(t.maxLineLength=r,t.maxLine=e)}))}var sr=function(e,t,r){this.text=e,Ht(this,t),this.height=r?r(this):1};function lr(e,t,r,n){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),qt(e),Ht(e,r);var i=n?n(e):1;i!=e.height&&Qe(e,i)}function cr(e){e.parent=null,qt(e)}sr.prototype.lineNo=function(){return et(this)},we(sr);var ur={},fr={};function hr(e,t){if(!e||/^\s*$/.test(e))return null;var r=t.addModeClass?fr:ur;return r[e]||(r[e]=e.replace(/\S+/g,"cm-$&"))}function pr(e,t){var r=N("span",null,null,l?"padding-right: .1px":null),n={pre:N("pre",[r],"CodeMirror-line"),content:r,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var i=0;i<=(t.rest?t.rest.length:0);i++){var o=i?t.rest[i-1]:t.line,a=void 0;n.pos=0,n.addToken=mr,ze(e.display.measure)&&(a=he(o,e.doc.direction))&&(n.addToken=vr(n.addToken,a)),n.map=[];var s=t!=e.display.externalMeasured&&et(o);br(o,n,vt(e,o,s)),o.styleClasses&&(o.styleClasses.bgClass&&(n.bgClass=F(o.styleClasses.bgClass,n.bgClass||"")),o.styleClasses.textClass&&(n.textClass=F(o.styleClasses.textClass,n.textClass||""))),0==n.map.length&&n.map.push(0,0,n.content.appendChild(je(e.display.measure))),0==i?(t.measure.map=n.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(n.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(l){var c=n.content.lastChild;(/\bcm-tab\b/.test(c.className)||c.querySelector&&c.querySelector(".cm-tab"))&&(n.content.className="cm-tab-wrap-hack")}return ve(e,"renderLine",e,t.line,n.pre),n.pre.className&&(n.textClass=F(n.pre.className,n.textClass||"")),n}function dr(e){var t=E("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function mr(e,t,r,n,i,o,l){if(t){var c,u=e.splitSpaces?gr(t,e.trailingSpace):t,f=e.cm.state.specialChars,h=!1;if(f.test(t)){c=document.createDocumentFragment();var p=0;while(1){f.lastIndex=p;var d=f.exec(t),m=d?d.index-p:t.length-p;if(m){var g=document.createTextNode(u.slice(p,p+m));a&&s<9?c.appendChild(E("span",[g])):c.appendChild(g),e.map.push(e.pos,e.pos+m,g),e.col+=m,e.pos+=m}if(!d)break;p+=m+1;var v=void 0;if("\t"==d[0]){var y=e.cm.options.tabSize,b=y-e.col%y;v=c.appendChild(E("span",K(b),"cm-tab")),v.setAttribute("role","presentation"),v.setAttribute("cm-text","\t"),e.col+=b}else"\r"==d[0]||"\n"==d[0]?(v=c.appendChild(E("span","\r"==d[0]?"\u240d":"\u2424","cm-invalidchar")),v.setAttribute("cm-text",d[0]),e.col+=1):(v=e.cm.options.specialCharPlaceholder(d[0]),v.setAttribute("cm-text",d[0]),a&&s<9?c.appendChild(E("span",[v])):c.appendChild(v),e.col+=1);e.map.push(e.pos,e.pos+1,v),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&s<9&&(h=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),r||n||i||h||o){var x=r||"";n&&(x+=n),i&&(x+=i);var w=E("span",[c],x,o);if(l)for(var k in l)l.hasOwnProperty(k)&&"style"!=k&&"class"!=k&&w.setAttribute(k,l[k]);return e.content.appendChild(w)}e.content.appendChild(c)}}function gr(e,t){if(e.length>1&&!/ /.test(e))return e;for(var r=t,n="",i=0;i<e.length;i++){var o=e.charAt(i);" "!=o||!r||i!=e.length-1&&32!=e.charCodeAt(i+1)||(o="\xa0"),n+=o,r=" "==o}return n}function vr(e,t){return function(r,n,i,o,a,s,l){i=i?i+" cm-force-border":"cm-force-border";for(var c=r.pos,u=c+n.length;;){for(var f=void 0,h=0;h<t.length;h++)if(f=t[h],f.to>c&&f.from<=c)break;if(f.to>=u)return e(r,n,i,o,a,s,l);e(r,n.slice(0,f.to-c),i,o,null,s,l),o=null,n=n.slice(f.to-c),c=f.to}}}function yr(e,t,r,n){var i=!n&&r.widgetNode;i&&e.map.push(e.pos,e.pos+t,i),!n&&e.cm.display.input.needsContentAttribute&&(i||(i=e.content.appendChild(document.createElement("span"))),i.setAttribute("cm-marker",r.id)),i&&(e.cm.display.input.setUneditable(i),e.content.appendChild(i)),e.pos+=t,e.trailingSpace=!1}function br(e,t,r){var n=e.markedSpans,i=e.text,o=0;if(n)for(var a,s,l,c,u,f,h,p=i.length,d=0,m=1,g="",v=0;;){if(v==d){l=c=u=s="",h=null,f=null,v=1/0;for(var y=[],b=void 0,x=0;x<n.length;++x){var w=n[x],k=w.marker;if("bookmark"==k.type&&w.from==d&&k.widgetNode)y.push(k);else if(w.from<=d&&(null==w.to||w.to>d||k.collapsed&&w.to==d&&w.from==d)){if(null!=w.to&&w.to!=d&&v>w.to&&(v=w.to,c=""),k.className&&(l+=" "+k.className),k.css&&(s=(s?s+";":"")+k.css),k.startStyle&&w.from==d&&(u+=" "+k.startStyle),k.endStyle&&w.to==v&&(b||(b=[])).push(k.endStyle,w.to),k.title&&((h||(h={})).title=k.title),k.attributes)for(var S in k.attributes)(h||(h={}))[S]=k.attributes[S];k.collapsed&&(!f||Ut(f.marker,k)<0)&&(f=w)}else w.from>d&&v>w.from&&(v=w.from)}if(b)for(var C=0;C<b.length;C+=2)b[C+1]==v&&(c+=" "+b[C]);if(!f||f.from==d)for(var O=0;O<y.length;++O)yr(t,0,y[O]);if(f&&(f.from||0)==d){if(yr(t,(null==f.to?p+1:f.to)-d,f.marker,null==f.from),null==f.to)return;f.to==d&&(f=!1)}}if(d>=p)break;var M=Math.min(p,v);while(1){if(g){var T=d+g.length;if(!f){var A=T>M?g.slice(0,M-d):g;t.addToken(t,A,a?a+l:l,u,d+A.length==v?c:"",s,h)}if(T>=M){g=g.slice(M-d),d=M;break}d=T,u=""}g=i.slice(o,o=r[m++]),a=hr(r[m++],t.cm.options)}}else for(var E=1;E<r.length;E+=2)t.addToken(t,i.slice(o,o=r[E]),hr(r[E+1],t.cm.options))}function xr(e,t,r){this.line=t,this.rest=Qt(t),this.size=this.rest?et(Y(this.rest))-r+1:1,this.node=this.text=null,this.hidden=rr(e,t)}function wr(e,t,r){for(var n,i=[],o=t;o<r;o=n){var a=new xr(e.doc,Xe(e.doc,o),o);n=o+a.size,i.push(a)}return i}var kr=null;function Sr(e){kr?kr.ops.push(e):e.ownsGroup=kr={ops:[e],delayedCallbacks:[]}}function Cr(e){var t=e.delayedCallbacks,r=0;do{for(;r<t.length;r++)t[r].call(null);for(var n=0;n<e.ops.length;n++){var i=e.ops[n];if(i.cursorActivityHandlers)while(i.cursorActivityCalled<i.cursorActivityHandlers.length)i.cursorActivityHandlers[i.cursorActivityCalled++].call(null,i.cm)}}while(r<t.length)}function Or(e,t){var r=e.ownsGroup;if(r)try{Cr(r)}finally{kr=null,t(r)}}var Mr=null;function Tr(e,t){var r=me(e,t);if(r.length){var n,i=Array.prototype.slice.call(arguments,2);kr?n=kr.delayedCallbacks:Mr?n=Mr:(n=Mr=[],setTimeout(Ar,0));for(var o=function(e){n.push((function(){return r[e].apply(null,i)}))},a=0;a<r.length;++a)o(a)}}function Ar(){var e=Mr;Mr=null;for(var t=0;t<e.length;++t)e[t]()}function Er(e,t,r,n){for(var i=0;i<t.changes.length;i++){var o=t.changes[i];"text"==o?Pr(e,t):"gutter"==o?Lr(e,t,r,n):"class"==o?Fr(e,t):"widget"==o&&Dr(e,t,n)}t.changes=null}function Nr(e){return e.node==e.text&&(e.node=E("div",null,null,"position: relative"),e.text.parentNode&&e.text.parentNode.replaceChild(e.node,e.text),e.node.appendChild(e.text),a&&s<8&&(e.node.style.zIndex=2)),e.node}function jr(e,t){var r=t.bgClass?t.bgClass+" "+(t.line.bgClass||""):t.line.bgClass;if(r&&(r+=" CodeMirror-linebackground"),t.background)r?t.background.className=r:(t.background.parentNode.removeChild(t.background),t.background=null);else if(r){var n=Nr(t);t.background=n.insertBefore(E("div",null,r),n.firstChild),e.display.input.setUneditable(t.background)}}function zr(e,t){var r=e.display.externalMeasured;return r&&r.line==t.line?(e.display.externalMeasured=null,t.measure=r.measure,r.built):pr(e,t)}function Pr(e,t){var r=t.text.className,n=zr(e,t);t.text==t.node&&(t.node=n.pre),t.text.parentNode.replaceChild(n.pre,t.text),t.text=n.pre,n.bgClass!=t.bgClass||n.textClass!=t.textClass?(t.bgClass=n.bgClass,t.textClass=n.textClass,Fr(e,t)):r&&(t.text.className=r)}function Fr(e,t){jr(e,t),t.line.wrapClass?Nr(t).className=t.line.wrapClass:t.node!=t.text&&(t.node.className="");var r=t.textClass?t.textClass+" "+(t.line.textClass||""):t.line.textClass;t.text.className=r||""}function Lr(e,t,r,n){if(t.gutter&&(t.node.removeChild(t.gutter),t.gutter=null),t.gutterBackground&&(t.node.removeChild(t.gutterBackground),t.gutterBackground=null),t.line.gutterClass){var i=Nr(t);t.gutterBackground=E("div",null,"CodeMirror-gutter-background "+t.line.gutterClass,"left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px; width: "+n.gutterTotalWidth+"px"),e.display.input.setUneditable(t.gutterBackground),i.insertBefore(t.gutterBackground,t.text)}var o=t.line.gutterMarkers;if(e.options.lineNumbers||o){var a=Nr(t),s=t.gutter=E("div",null,"CodeMirror-gutter-wrapper","left: "+(e.options.fixedGutter?n.fixedPos:-n.gutterTotalWidth)+"px");if(e.display.input.setUneditable(s),a.insertBefore(s,t.text),t.line.gutterClass&&(s.className+=" "+t.line.gutterClass),!e.options.lineNumbers||o&&o["CodeMirror-linenumbers"]||(t.lineNumber=s.appendChild(E("div",nt(e.options,r),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+n.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+e.display.lineNumInnerWidth+"px"))),o)for(var l=0;l<e.display.gutterSpecs.length;++l){var c=e.display.gutterSpecs[l].className,u=o.hasOwnProperty(c)&&o[c];u&&s.appendChild(E("div",[u],"CodeMirror-gutter-elt","left: "+n.gutterLeft[c]+"px; width: "+n.gutterWidth[c]+"px"))}}}function Dr(e,t,r){t.alignable&&(t.alignable=null);for(var n=C("CodeMirror-linewidget"),i=t.node.firstChild,o=void 0;i;i=o)o=i.nextSibling,n.test(i.className)&&t.node.removeChild(i);Rr(e,t,r)}function Ir(e,t,r,n){var i=zr(e,t);return t.text=t.node=i.pre,i.bgClass&&(t.bgClass=i.bgClass),i.textClass&&(t.textClass=i.textClass),Fr(e,t),Lr(e,t,r,n),Rr(e,t,n),t.node}function Rr(e,t,r){if(_r(e,t.line,t,r,!0),t.rest)for(var n=0;n<t.rest.length;n++)_r(e,t.rest[n],t,r,!1)}function _r(e,t,r,n,i){if(t.widgets)for(var o=Nr(r),a=0,s=t.widgets;a<s.length;++a){var l=s[a],c=E("div",[l.node],"CodeMirror-linewidget"+(l.className?" "+l.className:""));l.handleMouseEvents||c.setAttribute("cm-ignore-events","true"),Br(l,c,r,n),e.display.input.setUneditable(c),i&&l.above?o.insertBefore(c,r.gutter||r.text):o.appendChild(c),Tr(l,"redraw")}}function Br(e,t,r,n){if(e.noHScroll){(r.alignable||(r.alignable=[])).push(t);var i=n.wrapperWidth;t.style.left=n.fixedPos+"px",e.coverGutter||(i-=n.gutterTotalWidth,t.style.paddingLeft=n.gutterTotalWidth+"px"),t.style.width=i+"px"}e.coverGutter&&(t.style.zIndex=5,t.style.position="relative",e.noHScroll||(t.style.marginLeft=-n.gutterTotalWidth+"px"))}function qr(e){if(null!=e.height)return e.height;var t=e.doc.cm;if(!t)return 0;if(!j(document.body,e.node)){var r="position: relative;";e.coverGutter&&(r+="margin-left: -"+t.display.gutters.offsetWidth+"px;"),e.noHScroll&&(r+="width: "+t.display.wrapper.clientWidth+"px;"),A(t.display.measure,E("div",[e.node],null,r))}return e.height=e.node.parentNode.offsetHeight}function Hr(e,t){for(var r=Me(t);r!=e.wrapper;r=r.parentNode)if(!r||1==r.nodeType&&"true"==r.getAttribute("cm-ignore-events")||r.parentNode==e.sizer&&r!=e.mover)return!0}function Vr(e){return e.lineSpace.offsetTop}function Wr(e){return e.mover.offsetHeight-e.lineSpace.offsetHeight}function Ur(e){if(e.cachedPaddingH)return e.cachedPaddingH;var t=A(e.measure,E("pre","x","CodeMirror-line-like")),r=window.getComputedStyle?window.getComputedStyle(t):t.currentStyle,n={left:parseInt(r.paddingLeft),right:parseInt(r.paddingRight)};return isNaN(n.left)||isNaN(n.right)||(e.cachedPaddingH=n),n}function $r(e){return q-e.display.nativeBarWidth}function Gr(e){return e.display.scroller.clientWidth-$r(e)-e.display.barWidth}function Kr(e){return e.display.scroller.clientHeight-$r(e)-e.display.barHeight}function Yr(e,t,r){var n=e.options.lineWrapping,i=n&&Gr(e);if(!t.measure.heights||n&&t.measure.width!=i){var o=t.measure.heights=[];if(n){t.measure.width=i;for(var a=t.text.firstChild.getClientRects(),s=0;s<a.length-1;s++){var l=a[s],c=a[s+1];Math.abs(l.bottom-c.bottom)>2&&o.push((l.bottom+c.top)/2-r.top)}}o.push(r.bottom-r.top)}}function Xr(e,t,r){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var n=0;n<e.rest.length;n++)if(e.rest[n]==t)return{map:e.measure.maps[n],cache:e.measure.caches[n]};for(var i=0;i<e.rest.length;i++)if(et(e.rest[i])>r)return{map:e.measure.maps[i],cache:e.measure.caches[i],before:!0}}function Zr(e,t){t=Zt(t);var r=et(t),n=e.display.externalMeasured=new xr(e.doc,t,r);n.lineN=r;var i=n.built=pr(e,n);return n.text=i.pre,A(e.display.lineMeasure,i.pre),n}function Jr(e,t,r,n){return tn(e,en(e,t),r,n)}function Qr(e,t){if(t>=e.display.viewFrom&&t<e.display.viewTo)return e.display.view[Ln(e,t)];var r=e.display.externalMeasured;return r&&t>=r.lineN&&t<r.lineN+r.size?r:void 0}function en(e,t){var r=et(t),n=Qr(e,r);n&&!n.text?n=null:n&&n.changes&&(Er(e,n,r,Nn(e)),e.curOp.forceUpdate=!0),n||(n=Zr(e,t));var i=Xr(n,t,r);return{line:t,view:n,rect:null,map:i.map,cache:i.cache,before:i.before,hasHeights:!1}}function tn(e,t,r,n,i){t.before&&(r=-1);var o,a=r+(n||"");return t.cache.hasOwnProperty(a)?o=t.cache[a]:(t.rect||(t.rect=t.view.text.getBoundingClientRect()),t.hasHeights||(Yr(e,t.view,t.rect),t.hasHeights=!0),o=sn(e,t,r,n),o.bogus||(t.cache[a]=o)),{left:o.left,right:o.right,top:i?o.rtop:o.top,bottom:i?o.rbottom:o.bottom}}var rn,nn={left:0,right:0,top:0,bottom:0};function on(e,t,r){for(var n,i,o,a,s,l,c=0;c<e.length;c+=3)if(s=e[c],l=e[c+1],t<s?(i=0,o=1,a="left"):t<l?(i=t-s,o=i+1):(c==e.length-3||t==l&&e[c+3]>t)&&(o=l-s,i=o-1,t>=l&&(a="right")),null!=i){if(n=e[c+2],s==l&&r==(n.insertLeft?"left":"right")&&(a=r),"left"==r&&0==i)while(c&&e[c-2]==e[c-3]&&e[c-1].insertLeft)n=e[2+(c-=3)],a="left";if("right"==r&&i==l-s)while(c<e.length-3&&e[c+3]==e[c+4]&&!e[c+5].insertLeft)n=e[(c+=3)+2],a="right";break}return{node:n,start:i,end:o,collapse:a,coverStart:s,coverEnd:l}}function an(e,t){var r=nn;if("left"==t){for(var n=0;n<e.length;n++)if((r=e[n]).left!=r.right)break}else for(var i=e.length-1;i>=0;i--)if((r=e[i]).left!=r.right)break;return r}function sn(e,t,r,n){var i,o=on(t.map,r,n),l=o.node,c=o.start,u=o.end,f=o.collapse;if(3==l.nodeType){for(var h=0;h<4;h++){while(c&&oe(t.line.text.charAt(o.coverStart+c)))--c;while(o.coverStart+u<o.coverEnd&&oe(t.line.text.charAt(o.coverStart+u)))++u;if(i=a&&s<9&&0==c&&u==o.coverEnd-o.coverStart?l.parentNode.getBoundingClientRect():an(O(l,c,u).getClientRects(),n),i.left||i.right||0==c)break;u=c,c-=1,f="right"}a&&s<11&&(i=ln(e.display.measure,i))}else{var p;c>0&&(f=n="right"),i=e.options.lineWrapping&&(p=l.getClientRects()).length>1?p["right"==n?p.length-1:0]:l.getBoundingClientRect()}if(a&&s<9&&!c&&(!i||!i.left&&!i.right)){var d=l.parentNode.getClientRects()[0];i=d?{left:d.left,right:d.left+En(e.display),top:d.top,bottom:d.bottom}:nn}for(var m=i.top-t.rect.top,g=i.bottom-t.rect.top,v=(m+g)/2,y=t.view.measure.heights,b=0;b<y.length-1;b++)if(v<y[b])break;var x=b?y[b-1]:0,w=y[b],k={left:("right"==f?i.right:i.left)-t.rect.left,right:("left"==f?i.left:i.right)-t.rect.left,top:x,bottom:w};return i.left||i.right||(k.bogus=!0),e.options.singleCursorHeightPerLine||(k.rtop=m,k.rbottom=g),k}function ln(e,t){if(!window.screen||null==screen.logicalXDPI||screen.logicalXDPI==screen.deviceXDPI||!Ie(e))return t;var r=screen.logicalXDPI/screen.deviceXDPI,n=screen.logicalYDPI/screen.deviceYDPI;return{left:t.left*r,right:t.right*r,top:t.top*n,bottom:t.bottom*n}}function cn(e){if(e.measure&&(e.measure.cache={},e.measure.heights=null,e.rest))for(var t=0;t<e.rest.length;t++)e.measure.caches[t]={}}function un(e){e.display.externalMeasure=null,T(e.display.lineMeasure);for(var t=0;t<e.display.view.length;t++)cn(e.display.view[t])}function fn(e){un(e),e.display.cachedCharWidth=e.display.cachedTextHeight=e.display.cachedPaddingH=null,e.options.lineWrapping||(e.display.maxLineChanged=!0),e.display.lineNumChars=null}function hn(){return u&&g?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function pn(){return u&&g?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function dn(e){var t=0;if(e.widgets)for(var r=0;r<e.widgets.length;++r)e.widgets[r].above&&(t+=qr(e.widgets[r]));return t}function mn(e,t,r,n,i){if(!i){var o=dn(t);r.top+=o,r.bottom+=o}if("line"==n)return r;n||(n="local");var a=ir(t);if("local"==n?a+=Vr(e.display):a-=e.display.viewOffset,"page"==n||"window"==n){var s=e.display.lineSpace.getBoundingClientRect();a+=s.top+("window"==n?0:pn());var l=s.left+("window"==n?0:hn());r.left+=l,r.right+=l}return r.top+=a,r.bottom+=a,r}function gn(e,t,r){if("div"==r)return t;var n=t.left,i=t.top;if("page"==r)n-=hn(),i-=pn();else if("local"==r||!r){var o=e.display.sizer.getBoundingClientRect();n+=o.left,i+=o.top}var a=e.display.lineSpace.getBoundingClientRect();return{left:n-a.left,top:i-a.top}}function vn(e,t,r,n,i){return n||(n=Xe(e.doc,t.line)),mn(e,n,Jr(e,n,t.ch,i),r)}function yn(e,t,r,n,i,o){function a(t,a){var s=tn(e,i,t,a?"right":"left",o);return a?s.left=s.right:s.right=s.left,mn(e,n,s,r)}n=n||Xe(e.doc,t.line),i||(i=en(e,n));var s=he(n,e.doc.direction),l=t.ch,c=t.sticky;if(l>=n.text.length?(l=n.text.length,c="before"):l<=0&&(l=0,c="after"),!s)return a("before"==c?l-1:l,"before"==c);function u(e,t,r){var n=s[t],i=1==n.level;return a(r?e-1:e,i!=r)}var f=ue(s,l,c),h=ce,p=u(l,f,"before"==c);return null!=h&&(p.other=u(l,h,"before"!=c)),p}function bn(e,t){var r=0;t=ft(e.doc,t),e.options.lineWrapping||(r=En(e.display)*t.ch);var n=Xe(e.doc,t.line),i=ir(n)+Vr(e.display);return{left:r,right:r,top:i,bottom:i+n.height}}function xn(e,t,r,n,i){var o=it(e,t,r);return o.xRel=i,n&&(o.outside=n),o}function wn(e,t,r){var n=e.doc;if(r+=e.display.viewOffset,r<0)return xn(n.first,0,null,-1,-1);var i=tt(n,r),o=n.first+n.size-1;if(i>o)return xn(n.first+n.size-1,Xe(n,o).text.length,null,1,1);t<0&&(t=0);for(var a=Xe(n,i);;){var s=On(e,a,i,t,r),l=Yt(a,s.ch+(s.xRel>0||s.outside>0?1:0));if(!l)return s;var c=l.find(1);if(c.line==i)return c;a=Xe(n,i=c.line)}}function kn(e,t,r,n){n-=dn(t);var i=t.text.length,o=se((function(t){return tn(e,r,t-1).bottom<=n}),i,0);return i=se((function(t){return tn(e,r,t).top>n}),o,i),{begin:o,end:i}}function Sn(e,t,r,n){r||(r=en(e,t));var i=mn(e,t,tn(e,r,n),"line").top;return kn(e,t,r,i)}function Cn(e,t,r,n){return!(e.bottom<=r)&&(e.top>r||(n?e.left:e.right)>t)}function On(e,t,r,n,i){i-=ir(t);var o=en(e,t),a=dn(t),s=0,l=t.text.length,c=!0,u=he(t,e.doc.direction);if(u){var f=(e.options.lineWrapping?Tn:Mn)(e,t,r,o,u,n,i);c=1!=f.level,s=c?f.from:f.to-1,l=c?f.to:f.from-1}var h,p,d=null,m=null,g=se((function(t){var r=tn(e,o,t);return r.top+=a,r.bottom+=a,!!Cn(r,n,i,!1)&&(r.top<=i&&r.left<=n&&(d=t,m=r),!0)}),s,l),v=!1;if(m){var y=n-m.left<m.right-n,b=y==c;g=d+(b?0:1),p=b?"after":"before",h=y?m.left:m.right}else{c||g!=l&&g!=s||g++,p=0==g?"after":g==t.text.length?"before":tn(e,o,g-(c?1:0)).bottom+a<=i==c?"after":"before";var x=yn(e,it(r,g,p),"line",t,o);h=x.left,v=i<x.top?-1:i>=x.bottom?1:0}return g=ae(t.text,g,1),xn(r,g,p,v,n-h)}function Mn(e,t,r,n,i,o,a){var s=se((function(s){var l=i[s],c=1!=l.level;return Cn(yn(e,it(r,c?l.to:l.from,c?"before":"after"),"line",t,n),o,a,!0)}),0,i.length-1),l=i[s];if(s>0){var c=1!=l.level,u=yn(e,it(r,c?l.from:l.to,c?"after":"before"),"line",t,n);Cn(u,o,a,!0)&&u.top>a&&(l=i[s-1])}return l}function Tn(e,t,r,n,i,o,a){var s=kn(e,t,n,a),l=s.begin,c=s.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,f=null,h=0;h<i.length;h++){var p=i[h];if(!(p.from>=c||p.to<=l)){var d=1!=p.level,m=tn(e,n,d?Math.min(c,p.to)-1:Math.max(l,p.from)).right,g=m<o?o-m+1e9:m-o;(!u||f>g)&&(u=p,f=g)}}return u||(u=i[i.length-1]),u.from<l&&(u={from:l,to:u.to,level:u.level}),u.to>c&&(u={from:u.from,to:c,level:u.level}),u}function An(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rn){rn=E("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rn.appendChild(document.createTextNode("x")),rn.appendChild(E("br"));rn.appendChild(document.createTextNode("x"))}A(e.measure,rn);var r=rn.offsetHeight/50;return r>3&&(e.cachedTextHeight=r),T(e.measure),r||1}function En(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=E("span","xxxxxxxxxx"),r=E("pre",[t],"CodeMirror-line-like");A(e.measure,r);var n=t.getBoundingClientRect(),i=(n.right-n.left)/10;return i>2&&(e.cachedCharWidth=i),i||10}function Nn(e){for(var t=e.display,r={},n={},i=t.gutters.clientLeft,o=t.gutters.firstChild,a=0;o;o=o.nextSibling,++a){var s=e.display.gutterSpecs[a].className;r[s]=o.offsetLeft+o.clientLeft+i,n[s]=o.clientWidth}return{fixedPos:jn(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:r,gutterWidth:n,wrapperWidth:t.wrapper.clientWidth}}function jn(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function zn(e){var t=An(e.display),r=e.options.lineWrapping,n=r&&Math.max(5,e.display.scroller.clientWidth/En(e.display)-3);return function(i){if(rr(e.doc,i))return 0;var o=0;if(i.widgets)for(var a=0;a<i.widgets.length;a++)i.widgets[a].height&&(o+=i.widgets[a].height);return r?o+(Math.ceil(i.text.length/n)||1)*t:o+t}}function Pn(e){var t=e.doc,r=zn(e);t.iter((function(e){var t=r(e);t!=e.height&&Qe(e,t)}))}function Fn(e,t,r,n){var i=e.display;if(!r&&"true"==Me(t).getAttribute("cm-not-content"))return null;var o,a,s=i.lineSpace.getBoundingClientRect();try{o=t.clientX-s.left,a=t.clientY-s.top}catch(f){return null}var l,c=wn(e,o,a);if(n&&c.xRel>0&&(l=Xe(e.doc,c.line).text).length==c.ch){var u=R(l,l.length,e.options.tabSize)-l.length;c=it(c.line,Math.max(0,Math.round((o-Ur(e.display).left)/En(e.display))-u))}return c}function Ln(e,t){if(t>=e.display.viewTo)return null;if(t-=e.display.viewFrom,t<0)return null;for(var r=e.display.view,n=0;n<r.length;n++)if(t-=r[n].size,t<0)return n}function Dn(e,t,r,n){null==t&&(t=e.doc.first),null==r&&(r=e.doc.first+e.doc.size),n||(n=0);var i=e.display;if(n&&r<i.viewTo&&(null==i.updateLineNumbers||i.updateLineNumbers>t)&&(i.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=i.viewTo)Et&&er(e.doc,t)<i.viewTo&&Rn(e);else if(r<=i.viewFrom)Et&&tr(e.doc,r+n)>i.viewFrom?Rn(e):(i.viewFrom+=n,i.viewTo+=n);else if(t<=i.viewFrom&&r>=i.viewTo)Rn(e);else if(t<=i.viewFrom){var o=_n(e,r,r+n,1);o?(i.view=i.view.slice(o.index),i.viewFrom=o.lineN,i.viewTo+=n):Rn(e)}else if(r>=i.viewTo){var a=_n(e,t,t,-1);a?(i.view=i.view.slice(0,a.index),i.viewTo=a.lineN):Rn(e)}else{var s=_n(e,t,t,-1),l=_n(e,r,r+n,1);s&&l?(i.view=i.view.slice(0,s.index).concat(wr(e,s.lineN,l.lineN)).concat(i.view.slice(l.index)),i.viewTo+=n):Rn(e)}var c=i.externalMeasured;c&&(r<c.lineN?c.lineN+=n:t<c.lineN+c.size&&(i.externalMeasured=null))}function In(e,t,r){e.curOp.viewChanged=!0;var n=e.display,i=e.display.externalMeasured;if(i&&t>=i.lineN&&t<i.lineN+i.size&&(n.externalMeasured=null),!(t<n.viewFrom||t>=n.viewTo)){var o=n.view[Ln(e,t)];if(null!=o.node){var a=o.changes||(o.changes=[]);-1==B(a,r)&&a.push(r)}}}function Rn(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function _n(e,t,r,n){var i,o=Ln(e,t),a=e.display.view;if(!Et||r==e.doc.first+e.doc.size)return{index:o,lineN:r};for(var s=e.display.viewFrom,l=0;l<o;l++)s+=a[l].size;if(s!=t){if(n>0){if(o==a.length-1)return null;i=s+a[o].size-t,o++}else i=s-t;t+=i,r+=i}while(er(e.doc,r)!=r){if(o==(n<0?0:a.length-1))return null;r+=n*a[o-(n<0?1:0)].size,o+=n}return{index:o,lineN:r}}function Bn(e,t,r){var n=e.display,i=n.view;0==i.length||t>=n.viewTo||r<=n.viewFrom?(n.view=wr(e,t,r),n.viewFrom=t):(n.viewFrom>t?n.view=wr(e,t,n.viewFrom).concat(n.view):n.viewFrom<t&&(n.view=n.view.slice(Ln(e,t))),n.viewFrom=t,n.viewTo<r?n.view=n.view.concat(wr(e,n.viewTo,r)):n.viewTo>r&&(n.view=n.view.slice(0,Ln(e,r)))),n.viewTo=r}function qn(e){for(var t=e.display.view,r=0,n=0;n<t.length;n++){var i=t[n];i.hidden||i.node&&!i.changes||++r}return r}function Hn(e){e.display.input.showSelection(e.display.input.prepareSelection())}function Vn(e,t){void 0===t&&(t=!0);for(var r=e.doc,n={},i=n.cursors=document.createDocumentFragment(),o=n.selection=document.createDocumentFragment(),a=0;a<r.sel.ranges.length;a++)if(t||a!=r.sel.primIndex){var s=r.sel.ranges[a];if(!(s.from().line>=e.display.viewTo||s.to().line<e.display.viewFrom)){var l=s.empty();(l||e.options.showCursorWhenSelecting)&&Wn(e,s.head,i),l||$n(e,s,o)}}return n}function Wn(e,t,r){var n=yn(e,t,"div",null,null,!e.options.singleCursorHeightPerLine),i=r.appendChild(E("div","\xa0","CodeMirror-cursor"));if(i.style.left=n.left+"px",i.style.top=n.top+"px",i.style.height=Math.max(0,n.bottom-n.top)*e.options.cursorHeight+"px",n.other){var o=r.appendChild(E("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));o.style.display="",o.style.left=n.other.left+"px",o.style.top=n.other.top+"px",o.style.height=.85*(n.other.bottom-n.other.top)+"px"}}function Un(e,t){return e.top-t.top||e.left-t.left}function $n(e,t,r){var n=e.display,i=e.doc,o=document.createDocumentFragment(),a=Ur(e.display),s=a.left,l=Math.max(n.sizerWidth,Gr(e)-n.sizer.offsetLeft)-a.right,c="ltr"==i.direction;function u(e,t,r,n){t<0&&(t=0),t=Math.round(t),n=Math.round(n),o.appendChild(E("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==r?l-e:r)+"px;\n height: "+(n-t)+"px"))}function f(t,r,n){var o,a,f=Xe(i,t),h=f.text.length;function p(r,n){return vn(e,it(t,r),"div",f,n)}function d(t,r,n){var i=Sn(e,f,null,t),o="ltr"==r==("after"==n)?"left":"right",a="after"==n?i.begin:i.end-(/\s/.test(f.text.charAt(i.end-1))?2:1);return p(a,o)[o]}var m=he(f,i.direction);return le(m,r||0,null==n?h:n,(function(e,t,i,f){var g="ltr"==i,v=p(e,g?"left":"right"),y=p(t-1,g?"right":"left"),b=null==r&&0==e,x=null==n&&t==h,w=0==f,k=!m||f==m.length-1;if(y.top-v.top<=3){var S=(c?b:x)&&w,C=(c?x:b)&&k,O=S?s:(g?v:y).left,M=C?l:(g?y:v).right;u(O,v.top,M-O,v.bottom)}else{var T,A,E,N;g?(T=c&&b&&w?s:v.left,A=c?l:d(e,i,"before"),E=c?s:d(t,i,"after"),N=c&&x&&k?l:y.right):(T=c?d(e,i,"before"):s,A=!c&&b&&w?l:v.right,E=!c&&x&&k?s:y.left,N=c?d(t,i,"after"):l),u(T,v.top,A-T,v.bottom),v.bottom<y.top&&u(s,v.bottom,null,y.top),u(E,y.top,N-E,y.bottom)}(!o||Un(v,o)<0)&&(o=v),Un(y,o)<0&&(o=y),(!a||Un(v,a)<0)&&(a=v),Un(y,a)<0&&(a=y)})),{start:o,end:a}}var h=t.from(),p=t.to();if(h.line==p.line)f(h.line,h.ch,p.ch);else{var d=Xe(i,h.line),m=Xe(i,p.line),g=Zt(d)==Zt(m),v=f(h.line,h.ch,g?d.text.length+1:null).end,y=f(p.line,g?0:null,p.ch).start;g&&(v.top<y.top-2?(u(v.right,v.top,null,v.bottom),u(s,y.top,y.left,y.bottom)):u(v.right,v.top,y.left-v.right,v.bottom)),v.bottom<y.top&&u(s,v.bottom,null,y.top)}r.appendChild(o)}function Gn(e){if(e.state.focused){var t=e.display;clearInterval(t.blinker);var r=!0;t.cursorDiv.style.visibility="",e.options.cursorBlinkRate>0?t.blinker=setInterval((function(){return t.cursorDiv.style.visibility=(r=!r)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function Kn(e){e.state.focused||(e.display.input.focus(),Xn(e))}function Yn(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,Zn(e))}),100)}function Xn(e,t){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ve(e,"focus",e,t),e.state.focused=!0,P(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),l&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),Gn(e))}function Zn(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ve(e,"blur",e,t),e.state.focused=!1,M(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Jn(e){for(var t=e.display,r=t.lineDiv.offsetTop,n=0;n<t.view.length;n++){var i=t.view[n],o=e.options.lineWrapping,l=void 0,c=0;if(!i.hidden){if(a&&s<8){var u=i.node.offsetTop+i.node.offsetHeight;l=u-r,r=u}else{var f=i.node.getBoundingClientRect();l=f.bottom-f.top,!o&&i.text.firstChild&&(c=i.text.firstChild.getBoundingClientRect().right-f.left-1)}var h=i.line.height-l;if((h>.005||h<-.005)&&(Qe(i.line,l),Qn(i.line),i.rest))for(var p=0;p<i.rest.length;p++)Qn(i.rest[p]);if(c>e.display.sizerWidth){var d=Math.ceil(c/En(e.display));d>e.display.maxLineLength&&(e.display.maxLineLength=d,e.display.maxLine=i.line,e.display.maxLineChanged=!0)}}}}function Qn(e){if(e.widgets)for(var t=0;t<e.widgets.length;++t){var r=e.widgets[t],n=r.node.parentNode;n&&(r.height=n.offsetHeight)}}function ei(e,t,r){var n=r&&null!=r.top?Math.max(0,r.top):e.scroller.scrollTop;n=Math.floor(n-Vr(e));var i=r&&null!=r.bottom?r.bottom:n+e.wrapper.clientHeight,o=tt(t,n),a=tt(t,i);if(r&&r.ensure){var s=r.ensure.from.line,l=r.ensure.to.line;s<o?(o=s,a=tt(t,ir(Xe(t,s))+e.wrapper.clientHeight)):Math.min(l,t.lastLine())>=a&&(o=tt(t,ir(Xe(t,l))-e.wrapper.clientHeight),a=l)}return{from:o,to:Math.max(a,o+1)}}function ti(e,t){if(!ye(e,"scrollCursorIntoView")){var r=e.display,n=r.sizer.getBoundingClientRect(),i=null;if(t.top+n.top<0?i=!0:t.bottom+n.top>(window.innerHeight||document.documentElement.clientHeight)&&(i=!1),null!=i&&!d){var o=E("div","\u200b",null,"position: absolute;\n top: "+(t.top-r.viewOffset-Vr(e.display))+"px;\n height: "+(t.bottom-t.top+$r(e)+r.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(o),o.scrollIntoView(i),e.display.lineSpace.removeChild(o)}}}function ri(e,t,r,n){var i;null==n&&(n=0),e.options.lineWrapping||t!=r||(t=t.ch?it(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t,r="before"==t.sticky?it(t.line,t.ch+1,"before"):t);for(var o=0;o<5;o++){var a=!1,s=yn(e,t),l=r&&r!=t?yn(e,r):s;i={left:Math.min(s.left,l.left),top:Math.min(s.top,l.top)-n,right:Math.max(s.left,l.left),bottom:Math.max(s.bottom,l.bottom)+n};var c=ii(e,i),u=e.doc.scrollTop,f=e.doc.scrollLeft;if(null!=c.scrollTop&&(fi(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(pi(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-f)>1&&(a=!0)),!a)break}return i}function ni(e,t){var r=ii(e,t);null!=r.scrollTop&&fi(e,r.scrollTop),null!=r.scrollLeft&&pi(e,r.scrollLeft)}function ii(e,t){var r=e.display,n=An(e.display);t.top<0&&(t.top=0);var i=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:r.scroller.scrollTop,o=Kr(e),a={};t.bottom-t.top>o&&(t.bottom=t.top+o);var s=e.doc.height+Wr(r),l=t.top<n,c=t.bottom>s-n;if(t.top<i)a.scrollTop=l?0:t.top;else if(t.bottom>i+o){var u=Math.min(t.top,(c?s:t.bottom)-o);u!=i&&(a.scrollTop=u)}var f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:r.scroller.scrollLeft,h=Gr(e)-(e.options.fixedGutter?r.gutters.offsetWidth:0),p=t.right-t.left>h;return p&&(t.right=t.left+h),t.left<10?a.scrollLeft=0:t.left<f?a.scrollLeft=Math.max(0,t.left-(p?0:10)):t.right>h+f-3&&(a.scrollLeft=t.right+(p?0:10)-h),a}function oi(e,t){null!=t&&(ci(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ai(e){ci(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function si(e,t,r){null==t&&null==r||ci(e),null!=t&&(e.curOp.scrollLeft=t),null!=r&&(e.curOp.scrollTop=r)}function li(e,t){ci(e),e.curOp.scrollToPos=t}function ci(e){var t=e.curOp.scrollToPos;if(t){e.curOp.scrollToPos=null;var r=bn(e,t.from),n=bn(e,t.to);ui(e,r,n,t.margin)}}function ui(e,t,r,n){var i=ii(e,{left:Math.min(t.left,r.left),top:Math.min(t.top,r.top)-n,right:Math.max(t.right,r.right),bottom:Math.max(t.bottom,r.bottom)+n});si(e,i.scrollLeft,i.scrollTop)}function fi(e,t){Math.abs(e.doc.scrollTop-t)<2||(r||Hi(e,{top:t}),hi(e,t,!0),r&&Hi(e),Fi(e,100))}function hi(e,t,r){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||r)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function pi(e,t,r,n){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(r?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!n||(e.doc.scrollLeft=t,$i(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function di(e){var t=e.display,r=t.gutters.offsetWidth,n=Math.round(e.doc.height+Wr(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?r:0,docHeight:n,scrollHeight:n+$r(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:r}}var mi=function(e,t,r){this.cm=r;var n=this.vert=E("div",[E("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),i=this.horiz=E("div",[E("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");n.tabIndex=i.tabIndex=-1,e(n),e(i),de(n,"scroll",(function(){n.clientHeight&&t(n.scrollTop,"vertical")})),de(i,"scroll",(function(){i.clientWidth&&t(i.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&s<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};mi.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,r=e.scrollHeight>e.clientHeight+1,n=e.nativeBarWidth;if(r){this.vert.style.display="block",this.vert.style.bottom=t?n+"px":"0";var i=e.viewHeight-(t?n:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+i)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=r?n+"px":"0",this.horiz.style.left=e.barLeft+"px";var o=e.viewWidth-e.barLeft-(r?n:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+o)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==n&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:r?n:0,bottom:t?n:0}},mi.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},mi.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},mi.prototype.zeroWidthHack=function(){var e=y&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new _,this.disableVert=new _},mi.prototype.enableZeroWidthBar=function(e,t,r){function n(){var i=e.getBoundingClientRect(),o="vert"==r?document.elementFromPoint(i.right-1,(i.top+i.bottom)/2):document.elementFromPoint((i.right+i.left)/2,i.bottom-1);o!=e?e.style.pointerEvents="none":t.set(1e3,n)}e.style.pointerEvents="auto",t.set(1e3,n)},mi.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var gi=function(){};function vi(e,t){t||(t=di(e));var r=e.display.barWidth,n=e.display.barHeight;yi(e,t);for(var i=0;i<4&&r!=e.display.barWidth||n!=e.display.barHeight;i++)r!=e.display.barWidth&&e.options.lineWrapping&&Jn(e),yi(e,di(e)),r=e.display.barWidth,n=e.display.barHeight}function yi(e,t){var r=e.display,n=r.scrollbars.update(t);r.sizer.style.paddingRight=(r.barWidth=n.right)+"px",r.sizer.style.paddingBottom=(r.barHeight=n.bottom)+"px",r.heightForcer.style.borderBottom=n.bottom+"px solid transparent",n.right&&n.bottom?(r.scrollbarFiller.style.display="block",r.scrollbarFiller.style.height=n.bottom+"px",r.scrollbarFiller.style.width=n.right+"px"):r.scrollbarFiller.style.display="",n.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(r.gutterFiller.style.display="block",r.gutterFiller.style.height=n.bottom+"px",r.gutterFiller.style.width=t.gutterWidth+"px"):r.gutterFiller.style.display=""}gi.prototype.update=function(){return{bottom:0,right:0}},gi.prototype.setScrollLeft=function(){},gi.prototype.setScrollTop=function(){},gi.prototype.clear=function(){};var bi={native:mi,null:gi};function xi(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&M(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new bi[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),de(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,r){"horizontal"==r?pi(e,t):fi(e,t)}),e),e.display.scrollbars.addClass&&P(e.display.wrapper,e.display.scrollbars.addClass)}var wi=0;function ki(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++wi},Sr(e.curOp)}function Si(e){var t=e.curOp;t&&Or(t,(function(e){for(var t=0;t<e.ops.length;t++)e.ops[t].cm.curOp=null;Ci(e)}))}function Ci(e){for(var t=e.ops,r=0;r<t.length;r++)Oi(t[r]);for(var n=0;n<t.length;n++)Mi(t[n]);for(var i=0;i<t.length;i++)Ti(t[i]);for(var o=0;o<t.length;o++)Ai(t[o]);for(var a=0;a<t.length;a++)Ei(t[a])}function Oi(e){var t=e.cm,r=t.display;Ii(t),e.updateMaxLine&&ar(t),e.mustUpdate=e.viewChanged||e.forceUpdate||null!=e.scrollTop||e.scrollToPos&&(e.scrollToPos.from.line<r.viewFrom||e.scrollToPos.to.line>=r.viewTo)||r.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new Di(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Mi(e){e.updatedDisplay=e.mustUpdate&&Bi(e.cm,e.update)}function Ti(e){var t=e.cm,r=t.display;e.updatedDisplay&&Jn(t),e.barMeasure=di(t),r.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Jr(t,r.maxLine,r.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(r.scroller.clientWidth,r.sizer.offsetLeft+e.adjustWidthTo+$r(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,r.sizer.offsetLeft+e.adjustWidthTo-Gr(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=r.input.prepareSelection())}function Ai(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft<t.doc.scrollLeft&&pi(t,Math.min(t.display.scroller.scrollLeft,e.maxScrollLeft),!0),t.display.maxLineChanged=!1);var r=e.focus&&e.focus==z();e.preparedSelection&&t.display.input.showSelection(e.preparedSelection,r),(e.updatedDisplay||e.startHeight!=t.doc.height)&&vi(t,e.barMeasure),e.updatedDisplay&&Ui(t,e.barMeasure),e.selectionChanged&&Gn(t),t.state.focused&&e.updateInput&&t.display.input.reset(e.typing),r&&Kn(e.cm)}function Ei(e){var t=e.cm,r=t.display,n=t.doc;if(e.updatedDisplay&&qi(t,e.update),null==r.wheelStartX||null==e.scrollTop&&null==e.scrollLeft&&!e.scrollToPos||(r.wheelStartX=r.wheelStartY=null),null!=e.scrollTop&&hi(t,e.scrollTop,e.forceScroll),null!=e.scrollLeft&&pi(t,e.scrollLeft,!0,!0),e.scrollToPos){var i=ri(t,ft(n,e.scrollToPos.from),ft(n,e.scrollToPos.to),e.scrollToPos.margin);ti(t,i)}var o=e.maybeHiddenMarkers,a=e.maybeUnhiddenMarkers;if(o)for(var s=0;s<o.length;++s)o[s].lines.length||ve(o[s],"hide");if(a)for(var l=0;l<a.length;++l)a[l].lines.length&&ve(a[l],"unhide");r.wrapper.offsetHeight&&(n.scrollTop=t.display.scroller.scrollTop),e.changeObjs&&ve(t,"changes",t,e.changeObjs),e.update&&e.update.finish()}function Ni(e,t){if(e.curOp)return t();ki(e);try{return t()}finally{Si(e)}}function ji(e,t){return function(){if(e.curOp)return t.apply(e,arguments);ki(e);try{return t.apply(e,arguments)}finally{Si(e)}}}function zi(e){return function(){if(this.curOp)return e.apply(this,arguments);ki(this);try{return e.apply(this,arguments)}finally{Si(this)}}}function Pi(e){return function(){var t=this.cm;if(!t||t.curOp)return e.apply(this,arguments);ki(t);try{return e.apply(this,arguments)}finally{Si(t)}}}function Fi(e,t){e.doc.highlightFrontier<e.display.viewTo&&e.state.highlight.set(t,D(Li,e))}function Li(e){var t=e.doc;if(!(t.highlightFrontier>=e.display.viewTo)){var r=+new Date+e.options.workTime,n=yt(e,t.highlightFrontier),i=[];t.iter(n.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(o){if(n.line>=e.display.viewFrom){var a=o.styles,s=o.text.length>e.options.maxHighlightLength?$e(t.mode,n.state):null,l=gt(e,o,n,!0);s&&(n.state=s),o.styles=l.styles;var c=o.styleClasses,u=l.classes;u?o.styleClasses=u:c&&(o.styleClasses=null);for(var f=!a||a.length!=o.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),h=0;!f&&h<a.length;++h)f=a[h]!=o.styles[h];f&&i.push(n.line),o.stateAfter=n.save(),n.nextLine()}else o.text.length<=e.options.maxHighlightLength&&bt(e,o.text,n),o.stateAfter=n.line%5==0?n.save():null,n.nextLine();if(+new Date>r)return Fi(e,e.options.workDelay),!0})),t.highlightFrontier=n.line,t.modeFrontier=Math.max(t.modeFrontier,n.line),i.length&&Ni(e,(function(){for(var t=0;t<i.length;t++)In(e,i[t],"text")}))}}var Di=function(e,t,r){var n=e.display;this.viewport=t,this.visible=ei(n,e.doc,t),this.editorIsHidden=!n.wrapper.offsetWidth,this.wrapperHeight=n.wrapper.clientHeight,this.wrapperWidth=n.wrapper.clientWidth,this.oldDisplayWidth=Gr(e),this.force=r,this.dims=Nn(e),this.events=[]};function Ii(e){var t=e.display;!t.scrollbarsClipped&&t.scroller.offsetWidth&&(t.nativeBarWidth=t.scroller.offsetWidth-t.scroller.clientWidth,t.heightForcer.style.height=$r(e)+"px",t.sizer.style.marginBottom=-t.nativeBarWidth+"px",t.sizer.style.borderRightWidth=$r(e)+"px",t.scrollbarsClipped=!0)}function Ri(e){if(e.hasFocus())return null;var t=z();if(!t||!j(e.display.lineDiv,t))return null;var r={activeElt:t};if(window.getSelection){var n=window.getSelection();n.anchorNode&&n.extend&&j(e.display.lineDiv,n.anchorNode)&&(r.anchorNode=n.anchorNode,r.anchorOffset=n.anchorOffset,r.focusNode=n.focusNode,r.focusOffset=n.focusOffset)}return r}function _i(e){if(e&&e.activeElt&&e.activeElt!=z()&&(e.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(e.activeElt.nodeName)&&e.anchorNode&&j(document.body,e.anchorNode)&&j(document.body,e.focusNode))){var t=window.getSelection(),r=document.createRange();r.setEnd(e.anchorNode,e.anchorOffset),r.collapse(!1),t.removeAllRanges(),t.addRange(r),t.extend(e.focusNode,e.focusOffset)}}function Bi(e,t){var r=e.display,n=e.doc;if(t.editorIsHidden)return Rn(e),!1;if(!t.force&&t.visible.from>=r.viewFrom&&t.visible.to<=r.viewTo&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo)&&r.renderedView==r.view&&0==qn(e))return!1;Gi(e)&&(Rn(e),t.dims=Nn(e));var i=n.first+n.size,o=Math.max(t.visible.from-e.options.viewportMargin,n.first),a=Math.min(i,t.visible.to+e.options.viewportMargin);r.viewFrom<o&&o-r.viewFrom<20&&(o=Math.max(n.first,r.viewFrom)),r.viewTo>a&&r.viewTo-a<20&&(a=Math.min(i,r.viewTo)),Et&&(o=er(e.doc,o),a=tr(e.doc,a));var s=o!=r.viewFrom||a!=r.viewTo||r.lastWrapHeight!=t.wrapperHeight||r.lastWrapWidth!=t.wrapperWidth;Bn(e,o,a),r.viewOffset=ir(Xe(e.doc,r.viewFrom)),e.display.mover.style.top=r.viewOffset+"px";var l=qn(e);if(!s&&0==l&&!t.force&&r.renderedView==r.view&&(null==r.updateLineNumbers||r.updateLineNumbers>=r.viewTo))return!1;var c=Ri(e);return l>4&&(r.lineDiv.style.display="none"),Vi(e,r.updateLineNumbers,t.dims),l>4&&(r.lineDiv.style.display=""),r.renderedView=r.view,_i(c),T(r.cursorDiv),T(r.selectionDiv),r.gutters.style.height=r.sizer.style.minHeight=0,s&&(r.lastWrapHeight=t.wrapperHeight,r.lastWrapWidth=t.wrapperWidth,Fi(e,400)),r.updateLineNumbers=null,!0}function qi(e,t){for(var r=t.viewport,n=!0;;n=!1){if(n&&e.options.lineWrapping&&t.oldDisplayWidth!=Gr(e))n&&(t.visible=ei(e.display,e.doc,r));else if(r&&null!=r.top&&(r={top:Math.min(e.doc.height+Wr(e.display)-Kr(e),r.top)}),t.visible=ei(e.display,e.doc,r),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Bi(e,t))break;Jn(e);var i=di(e);Hn(e),vi(e,i),Ui(e,i),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Hi(e,t){var r=new Di(e,t);if(Bi(e,r)){Jn(e),qi(e,r);var n=di(e);Hn(e),vi(e,n),Ui(e,n),r.finish()}}function Vi(e,t,r){var n=e.display,i=e.options.lineNumbers,o=n.lineDiv,a=o.firstChild;function s(t){var r=t.nextSibling;return l&&y&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),r}for(var c=n.view,u=n.viewFrom,f=0;f<c.length;f++){var h=c[f];if(h.hidden);else if(h.node&&h.node.parentNode==o){while(a!=h.node)a=s(a);var p=i&&null!=t&&t<=u&&h.lineNumber;h.changes&&(B(h.changes,"gutter")>-1&&(p=!1),Er(e,h,u,r)),p&&(T(h.lineNumber),h.lineNumber.appendChild(document.createTextNode(nt(e.options,u)))),a=h.node.nextSibling}else{var d=Ir(e,h,u,r);o.insertBefore(d,a)}u+=h.size}while(a)a=s(a)}function Wi(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px"}function Ui(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+$r(e)+"px"}function $i(e){var t=e.display,r=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var n=jn(t)-t.scroller.scrollLeft+e.doc.scrollLeft,i=t.gutters.offsetWidth,o=n+"px",a=0;a<r.length;a++)if(!r[a].hidden){e.options.fixedGutter&&(r[a].gutter&&(r[a].gutter.style.left=o),r[a].gutterBackground&&(r[a].gutterBackground.style.left=o));var s=r[a].alignable;if(s)for(var l=0;l<s.length;l++)s[l].style.left=o}e.options.fixedGutter&&(t.gutters.style.left=n+i+"px")}}function Gi(e){if(!e.options.lineNumbers)return!1;var t=e.doc,r=nt(e.options,t.first+t.size-1),n=e.display;if(r.length!=n.lineNumChars){var i=n.measure.appendChild(E("div",[E("div",r)],"CodeMirror-linenumber CodeMirror-gutter-elt")),o=i.firstChild.offsetWidth,a=i.offsetWidth-o;return n.lineGutter.style.width="",n.lineNumInnerWidth=Math.max(o,n.lineGutter.offsetWidth-a)+1,n.lineNumWidth=n.lineNumInnerWidth+a,n.lineNumChars=n.lineNumInnerWidth?r.length:-1,n.lineGutter.style.width=n.lineNumWidth+"px",Wi(e.display),!0}return!1}function Ki(e,t){for(var r=[],n=!1,i=0;i<e.length;i++){var o=e[i],a=null;if("string"!=typeof o&&(a=o.style,o=o.className),"CodeMirror-linenumbers"==o){if(!t)continue;n=!0}r.push({className:o,style:a})}return t&&!n&&r.push({className:"CodeMirror-linenumbers",style:null}),r}function Yi(e){var t=e.gutters,r=e.gutterSpecs;T(t),e.lineGutter=null;for(var n=0;n<r.length;++n){var i=r[n],o=i.className,a=i.style,s=t.appendChild(E("div",null,"CodeMirror-gutter "+o));a&&(s.style.cssText=a),"CodeMirror-linenumbers"==o&&(e.lineGutter=s,s.style.width=(e.lineNumWidth||1)+"px")}t.style.display=r.length?"":"none",Wi(e)}function Xi(e){Yi(e.display),Dn(e),$i(e)}function Zi(e,t,n,i){var o=this;this.input=n,o.scrollbarFiller=E("div",null,"CodeMirror-scrollbar-filler"),o.scrollbarFiller.setAttribute("cm-not-content","true"),o.gutterFiller=E("div",null,"CodeMirror-gutter-filler"),o.gutterFiller.setAttribute("cm-not-content","true"),o.lineDiv=N("div",null,"CodeMirror-code"),o.selectionDiv=E("div",null,null,"position: relative; z-index: 1"),o.cursorDiv=E("div",null,"CodeMirror-cursors"),o.measure=E("div",null,"CodeMirror-measure"),o.lineMeasure=E("div",null,"CodeMirror-measure"),o.lineSpace=N("div",[o.measure,o.lineMeasure,o.selectionDiv,o.cursorDiv,o.lineDiv],null,"position: relative; outline: none");var c=N("div",[o.lineSpace],"CodeMirror-lines");o.mover=E("div",[c],null,"position: relative"),o.sizer=E("div",[o.mover],"CodeMirror-sizer"),o.sizerWidth=null,o.heightForcer=E("div",null,null,"position: absolute; height: "+q+"px; width: 1px;"),o.gutters=E("div",null,"CodeMirror-gutters"),o.lineGutter=null,o.scroller=E("div",[o.sizer,o.heightForcer,o.gutters],"CodeMirror-scroll"),o.scroller.setAttribute("tabIndex","-1"),o.wrapper=E("div",[o.scrollbarFiller,o.gutterFiller,o.scroller],"CodeMirror"),a&&s<8&&(o.gutters.style.zIndex=-1,o.scroller.style.paddingRight=0),l||r&&v||(o.scroller.draggable=!0),e&&(e.appendChild?e.appendChild(o.wrapper):e(o.wrapper)),o.viewFrom=o.viewTo=t.first,o.reportedViewFrom=o.reportedViewTo=t.first,o.view=[],o.renderedView=null,o.externalMeasured=null,o.viewOffset=0,o.lastWrapHeight=o.lastWrapWidth=0,o.updateLineNumbers=null,o.nativeBarWidth=o.barHeight=o.barWidth=0,o.scrollbarsClipped=!1,o.lineNumWidth=o.lineNumInnerWidth=o.lineNumChars=null,o.alignWidgets=!1,o.cachedCharWidth=o.cachedTextHeight=o.cachedPaddingH=null,o.maxLine=null,o.maxLineLength=0,o.maxLineChanged=!1,o.wheelDX=o.wheelDY=o.wheelStartX=o.wheelStartY=null,o.shift=!1,o.selForContextMenu=null,o.activeTouch=null,o.gutterSpecs=Ki(i.gutters,i.lineNumbers),Yi(o),n.init(o)}Di.prototype.signal=function(e,t){xe(e,t)&&this.events.push(arguments)},Di.prototype.finish=function(){for(var e=0;e<this.events.length;e++)ve.apply(null,this.events[e])};var Ji=0,Qi=null;function eo(e){var t=e.wheelDeltaX,r=e.wheelDeltaY;return null==t&&e.detail&&e.axis==e.HORIZONTAL_AXIS&&(t=e.detail),null==r&&e.detail&&e.axis==e.VERTICAL_AXIS?r=e.detail:null==r&&(r=e.wheelDelta),{x:t,y:r}}function to(e){var t=eo(e);return t.x*=Qi,t.y*=Qi,t}function ro(e,t){var n=eo(t),i=n.x,o=n.y,a=e.display,s=a.scroller,c=s.scrollWidth>s.clientWidth,u=s.scrollHeight>s.clientHeight;if(i&&c||o&&u){if(o&&y&&l)e:for(var h=t.target,p=a.view;h!=s;h=h.parentNode)for(var d=0;d<p.length;d++)if(p[d].node==h){e.display.currentWheelTarget=h;break e}if(i&&!r&&!f&&null!=Qi)return o&&u&&fi(e,Math.max(0,s.scrollTop+o*Qi)),pi(e,Math.max(0,s.scrollLeft+i*Qi)),(!o||o&&u)&&ke(t),void(a.wheelStartX=null);if(o&&null!=Qi){var m=o*Qi,g=e.doc.scrollTop,v=g+a.wrapper.clientHeight;m<0?g=Math.max(0,g+m-50):v=Math.min(e.doc.height,v+m+50),Hi(e,{top:g,bottom:v})}Ji<20&&(null==a.wheelStartX?(a.wheelStartX=s.scrollLeft,a.wheelStartY=s.scrollTop,a.wheelDX=i,a.wheelDY=o,setTimeout((function(){if(null!=a.wheelStartX){var e=s.scrollLeft-a.wheelStartX,t=s.scrollTop-a.wheelStartY,r=t&&a.wheelDY&&t/a.wheelDY||e&&a.wheelDX&&e/a.wheelDX;a.wheelStartX=a.wheelStartY=null,r&&(Qi=(Qi*Ji+r)/(Ji+1),++Ji)}}),200)):(a.wheelDX+=i,a.wheelDY+=o))}}a?Qi=-.53:r?Qi=15:u?Qi=-.7:h&&(Qi=-1/3);var no=function(e,t){this.ranges=e,this.primIndex=t};no.prototype.primary=function(){return this.ranges[this.primIndex]},no.prototype.equals=function(e){if(e==this)return!0;if(e.primIndex!=this.primIndex||e.ranges.length!=this.ranges.length)return!1;for(var t=0;t<this.ranges.length;t++){var r=this.ranges[t],n=e.ranges[t];if(!at(r.anchor,n.anchor)||!at(r.head,n.head))return!1}return!0},no.prototype.deepCopy=function(){for(var e=[],t=0;t<this.ranges.length;t++)e[t]=new io(st(this.ranges[t].anchor),st(this.ranges[t].head));return new no(e,this.primIndex)},no.prototype.somethingSelected=function(){for(var e=0;e<this.ranges.length;e++)if(!this.ranges[e].empty())return!0;return!1},no.prototype.contains=function(e,t){t||(t=e);for(var r=0;r<this.ranges.length;r++){var n=this.ranges[r];if(ot(t,n.from())>=0&&ot(e,n.to())<=0)return r}return-1};var io=function(e,t){this.anchor=e,this.head=t};function oo(e,t,r){var n=e&&e.options.selectionsMayTouch,i=t[r];t.sort((function(e,t){return ot(e.from(),t.from())})),r=B(t,i);for(var o=1;o<t.length;o++){var a=t[o],s=t[o-1],l=ot(s.to(),a.from());if(n&&!a.empty()?l>0:l>=0){var c=ct(s.from(),a.from()),u=lt(s.to(),a.to()),f=s.empty()?a.from()==a.head:s.from()==s.head;o<=r&&--r,t.splice(--o,2,new io(f?u:c,f?c:u))}}return new no(t,r)}function ao(e,t){return new no([new io(e,t||e)],0)}function so(e){return e.text?it(e.from.line+e.text.length-1,Y(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function lo(e,t){if(ot(e,t.from)<0)return e;if(ot(e,t.to)<=0)return so(t);var r=e.line+t.text.length-(t.to.line-t.from.line)-1,n=e.ch;return e.line==t.to.line&&(n+=so(t).ch-t.to.ch),it(r,n)}function co(e,t){for(var r=[],n=0;n<e.sel.ranges.length;n++){var i=e.sel.ranges[n];r.push(new io(lo(i.anchor,t),lo(i.head,t)))}return oo(e.cm,r,e.sel.primIndex)}function uo(e,t,r){return e.line==t.line?it(r.line,e.ch-t.ch+r.ch):it(r.line+(e.line-t.line),e.ch)}function fo(e,t,r){for(var n=[],i=it(e.first,0),o=i,a=0;a<t.length;a++){var s=t[a],l=uo(s.from,i,o),c=uo(so(s),i,o);if(i=s.to,o=c,"around"==r){var u=e.sel.ranges[a],f=ot(u.head,u.anchor)<0;n[a]=new io(f?c:l,f?l:c)}else n[a]=new io(l,l)}return new no(n,e.sel.primIndex)}function ho(e){e.doc.mode=Ve(e.options,e.doc.modeOption),po(e)}function po(e){e.doc.iter((function(e){e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null)})),e.doc.modeFrontier=e.doc.highlightFrontier=e.doc.first,Fi(e,100),e.state.modeGen++,e.curOp&&Dn(e)}function mo(e,t){return 0==t.from.ch&&0==t.to.ch&&""==Y(t.text)&&(!e.cm||e.cm.options.wholeLineUpdateBefore)}function go(e,t,r,n){function i(e){return r?r[e]:null}function o(e,r,i){lr(e,r,i,n),Tr(e,"change",e,t)}function a(e,t){for(var r=[],o=e;o<t;++o)r.push(new sr(c[o],i(o),n));return r}var s=t.from,l=t.to,c=t.text,u=Xe(e,s.line),f=Xe(e,l.line),h=Y(c),p=i(c.length-1),d=l.line-s.line;if(t.full)e.insert(0,a(0,c.length)),e.remove(c.length,e.size-c.length);else if(mo(e,t)){var m=a(0,c.length-1);o(f,f.text,p),d&&e.remove(s.line,d),m.length&&e.insert(s.line,m)}else if(u==f)if(1==c.length)o(u,u.text.slice(0,s.ch)+h+u.text.slice(l.ch),p);else{var g=a(1,c.length-1);g.push(new sr(h+u.text.slice(l.ch),p,n)),o(u,u.text.slice(0,s.ch)+c[0],i(0)),e.insert(s.line+1,g)}else if(1==c.length)o(u,u.text.slice(0,s.ch)+c[0]+f.text.slice(l.ch),i(0)),e.remove(s.line+1,d);else{o(u,u.text.slice(0,s.ch)+c[0],i(0)),o(f,h+f.text.slice(l.ch),p);var v=a(1,c.length-1);d>1&&e.remove(s.line+1,d-1),e.insert(s.line+1,v)}Tr(e,"change",e,t)}function vo(e,t,r){function n(e,i,o){if(e.linked)for(var a=0;a<e.linked.length;++a){var s=e.linked[a];if(s.doc!=i){var l=o&&s.sharedHist;r&&!l||(t(s.doc,l),n(s.doc,e,l))}}}n(e,null,!0)}function yo(e,t){if(t.cm)throw new Error("This document is already in use.");e.doc=t,t.cm=e,Pn(e),ho(e),bo(e),e.options.lineWrapping||ar(e),e.options.mode=t.modeOption,Dn(e)}function bo(e){("rtl"==e.doc.direction?P:M)(e.display.lineDiv,"CodeMirror-rtl")}function xo(e){Ni(e,(function(){bo(e),Dn(e)}))}function wo(e){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=e||1}function ko(e,t){var r={from:st(t.from),to:so(t),text:Ze(e,t.from,t.to)};return Eo(e,r,t.from.line,t.to.line+1),vo(e,(function(e){return Eo(e,r,t.from.line,t.to.line+1)}),!0),r}function So(e){while(e.length){var t=Y(e);if(!t.ranges)break;e.pop()}}function Co(e,t){return t?(So(e.done),Y(e.done)):e.done.length&&!Y(e.done).ranges?Y(e.done):e.done.length>1&&!e.done[e.done.length-2].ranges?(e.done.pop(),Y(e.done)):void 0}function Oo(e,t,r,n){var i=e.history;i.undone.length=0;var o,a,s=+new Date;if((i.lastOp==n||i.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&i.lastModTime>s-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(o=Co(i,i.lastOp==n)))a=Y(o.changes),0==ot(t.from,t.to)&&0==ot(t.from,a.to)?a.to=so(t):o.changes.push(ko(e,t));else{var l=Y(i.done);l&&l.ranges||Ao(e.sel,i.done),o={changes:[ko(e,t)],generation:i.generation},i.done.push(o);while(i.done.length>i.undoDepth)i.done.shift(),i.done[0].ranges||i.done.shift()}i.done.push(r),i.generation=++i.maxGeneration,i.lastModTime=i.lastSelTime=s,i.lastOp=i.lastSelOp=n,i.lastOrigin=i.lastSelOrigin=t.origin,a||ve(e,"historyAdded")}function Mo(e,t,r,n){var i=t.charAt(0);return"*"==i||"+"==i&&r.ranges.length==n.ranges.length&&r.somethingSelected()==n.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function To(e,t,r,n){var i=e.history,o=n&&n.origin;r==i.lastSelOp||o&&i.lastSelOrigin==o&&(i.lastModTime==i.lastSelTime&&i.lastOrigin==o||Mo(e,o,Y(i.done),t))?i.done[i.done.length-1]=t:Ao(t,i.done),i.lastSelTime=+new Date,i.lastSelOrigin=o,i.lastSelOp=r,n&&!1!==n.clearRedo&&So(i.undone)}function Ao(e,t){var r=Y(t);r&&r.ranges&&r.equals(e)||t.push(e)}function Eo(e,t,r,n){var i=t["spans_"+e.id],o=0;e.iter(Math.max(e.first,r),Math.min(e.first+e.size,n),(function(r){r.markedSpans&&((i||(i=t["spans_"+e.id]={}))[o]=r.markedSpans),++o}))}function No(e){if(!e)return null;for(var t,r=0;r<e.length;++r)e[r].marker.explicitlyCleared?t||(t=e.slice(0,r)):t&&t.push(e[r]);return t?t.length?t:null:e}function jo(e,t){var r=t["spans_"+e.id];if(!r)return null;for(var n=[],i=0;i<t.text.length;++i)n.push(No(r[i]));return n}function zo(e,t){var r=jo(e,t),n=Rt(e,t);if(!r)return n;if(!n)return r;for(var i=0;i<r.length;++i){var o=r[i],a=n[i];if(o&&a)e:for(var s=0;s<a.length;++s){for(var l=a[s],c=0;c<o.length;++c)if(o[c].marker==l.marker)continue e;o.push(l)}else a&&(r[i]=a)}return r}function Po(e,t,r){for(var n=[],i=0;i<e.length;++i){var o=e[i];if(o.ranges)n.push(r?no.prototype.deepCopy.call(o):o);else{var a=o.changes,s=[];n.push({changes:s});for(var l=0;l<a.length;++l){var c=a[l],u=void 0;if(s.push({from:c.from,to:c.to,text:c.text}),t)for(var f in c)(u=f.match(/^spans_(\d+)$/))&&B(t,Number(u[1]))>-1&&(Y(s)[f]=c[f],delete c[f])}}}return n}function Fo(e,t,r,n){if(n){var i=e.anchor;if(r){var o=ot(t,i)<0;o!=ot(r,i)<0?(i=t,t=r):o!=ot(t,r)<0&&(t=r)}return new io(i,t)}return new io(r||t,t)}function Lo(e,t,r,n,i){null==i&&(i=e.cm&&(e.cm.display.shift||e.extend)),qo(e,new no([Fo(e.sel.primary(),t,r,i)],0),n)}function Do(e,t,r){for(var n=[],i=e.cm&&(e.cm.display.shift||e.extend),o=0;o<e.sel.ranges.length;o++)n[o]=Fo(e.sel.ranges[o],t[o],null,i);var a=oo(e.cm,n,e.sel.primIndex);qo(e,a,r)}function Io(e,t,r,n){var i=e.sel.ranges.slice(0);i[t]=r,qo(e,oo(e.cm,i,e.sel.primIndex),n)}function Ro(e,t,r,n){qo(e,ao(t,r),n)}function _o(e,t,r){var n={ranges:t.ranges,update:function(t){this.ranges=[];for(var r=0;r<t.length;r++)this.ranges[r]=new io(ft(e,t[r].anchor),ft(e,t[r].head))},origin:r&&r.origin};return ve(e,"beforeSelectionChange",e,n),e.cm&&ve(e.cm,"beforeSelectionChange",e.cm,n),n.ranges!=t.ranges?oo(e.cm,n.ranges,n.ranges.length-1):t}function Bo(e,t,r){var n=e.history.done,i=Y(n);i&&i.ranges?(n[n.length-1]=t,Ho(e,t,r)):qo(e,t,r)}function qo(e,t,r){Ho(e,t,r),To(e,e.sel,e.cm?e.cm.curOp.id:NaN,r)}function Ho(e,t,r){(xe(e,"beforeSelectionChange")||e.cm&&xe(e.cm,"beforeSelectionChange"))&&(t=_o(e,t,r));var n=r&&r.bias||(ot(t.primary().head,e.sel.primary().head)<0?-1:1);Vo(e,Uo(e,t,n,!0)),r&&!1===r.scroll||!e.cm||ai(e.cm)}function Vo(e,t){t.equals(e.sel)||(e.sel=t,e.cm&&(e.cm.curOp.updateInput=1,e.cm.curOp.selectionChanged=!0,be(e.cm)),Tr(e,"cursorActivity",e))}function Wo(e){Vo(e,Uo(e,e.sel,null,!1))}function Uo(e,t,r,n){for(var i,o=0;o<t.ranges.length;o++){var a=t.ranges[o],s=t.ranges.length==e.sel.ranges.length&&e.sel.ranges[o],l=Go(e,a.anchor,s&&s.anchor,r,n),c=Go(e,a.head,s&&s.head,r,n);(i||l!=a.anchor||c!=a.head)&&(i||(i=t.ranges.slice(0,o)),i[o]=new io(l,c))}return i?oo(e.cm,i,t.primIndex):t}function $o(e,t,r,n,i){var o=Xe(e,t.line);if(o.markedSpans)for(var a=0;a<o.markedSpans.length;++a){var s=o.markedSpans[a],l=s.marker,c="selectLeft"in l?!l.selectLeft:l.inclusiveLeft,u="selectRight"in l?!l.selectRight:l.inclusiveRight;if((null==s.from||(c?s.from<=t.ch:s.from<t.ch))&&(null==s.to||(u?s.to>=t.ch:s.to>t.ch))){if(i&&(ve(l,"beforeCursorEnter"),l.explicitlyCleared)){if(o.markedSpans){--a;continue}break}if(!l.atomic)continue;if(r){var f=l.find(n<0?1:-1),h=void 0;if((n<0?u:c)&&(f=Ko(e,f,-n,f&&f.line==t.line?o:null)),f&&f.line==t.line&&(h=ot(f,r))&&(n<0?h<0:h>0))return $o(e,f,t,n,i)}var p=l.find(n<0?-1:1);return(n<0?c:u)&&(p=Ko(e,p,n,p.line==t.line?o:null)),p?$o(e,p,t,n,i):null}}return t}function Go(e,t,r,n,i){var o=n||1,a=$o(e,t,r,o,i)||!i&&$o(e,t,r,o,!0)||$o(e,t,r,-o,i)||!i&&$o(e,t,r,-o,!0);return a||(e.cantEdit=!0,it(e.first,0))}function Ko(e,t,r,n){return r<0&&0==t.ch?t.line>e.first?ft(e,it(t.line-1)):null:r>0&&t.ch==(n||Xe(e,t.line)).text.length?t.line<e.first+e.size-1?it(t.line+1,0):null:new it(t.line,t.ch+r)}function Yo(e){e.setSelection(it(e.firstLine(),0),it(e.lastLine()),V)}function Xo(e,t,r){var n={canceled:!1,from:t.from,to:t.to,text:t.text,origin:t.origin,cancel:function(){return n.canceled=!0}};return r&&(n.update=function(t,r,i,o){t&&(n.from=ft(e,t)),r&&(n.to=ft(e,r)),i&&(n.text=i),void 0!==o&&(n.origin=o)}),ve(e,"beforeChange",e,n),e.cm&&ve(e.cm,"beforeChange",e.cm,n),n.canceled?(e.cm&&(e.cm.curOp.updateInput=2),null):{from:n.from,to:n.to,text:n.text,origin:n.origin}}function Zo(e,t,r){if(e.cm){if(!e.cm.curOp)return ji(e.cm,Zo)(e,t,r);if(e.cm.state.suppressEdits)return}if(!(xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange"))||(t=Xo(e,t,!0),t)){var n=At&&!r&&Bt(e,t.from,t.to);if(n)for(var i=n.length-1;i>=0;--i)Jo(e,{from:n[i].from,to:n[i].to,text:i?[""]:t.text,origin:t.origin});else Jo(e,t)}}function Jo(e,t){if(1!=t.text.length||""!=t.text[0]||0!=ot(t.from,t.to)){var r=co(e,t);Oo(e,t,r,e.cm?e.cm.curOp.id:NaN),ta(e,t,r,Rt(e,t));var n=[];vo(e,(function(e,r){r||-1!=B(n,e.history)||(aa(e.history,t),n.push(e.history)),ta(e,t,null,Rt(e,t))}))}}function Qo(e,t,r){var n=e.cm&&e.cm.state.suppressEdits;if(!n||r){for(var i,o=e.history,a=e.sel,s="undo"==t?o.done:o.undone,l="undo"==t?o.undone:o.done,c=0;c<s.length;c++)if(i=s[c],r?i.ranges&&!i.equals(e.sel):!i.ranges)break;if(c!=s.length){for(o.lastOrigin=o.lastSelOrigin=null;;){if(i=s.pop(),!i.ranges){if(n)return void s.push(i);break}if(Ao(i,l),r&&!i.equals(e.sel))return void qo(e,i,{clearRedo:!1});a=i}var u=[];Ao(a,l),l.push({changes:u,generation:o.generation}),o.generation=i.generation||++o.maxGeneration;for(var f=xe(e,"beforeChange")||e.cm&&xe(e.cm,"beforeChange"),h=function(r){var n=i.changes[r];if(n.origin=t,f&&!Xo(e,n,!1))return s.length=0,{};u.push(ko(e,n));var o=r?co(e,n):Y(s);ta(e,n,o,zo(e,n)),!r&&e.cm&&e.cm.scrollIntoView({from:n.from,to:so(n)});var a=[];vo(e,(function(e,t){t||-1!=B(a,e.history)||(aa(e.history,n),a.push(e.history)),ta(e,n,null,zo(e,n))}))},p=i.changes.length-1;p>=0;--p){var d=h(p);if(d)return d.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new no(X(e.sel.ranges,(function(e){return new io(it(e.anchor.line+t,e.anchor.ch),it(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Dn(e.cm,e.first,e.first-t,t);for(var r=e.cm.display,n=r.viewFrom;n<r.viewTo;n++)In(e.cm,n,"gutter")}}function ta(e,t,r,n){if(e.cm&&!e.cm.curOp)return ji(e.cm,ta)(e,t,r,n);if(t.to.line<e.first)ea(e,t.text.length-1-(t.to.line-t.from.line));else if(!(t.from.line>e.lastLine())){if(t.from.line<e.first){var i=t.text.length-1-(e.first-t.from.line);ea(e,i),t={from:it(e.first,0),to:it(t.to.line+i,t.to.ch),text:[Y(t.text)],origin:t.origin}}var o=e.lastLine();t.to.line>o&&(t={from:t.from,to:it(o,Xe(e,o).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),r||(r=co(e,t)),e.cm?ra(e.cm,t,n):go(e,t,n),Ho(e,r,V),e.cantEdit&&Go(e,it(e.firstLine(),0))&&(e.cantEdit=!1)}}function ra(e,t,r){var n=e.doc,i=e.display,o=t.from,a=t.to,s=!1,l=o.line;e.options.lineWrapping||(l=et(Zt(Xe(n,o.line))),n.iter(l,a.line+1,(function(e){if(e==i.maxLine)return s=!0,!0}))),n.sel.contains(t.from,t.to)>-1&&be(e),go(n,t,r,zn(e)),e.options.lineWrapping||(n.iter(l,o.line+t.text.length,(function(e){var t=or(e);t>i.maxLineLength&&(i.maxLine=e,i.maxLineLength=t,i.maxLineChanged=!0,s=!1)})),s&&(e.curOp.updateMaxLine=!0)),Tt(n,o.line),Fi(e,400);var c=t.text.length-(a.line-o.line)-1;t.full?Dn(e):o.line!=a.line||1!=t.text.length||mo(e.doc,t)?Dn(e,o.line,a.line+1,c):In(e,o.line,"text");var u=xe(e,"changes"),f=xe(e,"change");if(f||u){var h={from:o,to:a,text:t.text,removed:t.removed,origin:t.origin};f&&Tr(e,"change",e,h),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(h)}e.display.selForContextMenu=null}function na(e,t,r,n,i){var o;n||(n=r),ot(n,r)<0&&(o=[n,r],r=o[0],n=o[1]),"string"==typeof t&&(t=e.splitLines(t)),Zo(e,{from:r,to:n,text:t,origin:i})}function ia(e,t,r,n){r<e.line?e.line+=n:t<e.line&&(e.line=t,e.ch=0)}function oa(e,t,r,n){for(var i=0;i<e.length;++i){var o=e[i],a=!0;if(o.ranges){o.copied||(o=e[i]=o.deepCopy(),o.copied=!0);for(var s=0;s<o.ranges.length;s++)ia(o.ranges[s].anchor,t,r,n),ia(o.ranges[s].head,t,r,n)}else{for(var l=0;l<o.changes.length;++l){var c=o.changes[l];if(r<c.from.line)c.from=it(c.from.line+n,c.from.ch),c.to=it(c.to.line+n,c.to.ch);else if(t<=c.to.line){a=!1;break}}a||(e.splice(0,i+1),i=0)}}}function aa(e,t){var r=t.from.line,n=t.to.line,i=t.text.length-(n-r)-1;oa(e.done,r,n,i),oa(e.undone,r,n,i)}function sa(e,t,r,n){var i=t,o=t;return"number"==typeof t?o=Xe(e,ut(e,t)):i=et(t),null==i?null:(n(o,i)&&e.cm&&In(e.cm,i,r),o)}function la(e){this.lines=e,this.parent=null;for(var t=0,r=0;r<e.length;++r)e[r].parent=this,t+=e[r].height;this.height=t}function ca(e){this.children=e;for(var t=0,r=0,n=0;n<e.length;++n){var i=e[n];t+=i.chunkSize(),r+=i.height,i.parent=this}this.size=t,this.height=r,this.parent=null}io.prototype.from=function(){return ct(this.anchor,this.head)},io.prototype.to=function(){return lt(this.anchor,this.head)},io.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch},la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(e,t){for(var r=e,n=e+t;r<n;++r){var i=this.lines[r];this.height-=i.height,cr(i),Tr(i,"delete")}this.lines.splice(e,t)},collapse:function(e){e.push.apply(e,this.lines)},insertInner:function(e,t,r){this.height+=r,this.lines=this.lines.slice(0,e).concat(t).concat(this.lines.slice(e));for(var n=0;n<t.length;++n)t[n].parent=this},iterN:function(e,t,r){for(var n=e+t;e<n;++e)if(r(this.lines[e]))return!0}},ca.prototype={chunkSize:function(){return this.size},removeInner:function(e,t){this.size-=t;for(var r=0;r<this.children.length;++r){var n=this.children[r],i=n.chunkSize();if(e<i){var o=Math.min(t,i-e),a=n.height;if(n.removeInner(e,o),this.height-=a-n.height,i==o&&(this.children.splice(r--,1),n.parent=null),0==(t-=o))break;e=0}else e-=i}if(this.size-t<25&&(this.children.length>1||!(this.children[0]instanceof la))){var s=[];this.collapse(s),this.children=[new la(s)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t<this.children.length;++t)this.children[t].collapse(e)},insertInner:function(e,t,r){this.size+=t.length,this.height+=r;for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<=o){if(i.insertInner(e,t,r),i.lines&&i.lines.length>50){for(var a=i.lines.length%25+25,s=a;s<i.lines.length;){var l=new la(i.lines.slice(s,s+=25));i.height-=l.height,this.children.splice(++n,0,l),l.parent=this}i.lines=i.lines.slice(0,a),this.maybeSpill()}break}e-=o}},maybeSpill:function(){if(!(this.children.length<=10)){var e=this;do{var t=e.children.splice(e.children.length-5,5),r=new ca(t);if(e.parent){e.size-=r.size,e.height-=r.height;var n=B(e.parent.children,e);e.parent.children.splice(n+1,0,r)}else{var i=new ca(e.children);i.parent=e,e.children=[i,r],e=i}r.parent=e.parent}while(e.children.length>10);e.parent.maybeSpill()}},iterN:function(e,t,r){for(var n=0;n<this.children.length;++n){var i=this.children[n],o=i.chunkSize();if(e<o){var a=Math.min(t,o-e);if(i.iterN(e,a,r))return!0;if(0==(t-=a))break;e=0}else e-=o}}};var ua=function(e,t,r){if(r)for(var n in r)r.hasOwnProperty(n)&&(this[n]=r[n]);this.doc=e,this.node=t};function fa(e,t,r){ir(t)<(e.curOp&&e.curOp.scrollTop||e.doc.scrollTop)&&oi(e,r)}function ha(e,t,r,n){var i=new ua(e,r,n),o=e.cm;return o&&i.noHScroll&&(o.display.alignWidgets=!0),sa(e,t,"widget",(function(t){var r=t.widgets||(t.widgets=[]);if(null==i.insertAt?r.push(i):r.splice(Math.min(r.length-1,Math.max(0,i.insertAt)),0,i),i.line=t,o&&!rr(e,t)){var n=ir(t)<e.scrollTop;Qe(t,t.height+qr(i)),n&&oi(o,i.height),o.curOp.forceUpdate=!0}return!0})),o&&Tr(o,"lineWidgetAdded",o,i,"number"==typeof t?t:et(t)),i}ua.prototype.clear=function(){var e=this.doc.cm,t=this.line.widgets,r=this.line,n=et(r);if(null!=n&&t){for(var i=0;i<t.length;++i)t[i]==this&&t.splice(i--,1);t.length||(r.widgets=null);var o=qr(this);Qe(r,Math.max(0,r.height-o)),e&&(Ni(e,(function(){fa(e,r,-o),In(e,n,"widget")})),Tr(e,"lineWidgetCleared",e,this,n))}},ua.prototype.changed=function(){var e=this,t=this.height,r=this.doc.cm,n=this.line;this.height=null;var i=qr(this)-t;i&&(rr(this.doc,n)||Qe(n,n.height+i),r&&Ni(r,(function(){r.curOp.forceUpdate=!0,fa(r,n,i),Tr(r,"lineWidgetChanged",r,e,et(n))})))},we(ua);var pa=0,da=function(e,t){this.lines=[],this.type=t,this.doc=e,this.id=++pa};function ma(e,t,r,n,i){if(n&&n.shared)return va(e,t,r,n,i);if(e.cm&&!e.cm.curOp)return ji(e.cm,ma)(e,t,r,n,i);var o=new da(e,i),a=ot(t,r);if(n&&I(n,o,!1),a>0||0==a&&!1!==o.clearWhenEmpty)return o;if(o.replacedWith&&(o.collapsed=!0,o.widgetNode=N("span",[o.replacedWith],"CodeMirror-widget"),n.handleMouseEvents||o.widgetNode.setAttribute("cm-ignore-events","true"),n.insertLeft&&(o.widgetNode.insertLeft=!0)),o.collapsed){if(Xt(e,t.line,t,r,o)||t.line!=r.line&&Xt(e,r.line,t,r,o))throw new Error("Inserting collapsed marker partially overlapping an existing one");jt()}o.addToHistory&&Oo(e,{from:t,to:r,origin:"markText"},e.sel,NaN);var s,l=t.line,c=e.cm;if(e.iter(l,r.line+1,(function(e){c&&o.collapsed&&!c.options.lineWrapping&&Zt(e)==c.display.maxLine&&(s=!0),o.collapsed&&l!=t.line&&Qe(e,0),Lt(e,new zt(o,l==t.line?t.ch:null,l==r.line?r.ch:null)),++l})),o.collapsed&&e.iter(t.line,r.line+1,(function(t){rr(e,t)&&Qe(t,0)})),o.clearOnEnter&&de(o,"beforeCursorEnter",(function(){return o.clear()})),o.readOnly&&(Nt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),o.collapsed&&(o.id=++pa,o.atomic=!0),c){if(s&&(c.curOp.updateMaxLine=!0),o.collapsed)Dn(c,t.line,r.line+1);else if(o.className||o.startStyle||o.endStyle||o.css||o.attributes||o.title)for(var u=t.line;u<=r.line;u++)In(c,u,"text");o.atomic&&Wo(c.doc),Tr(c,"markerAdded",c,o)}return o}da.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&ki(e),xe(this,"clear")){var r=this.find();r&&Tr(this,"clear",r.from,r.to)}for(var n=null,i=null,o=0;o<this.lines.length;++o){var a=this.lines[o],s=Pt(a.markedSpans,this);e&&!this.collapsed?In(e,et(a),"text"):e&&(null!=s.to&&(i=et(a)),null!=s.from&&(n=et(a))),a.markedSpans=Ft(a.markedSpans,s),null==s.from&&this.collapsed&&!rr(this.doc,a)&&e&&Qe(a,An(e.display))}if(e&&this.collapsed&&!e.options.lineWrapping)for(var l=0;l<this.lines.length;++l){var c=Zt(this.lines[l]),u=or(c);u>e.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=n&&e&&this.collapsed&&Dn(e,n,i+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Wo(e.doc)),e&&Tr(e,"markerCleared",e,this,n,i),t&&Si(e),this.parent&&this.parent.clear()}},da.prototype.find=function(e,t){var r,n;null==e&&"bookmark"==this.type&&(e=1);for(var i=0;i<this.lines.length;++i){var o=this.lines[i],a=Pt(o.markedSpans,this);if(null!=a.from&&(r=it(t?o:et(o),a.from),-1==e))return r;if(null!=a.to&&(n=it(t?o:et(o),a.to),1==e))return n}return r&&{from:r,to:n}},da.prototype.changed=function(){var e=this,t=this.find(-1,!0),r=this,n=this.doc.cm;t&&n&&Ni(n,(function(){var i=t.line,o=et(t.line),a=Qr(n,o);if(a&&(cn(a),n.curOp.selectionChanged=n.curOp.forceUpdate=!0),n.curOp.updateMaxLine=!0,!rr(r.doc,i)&&null!=r.height){var s=r.height;r.height=null;var l=qr(r)-s;l&&Qe(i,i.height+l)}Tr(n,"markerChanged",n,e)}))},da.prototype.attachLine=function(e){if(!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;t.maybeHiddenMarkers&&-1!=B(t.maybeHiddenMarkers,this)||(t.maybeUnhiddenMarkers||(t.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(e)},da.prototype.detachLine=function(e){if(this.lines.splice(B(this.lines,e),1),!this.lines.length&&this.doc.cm){var t=this.doc.cm.curOp;(t.maybeHiddenMarkers||(t.maybeHiddenMarkers=[])).push(this)}},we(da);var ga=function(e,t){this.markers=e,this.primary=t;for(var r=0;r<e.length;++r)e[r].parent=this};function va(e,t,r,n,i){n=I(n),n.shared=!1;var o=[ma(e,t,r,n,i)],a=o[0],s=n.widgetNode;return vo(e,(function(e){s&&(n.widgetNode=s.cloneNode(!0)),o.push(ma(e,ft(e,t),ft(e,r),n,i));for(var l=0;l<e.linked.length;++l)if(e.linked[l].isParent)return;a=Y(o)})),new ga(o,a)}function ya(e){return e.findMarks(it(e.first,0),e.clipPos(it(e.lastLine())),(function(e){return e.parent}))}function ba(e,t){for(var r=0;r<t.length;r++){var n=t[r],i=n.find(),o=e.clipPos(i.from),a=e.clipPos(i.to);if(ot(o,a)){var s=ma(e,o,a,n.primary,n.primary.type);n.markers.push(s),s.parent=n}}}function xa(e){for(var t=function(t){var r=e[t],n=[r.primary.doc];vo(r.primary.doc,(function(e){return n.push(e)}));for(var i=0;i<r.markers.length;i++){var o=r.markers[i];-1==B(n,o.doc)&&(o.parent=null,r.markers.splice(i--,1))}},r=0;r<e.length;r++)t(r)}ga.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var e=0;e<this.markers.length;++e)this.markers[e].clear();Tr(this,"clear")}},ga.prototype.find=function(e,t){return this.primary.find(e,t)},we(ga);var wa=0,ka=function(e,t,r,n,i){if(!(this instanceof ka))return new ka(e,t,r,n,i);null==r&&(r=0),ca.call(this,[new la([new sr("",null)])]),this.first=r,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=r;var o=it(r,0);this.sel=ao(o),this.history=new wo(null),this.id=++wa,this.modeOption=t,this.lineSep=n,this.direction="rtl"==i?"rtl":"ltr",this.extend=!1,"string"==typeof e&&(e=this.splitLines(e)),go(this,{from:o,to:o,text:e}),qo(this,ao(o),V)};ka.prototype=Q(ca.prototype,{constructor:ka,iter:function(e,t,r){r?this.iterN(e-this.first,t-e,r):this.iterN(this.first,this.first+this.size,e)},insert:function(e,t){for(var r=0,n=0;n<t.length;++n)r+=t[n].height;this.insertInner(e-this.first,t,r)},remove:function(e,t){this.removeInner(e-this.first,t)},getValue:function(e){var t=Je(this,this.first,this.first+this.size);return!1===e?t:t.join(e||this.lineSeparator())},setValue:Pi((function(e){var t=it(this.first,0),r=this.first+this.size-1;Zo(this,{from:t,to:it(r,Xe(this,r).text.length),text:this.splitLines(e),origin:"setValue",full:!0},!0),this.cm&&si(this.cm,0,0),qo(this,ao(t),V)})),replaceRange:function(e,t,r,n){t=ft(this,t),r=r?ft(this,r):t,na(this,e,t,r,n)},getRange:function(e,t,r){var n=Ze(this,ft(this,e),ft(this,t));return!1===r?n:n.join(r||this.lineSeparator())},getLine:function(e){var t=this.getLineHandle(e);return t&&t.text},getLineHandle:function(e){if(rt(this,e))return Xe(this,e)},getLineNumber:function(e){return et(e)},getLineHandleVisualStart:function(e){return"number"==typeof e&&(e=Xe(this,e)),Zt(e)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(e){return ft(this,e)},getCursor:function(e){var t,r=this.sel.primary();return t=null==e||"head"==e?r.head:"anchor"==e?r.anchor:"end"==e||"to"==e||!1===e?r.to():r.from(),t},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:Pi((function(e,t,r){Ro(this,ft(this,"number"==typeof e?it(e,t||0):e),null,r)})),setSelection:Pi((function(e,t,r){Ro(this,ft(this,e),ft(this,t||e),r)})),extendSelection:Pi((function(e,t,r){Lo(this,ft(this,e),t&&ft(this,t),r)})),extendSelections:Pi((function(e,t){Do(this,pt(this,e),t)})),extendSelectionsBy:Pi((function(e,t){var r=X(this.sel.ranges,e);Do(this,pt(this,r),t)})),setSelections:Pi((function(e,t,r){if(e.length){for(var n=[],i=0;i<e.length;i++)n[i]=new io(ft(this,e[i].anchor),ft(this,e[i].head));null==t&&(t=Math.min(e.length-1,this.sel.primIndex)),qo(this,oo(this.cm,n,t),r)}})),addSelection:Pi((function(e,t,r){var n=this.sel.ranges.slice(0);n.push(new io(ft(this,e),ft(this,t||e))),qo(this,oo(this.cm,n,n.length-1),r)})),getSelection:function(e){for(var t,r=this.sel.ranges,n=0;n<r.length;n++){var i=Ze(this,r[n].from(),r[n].to());t=t?t.concat(i):i}return!1===e?t:t.join(e||this.lineSeparator())},getSelections:function(e){for(var t=[],r=this.sel.ranges,n=0;n<r.length;n++){var i=Ze(this,r[n].from(),r[n].to());!1!==e&&(i=i.join(e||this.lineSeparator())),t[n]=i}return t},replaceSelection:function(e,t,r){for(var n=[],i=0;i<this.sel.ranges.length;i++)n[i]=e;this.replaceSelections(n,t,r||"+input")},replaceSelections:Pi((function(e,t,r){for(var n=[],i=this.sel,o=0;o<i.ranges.length;o++){var a=i.ranges[o];n[o]={from:a.from(),to:a.to(),text:this.splitLines(e[o]),origin:r}}for(var s=t&&"end"!=t&&fo(this,n,t),l=n.length-1;l>=0;l--)Zo(this,n[l]);s?Bo(this,s):this.cm&&ai(this.cm)})),undo:Pi((function(){Qo(this,"undo")})),redo:Pi((function(){Qo(this,"redo")})),undoSelection:Pi((function(){Qo(this,"undo",!0)})),redoSelection:Pi((function(){Qo(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,r=0,n=0;n<e.done.length;n++)e.done[n].ranges||++t;for(var i=0;i<e.undone.length;i++)e.undone[i].ranges||++r;return{undo:t,redo:r}},clearHistory:function(){var e=this;this.history=new wo(this.history.maxGeneration),vo(this,(function(t){return t.history=e.history}),!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(e){return e&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(e){return this.history.generation==(e||this.cleanGeneration)},getHistory:function(){return{done:Po(this.history.done),undone:Po(this.history.undone)}},setHistory:function(e){var t=this.history=new wo(this.history.maxGeneration);t.done=Po(e.done.slice(0),null,!0),t.undone=Po(e.undone.slice(0),null,!0)},setGutterMarker:Pi((function(e,t,r){return sa(this,e,"gutter",(function(e){var n=e.gutterMarkers||(e.gutterMarkers={});return n[t]=r,!r&&ne(n)&&(e.gutterMarkers=null),!0}))})),clearGutter:Pi((function(e){var t=this;this.iter((function(r){r.gutterMarkers&&r.gutterMarkers[e]&&sa(t,r,"gutter",(function(){return r.gutterMarkers[e]=null,ne(r.gutterMarkers)&&(r.gutterMarkers=null),!0}))}))})),lineInfo:function(e){var t;if("number"==typeof e){if(!rt(this,e))return null;if(t=e,e=Xe(this,e),!e)return null}else if(t=et(e),null==t)return null;return{line:t,handle:e,text:e.text,gutterMarkers:e.gutterMarkers,textClass:e.textClass,bgClass:e.bgClass,wrapClass:e.wrapClass,widgets:e.widgets}},addLineClass:Pi((function(e,t,r){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass";if(e[n]){if(C(r).test(e[n]))return!1;e[n]+=" "+r}else e[n]=r;return!0}))})),removeLineClass:Pi((function(e,t,r){return sa(this,e,"gutter"==t?"gutter":"class",(function(e){var n="text"==t?"textClass":"background"==t?"bgClass":"gutter"==t?"gutterClass":"wrapClass",i=e[n];if(!i)return!1;if(null==r)e[n]=null;else{var o=i.match(C(r));if(!o)return!1;var a=o.index+o[0].length;e[n]=i.slice(0,o.index)+(o.index&&a!=i.length?" ":"")+i.slice(a)||null}return!0}))})),addLineWidget:Pi((function(e,t,r){return ha(this,e,t,r)})),removeLineWidget:function(e){e.clear()},markText:function(e,t,r){return ma(this,ft(this,e),ft(this,t),r,r&&r.type||"range")},setBookmark:function(e,t){var r={replacedWith:t&&(null==t.nodeType?t.widget:t),insertLeft:t&&t.insertLeft,clearWhenEmpty:!1,shared:t&&t.shared,handleMouseEvents:t&&t.handleMouseEvents};return e=ft(this,e),ma(this,e,e,r,"bookmark")},findMarksAt:function(e){e=ft(this,e);var t=[],r=Xe(this,e.line).markedSpans;if(r)for(var n=0;n<r.length;++n){var i=r[n];(null==i.from||i.from<=e.ch)&&(null==i.to||i.to>=e.ch)&&t.push(i.marker.parent||i.marker)}return t},findMarks:function(e,t,r){e=ft(this,e),t=ft(this,t);var n=[],i=e.line;return this.iter(e.line,t.line+1,(function(o){var a=o.markedSpans;if(a)for(var s=0;s<a.length;s++){var l=a[s];null!=l.to&&i==e.line&&e.ch>=l.to||null==l.from&&i!=e.line||null!=l.from&&i==t.line&&l.from>=t.ch||r&&!r(l.marker)||n.push(l.marker.parent||l.marker)}++i})),n},getAllMarks:function(){var e=[];return this.iter((function(t){var r=t.markedSpans;if(r)for(var n=0;n<r.length;++n)null!=r[n].from&&e.push(r[n].marker)})),e},posFromIndex:function(e){var t,r=this.first,n=this.lineSeparator().length;return this.iter((function(i){var o=i.text.length+n;if(o>e)return t=e,!0;e-=o,++r})),ft(this,it(r,t))},indexFromPos:function(e){e=ft(this,e);var t=e.ch;if(e.line<this.first||e.ch<0)return 0;var r=this.lineSeparator().length;return this.iter(this.first,e.line,(function(e){t+=e.text.length+r})),t},copy:function(e){var t=new ka(Je(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return t.scrollTop=this.scrollTop,t.scrollLeft=this.scrollLeft,t.sel=this.sel,t.extend=!1,e&&(t.history.undoDepth=this.history.undoDepth,t.setHistory(this.getHistory())),t},linkedDoc:function(e){e||(e={});var t=this.first,r=this.first+this.size;null!=e.from&&e.from>t&&(t=e.from),null!=e.to&&e.to<r&&(r=e.to);var n=new ka(Je(this,t,r),e.mode||this.modeOption,t,this.lineSep,this.direction);return e.sharedHist&&(n.history=this.history),(this.linked||(this.linked=[])).push({doc:n,sharedHist:e.sharedHist}),n.linked=[{doc:this,isParent:!0,sharedHist:e.sharedHist}],ba(n,ya(this)),n},unlinkDoc:function(e){if(e instanceof Ds&&(e=e.doc),this.linked)for(var t=0;t<this.linked.length;++t){var r=this.linked[t];if(r.doc==e){this.linked.splice(t,1),e.unlinkDoc(this),xa(ya(this));break}}if(e.history==this.history){var n=[e.id];vo(e,(function(e){return n.push(e.id)}),!0),e.history=new wo(null),e.history.done=Po(this.history.done,n),e.history.undone=Po(this.history.undone,n)}},iterLinkedDocs:function(e){vo(this,e)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(e){return this.lineSep?e.split(this.lineSep):Pe(e)},lineSeparator:function(){return this.lineSep||"\n"},setDirection:Pi((function(e){"rtl"!=e&&(e="ltr"),e!=this.direction&&(this.direction=e,this.iter((function(e){return e.order=null})),this.cm&&xo(this.cm))}))}),ka.prototype.eachLine=ka.prototype.iter;var Sa=0;function Ca(e){var t=this;if(Ta(t),!ye(t,e)&&!Hr(t.display,e)){ke(e),a&&(Sa=+new Date);var r=Fn(t,e,!0),n=e.dataTransfer.files;if(r&&!t.isReadOnly())if(n&&n.length&&window.FileReader&&window.File)for(var i=n.length,o=Array(i),s=0,l=function(){++s==i&&ji(t,(function(){r=ft(t.doc,r);var e={from:r,to:r,text:t.doc.splitLines(o.filter((function(e){return null!=e})).join(t.doc.lineSeparator())),origin:"paste"};Zo(t.doc,e),Bo(t.doc,ao(ft(t.doc,r),ft(t.doc,so(e))))}))()},c=function(e,r){if(t.options.allowDropFileTypes&&-1==B(t.options.allowDropFileTypes,e.type))l();else{var n=new FileReader;n.onerror=function(){return l()},n.onload=function(){var e=n.result;/[\x00-\x08\x0e-\x1f]{2}/.test(e)||(o[r]=e),l()},n.readAsText(e)}},u=0;u<n.length;u++)c(n[u],u);else{if(t.state.draggingText&&t.doc.sel.contains(r)>-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var f=e.dataTransfer.getData("Text");if(f){var h;if(t.state.draggingText&&!t.state.draggingText.copy&&(h=t.listSelections()),Ho(t.doc,ao(r,r)),h)for(var p=0;p<h.length;++p)na(t.doc,"",h[p].anchor,h[p].head,"drag");t.replaceSelection(f,"around","paste"),t.display.input.focus()}}catch(d){}}}}function Oa(e,t){if(a&&(!e.state.draggingText||+new Date-Sa<100))Oe(t);else if(!ye(e,t)&&!Hr(e.display,t)&&(t.dataTransfer.setData("Text",e.getSelection()),t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setDragImage&&!h)){var r=E("img",null,null,"position: fixed; left: 0; top: 0;");r.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",f&&(r.width=r.height=1,e.display.wrapper.appendChild(r),r._top=r.offsetTop),t.dataTransfer.setDragImage(r,0,0),f&&r.parentNode.removeChild(r)}}function Ma(e,t){var r=Fn(e,t);if(r){var n=document.createDocumentFragment();Wn(e,r,n),e.display.dragCursor||(e.display.dragCursor=E("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),e.display.lineSpace.insertBefore(e.display.dragCursor,e.display.cursorDiv)),A(e.display.dragCursor,n)}}function Ta(e){e.display.dragCursor&&(e.display.lineSpace.removeChild(e.display.dragCursor),e.display.dragCursor=null)}function Aa(e){if(document.getElementsByClassName){for(var t=document.getElementsByClassName("CodeMirror"),r=[],n=0;n<t.length;n++){var i=t[n].CodeMirror;i&&r.push(i)}r.length&&r[0].operation((function(){for(var t=0;t<r.length;t++)e(r[t])}))}}var Ea=!1;function Na(){Ea||(ja(),Ea=!0)}function ja(){var e;de(window,"resize",(function(){null==e&&(e=setTimeout((function(){e=null,Aa(za)}),100))})),de(window,"blur",(function(){return Aa(Zn)}))}function za(e){var t=e.display;t.cachedCharWidth=t.cachedTextHeight=t.cachedPaddingH=null,t.scrollbarsClipped=!1,e.setSize()}for(var Pa={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},Fa=0;Fa<10;Fa++)Pa[Fa+48]=Pa[Fa+96]=String(Fa);for(var La=65;La<=90;La++)Pa[La]=String.fromCharCode(La);for(var Da=1;Da<=12;Da++)Pa[Da+111]=Pa[Da+63235]="F"+Da;var Ia={};function Ra(e){var t,r,n,i,o=e.split(/-(?!$)/);e=o[o.length-1];for(var a=0;a<o.length-1;a++){var s=o[a];if(/^(cmd|meta|m)$/i.test(s))i=!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))throw new Error("Unrecognized modifier name: "+s);n=!0}}return t&&(e="Alt-"+e),r&&(e="Ctrl-"+e),i&&(e="Cmd-"+e),n&&(e="Shift-"+e),e}function _a(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];if(/^(name|fallthrough|(de|at)tach)$/.test(r))continue;if("..."==n){delete e[r];continue}for(var i=X(r.split(" "),Ra),o=0;o<i.length;o++){var a=void 0,s=void 0;o==i.length-1?(s=i.join(" "),a=n):(s=i.slice(0,o+1).join(" "),a="...");var l=t[s];if(l){if(l!=a)throw new Error("Inconsistent bindings for "+s)}else t[s]=a}delete e[r]}for(var c in t)e[c]=t[c];return e}function Ba(e,t,r,n){t=Wa(t);var i=t.call?t.call(e,n):t[e];if(!1===i)return"nothing";if("..."===i)return"multi";if(null!=i&&r(i))return"handled";if(t.fallthrough){if("[object Array]"!=Object.prototype.toString.call(t.fallthrough))return Ba(e,t.fallthrough,r,n);for(var o=0;o<t.fallthrough.length;o++){var a=Ba(e,t.fallthrough[o],r,n);if(a)return a}}}function qa(e){var t="string"==typeof e?e:Pa[e.keyCode];return"Ctrl"==t||"Alt"==t||"Shift"==t||"Mod"==t}function Ha(e,t,r){var n=e;return t.altKey&&"Alt"!=n&&(e="Alt-"+e),(k?t.metaKey:t.ctrlKey)&&"Ctrl"!=n&&(e="Ctrl-"+e),(k?t.ctrlKey:t.metaKey)&&"Cmd"!=n&&(e="Cmd-"+e),!r&&t.shiftKey&&"Shift"!=n&&(e="Shift-"+e),e}function Va(e,t){if(f&&34==e.keyCode&&e["char"])return!1;var r=Pa[e.keyCode];return null!=r&&!e.altGraphKey&&(3==e.keyCode&&e.code&&(r=e.code),Ha(r,e,t))}function Wa(e){return"string"==typeof e?Ia[e]:e}function Ua(e,t){for(var r=e.doc.sel.ranges,n=[],i=0;i<r.length;i++){var o=t(r[i]);while(n.length&&ot(o.from,Y(n).to)<=0){var a=n.pop();if(ot(a.from,o.from)<0){o.from=a.from;break}}n.push(o)}Ni(e,(function(){for(var t=n.length-1;t>=0;t--)na(e.doc,"",n[t].from,n[t].to,"+delete");ai(e)}))}function $a(e,t,r){var n=ae(e.text,t+r,r);return n<0||n>e.text.length?null:n}function Ga(e,t,r){var n=$a(e,t.ch,r);return null==n?null:new it(t.line,n,r<0?"after":"before")}function Ka(e,t,r,n,i){if(e){"rtl"==t.doc.direction&&(i=-i);var o=he(r,t.doc.direction);if(o){var a,s=i<0?Y(o):o[0],l=i<0==(1==s.level),c=l?"after":"before";if(s.level>0||"rtl"==t.doc.direction){var u=en(t,r);a=i<0?r.text.length-1:0;var f=tn(t,u,a).top;a=se((function(e){return tn(t,u,e).top==f}),i<0==(1==s.level)?s.from:s.to-1,a),"before"==c&&(a=$a(r,a,1))}else a=i<0?s.to:s.from;return new it(n,a,c)}}return new it(n,i<0?r.text.length:0,i<0?"before":"after")}function Ya(e,t,r,n){var i=he(t,e.doc.direction);if(!i)return Ga(t,r,n);r.ch>=t.text.length?(r.ch=t.text.length,r.sticky="before"):r.ch<=0&&(r.ch=0,r.sticky="after");var o=ue(i,r.ch,r.sticky),a=i[o];if("ltr"==e.doc.direction&&a.level%2==0&&(n>0?a.to>r.ch:a.from<r.ch))return Ga(t,r,n);var s,l=function(e,r){return $a(t,e instanceof it?e.ch:e,r)},c=function(r){return e.options.lineWrapping?(s=s||en(e,t),Sn(e,t,s,r)):{begin:0,end:t.text.length}},u=c("before"==r.sticky?l(r,-1):r.ch);if("rtl"==e.doc.direction||1==a.level){var f=1==a.level==n<0,h=l(r,f?1:-1);if(null!=h&&(f?h<=a.to&&h<=u.end:h>=a.from&&h>=u.begin)){var p=f?"before":"after";return new it(r.line,h,p)}}var d=function(e,t,n){for(var o=function(e,t){return t?new it(r.line,l(e,1),"before"):new it(r.line,e,"after")};e>=0&&e<i.length;e+=t){var a=i[e],s=t>0==(1!=a.level),c=s?n.begin:l(n.end,-1);if(a.from<=c&&c<a.to)return o(c,s);if(c=s?a.from:l(a.to,-1),n.begin<=c&&c<n.end)return o(c,s)}},m=d(o+n,n,u);if(m)return m;var g=n>0?u.end:l(u.begin,-1);return null==g||n>0&&g==t.text.length||(m=d(n>0?0:i.length-1,n,c(g)),!m)?null:m}Ia.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Ia.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Ia.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Ia.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Ia["default"]=y?Ia.macDefault:Ia.pcDefault;var Xa={selectAll:Yo,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return Ua(e,(function(t){if(t.empty()){var r=Xe(e.doc,t.head.line).text.length;return t.head.ch==r&&t.head.line<e.lastLine()?{from:t.head,to:it(t.head.line+1,0)}:{from:t.head,to:it(t.head.line,r)}}return{from:t.from(),to:t.to()}}))},deleteLine:function(e){return Ua(e,(function(t){return{from:it(t.from().line,0),to:ft(e.doc,it(t.to().line+1,0))}}))},delLineLeft:function(e){return Ua(e,(function(e){return{from:it(e.from().line,0),to:e.from()}}))},delWrappedLineLeft:function(e){return Ua(e,(function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return{from:n,to:t.from()}}))},delWrappedLineRight:function(e){return Ua(e,(function(t){var r=e.charCoords(t.head,"div").top+5,n=e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div");return{from:t.from(),to:n}}))},undo:function(e){return e.undo()},redo:function(e){return e.redo()},undoSelection:function(e){return e.undoSelection()},redoSelection:function(e){return e.redoSelection()},goDocStart:function(e){return e.extendSelection(it(e.firstLine(),0))},goDocEnd:function(e){return e.extendSelection(it(e.lastLine()))},goLineStart:function(e){return e.extendSelectionsBy((function(t){return Za(e,t.head.line)}),{origin:"+move",bias:1})},goLineStartSmart:function(e){return e.extendSelectionsBy((function(t){return Qa(e,t.head)}),{origin:"+move",bias:1})},goLineEnd:function(e){return e.extendSelectionsBy((function(t){return Ja(e,t.head.line)}),{origin:"+move",bias:-1})},goLineRight:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:e.display.lineDiv.offsetWidth+100,top:r},"div")}),U)},goLineLeft:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5;return e.coordsChar({left:0,top:r},"div")}),U)},goLineLeftSmart:function(e){return e.extendSelectionsBy((function(t){var r=e.cursorCoords(t.head,"div").top+5,n=e.coordsChar({left:0,top:r},"div");return n.ch<e.getLine(n.line).search(/\S/)?Qa(e,t.head):n}),U)},goLineUp:function(e){return e.moveV(-1,"line")},goLineDown:function(e){return e.moveV(1,"line")},goPageUp:function(e){return e.moveV(-1,"page")},goPageDown:function(e){return e.moveV(1,"page")},goCharLeft:function(e){return e.moveH(-1,"char")},goCharRight:function(e){return e.moveH(1,"char")},goColumnLeft:function(e){return e.moveH(-1,"column")},goColumnRight:function(e){return e.moveH(1,"column")},goWordLeft:function(e){return e.moveH(-1,"word")},goGroupRight:function(e){return e.moveH(1,"group")},goGroupLeft:function(e){return e.moveH(-1,"group")},goWordRight:function(e){return e.moveH(1,"word")},delCharBefore:function(e){return e.deleteH(-1,"char")},delCharAfter:function(e){return e.deleteH(1,"char")},delWordBefore:function(e){return e.deleteH(-1,"word")},delWordAfter:function(e){return e.deleteH(1,"word")},delGroupBefore:function(e){return e.deleteH(-1,"group")},delGroupAfter:function(e){return e.deleteH(1,"group")},indentAuto:function(e){return e.indentSelection("smart")},indentMore:function(e){return e.indentSelection("add")},indentLess:function(e){return e.indentSelection("subtract")},insertTab:function(e){return e.replaceSelection("\t")},insertSoftTab:function(e){for(var t=[],r=e.listSelections(),n=e.options.tabSize,i=0;i<r.length;i++){var o=r[i].from(),a=R(e.getLine(o.line),o.ch,n);t.push(K(n-a%n))}e.replaceSelections(t)},defaultTab:function(e){e.somethingSelected()?e.indentSelection("add"):e.execCommand("insertTab")},transposeChars:function(e){return Ni(e,(function(){for(var t=e.listSelections(),r=[],n=0;n<t.length;n++)if(t[n].empty()){var i=t[n].head,o=Xe(e.doc,i.line).text;if(o)if(i.ch==o.length&&(i=new it(i.line,i.ch-1)),i.ch>0)i=new it(i.line,i.ch+1),e.replaceRange(o.charAt(i.ch-1)+o.charAt(i.ch-2),it(i.line,i.ch-2),i,"+transpose");else if(i.line>e.doc.first){var a=Xe(e.doc,i.line-1).text;a&&(i=new it(i.line,1),e.replaceRange(o.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),it(i.line-1,a.length-1),i,"+transpose"))}r.push(new io(i,i))}e.setSelections(r)}))},newlineAndIndent:function(e){return Ni(e,(function(){for(var t=e.listSelections(),r=t.length-1;r>=0;r--)e.replaceRange(e.doc.lineSeparator(),t[r].anchor,t[r].head,"+input");t=e.listSelections();for(var n=0;n<t.length;n++)e.indentLine(t[n].from().line,null,!0);ai(e)}))},openLine:function(e){return e.replaceSelection("\n","start")},toggleOverwrite:function(e){return e.toggleOverwrite()}};function Za(e,t){var r=Xe(e.doc,t),n=Zt(r);return n!=r&&(t=et(n)),Ka(!0,e,n,t,1)}function Ja(e,t){var r=Xe(e.doc,t),n=Jt(r);return n!=r&&(t=et(n)),Ka(!0,e,r,t,-1)}function Qa(e,t){var r=Za(e,t.line),n=Xe(e.doc,r.line),i=he(n,e.doc.direction);if(!i||0==i[0].level){var o=Math.max(r.ch,n.text.search(/\S/)),a=t.line==r.line&&t.ch<=o&&t.ch;return it(r.line,a?0:o,r.sticky)}return r}function es(e,t,r){if("string"==typeof t&&(t=Xa[t],!t))return!1;e.display.input.ensurePolled();var n=e.display.shift,i=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),r&&(e.display.shift=!1),i=t(e)!=H}finally{e.display.shift=n,e.state.suppressEdits=!1}return i}function ts(e,t,r){for(var n=0;n<e.state.keyMaps.length;n++){var i=Ba(t,e.state.keyMaps[n],r,e);if(i)return i}return e.options.extraKeys&&Ba(t,e.options.extraKeys,r,e)||Ba(t,e.options.keyMap,r,e)}var rs=new _;function ns(e,t,r,n){var i=e.state.keySeq;if(i){if(qa(t))return"handled";if(/\'$/.test(t)?e.state.keySeq=null:rs.set(50,(function(){e.state.keySeq==i&&(e.state.keySeq=null,e.display.input.reset())})),is(e,i+" "+t,r,n))return!0}return is(e,t,r,n)}function is(e,t,r,n){var i=ts(e,t,n);return"multi"==i&&(e.state.keySeq=t),"handled"==i&&Tr(e,"keyHandled",e,t,r),"handled"!=i&&"multi"!=i||(ke(r),Gn(e)),!!i}function os(e,t){var r=Va(t,!0);return!!r&&(t.shiftKey&&!e.state.keySeq?ns(e,"Shift-"+r,t,(function(t){return es(e,t,!0)}))||ns(e,r,t,(function(t){if("string"==typeof t?/^go[A-Z]/.test(t):t.motion)return es(e,t)})):ns(e,r,t,(function(t){return es(e,t)})))}function as(e,t,r){return ns(e,"'"+r+"'",t,(function(t){return es(e,t,!0)}))}var ss=null;function ls(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&(t.curOp.focus=z(),!ye(t,e))){a&&s<11&&27==e.keyCode&&(e.returnValue=!1);var n=e.keyCode;t.display.shift=16==n||e.shiftKey;var i=os(t,e);f&&(ss=i?n:null,i||88!=n||Le||!(y?e.metaKey:e.ctrlKey)||t.replaceSelection("",null,"cut")),r&&!y&&!i&&46==n&&e.shiftKey&&!e.ctrlKey&&document.execCommand&&document.execCommand("cut"),18!=n||/\bCodeMirror-crosshair\b/.test(t.display.lineDiv.className)||cs(t)}}function cs(e){var t=e.display.lineDiv;function r(e){18!=e.keyCode&&e.altKey||(M(t,"CodeMirror-crosshair"),ge(document,"keyup",r),ge(document,"mouseover",r))}P(t,"CodeMirror-crosshair"),de(document,"keyup",r),de(document,"mouseover",r)}function us(e){16==e.keyCode&&(this.doc.sel.shift=!1),ye(this,e)}function fs(e){var t=this;if((!e.target||e.target==t.display.input.getField())&&!(Hr(t.display,e)||ye(t,e)||e.ctrlKey&&!e.altKey||y&&e.metaKey)){var r=e.keyCode,n=e.charCode;if(f&&r==ss)return ss=null,void ke(e);if(!f||e.which&&!(e.which<10)||!os(t,e)){var i=String.fromCharCode(null==n?r:n);"\b"!=i&&(as(t,e,i)||t.display.input.onKeyPress(e))}}}var hs,ps,ds=400,ms=function(e,t,r){this.time=e,this.pos=t,this.button=r};function gs(e,t){var r=+new Date;return ps&&ps.compare(r,e,t)?(hs=ps=null,"triple"):hs&&hs.compare(r,e,t)?(ps=new ms(r,e,t),hs=null,"double"):(hs=new ms(r,e,t),ps=null,"single")}function vs(e){var t=this,r=t.display;if(!(ye(t,e)||r.activeTouch&&r.input.supportsTouch()))if(r.input.ensurePolled(),r.shift=e.shiftKey,Hr(r,e))l||(r.scroller.draggable=!1,setTimeout((function(){return r.scroller.draggable=!0}),100));else if(!Ms(t,e)){var n=Fn(t,e),i=Te(e),o=n?gs(n,i):"single";window.focus(),1==i&&t.state.selectingText&&t.state.selectingText(e),n&&ys(t,i,n,o,e)||(1==i?n?xs(t,n,o,e):Me(e)==r.scroller&&ke(e):2==i?(n&&Lo(t.doc,n),setTimeout((function(){return r.input.focus()}),20)):3==i&&(S?t.display.input.onContextMenu(e):Yn(t)))}}function ys(e,t,r,n,i){var o="Click";return"double"==n?o="Double"+o:"triple"==n&&(o="Triple"+o),o=(1==t?"Left":2==t?"Middle":"Right")+o,ns(e,Ha(o,i),i,(function(t){if("string"==typeof t&&(t=Xa[t]),!t)return!1;var n=!1;try{e.isReadOnly()&&(e.state.suppressEdits=!0),n=t(e,r)!=H}finally{e.state.suppressEdits=!1}return n}))}function bs(e,t,r){var n=e.getOption("configureMouse"),i=n?n(e,t,r):{};if(null==i.unit){var o=b?r.shiftKey&&r.metaKey:r.altKey;i.unit=o?"rectangle":"single"==t?"char":"double"==t?"word":"line"}return(null==i.extend||e.doc.extend)&&(i.extend=e.doc.extend||r.shiftKey),null==i.addNew&&(i.addNew=y?r.metaKey:r.ctrlKey),null==i.moveOnDrag&&(i.moveOnDrag=!(y?r.altKey:r.ctrlKey)),i}function xs(e,t,r,n){a?setTimeout(D(Kn,e),0):e.curOp.focus=z();var i,o=bs(e,r,n),s=e.doc.sel;e.options.dragDrop&&Ne&&!e.isReadOnly()&&"single"==r&&(i=s.contains(t))>-1&&(ot((i=s.ranges[i]).from(),t)<0||t.xRel>0)&&(ot(i.to(),t)>0||t.xRel<0)?ws(e,n,t,o):Ss(e,n,t,o)}function ws(e,t,r,n){var i=e.display,o=!1,c=ji(e,(function(t){l&&(i.scroller.draggable=!1),e.state.draggingText=!1,ge(i.wrapper.ownerDocument,"mouseup",c),ge(i.wrapper.ownerDocument,"mousemove",u),ge(i.scroller,"dragstart",f),ge(i.scroller,"drop",c),o||(ke(t),n.addNew||Lo(e.doc,r,null,null,n.extend),l&&!h||a&&9==s?setTimeout((function(){i.wrapper.ownerDocument.body.focus({preventScroll:!0}),i.input.focus()}),20):i.input.focus())})),u=function(e){o=o||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},f=function(){return o=!0};l&&(i.scroller.draggable=!0),e.state.draggingText=c,c.copy=!n.moveOnDrag,i.scroller.dragDrop&&i.scroller.dragDrop(),de(i.wrapper.ownerDocument,"mouseup",c),de(i.wrapper.ownerDocument,"mousemove",u),de(i.scroller,"dragstart",f),de(i.scroller,"drop",c),Yn(e),setTimeout((function(){return i.input.focus()}),20)}function ks(e,t,r){if("char"==r)return new io(t,t);if("word"==r)return e.findWordAt(t);if("line"==r)return new io(it(t.line,0),ft(e.doc,it(t.line+1,0)));var n=r(e,t);return new io(n.from,n.to)}function Ss(e,t,r,n){var i=e.display,o=e.doc;ke(t);var a,s,l=o.sel,c=l.ranges;if(n.addNew&&!n.extend?(s=o.sel.contains(r),a=s>-1?c[s]:new io(r,r)):(a=o.sel.primary(),s=o.sel.primIndex),"rectangle"==n.unit)n.addNew||(a=new io(r,r)),r=Fn(e,t,!0,!0),s=-1;else{var u=ks(e,r,n.unit);a=n.extend?Fo(a,u.anchor,u.head,n.extend):u}n.addNew?-1==s?(s=c.length,qo(o,oo(e,c.concat([a]),s),{scroll:!1,origin:"*mouse"})):c.length>1&&c[s].empty()&&"char"==n.unit&&!n.extend?(qo(o,oo(e,c.slice(0,s).concat(c.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),l=o.sel):Io(o,s,a,W):(s=0,qo(o,new no([a],0),W),l=o.sel);var f=r;function h(t){if(0!=ot(f,t))if(f=t,"rectangle"==n.unit){for(var i=[],c=e.options.tabSize,u=R(Xe(o,r.line).text,r.ch,c),h=R(Xe(o,t.line).text,t.ch,c),p=Math.min(u,h),d=Math.max(u,h),m=Math.min(r.line,t.line),g=Math.min(e.lastLine(),Math.max(r.line,t.line));m<=g;m++){var v=Xe(o,m).text,y=$(v,p,c);p==d?i.push(new io(it(m,y),it(m,y))):v.length>y&&i.push(new io(it(m,y),it(m,$(v,d,c))))}i.length||i.push(new io(r,r)),qo(o,oo(e,l.ranges.slice(0,s).concat(i),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var b,x=a,w=ks(e,t,n.unit),k=x.anchor;ot(w.anchor,k)>0?(b=w.head,k=ct(x.from(),w.anchor)):(b=w.anchor,k=lt(x.to(),w.head));var S=l.ranges.slice(0);S[s]=Cs(e,new io(ft(o,k),b)),qo(o,oo(e,S,s),W)}}var p=i.wrapper.getBoundingClientRect(),d=0;function m(t){var r=++d,a=Fn(e,t,!0,"rectangle"==n.unit);if(a)if(0!=ot(a,f)){e.curOp.focus=z(),h(a);var s=ei(i,o);(a.line>=s.to||a.line<s.from)&&setTimeout(ji(e,(function(){d==r&&m(t)})),150)}else{var l=t.clientY<p.top?-20:t.clientY>p.bottom?20:0;l&&setTimeout(ji(e,(function(){d==r&&(i.scroller.scrollTop+=l,m(t))})),50)}}function g(t){e.state.selectingText=!1,d=1/0,t&&(ke(t),i.input.focus()),ge(i.wrapper.ownerDocument,"mousemove",v),ge(i.wrapper.ownerDocument,"mouseup",y),o.history.lastSelOrigin=null}var v=ji(e,(function(e){0!==e.buttons&&Te(e)?m(e):g(e)})),y=ji(e,g);e.state.selectingText=y,de(i.wrapper.ownerDocument,"mousemove",v),de(i.wrapper.ownerDocument,"mouseup",y)}function Cs(e,t){var r=t.anchor,n=t.head,i=Xe(e.doc,r.line);if(0==ot(r,n)&&r.sticky==n.sticky)return t;var o=he(i);if(!o)return t;var a=ue(o,r.ch,r.sticky),s=o[a];if(s.from!=r.ch&&s.to!=r.ch)return t;var l,c=a+(s.from==r.ch==(1!=s.level)?0:1);if(0==c||c==o.length)return t;if(n.line!=r.line)l=(n.line-r.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ue(o,n.ch,n.sticky),f=u-a||(n.ch-r.ch)*(1==s.level?-1:1);l=u==c-1||u==c?f<0:f>0}var h=o[c+(l?-1:0)],p=l==(1==h.level),d=p?h.from:h.to,m=p?"after":"before";return r.ch==d&&r.sticky==m?t:new io(new it(r.line,d,m),n)}function Os(e,t,r,n){var i,o;if(t.touches)i=t.touches[0].clientX,o=t.touches[0].clientY;else try{i=t.clientX,o=t.clientY}catch(h){return!1}if(i>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;n&&ke(t);var a=e.display,s=a.lineDiv.getBoundingClientRect();if(o>s.bottom||!xe(e,r))return Ce(t);o-=s.top-a.viewOffset;for(var l=0;l<e.display.gutterSpecs.length;++l){var c=a.gutters.childNodes[l];if(c&&c.getBoundingClientRect().right>=i){var u=tt(e.doc,o),f=e.display.gutterSpecs[l];return ve(e,r,e,u,f.className,t),Ce(t)}}}function Ms(e,t){return Os(e,t,"gutterClick",!0)}function Ts(e,t){Hr(e.display,t)||As(e,t)||ye(e,t,"contextmenu")||S||e.display.input.onContextMenu(t)}function As(e,t){return!!xe(e,"gutterContextMenu")&&Os(e,t,"gutterContextMenu",!1)}function Es(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),fn(e)}ms.prototype.compare=function(e,t,r){return this.time+ds>e&&0==ot(t,this.pos)&&r==this.button};var Ns={toString:function(){return"CodeMirror.Init"}},js={},zs={};function Ps(e){var t=e.optionHandlers;function r(r,n,i,o){e.defaults[r]=n,i&&(t[r]=o?function(e,t,r){r!=Ns&&i(e,t,r)}:i)}e.defineOption=r,e.Init=Ns,r("value","",(function(e,t){return e.setValue(t)}),!0),r("mode",null,(function(e,t){e.doc.modeOption=t,ho(e)}),!0),r("indentUnit",2,ho,!0),r("indentWithTabs",!1),r("smartIndent",!0),r("tabSize",4,(function(e){po(e),fn(e),Dn(e)}),!0),r("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var r=[],n=e.doc.first;e.doc.iter((function(e){for(var i=0;;){var o=e.text.indexOf(t,i);if(-1==o)break;i=o+t.length,r.push(it(n,o))}n++}));for(var i=r.length-1;i>=0;i--)na(e.doc,t,r[i],it(r[i].line,r[i].ch+t.length))}})),r("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,r){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),r!=Ns&&e.refresh()})),r("specialCharPlaceholder",dr,(function(e){return e.refresh()}),!0),r("electricChars",!0),r("inputStyle",v?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),r("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),r("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),r("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),r("rtlMoveVisually",!x),r("wholeLineUpdateBefore",!0),r("theme","default",(function(e){Es(e),Xi(e)}),!0),r("keyMap","default",(function(e,t,r){var n=Wa(t),i=r!=Ns&&Wa(r);i&&i.detach&&i.detach(e,n),n.attach&&n.attach(e,i||null)})),r("extraKeys",null),r("configureMouse",null),r("lineWrapping",!1,Ls,!0),r("gutters",[],(function(e,t){e.display.gutterSpecs=Ki(t,e.options.lineNumbers),Xi(e)}),!0),r("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?jn(e.display)+"px":"0",e.refresh()}),!0),r("coverGutterNextToScrollbar",!1,(function(e){return vi(e)}),!0),r("scrollbarStyle","native",(function(e){xi(e),vi(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),r("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Ki(e.options.gutters,t),Xi(e)}),!0),r("firstLineNumber",1,Xi,!0),r("lineNumberFormatter",(function(e){return e}),Xi,!0),r("showCursorWhenSelecting",!1,Hn,!0),r("resetSelectionOnContextMenu",!0),r("lineWiseCopyCut",!0),r("pasteLinesPerSelection",!0),r("selectionsMayTouch",!1),r("readOnly",!1,(function(e,t){"nocursor"==t&&(Zn(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),r("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),r("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),r("dragDrop",!0,Fs),r("allowDropFileTypes",null),r("cursorBlinkRate",530),r("cursorScrollMargin",0),r("cursorHeight",1,Hn,!0),r("singleCursorHeightPerLine",!0,Hn,!0),r("workTime",100),r("workDelay",100),r("flattenSpans",!0,po,!0),r("addModeClass",!1,po,!0),r("pollInterval",100),r("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),r("historyEventDelay",1250),r("viewportMargin",10,(function(e){return e.refresh()}),!0),r("maxHighlightLength",1e4,po,!0),r("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),r("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),r("autofocus",null),r("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),r("phrases",null)}function Fs(e,t,r){var n=r&&r!=Ns;if(!t!=!n){var i=e.display.dragFunctions,o=t?de:ge;o(e.display.scroller,"dragstart",i.start),o(e.display.scroller,"dragenter",i.enter),o(e.display.scroller,"dragover",i.over),o(e.display.scroller,"dragleave",i.leave),o(e.display.scroller,"drop",i.drop)}}function Ls(e){e.options.lineWrapping?(P(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(M(e.display.wrapper,"CodeMirror-wrap"),ar(e)),Pn(e),Dn(e),fn(e),setTimeout((function(){return vi(e)}),100)}function Ds(e,t){var r=this;if(!(this instanceof Ds))return new Ds(e,t);this.options=t=t?I(t):{},I(js,t,!1);var n=t.value;"string"==typeof n?n=new ka(n,t.mode,null,t.lineSeparator,t.direction):t.mode&&(n.modeOption=t.mode),this.doc=n;var i=new Ds.inputStyles[t.inputStyle](this),o=this.display=new Zi(e,n,i,t);for(var c in o.wrapper.CodeMirror=this,Es(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),xi(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new _,keySeq:null,specialChars:null},t.autofocus&&!v&&o.input.focus(),a&&s<11&&setTimeout((function(){return r.display.input.reset(!0)}),20),Is(this),Na(),ki(this),this.curOp.forceUpdate=!0,yo(this,n),t.autofocus&&!v||this.hasFocus()?setTimeout(D(Xn,this),20):Zn(this),zs)zs.hasOwnProperty(c)&&zs[c](this,t[c],Ns);Gi(this),t.finishInit&&t.finishInit(this);for(var u=0;u<Rs.length;++u)Rs[u](this);Si(this),l&&t.lineWrapping&&"optimizelegibility"==getComputedStyle(o.lineDiv).textRendering&&(o.lineDiv.style.textRendering="auto")}function Is(e){var t=e.display;de(t.scroller,"mousedown",ji(e,vs)),de(t.scroller,"dblclick",a&&s<11?ji(e,(function(t){if(!ye(e,t)){var r=Fn(e,t);if(r&&!Ms(e,t)&&!Hr(e.display,t)){ke(t);var n=e.findWordAt(r);Lo(e.doc,n.anchor,n.head)}}})):function(t){return ye(e,t)||ke(t)}),de(t.scroller,"contextmenu",(function(t){return Ts(e,t)})),de(t.input.getField(),"contextmenu",(function(r){t.scroller.contains(r.target)||Ts(e,r)}));var r,n={end:0};function i(){t.activeTouch&&(r=setTimeout((function(){return t.activeTouch=null}),1e3),n=t.activeTouch,n.end=+new Date)}function o(e){if(1!=e.touches.length)return!1;var t=e.touches[0];return t.radiusX<=1&&t.radiusY<=1}function l(e,t){if(null==t.left)return!0;var r=t.left-e.left,n=t.top-e.top;return r*r+n*n>400}de(t.scroller,"touchstart",(function(i){if(!ye(e,i)&&!o(i)&&!Ms(e,i)){t.input.ensurePolled(),clearTimeout(r);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-n.end<=300?n:null},1==i.touches.length&&(t.activeTouch.left=i.touches[0].pageX,t.activeTouch.top=i.touches[0].pageY)}})),de(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),de(t.scroller,"touchend",(function(r){var n=t.activeTouch;if(n&&!Hr(t,r)&&null!=n.left&&!n.moved&&new Date-n.start<300){var o,a=e.coordsChar(t.activeTouch,"page");o=!n.prev||l(n,n.prev)?new io(a,a):!n.prev.prev||l(n,n.prev.prev)?e.findWordAt(a):new io(it(a.line,0),ft(e.doc,it(a.line+1,0))),e.setSelection(o.anchor,o.head),e.focus(),ke(r)}i()})),de(t.scroller,"touchcancel",i),de(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(fi(e,t.scroller.scrollTop),pi(e,t.scroller.scrollLeft,!0),ve(e,"scroll",e))})),de(t.scroller,"mousewheel",(function(t){return ro(e,t)})),de(t.scroller,"DOMMouseScroll",(function(t){return ro(e,t)})),de(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){ye(e,t)||Oe(t)},over:function(t){ye(e,t)||(Ma(e,t),Oe(t))},start:function(t){return Oa(e,t)},drop:ji(e,Ca),leave:function(t){ye(e,t)||Ta(e)}};var c=t.input.getField();de(c,"keyup",(function(t){return us.call(e,t)})),de(c,"keydown",ji(e,ls)),de(c,"keypress",ji(e,fs)),de(c,"focus",(function(t){return Xn(e,t)})),de(c,"blur",(function(t){return Zn(e,t)}))}Ds.defaults=js,Ds.optionHandlers=zs;var Rs=[];function _s(e,t,r,n){var i,o=e.doc;null==r&&(r="add"),"smart"==r&&(o.mode.indent?i=yt(e,t).state:r="prev");var a=e.options.tabSize,s=Xe(o,t),l=R(s.text,null,a);s.stateAfter&&(s.stateAfter=null);var c,u=s.text.match(/^\s*/)[0];if(n||/\S/.test(s.text)){if("smart"==r&&(c=o.mode.indent(i,s.text.slice(u.length),s.text),c==H||c>150)){if(!n)return;r="prev"}}else c=0,r="not";"prev"==r?c=t>o.first?R(Xe(o,t-1).text,null,a):0:"add"==r?c=l+e.options.indentUnit:"subtract"==r?c=l-e.options.indentUnit:"number"==typeof r&&(c=l+r),c=Math.max(0,c);var f="",h=0;if(e.options.indentWithTabs)for(var p=Math.floor(c/a);p;--p)h+=a,f+="\t";if(h<c&&(f+=K(c-h)),f!=u)return na(o,f,it(t,0),it(t,u.length),"+input"),s.stateAfter=null,!0;for(var d=0;d<o.sel.ranges.length;d++){var m=o.sel.ranges[d];if(m.head.line==t&&m.head.ch<u.length){var g=it(t,u.length);Io(o,d,new io(g,g));break}}}Ds.defineInitHook=function(e){return Rs.push(e)};var Bs=null;function qs(e){Bs=e}function Hs(e,t,r,n,i){var o=e.doc;e.display.shift=!1,n||(n=o.sel);var a=+new Date-200,s="paste"==i||e.state.pasteIncoming>a,l=Pe(t),c=null;if(s&&n.ranges.length>1)if(Bs&&Bs.text.join("\n")==t){if(n.ranges.length%Bs.text.length==0){c=[];for(var u=0;u<Bs.text.length;u++)c.push(o.splitLines(Bs.text[u]))}}else l.length==n.ranges.length&&e.options.pasteLinesPerSelection&&(c=X(l,(function(e){return[e]})));for(var f=e.curOp.updateInput,h=n.ranges.length-1;h>=0;h--){var p=n.ranges[h],d=p.from(),m=p.to();p.empty()&&(r&&r>0?d=it(d.line,d.ch-r):e.state.overwrite&&!s?m=it(m.line,Math.min(Xe(o,m.line).text.length,m.ch+Y(l).length)):s&&Bs&&Bs.lineWise&&Bs.text.join("\n")==t&&(d=m=it(d.line,0)));var g={from:d,to:m,text:c?c[h%c.length]:l,origin:i||(s?"paste":e.state.cutIncoming>a?"cut":"+input")};Zo(e.doc,g),Tr(e,"inputRead",e,g)}t&&!s&&Ws(e,t),ai(e),e.curOp.updateInput<2&&(e.curOp.updateInput=f),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Vs(e,t){var r=e.clipboardData&&e.clipboardData.getData("Text");if(r)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Ni(t,(function(){return Hs(t,r,0,null,"paste")})),!0}function Ws(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var r=e.doc.sel,n=r.ranges.length-1;n>=0;n--){var i=r.ranges[n];if(!(i.head.ch>100||n&&r.ranges[n-1].head.line==i.head.line)){var o=e.getModeAt(i.head),a=!1;if(o.electricChars){for(var s=0;s<o.electricChars.length;s++)if(t.indexOf(o.electricChars.charAt(s))>-1){a=_s(e,i.head.line,"smart");break}}else o.electricInput&&o.electricInput.test(Xe(e.doc,i.head.line).text.slice(0,i.head.ch))&&(a=_s(e,i.head.line,"smart"));a&&Tr(e,"electricInput",e,i.head.line)}}}function Us(e){for(var t=[],r=[],n=0;n<e.doc.sel.ranges.length;n++){var i=e.doc.sel.ranges[n].head.line,o={anchor:it(i,0),head:it(i+1,0)};r.push(o),t.push(e.getRange(o.anchor,o.head))}return{text:t,ranges:r}}function $s(e,t,r,n){e.setAttribute("autocorrect",r?"":"off"),e.setAttribute("autocapitalize",n?"":"off"),e.setAttribute("spellcheck",!!t)}function Gs(){var e=E("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),t=E("div",[e],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return l?e.style.width="1000px":e.setAttribute("wrap","off"),m&&(e.style.border="1px solid black"),$s(e),t}function Ks(e){var t=e.optionHandlers,r=e.helpers={};e.prototype={constructor:e,focus:function(){window.focus(),this.display.input.focus()},setOption:function(e,r){var n=this.options,i=n[e];n[e]==r&&"mode"!=e||(n[e]=r,t.hasOwnProperty(e)&&ji(this,t[e])(this,r,i),ve(this,"optionChange",this,e))},getOption:function(e){return this.options[e]},getDoc:function(){return this.doc},addKeyMap:function(e,t){this.state.keyMaps[t?"push":"unshift"](Wa(e))},removeKeyMap:function(e){for(var t=this.state.keyMaps,r=0;r<t.length;++r)if(t[r]==e||t[r].name==e)return t.splice(r,1),!0},addOverlay:zi((function(t,r){var n=t.token?t:e.getMode(this.options,t);if(n.startState)throw new Error("Overlays may not be stateful.");Z(this.state.overlays,{mode:n,modeSpec:t,opaque:r&&r.opaque,priority:r&&r.priority||0},(function(e){return e.priority})),this.state.modeGen++,Dn(this)})),removeOverlay:zi((function(e){for(var t=this.state.overlays,r=0;r<t.length;++r){var n=t[r].modeSpec;if(n==e||"string"==typeof e&&n.name==e)return t.splice(r,1),this.state.modeGen++,void Dn(this)}})),indentLine:zi((function(e,t,r){"string"!=typeof t&&"number"!=typeof t&&(t=null==t?this.options.smartIndent?"smart":"prev":t?"add":"subtract"),rt(this.doc,e)&&_s(this,e,t,r)})),indentSelection:zi((function(e){for(var t=this.doc.sel.ranges,r=-1,n=0;n<t.length;n++){var i=t[n];if(i.empty())i.head.line>r&&(_s(this,i.head.line,e,!0),r=i.head.line,n==this.doc.sel.primIndex&&ai(this));else{var o=i.from(),a=i.to(),s=Math.max(r,o.line);r=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var l=s;l<r;++l)_s(this,l,e);var c=this.doc.sel.ranges;0==o.ch&&t.length==c.length&&c[n].from().ch>0&&Io(this.doc,n,new io(o,c[n].to()),V)}}})),getTokenAt:function(e,t){return St(this,e,t)},getLineTokens:function(e,t){return St(this,it(e),t,!0)},getTokenTypeAt:function(e){e=ft(this.doc,e);var t,r=vt(this,Xe(this.doc,e.line)),n=0,i=(r.length-1)/2,o=e.ch;if(0==o)t=r[2];else for(;;){var a=n+i>>1;if((a?r[2*a-1]:0)>=o)i=a;else{if(!(r[2*a+1]<o)){t=r[2*a+2];break}n=a+1}}var s=t?t.indexOf("overlay "):-1;return s<0?t:0==s?null:t.slice(0,s-1)},getModeAt:function(t){var r=this.doc.mode;return r.innerMode?e.innerMode(r,this.getTokenAt(t).state).mode:r},getHelper:function(e,t){return this.getHelpers(e,t)[0]},getHelpers:function(e,t){var n=[];if(!r.hasOwnProperty(t))return n;var i=r[t],o=this.getModeAt(e);if("string"==typeof o[t])i[o[t]]&&n.push(i[o[t]]);else if(o[t])for(var a=0;a<o[t].length;a++){var s=i[o[t][a]];s&&n.push(s)}else o.helperType&&i[o.helperType]?n.push(i[o.helperType]):i[o.name]&&n.push(i[o.name]);for(var l=0;l<i._global.length;l++){var c=i._global[l];c.pred(o,this)&&-1==B(n,c.val)&&n.push(c.val)}return n},getStateAfter:function(e,t){var r=this.doc;return e=ut(r,null==e?r.first+r.size-1:e),yt(this,e+1,t).state},cursorCoords:function(e,t){var r,n=this.doc.sel.primary();return r=null==e?n.head:"object"==typeof e?ft(this.doc,e):e?n.from():n.to(),yn(this,r,t||"page")},charCoords:function(e,t){return vn(this,ft(this.doc,e),t||"page")},coordsChar:function(e,t){return e=gn(this,e,t||"page"),wn(this,e.left,e.top)},lineAtHeight:function(e,t){return e=gn(this,{top:e,left:0},t||"page").top,tt(this.doc,e+this.display.viewOffset)},heightAtLine:function(e,t,r){var n,i=!1;if("number"==typeof e){var o=this.doc.first+this.doc.size-1;e<this.doc.first?e=this.doc.first:e>o&&(e=o,i=!0),n=Xe(this.doc,e)}else n=e;return mn(this,n,{top:0,left:0},t||"page",r||i).top+(i?this.doc.height-ir(n):0)},defaultTextHeight:function(){return An(this.display)},defaultCharWidth:function(){return En(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,r,n,i){var o=this.display;e=yn(this,ft(this.doc,e));var a=e.bottom,s=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),o.sizer.appendChild(t),"over"==n)a=e.top;else if("above"==n||"near"==n){var l=Math.max(o.wrapper.clientHeight,this.doc.height),c=Math.max(o.sizer.clientWidth,o.lineSpace.clientWidth);("above"==n||e.bottom+t.offsetHeight>l)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=l&&(a=e.bottom),s+t.offsetWidth>c&&(s=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==i?(s=o.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==i?s=0:"middle"==i&&(s=(o.sizer.clientWidth-t.offsetWidth)/2),t.style.left=s+"px"),r&&ni(this,{left:s,top:a,right:s+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:zi(ls),triggerOnKeyPress:zi(fs),triggerOnKeyUp:us,triggerOnMouseDown:zi(vs),execCommand:function(e){if(Xa.hasOwnProperty(e))return Xa[e].call(null,this)},triggerElectric:zi((function(e){Ws(this,e)})),findPosH:function(e,t,r,n){var i=1;t<0&&(i=-1,t=-t);for(var o=ft(this.doc,e),a=0;a<t;++a)if(o=Ys(this.doc,o,i,r,n),o.hitSide)break;return o},moveH:zi((function(e,t){var r=this;this.extendSelectionsBy((function(n){return r.display.shift||r.doc.extend||n.empty()?Ys(r.doc,n.head,e,t,r.options.rtlMoveVisually):e<0?n.from():n.to()}),U)})),deleteH:zi((function(e,t){var r=this.doc.sel,n=this.doc;r.somethingSelected()?n.replaceSelection("",null,"+delete"):Ua(this,(function(r){var i=Ys(n,r.head,e,t,!1);return e<0?{from:i,to:r.head}:{from:r.head,to:i}}))})),findPosV:function(e,t,r,n){var i=1,o=n;t<0&&(i=-1,t=-t);for(var a=ft(this.doc,e),s=0;s<t;++s){var l=yn(this,a,"div");if(null==o?o=l.left:l.left=o,a=Xs(this,l,i,r),a.hitSide)break}return a},moveV:zi((function(e,t){var r=this,n=this.doc,i=[],o=!this.display.shift&&!n.extend&&n.sel.somethingSelected();if(n.extendSelectionsBy((function(a){if(o)return e<0?a.from():a.to();var s=yn(r,a.head,"div");null!=a.goalColumn&&(s.left=a.goalColumn),i.push(s.left);var l=Xs(r,s,e,t);return"page"==t&&a==n.sel.primary()&&oi(r,vn(r,l,"div").top-s.top),l}),U),i.length)for(var a=0;a<n.sel.ranges.length;a++)n.sel.ranges[a].goalColumn=i[a]})),findWordAt:function(e){var t=this.doc,r=Xe(t,e.line).text,n=e.ch,i=e.ch;if(r){var o=this.getHelper(e,"wordChars");"before"!=e.sticky&&i!=r.length||!n?++i:--n;var a=r.charAt(n),s=re(a,o)?function(e){return re(e,o)}:/\s/.test(a)?function(e){return/\s/.test(e)}:function(e){return!/\s/.test(e)&&!re(e)};while(n>0&&s(r.charAt(n-1)))--n;while(i<r.length&&s(r.charAt(i)))++i}return new io(it(e.line,n),it(e.line,i))},toggleOverwrite:function(e){null!=e&&e==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?P(this.display.cursorDiv,"CodeMirror-overwrite"):M(this.display.cursorDiv,"CodeMirror-overwrite"),ve(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==z()},isReadOnly:function(){return!(!this.options.readOnly&&!this.doc.cantEdit)},scrollTo:zi((function(e,t){si(this,e,t)})),getScrollInfo:function(){var e=this.display.scroller;return{left:e.scrollLeft,top:e.scrollTop,height:e.scrollHeight-$r(this)-this.display.barHeight,width:e.scrollWidth-$r(this)-this.display.barWidth,clientHeight:Kr(this),clientWidth:Gr(this)}},scrollIntoView:zi((function(e,t){null==e?(e={from:this.doc.sel.primary().head,to:null},null==t&&(t=this.options.cursorScrollMargin)):"number"==typeof e?e={from:it(e,0),to:null}:null==e.from&&(e={from:e,to:null}),e.to||(e.to=e.from),e.margin=t||0,null!=e.from.line?li(this,e):ui(this,e.from,e.to,e.margin)})),setSize:zi((function(e,t){var r=this,n=function(e){return"number"==typeof e||/^\d+$/.test(String(e))?e+"px":e};null!=e&&(this.display.wrapper.style.width=n(e)),null!=t&&(this.display.wrapper.style.height=n(t)),this.options.lineWrapping&&un(this);var i=this.display.viewFrom;this.doc.iter(i,this.display.viewTo,(function(e){if(e.widgets)for(var t=0;t<e.widgets.length;t++)if(e.widgets[t].noHScroll){In(r,i,"widget");break}++i})),this.curOp.forceUpdate=!0,ve(this,"refresh",this)})),operation:function(e){return Ni(this,e)},startOperation:function(){return ki(this)},endOperation:function(){return Si(this)},refresh:zi((function(){var e=this.display.cachedTextHeight;Dn(this),this.curOp.forceUpdate=!0,fn(this),si(this,this.doc.scrollLeft,this.doc.scrollTop),Wi(this.display),(null==e||Math.abs(e-An(this.display))>.5||this.options.lineWrapping)&&Pn(this),ve(this,"refresh",this)})),swapDoc:zi((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),yo(this,e),fn(this),this.display.input.reset(),si(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Tr(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},we(e),e.registerHelper=function(t,n,i){r.hasOwnProperty(t)||(r[t]=e[t]={_global:[]}),r[t][n]=i},e.registerGlobalHelper=function(t,n,i,o){e.registerHelper(t,n,o),r[t]._global.push({pred:i,val:o})}}function Ys(e,t,r,n,i){var o=t,a=r,s=Xe(e,t.line),l=i&&"rtl"==e.direction?-r:r;function c(){var r=t.line+l;return!(r<e.first||r>=e.first+e.size)&&(t=new it(r,t.ch,t.sticky),s=Xe(e,r))}function u(n){var o;if(o=i?Ya(e.cm,s,t,r):Ga(s,t,r),null==o){if(n||!c())return!1;t=Ka(i,e.cm,s,t.line,l)}else t=o;return!0}if("char"==n)u();else if("column"==n)u(!0);else if("word"==n||"group"==n)for(var f=null,h="group"==n,p=e.cm&&e.cm.getHelper(t,"wordChars"),d=!0;;d=!1){if(r<0&&!u(!d))break;var m=s.text.charAt(t.ch)||"\n",g=re(m,p)?"w":h&&"\n"==m?"n":!h||/\s/.test(m)?null:"p";if(!h||d||g||(g="s"),f&&f!=g){r<0&&(r=1,u(),t.sticky="after");break}if(g&&(f=g),r>0&&!u(!d))break}var v=Go(e,t,o,a,!0);return at(o,v)&&(v.hitSide=!0),v}function Xs(e,t,r,n){var i,o,a=e.doc,s=t.left;if("page"==n){var l=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(l-.5*An(e.display),3);i=(r>0?t.bottom:t.top)+r*c}else"line"==n&&(i=r>0?t.bottom+3:t.top-3);for(;;){if(o=wn(e,s,i),!o.outside)break;if(r<0?i<=0:i>=a.height){o.hitSide=!0;break}i+=5*r}return o}var Zs=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new _,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Js(e,t){var r=Qr(e,t.line);if(!r||r.hidden)return null;var n=Xe(e.doc,t.line),i=Xr(r,n,t.line),o=he(n,e.doc.direction),a="left";if(o){var s=ue(o,t.ch);a=s%2?"right":"left"}var l=on(i.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function Qs(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function el(e,t){return t&&(e.bad=!0),e}function tl(e,t,r,n,i){var o="",a=!1,s=e.doc.lineSeparator(),l=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(o+=s,l&&(o+=s),a=l=!1)}function f(e){e&&(u(),o+=e)}function h(t){if(1==t.nodeType){var r=t.getAttribute("cm-text");if(r)return void f(r);var o,p=t.getAttribute("cm-marker");if(p){var d=e.findMarks(it(n,0),it(i+1,0),c(+p));return void(d.length&&(o=d[0].find(0))&&f(Ze(e.doc,o.from,o.to).join(s)))}if("false"==t.getAttribute("contenteditable"))return;var m=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;m&&u();for(var g=0;g<t.childNodes.length;g++)h(t.childNodes[g]);/^(pre|p)$/i.test(t.nodeName)&&(l=!0),m&&(a=!0)}else 3==t.nodeType&&f(t.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;;){if(h(t),t==r)break;t=t.nextSibling,l=!1}return o}function rl(e,t,r){var n;if(t==e.display.lineDiv){if(n=e.display.lineDiv.childNodes[r],!n)return el(e.clipPos(it(e.display.viewTo-1)),!0);t=null,r=0}else for(n=t;;n=n.parentNode){if(!n||n==e.display.lineDiv)return null;if(n.parentNode&&n.parentNode==e.display.lineDiv)break}for(var i=0;i<e.display.view.length;i++){var o=e.display.view[i];if(o.node==n)return nl(o,t,r)}}function nl(e,t,r){var n=e.text.firstChild,i=!1;if(!t||!j(n,t))return el(it(et(e.line),0),!0);if(t==n&&(i=!0,t=n.childNodes[r],r=0,!t)){var o=e.rest?Y(e.rest):e.line;return el(it(et(o),o.text.length),i)}var a=3==t.nodeType?t:null,s=t;a||1!=t.childNodes.length||3!=t.firstChild.nodeType||(a=t.firstChild,r&&(r=a.nodeValue.length));while(s.parentNode!=n)s=s.parentNode;var l=e.measure,c=l.maps;function u(t,r,n){for(var i=-1;i<(c?c.length:0);i++)for(var o=i<0?l.map:c[i],a=0;a<o.length;a+=3){var s=o[a+2];if(s==t||s==r){var u=et(i<0?e.line:e.rest[i]),f=o[a]+n;return(n<0||s!=t)&&(f=o[a+(n?1:0)]),it(u,f)}}}var f=u(a,s,r);if(f)return el(f,i);for(var h=s.nextSibling,p=a?a.nodeValue.length-r:0;h;h=h.nextSibling){if(f=u(h,h.firstChild,0),f)return el(it(f.line,f.ch-p),i);p+=h.textContent.length}for(var d=s.previousSibling,m=r;d;d=d.previousSibling){if(f=u(d,d.firstChild,-1),f)return el(it(f.line,f.ch+m),i);m+=d.textContent.length}}Zs.prototype.init=function(e){var t=this,r=this,n=r.cm,i=r.div=e.lineDiv;function o(e){for(var t=e.target;t;t=t.parentNode){if(t==i)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(t.className))break}return!1}function a(e){if(o(e)&&!ye(n,e)){if(n.somethingSelected())qs({lineWise:!1,text:n.getSelections()}),"cut"==e.type&&n.replaceSelection("",null,"cut");else{if(!n.options.lineWiseCopyCut)return;var t=Us(n);qs({lineWise:!0,text:t.text}),"cut"==e.type&&n.operation((function(){n.setSelections(t.ranges,0,V),n.replaceSelection("",null,"cut")}))}if(e.clipboardData){e.clipboardData.clearData();var a=Bs.text.join("\n");if(e.clipboardData.setData("Text",a),e.clipboardData.getData("Text")==a)return void e.preventDefault()}var s=Gs(),l=s.firstChild;n.display.lineSpace.insertBefore(s,n.display.lineSpace.firstChild),l.value=Bs.text.join("\n");var c=document.activeElement;L(l),setTimeout((function(){n.display.lineSpace.removeChild(s),c.focus(),c==i&&r.showPrimarySelection()}),50)}}$s(i,n.options.spellcheck,n.options.autocorrect,n.options.autocapitalize),de(i,"paste",(function(e){!o(e)||ye(n,e)||Vs(e,n)||s<=11&&setTimeout(ji(n,(function(){return t.updateFromDOM()})),20)})),de(i,"compositionstart",(function(e){t.composing={data:e.data,done:!1}})),de(i,"compositionupdate",(function(e){t.composing||(t.composing={data:e.data,done:!1})})),de(i,"compositionend",(function(e){t.composing&&(e.data!=t.composing.data&&t.readFromDOMSoon(),t.composing.done=!0)})),de(i,"touchstart",(function(){return r.forceCompositionEnd()})),de(i,"input",(function(){t.composing||t.readFromDOMSoon()})),de(i,"copy",a),de(i,"cut",a)},Zs.prototype.screenReaderLabelChanged=function(e){e?this.div.setAttribute("aria-label",e):this.div.removeAttribute("aria-label")},Zs.prototype.prepareSelection=function(){var e=Vn(this.cm,!1);return e.focus=document.activeElement==this.div,e},Zs.prototype.showSelection=function(e,t){e&&this.cm.display.view.length&&((e.focus||t)&&this.showPrimarySelection(),this.showMultipleSelections(e))},Zs.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Zs.prototype.showPrimarySelection=function(){var e=this.getSelection(),t=this.cm,n=t.doc.sel.primary(),i=n.from(),o=n.to();if(t.display.viewTo==t.display.viewFrom||i.line>=t.display.viewTo||o.line<t.display.viewFrom)e.removeAllRanges();else{var a=rl(t,e.anchorNode,e.anchorOffset),s=rl(t,e.focusNode,e.focusOffset);if(!a||a.bad||!s||s.bad||0!=ot(ct(a,s),i)||0!=ot(lt(a,s),o)){var l=t.display.view,c=i.line>=t.display.viewFrom&&Js(t,i)||{node:l[0].measure.map[2],offset:0},u=o.line<t.display.viewTo&&Js(t,o);if(!u){var f=l[l.length-1].measure,h=f.maps?f.maps[f.maps.length-1]:f.map;u={node:h[h.length-1],offset:h[h.length-2]-h[h.length-3]}}if(c&&u){var p,d=e.rangeCount&&e.getRangeAt(0);try{p=O(c.node,c.offset,u.offset,u.node)}catch(m){}p&&(!r&&t.state.focused?(e.collapse(c.node,c.offset),p.collapsed||(e.removeAllRanges(),e.addRange(p))):(e.removeAllRanges(),e.addRange(p)),d&&null==e.anchorNode?e.addRange(d):r&&this.startGracePeriod()),this.rememberSelection()}else e.removeAllRanges()}}},Zs.prototype.startGracePeriod=function(){var e=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout((function(){e.gracePeriod=!1,e.selectionChanged()&&e.cm.operation((function(){return e.cm.curOp.selectionChanged=!0}))}),20)},Zs.prototype.showMultipleSelections=function(e){A(this.cm.display.cursorDiv,e.cursors),A(this.cm.display.selectionDiv,e.selection)},Zs.prototype.rememberSelection=function(){var e=this.getSelection();this.lastAnchorNode=e.anchorNode,this.lastAnchorOffset=e.anchorOffset,this.lastFocusNode=e.focusNode,this.lastFocusOffset=e.focusOffset},Zs.prototype.selectionInEditor=function(){var e=this.getSelection();if(!e.rangeCount)return!1;var t=e.getRangeAt(0).commonAncestorContainer;return j(this.div,t)},Zs.prototype.focus=function(){"nocursor"!=this.cm.options.readOnly&&(this.selectionInEditor()&&document.activeElement==this.div||this.showSelection(this.prepareSelection(),!0),this.div.focus())},Zs.prototype.blur=function(){this.div.blur()},Zs.prototype.getField=function(){return this.div},Zs.prototype.supportsTouch=function(){return!0},Zs.prototype.receivedFocus=function(){var e=this;function t(){e.cm.state.focused&&(e.pollSelection(),e.polling.set(e.cm.options.pollInterval,t))}this.selectionInEditor()?this.pollSelection():Ni(this.cm,(function(){return e.cm.curOp.selectionChanged=!0})),this.polling.set(this.cm.options.pollInterval,t)},Zs.prototype.selectionChanged=function(){var e=this.getSelection();return e.anchorNode!=this.lastAnchorNode||e.anchorOffset!=this.lastAnchorOffset||e.focusNode!=this.lastFocusNode||e.focusOffset!=this.lastFocusOffset},Zs.prototype.pollSelection=function(){if(null==this.readDOMTimeout&&!this.gracePeriod&&this.selectionChanged()){var e=this.getSelection(),t=this.cm;if(g&&u&&this.cm.display.gutterSpecs.length&&Qs(e.anchorNode))return this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),void this.focus();if(!this.composing){this.rememberSelection();var r=rl(t,e.anchorNode,e.anchorOffset),n=rl(t,e.focusNode,e.focusOffset);r&&n&&Ni(t,(function(){qo(t.doc,ao(r,n),V),(r.bad||n.bad)&&(t.curOp.selectionChanged=!0)}))}}},Zs.prototype.pollContent=function(){null!=this.readDOMTimeout&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var e,t,r,n=this.cm,i=n.display,o=n.doc.sel.primary(),a=o.from(),s=o.to();if(0==a.ch&&a.line>n.firstLine()&&(a=it(a.line-1,Xe(n.doc,a.line-1).length)),s.ch==Xe(n.doc,s.line).text.length&&s.line<n.lastLine()&&(s=it(s.line+1,0)),a.line<i.viewFrom||s.line>i.viewTo-1)return!1;a.line==i.viewFrom||0==(e=Ln(n,a.line))?(t=et(i.view[0].line),r=i.view[0].node):(t=et(i.view[e].line),r=i.view[e-1].node.nextSibling);var l,c,u=Ln(n,s.line);if(u==i.view.length-1?(l=i.viewTo-1,c=i.lineDiv.lastChild):(l=et(i.view[u+1].line)-1,c=i.view[u+1].node.previousSibling),!r)return!1;var f=n.doc.splitLines(tl(n,r,c,t,l)),h=Ze(n.doc,it(t,0),it(l,Xe(n.doc,l).text.length));while(f.length>1&&h.length>1)if(Y(f)==Y(h))f.pop(),h.pop(),l--;else{if(f[0]!=h[0])break;f.shift(),h.shift(),t++}var p=0,d=0,m=f[0],g=h[0],v=Math.min(m.length,g.length);while(p<v&&m.charCodeAt(p)==g.charCodeAt(p))++p;var y=Y(f),b=Y(h),x=Math.min(y.length-(1==f.length?p:0),b.length-(1==h.length?p:0));while(d<x&&y.charCodeAt(y.length-d-1)==b.charCodeAt(b.length-d-1))++d;if(1==f.length&&1==h.length&&t==a.line)while(p&&p>a.ch&&y.charCodeAt(y.length-d-1)==b.charCodeAt(b.length-d-1))p--,d++;f[f.length-1]=y.slice(0,y.length-d).replace(/^\u200b+/,""),f[0]=f[0].slice(p).replace(/\u200b+$/,"");var w=it(t,p),k=it(l,h.length?Y(h).length-d:0);return f.length>1||f[0]||ot(w,k)?(na(n.doc,f,w,k,"+input"),!0):void 0},Zs.prototype.ensurePolled=function(){this.forceCompositionEnd()},Zs.prototype.reset=function(){this.forceCompositionEnd()},Zs.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Zs.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Zs.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Ni(this.cm,(function(){return Dn(e.cm)}))},Zs.prototype.setUneditable=function(e){e.contentEditable="false"},Zs.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||ji(this.cm,Hs)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Zs.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Zs.prototype.onContextMenu=function(){},Zs.prototype.resetPosition=function(){},Zs.prototype.needsContentAttribute=!0;var il=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new _,this.hasSelection=!1,this.composing=null};function ol(e,t){if(t=t?I(t):{},t.value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var r=z();t.autofocus=r==e||null!=e.getAttribute("autofocus")&&r==document.body}function n(){e.value=s.getValue()}var i;if(e.form&&(de(e.form,"submit",n),!t.leaveSubmitMethodAlone)){var o=e.form;i=o.submit;try{var a=o.submit=function(){n(),o.submit=i,o.submit(),o.submit=a}}catch(l){}}t.finishInit=function(r){r.save=n,r.getTextArea=function(){return e},r.toTextArea=function(){r.toTextArea=isNaN,n(),e.parentNode.removeChild(r.getWrapperElement()),e.style.display="",e.form&&(ge(e.form,"submit",n),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=i))}},e.style.display="none";var s=Ds((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return s}function al(e){e.off=ge,e.on=de,e.wheelEventPixels=to,e.Doc=ka,e.splitLines=Pe,e.countColumn=R,e.findColumn=$,e.isWordChar=te,e.Pass=H,e.signal=ve,e.Line=sr,e.changeEnd=so,e.scrollbarModel=bi,e.Pos=it,e.cmpPos=ot,e.modes=Re,e.mimeModes=_e,e.resolveMode=He,e.getMode=Ve,e.modeExtensions=We,e.extendMode=Ue,e.copyState=$e,e.startState=Ke,e.innerMode=Ge,e.commands=Xa,e.keyMap=Ia,e.keyName=Va,e.isModifierKey=qa,e.lookupKey=Ba,e.normalizeKeyMap=_a,e.StringStream=Ye,e.SharedTextMarker=ga,e.TextMarker=da,e.LineWidget=ua,e.e_preventDefault=ke,e.e_stopPropagation=Se,e.e_stop=Oe,e.addClass=P,e.contains=j,e.rmClass=M,e.keyNames=Pa}il.prototype.init=function(e){var t=this,r=this,n=this.cm;this.createField(e);var i=this.textarea;function o(e){if(!ye(n,e)){if(n.somethingSelected())qs({lineWise:!1,text:n.getSelections()});else{if(!n.options.lineWiseCopyCut)return;var t=Us(n);qs({lineWise:!0,text:t.text}),"cut"==e.type?n.setSelections(t.ranges,null,V):(r.prevInput="",i.value=t.text.join("\n"),L(i))}"cut"==e.type&&(n.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),m&&(i.style.width="0px"),de(i,"input",(function(){a&&s>=9&&t.hasSelection&&(t.hasSelection=null),r.poll()})),de(i,"paste",(function(e){ye(n,e)||Vs(e,n)||(n.state.pasteIncoming=+new Date,r.fastPoll())})),de(i,"cut",o),de(i,"copy",o),de(e.scroller,"paste",(function(t){if(!Hr(e,t)&&!ye(n,t)){if(!i.dispatchEvent)return n.state.pasteIncoming=+new Date,void r.focus();var o=new Event("paste");o.clipboardData=t.clipboardData,i.dispatchEvent(o)}})),de(e.lineSpace,"selectstart",(function(t){Hr(e,t)||ke(t)})),de(i,"compositionstart",(function(){var e=n.getCursor("from");r.composing&&r.composing.range.clear(),r.composing={start:e,range:n.markText(e,n.getCursor("to"),{className:"CodeMirror-composing"})}})),de(i,"compositionend",(function(){r.composing&&(r.poll(),r.composing.range.clear(),r.composing=null)}))},il.prototype.createField=function(e){this.wrapper=Gs(),this.textarea=this.wrapper.firstChild},il.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},il.prototype.prepareSelection=function(){var e=this.cm,t=e.display,r=e.doc,n=Vn(e);if(e.options.moveInputWithCursor){var i=yn(e,r.sel.primary().head,"div"),o=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();n.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,i.top+a.top-o.top)),n.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,i.left+a.left-o.left))}return n},il.prototype.showSelection=function(e){var t=this.cm,r=t.display;A(r.cursorDiv,e.cursors),A(r.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},il.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var r=t.getSelection();this.textarea.value=r,t.state.focused&&L(this.textarea),a&&s>=9&&(this.hasSelection=r)}else e||(this.prevInput=this.textarea.value="",a&&s>=9&&(this.hasSelection=null))}},il.prototype.getField=function(){return this.textarea},il.prototype.supportsTouch=function(){return!1},il.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!v||z()!=this.textarea))try{this.textarea.focus()}catch(e){}},il.prototype.blur=function(){this.textarea.blur()},il.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},il.prototype.receivedFocus=function(){this.slowPoll()},il.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},il.prototype.fastPoll=function(){var e=!1,t=this;function r(){var n=t.poll();n||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,r))}t.pollingFast=!0,t.polling.set(20,r)},il.prototype.poll=function(){var e=this,t=this.cm,r=this.textarea,n=this.prevInput;if(this.contextMenuPending||!t.state.focused||Fe(r)&&!n&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var i=r.value;if(i==n&&!t.somethingSelected())return!1;if(a&&s>=9&&this.hasSelection===i||y&&/[\uf700-\uf7ff]/.test(i))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var o=i.charCodeAt(0);if(8203!=o||n||(n="\u200b"),8666==o)return this.reset(),this.cm.execCommand("undo")}var l=0,c=Math.min(n.length,i.length);while(l<c&&n.charCodeAt(l)==i.charCodeAt(l))++l;return Ni(t,(function(){Hs(t,i.slice(l),n.length-l,null,e.composing?"*compose":null),i.length>1e3||i.indexOf("\n")>-1?r.value=e.prevInput="":e.prevInput=i,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},il.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},il.prototype.onKeyPress=function(){a&&s>=9&&(this.hasSelection=null),this.fastPoll()},il.prototype.onContextMenu=function(e){var t=this,r=t.cm,n=r.display,i=t.textarea;t.contextMenuPending&&t.contextMenuPending();var o=Fn(r,e),c=n.scroller.scrollTop;if(o&&!f){var u=r.options.resetSelectionOnContextMenu;u&&-1==r.doc.sel.contains(o)&&ji(r,qo)(r.doc,ao(o),V);var h,p=i.style.cssText,d=t.wrapper.style.cssText,m=t.wrapper.offsetParent.getBoundingClientRect();if(t.wrapper.style.cssText="position: static",i.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-m.top-5)+"px; left: "+(e.clientX-m.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",l&&(h=window.scrollY),n.input.focus(),l&&window.scrollTo(null,h),n.input.reset(),r.somethingSelected()||(i.value=t.prevInput=" "),t.contextMenuPending=y,n.selForContextMenu=r.doc.sel,clearTimeout(n.detectingSelectAll),a&&s>=9&&v(),S){Oe(e);var g=function(){ge(window,"mouseup",g),setTimeout(y,20)};de(window,"mouseup",g)}else setTimeout(y,50)}function v(){if(null!=i.selectionStart){var e=r.somethingSelected(),o="\u200b"+(e?i.value:"");i.value="\u21da",i.value=o,t.prevInput=e?"":"\u200b",i.selectionStart=1,i.selectionEnd=o.length,n.selForContextMenu=r.doc.sel}}function y(){if(t.contextMenuPending==y&&(t.contextMenuPending=!1,t.wrapper.style.cssText=d,i.style.cssText=p,a&&s<9&&n.scrollbars.setScrollTop(n.scroller.scrollTop=c),null!=i.selectionStart)){(!a||a&&s<9)&&v();var e=0,o=function(){n.selForContextMenu==r.doc.sel&&0==i.selectionStart&&i.selectionEnd>0&&"\u200b"==t.prevInput?ji(r,Yo)(r):e++<10?n.detectingSelectAll=setTimeout(o,500):(n.selForContextMenu=null,n.input.reset())};n.detectingSelectAll=setTimeout(o,200)}}},il.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e},il.prototype.setUneditable=function(){},il.prototype.needsContentAttribute=!1,Ps(Ds),Ks(Ds);var sl="iter insert remove copy getEditor constructor".split(" ");for(var ll in ka.prototype)ka.prototype.hasOwnProperty(ll)&&B(sl,ll)<0&&(Ds.prototype[ll]=function(e){return function(){return e.apply(this.doc,arguments)}}(ka.prototype[ll]));return we(ka),Ds.inputStyles={textarea:il,contenteditable:Zs},Ds.defineMode=function(e){Ds.defaults.mode||"null"==e||(Ds.defaults.mode=e),Be.apply(this,arguments)},Ds.defineMIME=qe,Ds.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Ds.defineMIME("text/plain","null"),Ds.defineExtension=function(e,t){Ds.prototype[e]=t},Ds.defineDocExtension=function(e,t){ka.prototype[e]=t},Ds.fromTextArea=ol,al(Ds),Ds.version="5.55.0",Ds}))},Xi7e:function(e,t,r){var n=r("KMkd"),i=r("adU4"),o=r("tMB7"),a=r("+6XX"),s=r("Z8oC");function l(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},"Y+p1":function(e,t,r){var n=r("wF/u");function i(e,t){return n(e,t)}e.exports=i},YESw:function(e,t,r){var n=r("Cwc5"),i=n(Object,"create");e.exports=i},Z0cm:function(e,t){var r=Array.isArray;e.exports=r},Z8oC:function(e,t,r){var n=r("y1pI");function i(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}e.exports=i},ZDin:function(e,t,r){var n=r("A9a0"),i=r("l0Kd").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},ZMnZ:function(e,t,r){"use strict";var n=r("TqRt"),i=r("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r("q1tI")),a=n(r("2oIt")),s=n(r("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="UpOutlined";var c=o.forwardRef(l);t.default=c},"ZY/g":function(e,t,r){r("aFj7");for(var n=r("7whZ"),i=r("BRsN"),o=r("ig3W"),a=r("zBWt")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],u=n[c],f=u&&u.prototype;f&&!f[a]&&i(f,a,c),o[c]=o.Array}},aFj7:function(e,t,r){"use strict";var n=r("L5pH"),i=r("6jRP"),o=r("ig3W"),a=r("bKEA");e.exports=r("OTpG")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},aT0f:function(e,t,r){"use strict";var n=r("7whZ"),i=r("nA4W"),o=r("C61u"),a=r("USwo"),s=r("ugGH"),l=r("40oJ").KEY,c=r("S4vA"),u=r("s2er"),f=r("kvAF"),h=r("ixoo"),p=r("zBWt"),d=r("/NTb"),m=r("4Zg2"),g=r("CuL1"),v=r("Trx6"),y=r("d+lc"),b=r("ekG2"),x=r("CYMq"),w=r("bKEA"),k=r("M5dz"),S=r("ENu8"),C=r("b08l"),O=r("GDZC"),M=r("TSC6"),T=r("/tXR"),A=r("GhSp"),E=r("mHY4"),N=M.f,j=A.f,z=O.f,P=n.Symbol,F=n.JSON,L=F&&F.stringify,D="prototype",I=p("_hidden"),R=p("toPrimitive"),_={}.propertyIsEnumerable,B=u("symbol-registry"),q=u("symbols"),H=u("op-symbols"),V=Object[D],W="function"==typeof P&&!!T.f,U=n.QObject,$=!U||!U[D]||!U[D].findChild,G=o&&c((function(){return 7!=C(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=N(V,t);n&&delete V[t],j(e,t,r),n&&e!==V&&j(V,t,n)}:j,K=function(e){var t=q[e]=C(P[D]);return t._k=e,t},Y=W&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},X=function(e,t,r){return e===V&&X(H,t,r),y(e),t=k(t,!0),y(r),i(q,t)?(r.enumerable?(i(e,I)&&e[I][t]&&(e[I][t]=!1),r=C(r,{enumerable:S(0,!1)})):(i(e,I)||j(e,I,S(1,{})),e[I][t]=!0),G(e,t,r)):j(e,t,r)},Z=function(e,t){y(e);var r,n=g(t=w(t)),i=0,o=n.length;while(o>i)X(e,r=n[i++],t[r]);return e},J=function(e,t){return void 0===t?C(e):Z(C(e),t)},Q=function(e){var t=_.call(this,e=k(e,!0));return!(this===V&&i(q,e)&&!i(H,e))&&(!(t||!i(this,e)||!i(q,e)||i(this,I)&&this[I][e])||t)},ee=function(e,t){if(e=w(e),t=k(t,!0),e!==V||!i(q,t)||i(H,t)){var r=N(e,t);return!r||!i(q,t)||i(e,I)&&e[I][t]||(r.enumerable=!0),r}},te=function(e){var t,r=z(w(e)),n=[],o=0;while(r.length>o)i(q,t=r[o++])||t==I||t==l||n.push(t);return n},re=function(e){var t,r=e===V,n=z(r?H:w(e)),o=[],a=0;while(n.length>a)!i(q,t=n[a++])||r&&!i(V,t)||o.push(q[t]);return o};W||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(r){this===V&&t.call(H,r),i(this,I)&&i(this[I],e)&&(this[I][e]=!1),G(this,e,S(1,r))};return o&&$&&G(V,e,{configurable:!0,set:t}),K(e)},s(P[D],"toString",(function(){return this._k})),M.f=ee,A.f=X,r("ZDin").f=O.f=te,r("GRew").f=Q,T.f=re,o&&!r("5ETA")&&s(V,"propertyIsEnumerable",Q,!0),d.f=function(e){return K(p(e))}),a(a.G+a.W+a.F*!W,{Symbol:P});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ie=0;ne.length>ie;)p(ne[ie++]);for(var oe=E(p.store),ae=0;oe.length>ae;)m(oe[ae++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return i(B,e+="")?B[e]:B[e]=P(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in B)if(B[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!W,"Object",{create:J,defineProperty:X,defineProperties:Z,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:re});var se=c((function(){T.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return T.f(x(e))}}),F&&a(a.S+a.F*(!W||c((function(){var e=P();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))}))),"JSON",{stringify:function(e){var t,r,n=[e],i=1;while(arguments.length>i)n.push(arguments[i++]);if(r=t=n[1],(b(t)||void 0!==e)&&!Y(e))return v(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!Y(t))return t}),n[1]=t,L.apply(F,n)}}),P[D][R]||r("BRsN")(P[D],R,P[D].valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(n.JSON,"JSON",!0)},adU4:function(e,t,r){var n=r("y1pI"),i=Array.prototype,o=i.splice;function a(e){var t=this.__data__,r=n(t,e);if(r<0)return!1;var i=t.length-1;return r==i?t.pop():o.call(t,r,1),--this.size,!0}e.exports=a},b08l:function(e,t,r){var n=r("d+lc"),i=r("heda"),o=r("l0Kd"),a=r("WpRT")("IE_PROTO"),s=function(){},l="prototype",c=function(){var e,t=r("BfU5")("iframe"),n=o.length,i="<",a=">";t.style.display="none",r("kUGv").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(i+"script"+a+"document.F=Object"+i+"/script"+a),e.close(),c=e.F;while(n--)delete c[l][o[n]];return c()};e.exports=Object.create||function(e,t){var r;return null!==e?(s[l]=n(e),r=new s,s[l]=null,r[a]=e):r=c(),void 0===t?r:i(r,t)}},b80T:function(e,t,r){var n=r("UNi/"),i=r("03A+"),o=r("Z0cm"),a=r("DSRE"),s=r("wJg7"),l=r("c6wG"),c=Object.prototype,u=c.hasOwnProperty;function f(e,t){var r=o(e),c=!r&&i(e),f=!r&&!c&&a(e),h=!r&&!c&&!f&&l(e),p=r||c||f||h,d=p?n(e.length,String):[],m=d.length;for(var g in e)!t&&!u.call(e,g)||p&&("length"==g||f&&("offset"==g||"parent"==g)||h&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||d.push(g);return d}e.exports=f},c6wG:function(e,t,r){var n=r("dD9F"),i=r("sEf8"),o=r("mdPL"),a=o&&o.isTypedArray,s=a?i(a):n;e.exports=s},dD9F:function(e,t,r){var n=r("NykK"),i=r("shjB"),o=r("ExA7"),a="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",f="[object Function]",h="[object Map]",p="[object Number]",d="[object Object]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",x="[object DataView]",w="[object Float32Array]",k="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",O="[object Int32Array]",M="[object Uint8Array]",T="[object Uint8ClampedArray]",A="[object Uint16Array]",E="[object Uint32Array]",N={};function j(e){return o(e)&&i(e.length)&&!!N[n(e)]}N[w]=N[k]=N[S]=N[C]=N[O]=N[M]=N[T]=N[A]=N[E]=!0,N[a]=N[s]=N[b]=N[l]=N[x]=N[c]=N[u]=N[f]=N[h]=N[p]=N[d]=N[m]=N[g]=N[v]=N[y]=!1,e.exports=j},dejd:function(e,t,r){},"du/1":function(e,t,r){var n=r("USwo");n(n.S,"Object",{create:r("b08l")})},e4Nc:function(e,t,r){var n=r("fGT3"),i=r("k+1r"),o=r("JHgL"),a=r("pSRY"),s=r("H8j4");function l(e){var t=-1,r=null==e?0:e.length;this.clear();while(++t<r){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype["delete"]=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},e5cp:function(e,t,r){var n=r("fmRc"),i=r("or5M"),o=r("HDyB"),a=r("seXi"),s=r("QqLw"),l=r("Z0cm"),c=r("DSRE"),u=r("c6wG"),f=1,h="[object Arguments]",p="[object Array]",d="[object Object]",m=Object.prototype,g=m.hasOwnProperty;function v(e,t,r,m,v,y){var b=l(e),x=l(t),w=b?p:s(e),k=x?p:s(t);w=w==h?d:w,k=k==h?d:k;var S=w==d,C=k==d,O=w==k;if(O&&c(e)){if(!c(t))return!1;b=!0,S=!1}if(O&&!S)return y||(y=new n),b||u(e)?i(e,t,r,m,v,y):o(e,t,w,r,m,v,y);if(!(r&f)){var M=S&&g.call(e,"__wrapped__"),T=C&&g.call(t,"__wrapped__");if(M||T){var A=M?e.value():e,E=T?t.value():t;return y||(y=new n),v(A,E,r,m,y)}}return!!O&&(y||(y=new n),a(e,t,r,m,v,y))}e.exports=v},ebwN:function(e,t,r){var n=r("Cwc5"),i=r("Kz5y"),o=n(i,"Map");e.exports=o},ekgI:function(e,t,r){var n=r("YESw"),i=Object.prototype,o=i.hasOwnProperty;function a(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}e.exports=a},fGT3:function(e,t,r){var n=r("4kuk"),i=r("Xi7e"),o=r("ebwN");function a(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}e.exports=a},"fR/l":function(e,t,r){var n=r("CH3K"),i=r("Z0cm");function o(e,t,r){var o=t(e);return i(e)?o:n(o,r(e))}e.exports=o},fUL4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("r+aA"));function i(e){return e&&e.__esModule?e:{default:e}}var o=n;t.default=o,e.exports=o},fmRc:function(e,t,r){var n=r("Xi7e"),i=r("77Zs"),o=r("L8xA"),a=r("gCq4"),s=r("VaNO"),l=r("0Cz8");function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype["delete"]=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},ftKO:function(e,t){var r="__lodash_hash_undefined__";function n(e){return this.__data__.set(e,r),this}e.exports=n},fyUT:function(e,t,r){"use strict";var n=r("q1tI"),i=r.n(n),o=r("TSYQ"),a=r.n(o),s=r("4IlW"),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function m(){}function g(e){e.preventDefault()}function v(e){return e.replace(/[^\w.-]+/g,"")}var y=200,b=600,x=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1,w=function(e){return void 0!==e&&null!==e},k=function(e,t){return t===e||"number"===typeof t&&"number"===typeof e&&isNaN(t)&&isNaN(e)},S=function(e){function t(e){h(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));C.call(r);var n=void 0;n="value"in e?e.value:e.defaultValue,r.state={focused:e.autoFocus};var i=r.getValidValue(r.toNumber(n));return r.state=l({},r.state,{inputValue:r.toPrecisionAsStep(i),value:i}),r}return d(t,e),c(t,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.value,n=t.onChange,i=t.max,o=t.min,a=this.state.focused;if(e){if(!k(e.value,r)||!k(e.max,i)||!k(e.min,o)){var l=a?r:this.getValidValue(r),c=void 0;c=this.pressingUpOrDown?l:this.inputting?this.rawInput:this.toPrecisionAsStep(l),this.setState({value:l,inputValue:c})}var u="value"in this.props?r:this.state.value;"max"in this.props&&e.max!==i&&"number"===typeof u&&u>i&&n&&n(i),"min"in this.props&&e.min!==o&&"number"===typeof u&&u<o&&n&&n(o)}try{if(void 0!==this.cursorStart&&this.state.focused)if(this.partRestoreByAfter(this.cursorAfter)||this.state.value===this.props.value){if(this.currentValue===this.input.value)switch(this.lastKeyCode){case s["a"].BACKSPACE:this.fixCaret(this.cursorStart-1,this.cursorStart-1);break;case s["a"].DELETE:this.fixCaret(this.cursorStart+1,this.cursorStart+1);break;default:}}else{var f=this.cursorStart+1;this.cursorAfter?this.lastKeyCode===s["a"].BACKSPACE?f=this.cursorStart-1:this.lastKeyCode===s["a"].DELETE&&(f=this.cursorStart):f=this.input.value.length,this.fixCaret(f,f)}}catch(h){}this.lastKeyCode=null,this.pressingUpOrDown&&this.props.focusOnUpDown&&this.state.focused&&document.activeElement!==this.input&&this.focus()}},{key:"componentWillUnmount",value:function(){this.stop()}},{key:"getCurrentValidValue",value:function(e){var t=e;return t=""===t?"":this.isNotCompleteNumber(parseFloat(t,10))?this.state.value:this.getValidValue(t),this.toNumber(t)}},{key:"getRatio",value:function(e){var t=1;return e.metaKey||e.ctrlKey?t=.1:e.shiftKey&&(t=10),t}},{key:"getValueFromEvent",value:function(e){var t=e.target.value.trim().replace(/\u3002/g,".");return w(this.props.decimalSeparator)&&(t=t.replace(this.props.decimalSeparator,".")),t}},{key:"getValidValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.min,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.max,n=parseFloat(e,10);return isNaN(n)?e:(n<t&&(n=t),n>r&&(n=r),n)}},{key:"setValue",value:function(e,t){var r=this.props.precision,n=this.isNotCompleteNumber(parseFloat(e,10))?null:parseFloat(e,10),i=this.state,o=i.value,a=void 0===o?null:o,s=i.inputValue,l=void 0===s?null:s,c="number"===typeof n?n.toFixed(r):""+n,u=n!==a||c!==""+l;return"value"in this.props?this.setState({inputValue:this.toPrecisionAsStep(this.state.value)},t):this.setState({value:n,inputValue:this.toPrecisionAsStep(e)},t),u&&this.props.onChange(n),n}},{key:"getFullNum",value:function(e){return isNaN(e)?e:/e/i.test(String(e))?Number(e).toFixed(18).replace(/\.?0+$/,""):e}},{key:"getPrecision",value:function(e){if(w(this.props.precision))return this.props.precision;var t=e.toString();if(t.indexOf("e-")>=0)return parseInt(t.slice(t.indexOf("e-")+2),10);var r=0;return t.indexOf(".")>=0&&(r=t.length-t.indexOf(".")-1),r}},{key:"getMaxPrecision",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.props,n=r.precision,i=r.step;if(w(n))return n;var o=this.getPrecision(t),a=this.getPrecision(i),s=this.getPrecision(e);return e?Math.max(s,o+a):o+a}},{key:"getPrecisionFactor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.getMaxPrecision(e,t);return Math.pow(10,r)}},{key:"fixCaret",value:function(e,t){if(void 0!==e&&void 0!==t&&this.input&&this.input.value)try{var r=this.input.selectionStart,n=this.input.selectionEnd;e===r&&t===n||this.input.setSelectionRange(e,t)}catch(i){}}},{key:"focus",value:function(){this.input.focus(),this.recordCursorPosition()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"formatWrapper",value:function(e){return this.props.formatter?this.props.formatter(e):e}},{key:"toPrecisionAsStep",value:function(e){if(this.isNotCompleteNumber(e)||""===e)return e;var t=Math.abs(this.getMaxPrecision(e));return isNaN(t)?e.toString():Number(e).toFixed(t)}},{key:"isNotCompleteNumber",value:function(e){return isNaN(e)||""===e||null===e||e&&e.toString().indexOf(".")===e.toString().length-1}},{key:"toNumber",value:function(e){var t=this.props.precision,r=this.state.focused,n=e&&e.length>16&&r;return this.isNotCompleteNumber(e)||n?e:w(t)?Math.round(e*Math.pow(10,t))/Math.pow(10,t):Number(e)}},{key:"upStep",value:function(e,t){var r=this.props.step,n=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),o=((n*e+n*r*t)/n).toFixed(i);return this.toNumber(o)}},{key:"downStep",value:function(e,t){var r=this.props.step,n=this.getPrecisionFactor(e,t),i=Math.abs(this.getMaxPrecision(e,t)),o=((n*e-n*r*t)/n).toFixed(i);return this.toNumber(o)}},{key:"step",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,i=arguments[3];this.stop(),t&&(t.persist(),t.preventDefault());var o=this.props;if(!o.disabled){var a=this.getCurrentValidValue(this.state.inputValue)||0;if(!this.isNotCompleteNumber(a)){var s=this[e+"Step"](a,n),l=s>o.max||s<o.min;s>o.max?s=o.max:s<o.min&&(s=o.min),this.setValue(s),this.setState({focused:!0},(function(){r.pressingUpOrDown=!1})),l||(this.autoStepTimer=setTimeout((function(){r[e](t,n,!0)}),i?y:b))}}}},{key:"render",value:function(){var e,t=this.props,r=t.prefixCls,n=t.disabled,o=t.readOnly,s=t.useTouch,c=t.autoComplete,h=t.upHandler,p=t.downHandler,d=t.className,v=t.max,y=t.min,b=t.style,x=t.title,w=t.onMouseEnter,k=t.onMouseLeave,S=t.onMouseOver,C=t.onMouseOut,O=t.required,M=t.onClick,T=t.tabIndex,A=t.type,E=t.placeholder,N=t.id,j=t.inputMode,z=t.pattern,P=t.step,F=t.maxLength,L=t.autoFocus,D=t.name,I=f(t,["prefixCls","disabled","readOnly","useTouch","autoComplete","upHandler","downHandler","className","max","min","style","title","onMouseEnter","onMouseLeave","onMouseOver","onMouseOut","required","onClick","tabIndex","type","placeholder","id","inputMode","pattern","step","maxLength","autoFocus","name"]),R=this.state,_=R.value,B=R.focused,q=a()(r,(e={},u(e,d,!!d),u(e,r+"-disabled",n),u(e,r+"-focused",B),e)),H={};Object.keys(I).forEach((function(e){"data-"!==e.substr(0,5)&&"aria-"!==e.substr(0,5)&&"role"!==e||(H[e]=I[e])}));var V=!o&&!n,W=this.getInputDisplayValue(),U=(_||0===_)&&(isNaN(_)||Number(_)>=v),$=(_||0===_)&&(isNaN(_)||Number(_)<=y),G=U||n||o,K=$||n||o,Y=a()(r+"-handler",r+"-handler-up",u({},r+"-handler-up-disabled",G)),X=a()(r+"-handler",r+"-handler-down",u({},r+"-handler-down-disabled",K)),Z=s?{onTouchStart:G?m:this.up,onTouchEnd:this.stop}:{onMouseDown:G?m:this.up,onMouseUp:this.stop,onMouseLeave:this.stop},J=s?{onTouchStart:K?m:this.down,onTouchEnd:this.stop}:{onMouseDown:K?m:this.down,onMouseUp:this.stop,onMouseLeave:this.stop};return i.a.createElement("div",{className:q,style:b,title:x,onMouseEnter:w,onMouseLeave:k,onMouseOver:S,onMouseOut:C,onFocus:function(){return null},onBlur:function(){return null}},i.a.createElement("div",{className:r+"-handler-wrap"},i.a.createElement("span",l({unselectable:"unselectable"},Z,{role:"button","aria-label":"Increase Value","aria-disabled":G,className:Y}),h||i.a.createElement("span",{unselectable:"unselectable",className:r+"-handler-up-inner",onClick:g})),i.a.createElement("span",l({unselectable:"unselectable"},J,{role:"button","aria-label":"Decrease Value","aria-disabled":K,className:X}),p||i.a.createElement("span",{unselectable:"unselectable",className:r+"-handler-down-inner",onClick:g}))),i.a.createElement("div",{className:r+"-input-wrap"},i.a.createElement("input",l({role:"spinbutton","aria-valuemin":y,"aria-valuemax":v,"aria-valuenow":_,required:O,type:A,placeholder:E,onClick:M,onMouseUp:this.onMouseUp,className:r+"-input",tabIndex:T,autoComplete:c,onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:V?this.onKeyDown:m,onKeyUp:V?this.onKeyUp:m,autoFocus:L,maxLength:F,readOnly:o,disabled:n,max:v,min:y,step:P,name:D,title:x,id:N,onChange:this.onChange,ref:this.saveInput,value:this.getFullNum(W),pattern:z,inputMode:j},H))))}}]),t}(i.a.Component);S.defaultProps={focusOnUpDown:!0,useTouch:!1,prefixCls:"rc-input-number",min:-x,step:1,style:{},onChange:m,onKeyDown:m,onPressEnter:m,onFocus:m,onBlur:m,parser:v,required:!1,autoComplete:"off"};var C=function(){var e=this;this.onKeyDown=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=e.props,a=o.onKeyDown,l=o.onPressEnter;if(t.keyCode===s["a"].UP){var c=e.getRatio(t);e.up(t,c),e.stop()}else if(t.keyCode===s["a"].DOWN){var u=e.getRatio(t);e.down(t,u),e.stop()}else t.keyCode===s["a"].ENTER&&l&&l(t);e.recordCursorPosition(),e.lastKeyCode=t.keyCode,a&&a.apply(void 0,[t].concat(n))},this.onKeyUp=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];var o=e.props.onKeyUp;e.stop(),e.recordCursorPosition(),o&&o.apply(void 0,[t].concat(n))},this.onChange=function(t){var r=e.props.onChange;e.state.focused&&(e.inputting=!0),e.rawInput=e.props.parser(e.getValueFromEvent(t)),e.setState({inputValue:e.rawInput}),r(e.toNumber(e.rawInput))},this.onMouseUp=function(){var t=e.props.onMouseUp;e.recordCursorPosition(),t&&t.apply(void 0,arguments)},this.onFocus=function(){var t;e.setState({focused:!0}),(t=e.props).onFocus.apply(t,arguments)},this.onBlur=function(){var t=e.props.onBlur;e.inputting=!1,e.setState({focused:!1});var r=e.getCurrentValidValue(e.state.inputValue),n=e.setValue(r);if(t){var i=e.input.value,o=Number(e.getInputDisplayValue({focus:!1,value:n}));e.input.value=o,t.apply(void 0,arguments),e.input.value=i}},this.getInputDisplayValue=function(t){var r=t||e.state,n=r.focused,i=r.inputValue,o=r.value,a=void 0;a=n?i:e.toPrecisionAsStep(o),void 0!==a&&null!==a||(a="");var s=e.formatWrapper(a);return w(e.props.decimalSeparator)&&(s=s.toString().replace(".",e.props.decimalSeparator)),s},this.recordCursorPosition=function(){try{e.cursorStart=e.input.selectionStart,e.cursorEnd=e.input.selectionEnd,e.currentValue=e.input.value,e.cursorBefore=e.input.value.substring(0,e.cursorStart),e.cursorAfter=e.input.value.substring(e.cursorEnd)}catch(t){}},this.restoreByAfter=function(t){if(void 0===t)return!1;var r=e.input.value,n=r.lastIndexOf(t);if(-1===n)return!1;var i=e.cursorBefore.length;return e.lastKeyCode===s["a"].DELETE&&e.cursorBefore.charAt(i-1)===t[0]?(e.fixCaret(i,i),!0):n+t.length===r.length&&(e.fixCaret(n,n),!0)},this.partRestoreByAfter=function(t){return void 0!==t&&Array.prototype.some.call(t,(function(r,n){var i=t.substring(n);return e.restoreByAfter(i)}))},this.stop=function(){e.autoStepTimer&&clearTimeout(e.autoStepTimer)},this.down=function(t,r,n){e.pressingUpOrDown=!0,e.step("down",t,r,n)},this.up=function(t,r,n){e.pressingUpOrDown=!0,e.step("up",t,r,n)},this.saveInput=function(t){e.input=t}},O=S,M=r("FH2Y"),T=r.n(M),A=r("HQEm"),E=r.n(A),N=r("H84U"),j=r("3Nzz");function z(){return z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},z.apply(this,arguments)}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var F=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},L=n["forwardRef"]((function(e,t){var r=function(r){var i=r.getPrefixCls,o=r.direction,s=e.className,l=e.size,c=e.prefixCls,u=F(e,["className","size","prefixCls"]),f=i("input-number",c),h=n["createElement"](T.a,{className:"".concat(f,"-handler-up-inner")}),p=n["createElement"](E.a,{className:"".concat(f,"-handler-down-inner")});return n["createElement"](j["b"].Consumer,null,(function(e){var r,i=l||e,c=a()((r={},P(r,"".concat(f,"-lg"),"large"===i),P(r,"".concat(f,"-sm"),"small"===i),P(r,"".concat(f,"-rtl"),"rtl"===o),r),s);return n["createElement"](O,z({ref:t,className:c,upHandler:h,downHandler:p,prefixCls:f},u))}))};return n["createElement"](N["a"],null,r)}));L.defaultProps={step:1};t["a"]=L},gCq4:function(e,t){function r(e){return this.__data__.get(e)}e.exports=r},gRli:function(e,t,r){r("aT0f"),r("3+Ww"),r("MBy0"),r("TnF5"),e.exports=r("VSTI").Symbol},"giR+":function(e,t,r){"use strict";r("cIOH"),r("QbM5")},gwTy:function(e,t,r){},heda:function(e,t,r){var n=r("GhSp"),i=r("d+lc"),o=r("mHY4");e.exports=r("C61u")?Object.defineProperties:function(e,t){i(e);var r,a=o(t),s=a.length,l=0;while(s>l)n.f(e,r=a[l++],t[r]);return e}},iCc5:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},ig3W:function(e,t){e.exports={}},jo6Y:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},"k+1r":function(e,t,r){var n=r("QkVE");function i(e){var t=n(this,e)["delete"](e);return this.size-=t?1:0,t}e.exports=i},kLXV:function(e,t,r){"use strict";var n=r("q1tI"),i=r("QbLZ"),o=r.n(i),a=r("iCc5"),s=r.n(a),l=r("FYw3"),c=r.n(l),u=r("mRg0"),f=r.n(u),h=r("i8i4"),p=r("4IlW"),d=r("l4aY"),m=r("MFj2"),g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&(r[n[i]]=e[n[i]])}return r},v=function(e){function t(){return s()(this,t),c()(this,e.apply(this,arguments))}return f()(t,e),t.prototype.shouldComponentUpdate=function(e){return!!e.forceRender||(!!e.hiddenClassName||!!e.visible)},t.prototype.render=function(){var e=this.props,t=e.className,r=e.hiddenClassName,i=e.visible,a=(e.forceRender,g(e,["className","hiddenClassName","visible","forceRender"])),s=t;return r&&!i&&(s+=" "+r),n["createElement"]("div",o()({},a,{className:s}))},t}(n["Component"]),y=v,b=0;function x(e,t){var r=e["page"+(t?"Y":"X")+"Offset"],n="scroll"+(t?"Top":"Left");if("number"!==typeof r){var i=e.document;r=i.documentElement[n],"number"!==typeof r&&(r=i.body[n])}return r}function w(e,t){var r=e.style;["Webkit","Moz","Ms","ms"].forEach((function(e){r[e+"TransformOrigin"]=t})),r["transformOrigin"]=t}function k(e){var t=e.getBoundingClientRect(),r={left:t.left,top:t.top},n=e.ownerDocument,i=n.defaultView||n.parentWindow;return r.left+=x(i),r.top+=x(i,!0),r}var S=function(e){function t(r){s()(this,t);var i=c()(this,e.call(this,r));return i.inTransition=!1,i.onAnimateLeave=function(){var e=i.props,t=e.afterClose,r=e.getOpenCount;i.wrap&&(i.wrap.style.display="none"),i.inTransition=!1,r()||i.switchScrollingEffect(),t&&t()},i.onDialogMouseDown=function(){i.dialogMouseDown=!0},i.onMaskMouseUp=function(){i.dialogMouseDown&&(i.timeoutId=setTimeout((function(){i.dialogMouseDown=!1}),0))},i.onMaskClick=function(e){Date.now()-i.openTime<300||e.target!==e.currentTarget||i.dialogMouseDown||i.close(e)},i.onKeyDown=function(e){var t=i.props;if(t.keyboard&&e.keyCode===p["a"].ESC)return e.stopPropagation(),void i.close(e);if(t.visible&&e.keyCode===p["a"].TAB){var r=document.activeElement,n=i.sentinelStart;e.shiftKey?r===n&&i.sentinelEnd.focus():r===i.sentinelEnd&&n.focus()}},i.getDialogElement=function(){var e=i.props,t=e.closable,r=e.prefixCls,a={};void 0!==e.width&&(a.width=e.width),void 0!==e.height&&(a.height=e.height);var s=void 0;e.footer&&(s=n["createElement"]("div",{className:r+"-footer",ref:i.saveRef("footer")},e.footer));var l=void 0;e.title&&(l=n["createElement"]("div",{className:r+"-header",ref:i.saveRef("header")},n["createElement"]("div",{className:r+"-title",id:i.titleId},e.title)));var c=void 0;t&&(c=n["createElement"]("button",{type:"button",onClick:i.close,"aria-label":"Close",className:r+"-close"},e.closeIcon||n["createElement"]("span",{className:r+"-close-x"})));var u=o()({},e.style,a),f={width:0,height:0,overflow:"hidden",outline:"none"},h=i.getTransitionName(),p=n["createElement"](y,{key:"dialog-element",role:"document",ref:i.saveRef("dialog"),style:u,className:r+" "+(e.className||""),visible:e.visible,forceRender:e.forceRender,onMouseDown:i.onDialogMouseDown},n["createElement"]("div",{tabIndex:0,ref:i.saveRef("sentinelStart"),style:f,"aria-hidden":"true"}),n["createElement"]("div",{className:r+"-content"},c,l,n["createElement"]("div",o()({className:r+"-body",style:e.bodyStyle,ref:i.saveRef("body")},e.bodyProps),e.children),s),n["createElement"]("div",{tabIndex:0,ref:i.saveRef("sentinelEnd"),style:f,"aria-hidden":"true"}));return n["createElement"](m["a"],{key:"dialog",showProp:"visible",onLeave:i.onAnimateLeave,transitionName:h,component:"",transitionAppear:!0},e.visible||!e.destroyOnClose?p:null)},i.getZIndexStyle=function(){var e={},t=i.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},i.getWrapStyle=function(){return o()({},i.getZIndexStyle(),i.props.wrapStyle)},i.getMaskStyle=function(){return o()({},i.getZIndexStyle(),i.props.maskStyle)},i.getMaskElement=function(){var e=i.props,t=void 0;if(e.mask){var r=i.getMaskTransitionName();t=n["createElement"](y,o()({style:i.getMaskStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible},e.maskProps)),r&&(t=n["createElement"](m["a"],{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:r},t))}return t},i.getMaskTransitionName=function(){var e=i.props,t=e.maskTransitionName,r=e.maskAnimation;return!t&&r&&(t=e.prefixCls+"-"+r),t},i.getTransitionName=function(){var e=i.props,t=e.transitionName,r=e.animation;return!t&&r&&(t=e.prefixCls+"-"+r),t},i.close=function(e){var t=i.props.onClose;t&&t(e)},i.saveRef=function(e){return function(t){i[e]=t}},i.titleId="rcDialogTitle"+b++,i.switchScrollingEffect=r.switchScrollingEffect||function(){},i}return f()(t,e),t.prototype.componentDidMount=function(){this.componentDidUpdate({}),(this.props.forceRender||!1===this.props.getContainer&&!this.props.visible)&&this.wrap&&(this.wrap.style.display="none")},t.prototype.componentDidUpdate=function(e){var t=this.props,r=t.visible,n=t.mask,i=t.focusTriggerAfterClose,o=this.props.mousePosition;if(r){if(!e.visible){this.openTime=Date.now(),this.switchScrollingEffect(),this.tryFocus();var a=h["findDOMNode"](this.dialog);if(o){var s=k(a);w(a,o.x-s.left+"px "+(o.y-s.top)+"px")}else w(a,"")}}else if(e.visible&&(this.inTransition=!0,n&&this.lastOutSideFocusNode&&i)){try{this.lastOutSideFocusNode.focus()}catch(l){this.lastOutSideFocusNode=null}this.lastOutSideFocusNode=null}},t.prototype.componentWillUnmount=function(){var e=this.props,t=e.visible,r=e.getOpenCount;!t&&!this.inTransition||r()||this.switchScrollingEffect(),clearTimeout(this.timeoutId)},t.prototype.tryFocus=function(){Object(d["a"])(this.wrap,document.activeElement)||(this.lastOutSideFocusNode=document.activeElement,this.sentinelStart.focus())},t.prototype.render=function(){var e=this.props,t=e.prefixCls,r=e.maskClosable,i=this.getWrapStyle();return e.visible&&(i.display=null),n["createElement"]("div",{className:t+"-root"},this.getMaskElement(),n["createElement"]("div",o()({tabIndex:-1,onKeyDown:this.onKeyDown,className:t+"-wrap "+(e.wrapClassName||""),ref:this.saveRef("wrap"),onClick:r?this.onMaskClick:null,onMouseUp:r?this.onMaskMouseUp:null,role:"dialog","aria-labelledby":e.title?this.titleId:null,style:i},e.wrapProps),this.getDialogElement()))},t}(n["Component"]),C=S;S.defaultProps={className:"",mask:!0,visible:!1,keyboard:!0,closable:!0,maskClosable:!0,destroyOnClose:!1,prefixCls:"rc-dialog",focusTriggerAfterClose:!0};var O=r("1W/9"),M=function(e){var t=e.visible,r=e.getContainer,i=e.forceRender;return!1===r?n["createElement"](C,o()({},e,{getOpenCount:function(){return 2}})):n["createElement"](O["a"],{visible:t,forceRender:i,getContainer:r},(function(t){return n["createElement"](C,o()({},e,t))}))},T=r("TSYQ"),A=r.n(T),E=r("zT1h"),N=r("V/uB"),j=r.n(N);function z(e){return L(e)||F(e)||R(e)||P()}function P(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function F(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function L(e){if(Array.isArray(e))return _(e)}function D(e,t){return q(e)||B(e,t)||R(e,t)||I()}function I(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){if(e){if("string"===typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(e,t):void 0}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function B(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function q(e){if(Array.isArray(e))return e}function H(){var e=n["useState"]([]),t=D(e,2),r=t[0],i=t[1];function o(e){return i((function(t){return[].concat(z(t),[e])})),function(){i((function(t){return t.filter((function(t){return t!==e}))}))}}return[r,o]}var V=r("2/Rp"),W=r("zvFY");function U(){return U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},U.apply(this,arguments)}function $(e,t){return Z(e)||X(e,t)||K(e,t)||G()}function G(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function K(e,t){if(e){if("string"===typeof e)return Y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Y(e,t):void 0}}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function X(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function Z(e){if(Array.isArray(e))return e}var J=function(e){var t=n["useRef"](!1),r=n["useRef"](),i=n["useState"](!1),o=$(i,2),a=o[0],s=o[1];n["useEffect"]((function(){var t;if(e.autoFocus){var n=r.current;t=setTimeout((function(){return n.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var l=function(r){var n=e.closeModal;r&&r.then&&(s(!0),r.then((function(){n.apply(void 0,arguments)}),(function(e){console.error(e),s(!1),t.current=!1})))},c=function(){var r=e.actionFn,n=e.closeModal;if(!t.current)if(t.current=!0,r){var i;if(r.length)i=r(n),t.current=!1;else if(i=r(),!i)return void n();l(i)}else n()},u=e.type,f=e.children,h=e.buttonProps;return n["createElement"](V["a"],U({},Object(W["a"])(u),{onClick:c,loading:a},h,{ref:r}),f)},Q=J,ee=r("uaoM");function te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var re=function(e){var t=e.icon,r=e.onCancel,i=e.onOk,o=e.close,a=e.zIndex,s=e.afterClose,l=e.visible,c=e.keyboard,u=e.centered,f=e.getContainer,h=e.maskStyle,p=e.okText,d=e.okButtonProps,m=e.cancelText,g=e.cancelButtonProps,v=e.direction;Object(ee["a"])(!("string"===typeof t&&t.length>2),"Modal","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(t,"` at https://ant.design/components/icon"));var y=e.okType||"primary",b=e.prefixCls||"ant-modal",x="".concat(b,"-confirm"),w=!("okCancel"in e)||e.okCancel,k=e.width||416,S=e.style||{},C=void 0===e.mask||e.mask,O=void 0!==e.maskClosable&&e.maskClosable,M=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),T=e.transitionName||"zoom",E=e.maskTransitionName||"fade",N=A()(x,"".concat(x,"-").concat(e.type),te({},"".concat(x,"-rtl"),"rtl"===v),e.className),j=w&&n["createElement"](Q,{actionFn:r,closeModal:o,autoFocus:"cancel"===M,buttonProps:g},m);return n["createElement"](Ke,{prefixCls:b,className:N,wrapClassName:A()(te({},"".concat(x,"-centered"),!!e.centered)),onCancel:function(){return o({triggerCancel:!0})},visible:l,title:"",transitionName:T,footer:"",maskTransitionName:E,mask:C,maskClosable:O,maskStyle:h,style:S,width:k,zIndex:a,afterClose:s,keyboard:c,centered:u,getContainer:f},n["createElement"]("div",{className:"".concat(x,"-body-wrapper")},n["createElement"]("div",{className:"".concat(x,"-body")},t,void 0===e.title?null:n["createElement"]("span",{className:"".concat(x,"-title")},e.title),n["createElement"]("div",{className:"".concat(x,"-content")},e.content)),n["createElement"]("div",{className:"".concat(x,"-btns")},j,n["createElement"](Q,{type:y,actionFn:i,closeModal:o,autoFocus:"ok"===M,buttonProps:d},p))))},ne=re,ie=r("ZvpZ"),oe=r("YMnH"),ae=r("H84U");function se(){return se=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},se.apply(this,arguments)}function le(e,t){return pe(e)||he(e,t)||ue(e,t)||ce()}function ce(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ue(e,t){if(e){if("string"===typeof e)return fe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fe(e,t):void 0}}function fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function he(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function pe(e){if(Array.isArray(e))return e}var de=function(e,t){var r=e.afterClose,i=e.config,o=n["useState"](!0),a=le(o,2),s=a[0],l=a[1],c=n["useState"](i),u=le(c,2),f=u[0],h=u[1],p=n["useContext"](ae["b"]),d=p.direction;function m(){l(!1)}return n["useImperativeHandle"](t,(function(){return{destroy:m,update:function(e){h((function(t){return se(se({},t),e)}))}}})),n["createElement"](oe["a"],{componentName:"Modal",defaultLocale:ie["a"].Modal},(function(e){return n["createElement"](ne,se({},f,{close:m,visible:s,afterClose:r,okText:f.okText||(f.okCancel?e.okText:e.justOkText),direction:d,cancelText:f.cancelText||e.cancelText}))}))},me=n["forwardRef"](de),ge=r("ESPI"),ve=r.n(ge),ye=r("0G8d"),be=r.n(ye),xe=r("Z/ur"),we=r.n(xe),ke=r("xddM"),Se=r.n(ke),Ce=r("ul5b");function Oe(){return Oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Oe.apply(this,arguments)}var Me=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function Te(e){var t=document.createElement("div");document.body.appendChild(t);var r=Oe(Oe({},e),{close:a,visible:!0});function i(){var r=h["unmountComponentAtNode"](t);r&&t.parentNode&&t.parentNode.removeChild(t);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var s=i.some((function(e){return e&&e.triggerCancel}));e.onCancel&&s&&e.onCancel.apply(e,i);for(var l=0;l<Ue.length;l++){var c=Ue[l];if(c===a){Ue.splice(l,1);break}}}function o(e){var r=e.okText,i=e.cancelText,o=Me(e,["okText","cancelText"]);setTimeout((function(){var e=Object(Ce["b"])();h["render"](n["createElement"](ne,Oe({},o,{okText:r||(o.okCancel?e.okText:e.justOkText),cancelText:i||e.cancelText})),t)}))}function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r=Oe(Oe({},r),{visible:!1,afterClose:i.bind.apply(i,[this].concat(t))}),o(r)}function s(e){r=Oe(Oe({},r),e),o(r)}return o(r),Ue.push(a),{destroy:a,update:s}}function Ae(e){return Oe({type:"warning",icon:n["createElement"](Se.a,null),okCancel:!1},e)}function Ee(e){return Oe({type:"info",icon:n["createElement"](ve.a,null),okCancel:!1},e)}function Ne(e){return Oe({type:"success",icon:n["createElement"](be.a,null),okCancel:!1},e)}function je(e){return Oe({type:"error",icon:n["createElement"](we.a,null),okCancel:!1},e)}function ze(e){return Oe({type:"confirm",icon:n["createElement"](Se.a,null),okCancel:!0},e)}function Pe(e,t){return Re(e)||Ie(e,t)||Le(e,t)||Fe()}function Fe(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Le(e,t){if(e){if("string"===typeof e)return De(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?De(e,t):void 0}}function De(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ie(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0)if(r.push(a.value),t&&r.length===t)break}catch(l){i=!0,o=l}finally{try{n||null==s["return"]||s["return"]()}finally{if(i)throw o}}return r}}function Re(e){if(Array.isArray(e))return e}var _e=0;function Be(){var e=H(),t=Pe(e,2),r=t[0],i=t[1];function o(e){return function(t){_e+=1;var r,o=n["createRef"](),a=n["createElement"](me,{key:"modal-".concat(_e),config:e(t),ref:o,afterClose:function(){r()}});return r=i(a),{destroy:function(){o.current&&o.current.destroy()},update:function(e){o.current&&o.current.update(e)}}}}return[{info:o(Ee),success:o(Ne),error:o(je),warning:o(Ae),confirm:o(ze)},n["createElement"](n["Fragment"],null,r)]}function qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function He(){return He=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},He.apply(this,arguments)}var Ve,We=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},Ue=[],$e=function(e){Ve={x:e.pageX,y:e.pageY},setTimeout((function(){Ve=null}),100)};"undefined"!==typeof window&&window.document&&window.document.documentElement&&Object(E["a"])(document.documentElement,"click",$e);var Ge=function(e){var t,r=n["useContext"](ae["b"]),i=r.getPopupContainer,o=r.getPrefixCls,a=r.direction,s=function(t){var r=e.onCancel;r&&r(t)},l=function(t){var r=e.onOk;r&&r(t)},c=function(t){var r=e.okText,i=e.okType,o=e.cancelText,a=e.confirmLoading;return n["createElement"](n["Fragment"],null,n["createElement"](V["a"],He({onClick:s},e.cancelButtonProps),o||t.cancelText),n["createElement"](V["a"],He({},Object(W["a"])(i),{loading:a,onClick:l},e.okButtonProps),r||t.okText))},u=e.prefixCls,f=e.footer,h=e.visible,p=e.wrapClassName,d=e.centered,m=e.getContainer,g=e.closeIcon,v=We(e,["prefixCls","footer","visible","wrapClassName","centered","getContainer","closeIcon"]),y=o("modal",u),b=n["createElement"](oe["a"],{componentName:"Modal",defaultLocale:Object(Ce["b"])()},c),x=n["createElement"]("span",{className:"".concat(y,"-close-x")},g||n["createElement"](j.a,{className:"".concat(y,"-close-icon")})),w=A()(p,(t={},qe(t,"".concat(y,"-centered"),!!d),qe(t,"".concat(y,"-wrap-rtl"),"rtl"===a),t));return n["createElement"](M,He({},v,{getContainer:void 0===m?i:m,prefixCls:y,wrapClassName:w,footer:void 0===f?b:f,visible:h,mousePosition:Ve,onClose:s,closeIcon:x}))};Ge.useModal=Be,Ge.defaultProps={width:520,transitionName:"zoom",maskTransitionName:"fade",confirmLoading:!1,visible:!1,okType:"primary"};var Ke=Ge;function Ye(e){return Te(Ae(e))}var Xe=Ke;Xe.info=function(e){return Te(Ee(e))},Xe.success=function(e){return Te(Ne(e))},Xe.error=function(e){return Te(je(e))},Xe.warning=Ye,Xe.warn=Ye,Xe.confirm=function(e){return Te(ze(e))},Xe.destroyAll=function(){while(Ue.length){var e=Ue.pop();e&&e()}};t["a"]=Xe},kSUc:function(e,t,r){},kUGv:function(e,t,r){var n=r("7whZ").document;e.exports=n&&n.documentElement},kekF:function(e,t){function r(e,t){return function(r){return e(t(r))}}e.exports=r},kvAF:function(e,t,r){var n=r("GhSp").f,i=r("nA4W"),o=r("zBWt")("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},l39O:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("q1tI");function i(e,t){var r=Object(n["useRef"])();Object(n["useEffect"])(()=>{r.current=e}),Object(n["useEffect"])(()=>{function e(){r.current()}if(null!==t){var n=setInterval(e,t);return()=>clearInterval(n)}},[t])}},lSCD:function(e,t,r){var n=r("NykK"),i=r("GoyQ"),o="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function c(e){if(!i(e))return!1;var t=n(e);return t==a||t==s||t==o||t==l}e.exports=c},lZu9:function(e,t,r){(function(e){e(r("VrN/"),r("1eCo"),r("8EBN"))})((function(e){"use strict";e.defineMode("markdown",(function(t,r){var n=e.getMode(t,"text/html"),i="null"==n.name;function o(r){if(e.findModeByName){var n=e.findModeByName(r);n&&(r=n.mime||n.mimes[0])}var i=e.getMode(t,r);return"null"==i.name?null:i}void 0===r.highlightFormatting&&(r.highlightFormatting=!1),void 0===r.maxBlockquoteDepth&&(r.maxBlockquoteDepth=0),void 0===r.taskLists&&(r.taskLists=!1),void 0===r.strikethrough&&(r.strikethrough=!1),void 0===r.emoji&&(r.emoji=!1),void 0===r.fencedCodeBlockHighlighting&&(r.fencedCodeBlockHighlighting=!0),void 0===r.fencedCodeBlockDefaultMode&&(r.fencedCodeBlockDefaultMode="text/plain"),void 0===r.xml&&(r.xml=!0),void 0===r.tokenTypeOverrides&&(r.tokenTypeOverrides={});var a={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var s in a)a.hasOwnProperty(s)&&r.tokenTypeOverrides[s]&&(a[s]=r.tokenTypeOverrides[s]);var l=/^([*\-_])(?:\s*\1){2,}\s*$/,c=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,u=/^\[(x| )\](?=\s)/i,f=r.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,h=/^ {0,3}(?:\={1,}|-{2,})\s*$/,p=/^[^#!\[\]*_\\<>` "'(~:]+/,d=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,m=/^\s*\[[^\]]+?\]:.*$/,g=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\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\u0AF0\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-\u2E42\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]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,v=" ";function y(e,t,r){return t.f=t.inline=r,r(e,t)}function b(e,t,r){return t.f=t.block=r,r(e,t)}function x(e){return!e||!/\S/.test(e.string)}function w(t){if(t.linkTitle=!1,t.linkHref=!1,t.linkText=!1,t.em=!1,t.strong=!1,t.strikethrough=!1,t.quote=0,t.indentedCode=!1,t.f==S){var r=i;if(!r){var o=e.innerMode(n,t.htmlState);r="xml"==o.mode.name&&null===o.state.tagStart&&!o.state.context&&o.state.tokenize.isInText}r&&(t.f=T,t.block=k,t.htmlState=null)}return t.trailingSpace=0,t.trailingSpaceNewLine=!1,t.prevLine=t.thisLine,t.thisLine={stream:null},null}function k(t,n){var i=t.column()===n.indentation,s=x(n.prevLine.stream),p=n.indentedCode,g=n.prevLine.hr,v=!1!==n.list,b=(n.listStack[n.listStack.length-1]||0)+3;n.indentedCode=!1;var w=n.indentation;if(null===n.indentationDiff&&(n.indentationDiff=n.indentation,v)){n.list=null;while(w<n.listStack[n.listStack.length-1])n.listStack.pop(),n.listStack.length?n.indentation=n.listStack[n.listStack.length-1]:n.list=!1;!1!==n.list&&(n.indentationDiff=w-n.listStack[n.listStack.length-1])}var k=!s&&!g&&!n.prevLine.header&&(!v||!p)&&!n.prevLine.fencedCodeEnd,S=(!1===n.list||g||s)&&n.indentation<=b&&t.match(l),M=null;if(n.indentationDiff>=4&&(p||n.prevLine.fencedCodeEnd||n.prevLine.header||s))return t.skipToEnd(),n.indentedCode=!0,a.code;if(t.eatSpace())return null;if(i&&n.indentation<=b&&(M=t.match(f))&&M[1].length<=6)return n.quote=0,n.header=M[1].length,n.thisLine.header=!0,r.highlightFormatting&&(n.formatting="header"),n.f=n.inline,O(n);if(n.indentation<=b&&t.eat(">"))return n.quote=i?1:n.quote+1,r.highlightFormatting&&(n.formatting="quote"),t.eatSpace(),O(n);if(!S&&!n.setext&&i&&n.indentation<=b&&(M=t.match(c))){var T=M[1]?"ol":"ul";return n.indentation=w+t.current().length,n.list=!0,n.quote=0,n.listStack.push(n.indentation),n.em=!1,n.strong=!1,n.code=!1,n.strikethrough=!1,r.taskLists&&t.match(u,!1)&&(n.taskList=!0),n.f=n.inline,r.highlightFormatting&&(n.formatting=["list","list-"+T]),O(n)}return i&&n.indentation<=b&&(M=t.match(d,!0))?(n.quote=0,n.fencedEndRE=new RegExp(M[1]+"+ *$"),n.localMode=r.fencedCodeBlockHighlighting&&o(M[2]||r.fencedCodeBlockDefaultMode),n.localMode&&(n.localState=e.startState(n.localMode)),n.f=n.block=C,r.highlightFormatting&&(n.formatting="code-block"),n.code=-1,O(n)):n.setext||!(k&&v||n.quote||!1!==n.list||n.code||S||m.test(t.string))&&(M=t.lookAhead(1))&&(M=M.match(h))?(n.setext?(n.header=n.setext,n.setext=0,t.skipToEnd(),r.highlightFormatting&&(n.formatting="header")):(n.header="="==M[0].charAt(0)?1:2,n.setext=n.header),n.thisLine.header=!0,n.f=n.inline,O(n)):S?(t.skipToEnd(),n.hr=!0,n.thisLine.hr=!0,a.hr):"["===t.peek()?y(t,n,z):y(t,n,n.inline)}function S(t,r){var o=n.token(t,r.htmlState);if(!i){var a=e.innerMode(n,r.htmlState);("xml"==a.mode.name&&null===a.state.tagStart&&!a.state.context&&a.state.tokenize.isInText||r.md_inside&&t.current().indexOf(">")>-1)&&(r.f=T,r.block=k,r.htmlState=null)}return o}function C(e,t){var n,i=t.listStack[t.listStack.length-1]||0,o=t.indentation<i,s=i+3;return t.fencedEndRE&&t.indentation<=s&&(o||e.match(t.fencedEndRE))?(r.highlightFormatting&&(t.formatting="code-block"),o||(n=O(t)),t.localMode=t.localState=null,t.block=k,t.f=T,t.fencedEndRE=null,t.code=0,t.thisLine.fencedCodeEnd=!0,o?b(e,t,t.block):n):t.localMode?t.localMode.token(e,t.localState):(e.skipToEnd(),a.code)}function O(e){var t=[];if(e.formatting){t.push(a.formatting),"string"===typeof e.formatting&&(e.formatting=[e.formatting]);for(var n=0;n<e.formatting.length;n++)t.push(a.formatting+"-"+e.formatting[n]),"header"===e.formatting[n]&&t.push(a.formatting+"-"+e.formatting[n]+"-"+e.header),"quote"===e.formatting[n]&&(!r.maxBlockquoteDepth||r.maxBlockquoteDepth>=e.quote?t.push(a.formatting+"-"+e.formatting[n]+"-"+e.quote):t.push("error"))}if(e.taskOpen)return t.push("meta"),t.length?t.join(" "):null;if(e.taskClosed)return t.push("property"),t.length?t.join(" "):null;if(e.linkHref?t.push(a.linkHref,"url"):(e.strong&&t.push(a.strong),e.em&&t.push(a.em),e.strikethrough&&t.push(a.strikethrough),e.emoji&&t.push(a.emoji),e.linkText&&t.push(a.linkText),e.code&&t.push(a.code),e.image&&t.push(a.image),e.imageAltText&&t.push(a.imageAltText,"link"),e.imageMarker&&t.push(a.imageMarker)),e.header&&t.push(a.header,a.header+"-"+e.header),e.quote&&(t.push(a.quote),!r.maxBlockquoteDepth||r.maxBlockquoteDepth>=e.quote?t.push(a.quote+"-"+e.quote):t.push(a.quote+"-"+r.maxBlockquoteDepth)),!1!==e.list){var i=(e.listStack.length-1)%3;i?1===i?t.push(a.list2):t.push(a.list3):t.push(a.list1)}return e.trailingSpaceNewLine?t.push("trailing-space-new-line"):e.trailingSpace&&t.push("trailing-space-"+(e.trailingSpace%2?"a":"b")),t.length?t.join(" "):null}function M(e,t){if(e.match(p,!0))return O(t)}function T(t,i){var o=i.text(t,i);if("undefined"!==typeof o)return o;if(i.list)return i.list=null,O(i);if(i.taskList){var s=" "===t.match(u,!0)[1];return s?i.taskOpen=!0:i.taskClosed=!0,r.highlightFormatting&&(i.formatting="task"),i.taskList=!1,O(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&t.match(/^#+$/,!0))return r.highlightFormatting&&(i.formatting="header"),O(i);var l=t.next();if(i.linkTitle){i.linkTitle=!1;var c=l;"("===l&&(c=")"),c=(c+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var f="^\\s*(?:[^"+c+"\\\\]+|\\\\\\\\|\\\\.)"+c;if(t.match(new RegExp(f),!0))return a.linkHref}if("`"===l){var h=i.formatting;r.highlightFormatting&&(i.formatting="code"),t.eatWhile("`");var p=t.current().length;if(0!=i.code||i.quote&&1!=p){if(p==i.code){var d=O(i);return i.code=0,d}return i.formatting=h,O(i)}return i.code=p,O(i)}if(i.code)return O(i);if("\\"===l&&(t.next(),r.highlightFormatting)){var m=O(i),v=a.formatting+"-escape";return m?m+" "+v:v}if("!"===l&&t.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,r.highlightFormatting&&(i.formatting="image"),O(i);if("["===l&&i.imageMarker&&t.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,r.highlightFormatting&&(i.formatting="image"),O(i);if("]"===l&&i.imageAltText){r.highlightFormatting&&(i.formatting="image");m=O(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=E,m}if("["===l&&!i.image)return i.linkText&&t.match(/^.*?\]/)||(i.linkText=!0,r.highlightFormatting&&(i.formatting="link")),O(i);if("]"===l&&i.linkText){r.highlightFormatting&&(i.formatting="link");m=O(i);return i.linkText=!1,i.inline=i.f=t.match(/\(.*?\)| ?\[.*?\]/,!1)?E:T,m}if("<"===l&&t.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=A,r.highlightFormatting&&(i.formatting="link");m=O(i);return m?m+=" ":m="",m+a.linkInline}if("<"===l&&t.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=A,r.highlightFormatting&&(i.formatting="link");m=O(i);return m?m+=" ":m="",m+a.linkEmail}if(r.xml&&"<"===l&&t.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var y=t.string.indexOf(">",t.pos);if(-1!=y){var x=t.string.substring(t.start,y);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(x)&&(i.md_inside=!0)}return t.backUp(1),i.htmlState=e.startState(n),b(t,i,S)}if(r.xml&&"<"===l&&t.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if("*"===l||"_"===l){var w=1,k=1==t.pos?" ":t.string.charAt(t.pos-2);while(w<3&&t.eat(l))w++;var C=t.peek()||" ",M=!/\s/.test(C)&&(!g.test(C)||/\s/.test(k)||g.test(k)),N=!/\s/.test(k)&&(!g.test(k)||/\s/.test(C)||g.test(C)),j=null,z=null;if(w%2&&(i.em||!M||"*"!==l&&N&&!g.test(k)?i.em!=l||!N||"*"!==l&&M&&!g.test(C)||(j=!1):j=!0),w>1&&(i.strong||!M||"*"!==l&&N&&!g.test(k)?i.strong!=l||!N||"*"!==l&&M&&!g.test(C)||(z=!1):z=!0),null!=z||null!=j){r.highlightFormatting&&(i.formatting=null==j?"strong":null==z?"em":"strong em"),!0===j&&(i.em=l),!0===z&&(i.strong=l);d=O(i);return!1===j&&(i.em=!1),!1===z&&(i.strong=!1),d}}else if(" "===l&&(t.eat("*")||t.eat("_"))){if(" "===t.peek())return O(i);t.backUp(1)}if(r.strikethrough)if("~"===l&&t.eatWhile(l)){if(i.strikethrough){r.highlightFormatting&&(i.formatting="strikethrough");d=O(i);return i.strikethrough=!1,d}if(t.match(/^[^\s]/,!1))return i.strikethrough=!0,r.highlightFormatting&&(i.formatting="strikethrough"),O(i)}else if(" "===l&&t.match(/^~~/,!0)){if(" "===t.peek())return O(i);t.backUp(2)}if(r.emoji&&":"===l&&t.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,r.highlightFormatting&&(i.formatting="emoji");var P=O(i);return i.emoji=!1,P}return" "===l&&(t.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),O(i)}function A(e,t){var n=e.next();if(">"===n){t.f=t.inline=T,r.highlightFormatting&&(t.formatting="link");var i=O(t);return i?i+=" ":i="",i+a.linkInline}return e.match(/^[^>]+/,!0),a.linkInline}function E(e,t){if(e.eatSpace())return null;var n=e.next();return"("===n||"["===n?(t.f=t.inline=j("("===n?")":"]"),r.highlightFormatting&&(t.formatting="link-string"),t.linkHref=!0,O(t)):"error"}var N={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function j(e){return function(t,n){var i=t.next();if(i===e){n.f=n.inline=T,r.highlightFormatting&&(n.formatting="link-string");var o=O(n);return n.linkHref=!1,o}return t.match(N[e]),n.linkHref=!0,O(n)}}function z(e,t){return e.match(/^([^\]\\]|\\.)*\]:/,!1)?(t.f=P,e.next(),r.highlightFormatting&&(t.formatting="link"),t.linkText=!0,O(t)):y(e,t,T)}function P(e,t){if(e.match(/^\]:/,!0)){t.f=t.inline=F,r.highlightFormatting&&(t.formatting="link");var n=O(t);return t.linkText=!1,n}return e.match(/^([^\]\\]|\\.)+/,!0),a.linkText}function F(e,t){return e.eatSpace()?null:(e.match(/^[^\s]+/,!0),void 0===e.peek()?t.linkTitle=!0:e.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),t.f=t.inline=T,a.linkHref+" url")}var L={startState:function(){return{f:k,prevLine:{stream:null},thisLine:{stream:null},block:k,htmlState:null,indentation:0,inline:T,text:M,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(t){return{f:t.f,prevLine:t.prevLine,thisLine:t.thisLine,block:t.block,htmlState:t.htmlState&&e.copyState(n,t.htmlState),indentation:t.indentation,localMode:t.localMode,localState:t.localMode?e.copyState(t.localMode,t.localState):null,inline:t.inline,text:t.text,formatting:!1,linkText:t.linkText,linkTitle:t.linkTitle,linkHref:t.linkHref,code:t.code,em:t.em,strong:t.strong,strikethrough:t.strikethrough,emoji:t.emoji,header:t.header,setext:t.setext,hr:t.hr,taskList:t.taskList,list:t.list,listStack:t.listStack.slice(0),quote:t.quote,indentedCode:t.indentedCode,trailingSpace:t.trailingSpace,trailingSpaceNewLine:t.trailingSpaceNewLine,md_inside:t.md_inside,fencedEndRE:t.fencedEndRE}},token:function(e,t){if(t.formatting=!1,e!=t.thisLine.stream){if(t.header=0,t.hr=!1,e.match(/^\s*$/,!0))return w(t),null;if(t.prevLine=t.thisLine,t.thisLine={stream:e},t.taskList=!1,t.trailingSpace=0,t.trailingSpaceNewLine=!1,!t.localState&&(t.f=t.block,t.f!=S)){var r=e.match(/^\s*/,!0)[0].replace(/\t/g,v).length;if(t.indentation=r,t.indentationDiff=null,r>0)return null}}return t.f(e,t)},innerMode:function(e){return e.block==S?{state:e.htmlState,mode:n}:e.localState?{state:e.localState,mode:e.localMode}:{state:e,mode:L}},indent:function(t,r,i){return t.block==S&&n.indent?n.indent(t.htmlState,r,i):t.localState&&t.localMode.indent?t.localMode.indent(t.localState,r,i):e.Pass},blankLine:w,getType:O,blockCommentStart:"\x3c!--",blockCommentEnd:"--\x3e",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return L}),"xml"),e.defineMIME("text/markdown","markdown"),e.defineMIME("text/x-markdown","markdown")}))},ljhN:function(e,t){function r(e,t){return e===t||e!==e&&t!==t}e.exports=r},mRg0:function(e,t,r){"use strict";t.__esModule=!0;var n=r("s3Ml"),i=c(n),o=r("AyUB"),a=c(o),s=r("EJiy"),l=c(s);function c(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,a.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},mdPL:function(e,t,r){(function(e){var n=r("WFqU"),i=t&&!t.nodeType&&t,o=i&&"object"==typeof e&&e&&!e.nodeType&&e,a=o&&o.exports===i,s=a&&n.process,l=function(){try{var e=o&&o.require&&o.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=l}).call(this,r("YuTi")(e))},"o/2+":function(e,t,r){"use strict";var n=r("q1tI"),i=Object(n["createContext"])({});t["a"]=i},oOh1:function(e,t,r){"use strict";var n=r("q1tI"),i=r("+6Fa"),o=r("TSYQ"),a=r.n(o),s=r("H84U"),l=r("xCex");function c(e){return c="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},c(e)}function u(e,t){"function"===typeof e?e(t):"object"===c(e)&&e&&"current"in e&&(e.current=t)}function f(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){t.forEach((function(t){u(t,e)}))}}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(){return p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},p.apply(this,arguments)}var d=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},m=function(e,t){var r,o=n["useContext"](l["b"]),c=n["useContext"](s["b"]),u=c.getPrefixCls,m=c.direction,g=n["useRef"](),v=f(t,g),y=function(t){e.onChange&&e.onChange(t),(null===o||void 0===o?void 0:o.onChange)&&o.onChange(t)},b=e.prefixCls,x=e.className,w=e.children,k=e.style,S=d(e,["prefixCls","className","children","style"]),C=u("radio",b),O=p({},S);o&&(O.name=o.name,O.onChange=y,O.checked=e.value===o.value,O.disabled=e.disabled||o.disabled);var M=a()(x,(r={},h(r,"".concat(C,"-wrapper"),!0),h(r,"".concat(C,"-wrapper-checked"),O.checked),h(r,"".concat(C,"-wrapper-disabled"),O.disabled),h(r,"".concat(C,"-wrapper-rtl"),"rtl"===m),r));return n["createElement"]("label",{className:M,style:k,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave},n["createElement"](i["a"],p({},O,{prefixCls:C,ref:v})),void 0!==w?n["createElement"]("span",null,w):null)},g=n["forwardRef"](m);g.displayName="Radio",g.defaultProps={type:"radio"};t["a"]=g},or5M:function(e,t,r){var n=r("1hJj"),i=r("QoRX"),o=r("xYSL"),a=1,s=2;function l(e,t,r,l,c,u){var f=r&a,h=e.length,p=t.length;if(h!=p&&!(f&&p>h))return!1;var d=u.get(e);if(d&&u.get(t))return d==t;var m=-1,g=!0,v=r&s?new n:void 0;u.set(e,t),u.set(t,e);while(++m<h){var y=e[m],b=t[m];if(l)var x=f?l(b,y,m,t,e,u):l(y,b,m,e,t,u);if(void 0!==x){if(x)continue;g=!1;break}if(v){if(!i(t,(function(e,t){if(!o(v,t)&&(y===e||c(y,e,r,l,u)))return v.push(t)}))){g=!1;break}}else if(y!==b&&!c(y,b,r,l,u)){g=!1;break}}return u["delete"](e),u["delete"](t),g}e.exports=l},osHv:function(e,t,r){(function(e){e(r("VrN/"))})((function(e){"use strict";var t=e.Pos;function r(e,t){return e.line-t.line||e.ch-t.ch}var n="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i=n+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",o=new RegExp("<(/?)(["+n+"]["+i+"]*)","g");function a(e,t,r,n){this.line=t,this.ch=r,this.cm=e,this.text=e.getLine(t),this.min=n?Math.max(n.from,e.firstLine()):e.firstLine(),this.max=n?Math.min(n.to-1,e.lastLine()):e.lastLine()}function s(e,r){var n=e.cm.getTokenTypeAt(t(e.line,r));return n&&/\btag\b/.test(n)}function l(e){if(!(e.line>=e.max))return e.ch=0,e.text=e.cm.getLine(++e.line),!0}function c(e){if(!(e.line<=e.min))return e.text=e.cm.getLine(--e.line),e.ch=e.text.length,!0}function u(e){for(;;){var t=e.text.indexOf(">",e.ch);if(-1==t){if(l(e))continue;return}if(s(e,t+1)){var r=e.text.lastIndexOf("/",t),n=r>-1&&!/\S/.test(e.text.slice(r+1,t));return e.ch=t+1,n?"selfClose":"regular"}e.ch=t+1}}function f(e){for(;;){var t=e.ch?e.text.lastIndexOf("<",e.ch-1):-1;if(-1==t){if(c(e))continue;return}if(s(e,t+1)){o.lastIndex=t,e.ch=t;var r=o.exec(e.text);if(r&&r.index==t)return r}else e.ch=t}}function h(e){for(;;){o.lastIndex=e.ch;var t=o.exec(e.text);if(!t){if(l(e))continue;return}if(s(e,t.index+1))return e.ch=t.index+t[0].length,t;e.ch=t.index+1}}function p(e){for(;;){var t=e.ch?e.text.lastIndexOf(">",e.ch-1):-1;if(-1==t){if(c(e))continue;return}if(s(e,t+1)){var r=e.text.lastIndexOf("/",t),n=r>-1&&!/\S/.test(e.text.slice(r+1,t));return e.ch=t+1,n?"selfClose":"regular"}e.ch=t}}function d(e,r){for(var n=[];;){var i,o=h(e),a=e.line,s=e.ch-(o?o[0].length:0);if(!o||!(i=u(e)))return;if("selfClose"!=i)if(o[1]){for(var l=n.length-1;l>=0;--l)if(n[l]==o[2]){n.length=l;break}if(l<0&&(!r||r==o[2]))return{tag:o[2],from:t(a,s),to:t(e.line,e.ch)}}else n.push(o[2])}}function m(e,r){for(var n=[];;){var i=p(e);if(!i)return;if("selfClose"!=i){var o=e.line,a=e.ch,s=f(e);if(!s)return;if(s[1])n.push(s[2]);else{for(var l=n.length-1;l>=0;--l)if(n[l]==s[2]){n.length=l;break}if(l<0&&(!r||r==s[2]))return{tag:s[2],from:t(e.line,e.ch),to:t(o,a)}}}else f(e)}}e.registerHelper("fold","xml",(function(e,n){for(var i=new a(e,n.line,0);;){var o=h(i);if(!o||i.line!=n.line)return;var s=u(i);if(!s)return;if(!o[1]&&"selfClose"!=s){var l=t(i.line,i.ch),c=d(i,o[2]);return c&&r(c.from,l)>0?{from:l,to:c.from}:null}}})),e.findMatchingTag=function(e,n,i){var o=new a(e,n.line,n.ch,i);if(-1!=o.text.indexOf(">")||-1!=o.text.indexOf("<")){var s=u(o),l=s&&t(o.line,o.ch),c=s&&f(o);if(s&&c&&!(r(o,n)>0)){var h={from:t(o.line,o.ch),to:l,tag:c[2]};return"selfClose"==s?{open:h,close:null,at:"open"}:c[1]?{open:m(o,c[2]),close:h,at:"close"}:(o=new a(e,l.line,l.ch,i),{open:h,close:d(o,c[2]),at:"open"})}}},e.findEnclosingTag=function(e,t,r,n){for(var i=new a(e,t.line,t.ch,r);;){var o=m(i,n);if(!o)break;var s=new a(e,t.line,t.ch,r),l=d(s,o.tag);if(l)return{open:o,close:l}}},e.scanForClosingTag=function(e,t,r,n){var i=new a(e,t.line,t.ch,n?{from:0,to:n}:null);return d(i,r)}}))},"p77/":function(e,t,r){},pSRY:function(e,t,r){var n=r("QkVE");function i(e){return n(this,e).has(e)}e.exports=i},qPY4:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r("u4NN"));function i(e){return e&&e.__esModule?e:{default:e}}var o=n;t.default=o,e.exports=o},qZTm:function(e,t,r){var n=r("fR/l"),i=r("MvSz"),o=r("7GkX");function a(e){return n(e,o,i)}e.exports=a},qn0K:function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var n=r("k1fw"),i=r("0Owb"),o=(r("+L6B"),r("2/Rp")),a=(r("y8nQ"),r("Vl3Y")),s=r("tJVT"),l=(r("OaEy"),r("2fM7")),c=r("q1tI"),u=r.n(c),f=r("VrN/"),h=r.n(f),p=(r("p77/"),l["a"].Option),d={labelCol:{span:4},wrapperCol:{span:20}},m={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};function g(e){var t=e.value,r=e.onChange,i=e.mode,o=e.options,a=void 0===o?{}:o,l=Object(c["useRef"])(),f=Object(c["useState"])(),p=Object(s["a"])(f,2),d=p[0],m=p[1];return Object(c["useEffect"])(()=>{if(d){function e(e){var t=e.getValue();r&&r(t)}return d.on("change",e),()=>{d.off("change",e)}}},[d,r]),Object(c["useEffect"])(()=>{d&&d.setOption("mode",i)},[d,i]),Object(c["useEffect"])(()=>{d&&t!==d.getValue()&&d.setValue(t||"")},[d,t]),Object(c["useEffect"])(()=>{if(l.current&&!d){var e=h.a.fromTextArea(l.current,Object(n["a"])({mode:i,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0},a));m(e)}},[l.current,d]),u.a.createElement("div",{className:"my-codemirror-container"}," ",u.a.createElement("textarea",{ref:l})," ")}t["b"]=e=>{var t=e.callback,r=e.onCancel,n=Object(c["useState"])("python"),f=Object(s["a"])(n,2),h=f[0],v=f[1];function y(e){v(m[e][1])}function b(e){t(e)}return u.a.createElement(a["a"],Object(i["a"])({},d,{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:b}),u.a.createElement(a["a"].Item,{label:"\u4ee3\u7801\u8bed\u8a00",name:"language"},u.a.createElement(l["a"],{onChange:y},Object.keys(m).map(e=>u.a.createElement(p,{key:e,value:e},m[e][0])))),u.a.createElement(a["a"].Item,{name:"content",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u4ee3\u7801\u5185\u5bb9"}]},u.a.createElement(g,{mode:h})),u.a.createElement("div",{className:"flex-container flex-end"},u.a.createElement(o["a"],{type:"primary",htmlType:"submit",style:{marginRight:10}}," ","\u786e\u5b9a"," "),u.a.createElement(o["a"],{type:"ghost",onClick:r}," ","\u53d6\u6d88"," ")))}},qrJ5:function(e,t,r){"use strict";r.d(t,"a",(function(){return C}));var n=r("q1tI"),i=r("TSYQ"),o=r.n(i),a=r("H84U"),s=r("o/2+"),l=r("CWQg"),c=r("ACnJ");function u(e){return u="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},u(e)}function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},f.apply(this,arguments)}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m(e,t,r){return t&&d(e.prototype,t),r&&d(e,r),e}function g(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){var t=w();return function(){var r,n=k(e);if(t){var i=k(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return b(this,r)}}function b(e,t){return!t||"object"!==u(t)&&"function"!==typeof t?x(e):t}function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var S=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},C=(Object(l["a"])("top","middle","bottom","stretch"),Object(l["a"])("start","end","center","space-around","space-between"),function(e){g(r,e);var t=y(r);function r(){var e;return p(this,r),e=t.apply(this,arguments),e.state={screens:{xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}},e.renderRow=function(t){var r,i=t.getPrefixCls,a=t.direction,l=e.props,c=l.prefixCls,u=l.justify,p=l.align,d=l.className,m=l.style,g=l.children,v=S(l,["prefixCls","justify","align","className","style","children"]),y=i("row",c),b=e.getGutter(),x=o()(y,(r={},h(r,"".concat(y,"-").concat(u),u),h(r,"".concat(y,"-").concat(p),p),h(r,"".concat(y,"-rtl"),"rtl"===a),r),d),w=f(f(f({},b[0]>0?{marginLeft:b[0]/-2,marginRight:b[0]/-2}:{}),b[1]>0?{marginTop:b[1]/-2,marginBottom:b[1]/2}:{}),m),k=f({},v);return delete k.gutter,n["createElement"](s["a"].Provider,{value:{gutter:b}},n["createElement"]("div",f({},k,{className:x,style:w}),g))},e}return m(r,[{key:"componentDidMount",value:function(){var e=this;this.token=c["a"].subscribe((function(t){var r=e.props.gutter;(!Array.isArray(r)&&"object"===u(r)||Array.isArray(r)&&("object"===u(r[0])||"object"===u(r[1])))&&e.setState({screens:t})}))}},{key:"componentWillUnmount",value:function(){c["a"].unsubscribe(this.token)}},{key:"getGutter",value:function(){var e=[0,0],t=this.props.gutter,r=this.state.screens,n=Array.isArray(t)?t:[t,0];return n.forEach((function(t,n){if("object"===u(t))for(var i=0;i<c["b"].length;i++){var o=c["b"][i];if(r[o]&&void 0!==t[o]){e[n]=t[o];break}}else e[n]=t||0})),e}},{key:"render",value:function(){return n["createElement"](a["a"],null,this.renderRow)}}]),r}(n["Component"]));C.defaultProps={gutter:0}},qx4F:function(e,t,r){"use strict";var n;function i(e){if("undefined"===typeof document)return 0;if(e||void 0===n){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var r=document.createElement("div"),i=r.style;i.position="absolute",i.top=0,i.left=0,i.pointerEvents="none",i.visibility="hidden",i.width="200px",i.height="150px",i.overflow="hidden",r.appendChild(t),document.body.appendChild(r);var o=t.offsetWidth;r.style.overflow="scroll";var a=t.offsetWidth;o===a&&(a=r.clientWidth),document.body.removeChild(r),n=o-a}return n}r.d(t,"a",(function(){return i}))},"r+aA":function(e,t,r){"use strict";var n=r("TqRt"),i=r("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r("q1tI")),a=n(r("s2MQ")),s=n(r("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="EyeInvisibleOutlined";var c=o.forwardRef(l);t.default=c},"r/Cf":function(e,t,r){"use strict";r.r(t);r("+L6B");var n=r("2/Rp"),i=(r("5NDa"),r("5rEg")),o=r("k1fw"),a=r("WmNS"),s=r.n(a),l=r("9og8"),c=(r("y8nQ"),r("Vl3Y")),u=r("tJVT"),f=r("PpiC"),h=r("q1tI"),p=r.n(h),d=r("9kvl"),m=r("KT7j"),g=r("BAze"),v=r.n(g),y=e=>{e.user,e.newCourse,e.globalSetting;var t=e.loading,r=e.dispatch,a=Object(f["a"])(e,["user","newCourse","globalSetting","loading","dispatch"]),g=c["a"].useForm(),y=Object(u["a"])(g,1),b=y[0],x=Object(h["useState"])({}),w=Object(u["a"])(x,2),k=w[0],S=w[1],C=Object(h["useState"])(),O=Object(u["a"])(C,2),M=O[0],T=O[1],A=Object(h["useRef"])();Object(h["useEffect"])(()=>{var e;A.current=null===(e=a.match.params)||void 0===e?void 0:e.courseId,T(!!A.current),A.current&&E()},[]);var E=function(){var e=Object(l["a"])(s.a.mark((function e(){var t;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,r({type:"newCourse/getEditCourseData",payload:{id:A.current}});case 2:t=e.sent,t&&(b.setFieldsValue({name:t.name}),b.setFieldsValue({intro:t.description}),b.setFieldsValue({notice:t.learning_notes}),S({name:t.name,intro:t.description,notice:t.learning_notes}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),N=function(){var e=Object(l["a"])(s.a.mark((function e(t){var n,i,o,a,l,c;return s.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t||{},i=n.name,o=n.intro,a=n.notice,l=M?"newCourse/editCourse":"newCourse/submitCourse",e.next=4,r({type:l,payload:{id:A.current,name:i,description:o,learning_notes:a}});case 4:c=e.sent,c&&d["c"].push("/course/detail/".concat(c.subject_id));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return p.a.createElement("section",{className:v.a.bg},p.a.createElement("div",{className:v.a.titleWrap},p.a.createElement("span",null,M?"\u7f16\u8f91":"\u521b\u5efa","\u5b9e\u8df5\u8bfe\u7a0b")),p.a.createElement(c["a"],{form:b,className:v.a.formWrap,scrollToFirstError:!0,layout:"vertical",onValuesChange:()=>{console.log("onchange: ",b.getFieldsValue()),S(Object(o["a"])({},b.getFieldsValue()))},onFinish:N},p.a.createElement("div",{className:v.a.fieldWrap},p.a.createElement(c["a"].Item,{name:"name",label:"\u5b9e\u8df5\u8bfe\u7a0b\u540d\u79f0:",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5b9e\u8df5\u8bfe\u7a0b\u540d\u79f0"}]},p.a.createElement(i["a"],{maxLength:60,placeholder:"\u4f8b\u5982\uff1a\u4ecePython\u7a0b\u5e8f\u8bbe\u8ba1-\u5165\u95e8\u7cbe\u901a"}))),p.a.createElement("div",{className:v.a.mdWrap},p.a.createElement(c["a"].Item,{name:"intro",label:"\u7b80\u4ecb:",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5b9e\u8df5\u8bfe\u7a0b\u7684\u7b80\u4ecb"},{max:8e3,message:"\u5b9e\u8df5\u8bfe\u7a0b\u7684\u7b80\u4ecb\u6700\u5927\u9650\u52368000\u4e2a\u5b57\u7b26"}]},p.a.createElement(m["a"],{watch:!0,defaultValue:k.intro}))),p.a.createElement("div",{className:v.a.mdWrap},p.a.createElement(c["a"].Item,{name:"notice",label:"\u5b66\u4e60\u987b\u77e5:",rules:[{required:!0,message:"\u8bf7\u8f93\u5165\u5b9e\u8df5\u8bfe\u7a0b\u7684\u5b66\u4e60\u987b\u77e5"},{max:2e3,message:"\u5b9e\u8df5\u8bfe\u7a0b\u7684\u5b66\u4e60\u987b\u77e5\u6700\u5927\u9650\u52362000\u4e2a\u5b57\u7b26"}]},p.a.createElement(m["a"],{watch:!0,defaultValue:k.notice}))),p.a.createElement("div",{className:v.a.backgroundFa},p.a.createElement("div",{className:"pt40 mb30"},p.a.createElement(c["a"].Item,null,p.a.createElement(n["a"],{size:"large",type:"primary",className:"".concat(v.a.button," mr20"),htmlType:"submit",loading:t["newCourse/editCourse"]||t["newCourse/submitCourse"]},"\u63d0\u4ea4"),p.a.createElement(n["a"],{size:"large",type:"primary",ghost:!0,className:v.a.button,onClick:()=>d["c"].push("/course")},"\u53d6\u6d88"))))))};t["default"]=Object(d["a"])(e=>{var t=e.user,r=e.newCourse,n=e.loading,i=e.globalSetting;return{user:t,newCourse:r,globalSetting:i,loading:n.effects}})(y)},"rAM+":function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("Qw5x");function i(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=Object(n["a"])(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o,a=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==i["return"]||i["return"]()}finally{if(s)throw o}}}}},rEGp:function(e,t){function r(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}e.exports=r},rUJ1:function(e,t){const r=/[&<>"']/,n=/[&<>"']/g,i=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,a={"&":"&","<":"<",">":">",'"':""","'":"'"},s=e=>a[e];function l(e,t){if(t){if(r.test(e))return e.replace(n,s)}else if(i.test(e))return e.replace(o,s);return e}const c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(e){return e.replace(c,(e,t)=>(t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const f=/(^|[^\[])\^/g;function h(e,t){e=e.source||e,t=t||"";const r={replace:(t,n)=>(n=n.source||n,n=n.replace(f,"$1"),e=e.replace(t,n),r),getRegex:()=>new RegExp(e,t)};return r}const p=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function m(e,t,r){if(e){let e;try{e=decodeURIComponent(u(r)).replace(p,"").toLowerCase()}catch(n){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!d.test(r)&&(r=x(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(n){return null}return r}const g={},v=/^[^:]+:\/*[^/]*$/,y=/^([^:]+:)[\s\S]*$/,b=/^([^:]+:\/*[^/]*)[\s\S]*$/;function x(e,t){g[" "+e]||(v.test(e)?g[" "+e]=e+"/":g[" "+e]=C(e,"/",!0)),e=g[" "+e];const r=-1===e.indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(y,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(b,"$1")+t:e+t}const w={exec:function(){}};function k(e){let t,r,n=1;for(;n<arguments.length;n++)for(r in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}function S(e,t){const r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;while(--i>=0&&"\\"===r[i])n=!n;return n?"|":" |"}),n=r.split(/ \|/);let i=0;if(n.length>t)n.splice(t);else while(n.length<t)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(/\\\|/g,"|");return n}function C(e,t,r){const n=e.length;if(0===n)return"";let i=0;while(i<n){const o=e.charAt(n-i-1);if(o!==t||r){if(o===t||!r)break;i++}else i++}return e.substr(0,n-i)}function O(e,t){if(-1===e.indexOf(t[1]))return-1;const r=e.length;let n=0,i=0;for(;i<r;i++)if("\\"===e[i])i++;else if(e[i]===t[0])n++;else if(e[i]===t[1]&&(n--,n<0))return i;return-1}function M(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}e.exports={escape:l,unescape:u,edit:h,cleanUrl:m,resolveUrl:x,noopTest:w,merge:k,splitCells:S,rtrim:C,findClosingBracket:O,checkSanitizeDeprecation:M}},s2MQ:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};t.default=n},s3Ml:function(e,t,r){e.exports={default:r("QRdY"),__esModule:!0}},sEf8:function(e,t){function r(e){return function(t){return e(t)}}e.exports=r},seXi:function(e,t,r){var n=r("qZTm"),i=1,o=Object.prototype,a=o.hasOwnProperty;function s(e,t,r,o,s,l){var c=r&i,u=n(e),f=u.length,h=n(t),p=h.length;if(f!=p&&!c)return!1;var d=f;while(d--){var m=u[d];if(!(c?m in t:a.call(t,m)))return!1}var g=l.get(e);if(g&&l.get(t))return g==t;var v=!0;l.set(e,t),l.set(t,e);var y=c;while(++d<f){m=u[d];var b=e[m],x=t[m];if(o)var w=c?o(x,b,m,t,e,l):o(b,x,m,e,t,l);if(!(void 0===w?b===x||s(b,x,r,o,l):w)){v=!1;break}y||(y="constructor"==m)}if(v&&!y){var k=e.constructor,S=t.constructor;k==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof k&&k instanceof k&&"function"==typeof S&&S instanceof S||(v=!1)}return l["delete"](e),l["delete"](t),v}e.exports=s},shjB:function(e,t){var r=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}e.exports=n},t23M:function(e,t,r){"use strict";var n=r("rePB"),i=r("1OyB"),o=r("vuIU"),a=r("Ji7U"),s=r("md7G"),l=r("foSv"),c=r("q1tI"),u=r("m+aA"),f=r("Zm9Q"),h=r("Kwbf"),p=r("c+Xe"),d=r("bdgK");function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach((function(t){Object(n["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function v(e){var t=y();return function(){var r,n=Object(l["a"])(e);if(t){var i=Object(l["a"])(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Object(s["a"])(this,r)}}function y(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}var b="rc-observer-key",x=function(){var e=function(e){Object(a["a"])(r,e);var t=v(r);function r(){var e;return Object(i["a"])(this,r),e=t.apply(this,arguments),e.resizeObserver=null,e.childNode=null,e.currentElement=null,e.state={width:0,height:0},e.onResize=function(t){var r=e.props.onResize,n=t[0].target,i=n.getBoundingClientRect(),o=i.width,a=i.height,s=n.offsetWidth,l=n.offsetHeight,c=Math.floor(o),u=Math.floor(a);if(e.state.width!==c||e.state.height!==u){var f={width:c,height:u};e.setState(f),r&&r(g(g({},f),{},{offsetWidth:s,offsetHeight:l}))}},e.setChildNode=function(t){e.childNode=t},e}return Object(o["a"])(r,[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var e=this.props.disabled;if(e)this.destroyObserver();else{var t=Object(u["a"])(this.childNode||this),r=t!==this.currentElement;r&&(this.destroyObserver(),this.currentElement=t),!this.resizeObserver&&t&&(this.resizeObserver=new d["a"](this.onResize),this.resizeObserver.observe(t))}}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children,t=Object(f["a"])(e);if(t.length>1)Object(h["a"])(!1,"Find more than one child node with `children` in ResizeObserver. Will only observe first one.");else if(0===t.length)return Object(h["a"])(!1,"`children` of ResizeObserver is empty. Nothing is in observe."),null;var r=t[0];if(c["isValidElement"](r)&&Object(p["b"])(r)){var n=r.ref;t[0]=c["cloneElement"](r,{ref:Object(p["a"])(n,this.setChildNode)})}return 1===t.length?t[0]:t.map((function(e,t){return!c["isValidElement"](e)||"key"in e&&null!==e.key?e:c["cloneElement"](e,{key:"".concat(b,"-").concat(t)})}))}}]),r}(c["Component"]);return e.displayName="ResizeObserver",e}();t["a"]=x},tMB7:function(e,t,r){var n=r("y1pI");function i(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}e.exports=i},tadb:function(e,t,r){var n=r("Cwc5"),i=r("Kz5y"),o=n(i,"DataView");e.exports=o},u4NN:function(e,t,r){"use strict";var n=r("TqRt"),i=r("284h");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(r("q1tI")),a=n(r("Uc92")),s=n(r("KQxl")),l=function(e,t){return o.createElement(s.default,Object.assign({},e,{ref:t,icon:a.default}))};l.displayName="EyeOutlined";var c=o.forwardRef(l);t.default=c},u8Dt:function(e,t,r){var n=r("YESw"),i="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function s(e){var t=this.__data__;if(n){var r=t[e];return r===i?void 0:r}return a.call(t,e)?t[e]:void 0}e.exports=s},ugGH:function(e,t,r){e.exports=r("BRsN")},ul5b:function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return s}));var n=r("ZvpZ");function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}var o=i({},n["a"].Modal);function a(e){o=e?i(i({},o),e):i({},n["a"].Modal)}function s(){return o}},vNbC:function(e,t,r){r("du/1");var n=r("VSTI").Object;e.exports=function(e,t){return n.create(e,t)}},vg9a:function(e,t,r){},"wF/u":function(e,t,r){var n=r("e5cp"),i=r("ExA7");function o(e,t,r,a,s){return e===t||(null==e||null==t||!i(e)&&!i(t)?e!==e&&t!==t:n(e,t,r,a,o,s))}e.exports=o},wJg7:function(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(e,t){var i=typeof e;return t=null==t?r:t,!!t&&("number"==i||"symbol"!=i&&n.test(e))&&e>-1&&e%1==0&&e<t}e.exports=i},xCex:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("q1tI"),i=n["createContext"](null),o=i.Provider;t["b"]=i},xYSL:function(e,t){function r(e,t){return e.has(t)}e.exports=r},xfML:function(e,t,r){var n=r("USwo");n(n.S,"Object",{setPrototypeOf:r("DrT7").set})},y1pI:function(e,t,r){var n=r("ljhN");function i(e,t){var r=e.length;while(r--)if(n(e[r][0],t))return r;return-1}e.exports=i},y8nQ:function(e,t,r){"use strict";r("cIOH"),r("gwTy"),r("1GLa")},yGk4:function(e,t,r){var n=r("Cwc5"),i=r("Kz5y"),o=n(i,"Set");e.exports=o},zBWt:function(e,t,r){var n=r("s2er")("wks"),i=r("ixoo"),o=r("7whZ").Symbol,a="function"==typeof o,s=e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))};s.store=n},znrX:function(e,t,r){var n=r("nA4W"),i=r("CYMq"),o=r("WpRT")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}}}]); |